//
//  Generated code. Do not modify.
//  source: executionflowAction.proto
//
// @dart = 3.3

// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes
// ignore_for_file: non_constant_identifier_names, prefer_final_fields
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import

import 'dart:core' as $core;

import 'package:protobuf/protobuf.dart' as $pb;

import 'shared.pb.dart' as $3;
import 'tradeShared.pb.dart' as $75;
import 'warehousingShared.pb.dart' as $76;

export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;

///
/// ExecutionflowMapSummaryToOrder : map the Executionflow status to the corresponding trade order entity
class ExecutionflowMapSummaryToOrderPayload extends $pb.GeneratedMessage {
  factory ExecutionflowMapSummaryToOrderPayload({
    $75.ExecutionflowStatusStruct? status,
    $core.String? orderID,
    $75.TradeTier? shipFrom,
    $75.TradeTier? shipTo,
    $75.TradeTier? carrier,
    $core.String? carrierService,
    $core.Iterable<$3.AttachmentSummary>? attachments,
    $core.int? attachmentNumber,
    $core.Iterable<$3.ClaimSummary>? claims,
    $core.int? claimNumber,
  }) {
    final $result = create();
    if (status != null) {
      $result.status = status;
    }
    if (orderID != null) {
      $result.orderID = orderID;
    }
    if (shipFrom != null) {
      $result.shipFrom = shipFrom;
    }
    if (shipTo != null) {
      $result.shipTo = shipTo;
    }
    if (carrier != null) {
      $result.carrier = carrier;
    }
    if (carrierService != null) {
      $result.carrierService = carrierService;
    }
    if (attachments != null) {
      $result.attachments.addAll(attachments);
    }
    if (attachmentNumber != null) {
      $result.attachmentNumber = attachmentNumber;
    }
    if (claims != null) {
      $result.claims.addAll(claims);
    }
    if (claimNumber != null) {
      $result.claimNumber = claimNumber;
    }
    return $result;
  }
  ExecutionflowMapSummaryToOrderPayload._() : super();
  factory ExecutionflowMapSummaryToOrderPayload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ExecutionflowMapSummaryToOrderPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExecutionflowMapSummaryToOrderPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$75.ExecutionflowStatusStruct>(1, _omitFieldNames ? '' : 'Status', protoName: 'Status', subBuilder: $75.ExecutionflowStatusStruct.create)
    ..aOS(2, _omitFieldNames ? '' : 'OrderID', protoName: 'OrderID')
    ..aOM<$75.TradeTier>(4, _omitFieldNames ? '' : 'ShipFrom', protoName: 'ShipFrom', subBuilder: $75.TradeTier.create)
    ..aOM<$75.TradeTier>(5, _omitFieldNames ? '' : 'ShipTo', protoName: 'ShipTo', subBuilder: $75.TradeTier.create)
    ..aOM<$75.TradeTier>(6, _omitFieldNames ? '' : 'Carrier', protoName: 'Carrier', subBuilder: $75.TradeTier.create)
    ..aOS(7, _omitFieldNames ? '' : 'CarrierService', protoName: 'CarrierService')
    ..pc<$3.AttachmentSummary>(16, _omitFieldNames ? '' : 'Attachments', $pb.PbFieldType.PM, protoName: 'Attachments', subBuilder: $3.AttachmentSummary.create)
    ..a<$core.int>(17, _omitFieldNames ? '' : 'AttachmentNumber', $pb.PbFieldType.O3, protoName: 'AttachmentNumber')
    ..pc<$3.ClaimSummary>(18, _omitFieldNames ? '' : 'Claims', $pb.PbFieldType.PM, protoName: 'Claims', subBuilder: $3.ClaimSummary.create)
    ..a<$core.int>(19, _omitFieldNames ? '' : 'ClaimNumber', $pb.PbFieldType.O3, protoName: 'ClaimNumber')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ExecutionflowMapSummaryToOrderPayload clone() => ExecutionflowMapSummaryToOrderPayload()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ExecutionflowMapSummaryToOrderPayload copyWith(void Function(ExecutionflowMapSummaryToOrderPayload) updates) => super.copyWith((message) => updates(message as ExecutionflowMapSummaryToOrderPayload)) as ExecutionflowMapSummaryToOrderPayload;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ExecutionflowMapSummaryToOrderPayload create() => ExecutionflowMapSummaryToOrderPayload._();
  ExecutionflowMapSummaryToOrderPayload createEmptyInstance() => create();
  static $pb.PbList<ExecutionflowMapSummaryToOrderPayload> createRepeated() => $pb.PbList<ExecutionflowMapSummaryToOrderPayload>();
  @$core.pragma('dart2js:noInline')
  static ExecutionflowMapSummaryToOrderPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ExecutionflowMapSummaryToOrderPayload>(create);
  static ExecutionflowMapSummaryToOrderPayload? _defaultInstance;

  @$pb.TagNumber(1)
  $75.ExecutionflowStatusStruct get status => $_getN(0);
  @$pb.TagNumber(1)
  set status($75.ExecutionflowStatusStruct v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasStatus() => $_has(0);
  @$pb.TagNumber(1)
  void clearStatus() => $_clearField(1);
  @$pb.TagNumber(1)
  $75.ExecutionflowStatusStruct ensureStatus() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get orderID => $_getSZ(1);
  @$pb.TagNumber(2)
  set orderID($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasOrderID() => $_has(1);
  @$pb.TagNumber(2)
  void clearOrderID() => $_clearField(2);

  @$pb.TagNumber(4)
  $75.TradeTier get shipFrom => $_getN(2);
  @$pb.TagNumber(4)
  set shipFrom($75.TradeTier v) { $_setField(4, v); }
  @$pb.TagNumber(4)
  $core.bool hasShipFrom() => $_has(2);
  @$pb.TagNumber(4)
  void clearShipFrom() => $_clearField(4);
  @$pb.TagNumber(4)
  $75.TradeTier ensureShipFrom() => $_ensure(2);

  @$pb.TagNumber(5)
  $75.TradeTier get shipTo => $_getN(3);
  @$pb.TagNumber(5)
  set shipTo($75.TradeTier v) { $_setField(5, v); }
  @$pb.TagNumber(5)
  $core.bool hasShipTo() => $_has(3);
  @$pb.TagNumber(5)
  void clearShipTo() => $_clearField(5);
  @$pb.TagNumber(5)
  $75.TradeTier ensureShipTo() => $_ensure(3);

  @$pb.TagNumber(6)
  $75.TradeTier get carrier => $_getN(4);
  @$pb.TagNumber(6)
  set carrier($75.TradeTier v) { $_setField(6, v); }
  @$pb.TagNumber(6)
  $core.bool hasCarrier() => $_has(4);
  @$pb.TagNumber(6)
  void clearCarrier() => $_clearField(6);
  @$pb.TagNumber(6)
  $75.TradeTier ensureCarrier() => $_ensure(4);

  @$pb.TagNumber(7)
  $core.String get carrierService => $_getSZ(5);
  @$pb.TagNumber(7)
  set carrierService($core.String v) { $_setString(5, v); }
  @$pb.TagNumber(7)
  $core.bool hasCarrierService() => $_has(5);
  @$pb.TagNumber(7)
  void clearCarrierService() => $_clearField(7);

  @$pb.TagNumber(16)
  $pb.PbList<$3.AttachmentSummary> get attachments => $_getList(6);

  @$pb.TagNumber(17)
  $core.int get attachmentNumber => $_getIZ(7);
  @$pb.TagNumber(17)
  set attachmentNumber($core.int v) { $_setSignedInt32(7, v); }
  @$pb.TagNumber(17)
  $core.bool hasAttachmentNumber() => $_has(7);
  @$pb.TagNumber(17)
  void clearAttachmentNumber() => $_clearField(17);

  @$pb.TagNumber(18)
  $pb.PbList<$3.ClaimSummary> get claims => $_getList(8);

  @$pb.TagNumber(19)
  $core.int get claimNumber => $_getIZ(9);
  @$pb.TagNumber(19)
  set claimNumber($core.int v) { $_setSignedInt32(9, v); }
  @$pb.TagNumber(19)
  $core.bool hasClaimNumber() => $_has(9);
  @$pb.TagNumber(19)
  void clearClaimNumber() => $_clearField(19);
}

class ExecutionflowMapSummaryToOrder extends $pb.GeneratedMessage {
  factory ExecutionflowMapSummaryToOrder({
    $3.CommandHeader? header,
    $3.EntityID? iD,
    ExecutionflowMapSummaryToOrderPayload? payload,
    ExecutionflowMapSummaryToOrderPayload? eventPayload,
    ExecutionflowMapSummaryToOrderPayload? previousPayload,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (iD != null) {
      $result.iD = iD;
    }
    if (payload != null) {
      $result.payload = payload;
    }
    if (eventPayload != null) {
      $result.eventPayload = eventPayload;
    }
    if (previousPayload != null) {
      $result.previousPayload = previousPayload;
    }
    return $result;
  }
  ExecutionflowMapSummaryToOrder._() : super();
  factory ExecutionflowMapSummaryToOrder.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ExecutionflowMapSummaryToOrder.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExecutionflowMapSummaryToOrder', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.CommandHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.CommandHeader.create)
    ..aOM<$3.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $3.EntityID.create)
    ..aOM<ExecutionflowMapSummaryToOrderPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: ExecutionflowMapSummaryToOrderPayload.create)
    ..aOM<ExecutionflowMapSummaryToOrderPayload>(4, _omitFieldNames ? '' : 'EventPayload', protoName: 'EventPayload', subBuilder: ExecutionflowMapSummaryToOrderPayload.create)
    ..aOM<ExecutionflowMapSummaryToOrderPayload>(5, _omitFieldNames ? '' : 'PreviousPayload', protoName: 'PreviousPayload', subBuilder: ExecutionflowMapSummaryToOrderPayload.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ExecutionflowMapSummaryToOrder clone() => ExecutionflowMapSummaryToOrder()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ExecutionflowMapSummaryToOrder copyWith(void Function(ExecutionflowMapSummaryToOrder) updates) => super.copyWith((message) => updates(message as ExecutionflowMapSummaryToOrder)) as ExecutionflowMapSummaryToOrder;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ExecutionflowMapSummaryToOrder create() => ExecutionflowMapSummaryToOrder._();
  ExecutionflowMapSummaryToOrder createEmptyInstance() => create();
  static $pb.PbList<ExecutionflowMapSummaryToOrder> createRepeated() => $pb.PbList<ExecutionflowMapSummaryToOrder>();
  @$core.pragma('dart2js:noInline')
  static ExecutionflowMapSummaryToOrder getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ExecutionflowMapSummaryToOrder>(create);
  static ExecutionflowMapSummaryToOrder? _defaultInstance;

  @$pb.TagNumber(1)
  $3.CommandHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.CommandHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.CommandHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $3.EntityID get iD => $_getN(1);
  @$pb.TagNumber(2)
  set iD($3.EntityID v) { $_setField(2, v); }
  @$pb.TagNumber(2)
  $core.bool hasID() => $_has(1);
  @$pb.TagNumber(2)
  void clearID() => $_clearField(2);
  @$pb.TagNumber(2)
  $3.EntityID ensureID() => $_ensure(1);

  @$pb.TagNumber(3)
  ExecutionflowMapSummaryToOrderPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(ExecutionflowMapSummaryToOrderPayload v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  ExecutionflowMapSummaryToOrderPayload ensurePayload() => $_ensure(2);

  @$pb.TagNumber(4)
  ExecutionflowMapSummaryToOrderPayload get eventPayload => $_getN(3);
  @$pb.TagNumber(4)
  set eventPayload(ExecutionflowMapSummaryToOrderPayload v) { $_setField(4, v); }
  @$pb.TagNumber(4)
  $core.bool hasEventPayload() => $_has(3);
  @$pb.TagNumber(4)
  void clearEventPayload() => $_clearField(4);
  @$pb.TagNumber(4)
  ExecutionflowMapSummaryToOrderPayload ensureEventPayload() => $_ensure(3);

  @$pb.TagNumber(5)
  ExecutionflowMapSummaryToOrderPayload get previousPayload => $_getN(4);
  @$pb.TagNumber(5)
  set previousPayload(ExecutionflowMapSummaryToOrderPayload v) { $_setField(5, v); }
  @$pb.TagNumber(5)
  $core.bool hasPreviousPayload() => $_has(4);
  @$pb.TagNumber(5)
  void clearPreviousPayload() => $_clearField(5);
  @$pb.TagNumber(5)
  ExecutionflowMapSummaryToOrderPayload ensurePreviousPayload() => $_ensure(4);
}

///
/// ExecutionflowMapETAToOrder : map the Executionflow ETA to the corresponding trade order entity
class ExecutionflowMapETAToOrderPayload extends $pb.GeneratedMessage {
  factory ExecutionflowMapETAToOrderPayload({
    $75.ETA? executionflowETAComputed,
    $core.String? orderID,
  }) {
    final $result = create();
    if (executionflowETAComputed != null) {
      $result.executionflowETAComputed = executionflowETAComputed;
    }
    if (orderID != null) {
      $result.orderID = orderID;
    }
    return $result;
  }
  ExecutionflowMapETAToOrderPayload._() : super();
  factory ExecutionflowMapETAToOrderPayload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ExecutionflowMapETAToOrderPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExecutionflowMapETAToOrderPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$75.ETA>(1, _omitFieldNames ? '' : 'ExecutionflowETAComputed', protoName: 'ExecutionflowETAComputed', subBuilder: $75.ETA.create)
    ..aOS(2, _omitFieldNames ? '' : 'OrderID', protoName: 'OrderID')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ExecutionflowMapETAToOrderPayload clone() => ExecutionflowMapETAToOrderPayload()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ExecutionflowMapETAToOrderPayload copyWith(void Function(ExecutionflowMapETAToOrderPayload) updates) => super.copyWith((message) => updates(message as ExecutionflowMapETAToOrderPayload)) as ExecutionflowMapETAToOrderPayload;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ExecutionflowMapETAToOrderPayload create() => ExecutionflowMapETAToOrderPayload._();
  ExecutionflowMapETAToOrderPayload createEmptyInstance() => create();
  static $pb.PbList<ExecutionflowMapETAToOrderPayload> createRepeated() => $pb.PbList<ExecutionflowMapETAToOrderPayload>();
  @$core.pragma('dart2js:noInline')
  static ExecutionflowMapETAToOrderPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ExecutionflowMapETAToOrderPayload>(create);
  static ExecutionflowMapETAToOrderPayload? _defaultInstance;

  @$pb.TagNumber(1)
  $75.ETA get executionflowETAComputed => $_getN(0);
  @$pb.TagNumber(1)
  set executionflowETAComputed($75.ETA v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasExecutionflowETAComputed() => $_has(0);
  @$pb.TagNumber(1)
  void clearExecutionflowETAComputed() => $_clearField(1);
  @$pb.TagNumber(1)
  $75.ETA ensureExecutionflowETAComputed() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get orderID => $_getSZ(1);
  @$pb.TagNumber(2)
  set orderID($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasOrderID() => $_has(1);
  @$pb.TagNumber(2)
  void clearOrderID() => $_clearField(2);
}

class ExecutionflowMapETAToOrder extends $pb.GeneratedMessage {
  factory ExecutionflowMapETAToOrder({
    $3.CommandHeader? header,
    $3.EntityID? iD,
    ExecutionflowMapETAToOrderPayload? payload,
    ExecutionflowMapETAToOrderPayload? eventPayload,
    ExecutionflowMapETAToOrderPayload? previousPayload,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (iD != null) {
      $result.iD = iD;
    }
    if (payload != null) {
      $result.payload = payload;
    }
    if (eventPayload != null) {
      $result.eventPayload = eventPayload;
    }
    if (previousPayload != null) {
      $result.previousPayload = previousPayload;
    }
    return $result;
  }
  ExecutionflowMapETAToOrder._() : super();
  factory ExecutionflowMapETAToOrder.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ExecutionflowMapETAToOrder.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExecutionflowMapETAToOrder', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.CommandHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.CommandHeader.create)
    ..aOM<$3.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $3.EntityID.create)
    ..aOM<ExecutionflowMapETAToOrderPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: ExecutionflowMapETAToOrderPayload.create)
    ..aOM<ExecutionflowMapETAToOrderPayload>(4, _omitFieldNames ? '' : 'EventPayload', protoName: 'EventPayload', subBuilder: ExecutionflowMapETAToOrderPayload.create)
    ..aOM<ExecutionflowMapETAToOrderPayload>(5, _omitFieldNames ? '' : 'PreviousPayload', protoName: 'PreviousPayload', subBuilder: ExecutionflowMapETAToOrderPayload.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ExecutionflowMapETAToOrder clone() => ExecutionflowMapETAToOrder()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ExecutionflowMapETAToOrder copyWith(void Function(ExecutionflowMapETAToOrder) updates) => super.copyWith((message) => updates(message as ExecutionflowMapETAToOrder)) as ExecutionflowMapETAToOrder;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ExecutionflowMapETAToOrder create() => ExecutionflowMapETAToOrder._();
  ExecutionflowMapETAToOrder createEmptyInstance() => create();
  static $pb.PbList<ExecutionflowMapETAToOrder> createRepeated() => $pb.PbList<ExecutionflowMapETAToOrder>();
  @$core.pragma('dart2js:noInline')
  static ExecutionflowMapETAToOrder getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ExecutionflowMapETAToOrder>(create);
  static ExecutionflowMapETAToOrder? _defaultInstance;

  @$pb.TagNumber(1)
  $3.CommandHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.CommandHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.CommandHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $3.EntityID get iD => $_getN(1);
  @$pb.TagNumber(2)
  set iD($3.EntityID v) { $_setField(2, v); }
  @$pb.TagNumber(2)
  $core.bool hasID() => $_has(1);
  @$pb.TagNumber(2)
  void clearID() => $_clearField(2);
  @$pb.TagNumber(2)
  $3.EntityID ensureID() => $_ensure(1);

  @$pb.TagNumber(3)
  ExecutionflowMapETAToOrderPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(ExecutionflowMapETAToOrderPayload v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  ExecutionflowMapETAToOrderPayload ensurePayload() => $_ensure(2);

  @$pb.TagNumber(4)
  ExecutionflowMapETAToOrderPayload get eventPayload => $_getN(3);
  @$pb.TagNumber(4)
  set eventPayload(ExecutionflowMapETAToOrderPayload v) { $_setField(4, v); }
  @$pb.TagNumber(4)
  $core.bool hasEventPayload() => $_has(3);
  @$pb.TagNumber(4)
  void clearEventPayload() => $_clearField(4);
  @$pb.TagNumber(4)
  ExecutionflowMapETAToOrderPayload ensureEventPayload() => $_ensure(3);

  @$pb.TagNumber(5)
  ExecutionflowMapETAToOrderPayload get previousPayload => $_getN(4);
  @$pb.TagNumber(5)
  set previousPayload(ExecutionflowMapETAToOrderPayload v) { $_setField(5, v); }
  @$pb.TagNumber(5)
  $core.bool hasPreviousPayload() => $_has(4);
  @$pb.TagNumber(5)
  void clearPreviousPayload() => $_clearField(5);
  @$pb.TagNumber(5)
  ExecutionflowMapETAToOrderPayload ensurePreviousPayload() => $_ensure(4);
}

///
/// NotifyPartnerApps : Notify new exeflow to partner Apps
class ExecutionflowNotifyPartnerAppsPayload extends $pb.GeneratedMessage {
  factory ExecutionflowNotifyPartnerAppsPayload({
    $3.DateTime? creationDateTime,
    $core.String? orderID,
    $core.Iterable<$3.MetadataElement>? metaData,
    $75.TradeTier? shipFrom,
    $75.TradeTier? shipTo,
    $75.TradeTier? carrier,
    $core.String? carrierService,
    $75.OrderRequestedMilestones? requestedMilestones,
    $core.Iterable<$75.ExeFlowLine>? lines,
    $core.Iterable<$76.HandlingunitSummary>? handlingunits,
    $75.ExecutionflowStatusStruct? status,
    $core.bool? shipFromAcked,
    $core.bool? shipToAcked,
  }) {
    final $result = create();
    if (creationDateTime != null) {
      $result.creationDateTime = creationDateTime;
    }
    if (orderID != null) {
      $result.orderID = orderID;
    }
    if (metaData != null) {
      $result.metaData.addAll(metaData);
    }
    if (shipFrom != null) {
      $result.shipFrom = shipFrom;
    }
    if (shipTo != null) {
      $result.shipTo = shipTo;
    }
    if (carrier != null) {
      $result.carrier = carrier;
    }
    if (carrierService != null) {
      $result.carrierService = carrierService;
    }
    if (requestedMilestones != null) {
      $result.requestedMilestones = requestedMilestones;
    }
    if (lines != null) {
      $result.lines.addAll(lines);
    }
    if (handlingunits != null) {
      $result.handlingunits.addAll(handlingunits);
    }
    if (status != null) {
      $result.status = status;
    }
    if (shipFromAcked != null) {
      $result.shipFromAcked = shipFromAcked;
    }
    if (shipToAcked != null) {
      $result.shipToAcked = shipToAcked;
    }
    return $result;
  }
  ExecutionflowNotifyPartnerAppsPayload._() : super();
  factory ExecutionflowNotifyPartnerAppsPayload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ExecutionflowNotifyPartnerAppsPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExecutionflowNotifyPartnerAppsPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.DateTime>(1, _omitFieldNames ? '' : 'CreationDateTime', protoName: 'CreationDateTime', subBuilder: $3.DateTime.create)
    ..aOS(2, _omitFieldNames ? '' : 'OrderID', protoName: 'OrderID')
    ..pc<$3.MetadataElement>(3, _omitFieldNames ? '' : 'MetaData', $pb.PbFieldType.PM, protoName: 'MetaData', subBuilder: $3.MetadataElement.create)
    ..aOM<$75.TradeTier>(4, _omitFieldNames ? '' : 'ShipFrom', protoName: 'ShipFrom', subBuilder: $75.TradeTier.create)
    ..aOM<$75.TradeTier>(5, _omitFieldNames ? '' : 'ShipTo', protoName: 'ShipTo', subBuilder: $75.TradeTier.create)
    ..aOM<$75.TradeTier>(6, _omitFieldNames ? '' : 'Carrier', protoName: 'Carrier', subBuilder: $75.TradeTier.create)
    ..aOS(7, _omitFieldNames ? '' : 'CarrierService', protoName: 'CarrierService')
    ..aOM<$75.OrderRequestedMilestones>(8, _omitFieldNames ? '' : 'RequestedMilestones', protoName: 'RequestedMilestones', subBuilder: $75.OrderRequestedMilestones.create)
    ..pc<$75.ExeFlowLine>(9, _omitFieldNames ? '' : 'Lines', $pb.PbFieldType.PM, protoName: 'Lines', subBuilder: $75.ExeFlowLine.create)
    ..pc<$76.HandlingunitSummary>(11, _omitFieldNames ? '' : 'Handlingunits', $pb.PbFieldType.PM, protoName: 'Handlingunits', subBuilder: $76.HandlingunitSummary.create)
    ..aOM<$75.ExecutionflowStatusStruct>(13, _omitFieldNames ? '' : 'Status', protoName: 'Status', subBuilder: $75.ExecutionflowStatusStruct.create)
    ..aOB(14, _omitFieldNames ? '' : 'ShipFromAcked', protoName: 'ShipFromAcked')
    ..aOB(15, _omitFieldNames ? '' : 'ShipToAcked', protoName: 'ShipToAcked')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ExecutionflowNotifyPartnerAppsPayload clone() => ExecutionflowNotifyPartnerAppsPayload()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ExecutionflowNotifyPartnerAppsPayload copyWith(void Function(ExecutionflowNotifyPartnerAppsPayload) updates) => super.copyWith((message) => updates(message as ExecutionflowNotifyPartnerAppsPayload)) as ExecutionflowNotifyPartnerAppsPayload;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ExecutionflowNotifyPartnerAppsPayload create() => ExecutionflowNotifyPartnerAppsPayload._();
  ExecutionflowNotifyPartnerAppsPayload createEmptyInstance() => create();
  static $pb.PbList<ExecutionflowNotifyPartnerAppsPayload> createRepeated() => $pb.PbList<ExecutionflowNotifyPartnerAppsPayload>();
  @$core.pragma('dart2js:noInline')
  static ExecutionflowNotifyPartnerAppsPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ExecutionflowNotifyPartnerAppsPayload>(create);
  static ExecutionflowNotifyPartnerAppsPayload? _defaultInstance;

  @$pb.TagNumber(1)
  $3.DateTime get creationDateTime => $_getN(0);
  @$pb.TagNumber(1)
  set creationDateTime($3.DateTime v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasCreationDateTime() => $_has(0);
  @$pb.TagNumber(1)
  void clearCreationDateTime() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.DateTime ensureCreationDateTime() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get orderID => $_getSZ(1);
  @$pb.TagNumber(2)
  set orderID($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasOrderID() => $_has(1);
  @$pb.TagNumber(2)
  void clearOrderID() => $_clearField(2);

  /// Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)
  @$pb.TagNumber(3)
  $pb.PbList<$3.MetadataElement> get metaData => $_getList(2);

  /// Where to ship the order from
  @$pb.TagNumber(4)
  $75.TradeTier get shipFrom => $_getN(3);
  @$pb.TagNumber(4)
  set shipFrom($75.TradeTier v) { $_setField(4, v); }
  @$pb.TagNumber(4)
  $core.bool hasShipFrom() => $_has(3);
  @$pb.TagNumber(4)
  void clearShipFrom() => $_clearField(4);
  @$pb.TagNumber(4)
  $75.TradeTier ensureShipFrom() => $_ensure(3);

  /// Where to ship the order to
  @$pb.TagNumber(5)
  $75.TradeTier get shipTo => $_getN(4);
  @$pb.TagNumber(5)
  set shipTo($75.TradeTier v) { $_setField(5, v); }
  @$pb.TagNumber(5)
  $core.bool hasShipTo() => $_has(4);
  @$pb.TagNumber(5)
  void clearShipTo() => $_clearField(5);
  @$pb.TagNumber(5)
  $75.TradeTier ensureShipTo() => $_ensure(4);

  /// Definition of the order carrier
  @$pb.TagNumber(6)
  $75.TradeTier get carrier => $_getN(5);
  @$pb.TagNumber(6)
  set carrier($75.TradeTier v) { $_setField(6, v); }
  @$pb.TagNumber(6)
  $core.bool hasCarrier() => $_has(5);
  @$pb.TagNumber(6)
  void clearCarrier() => $_clearField(6);
  @$pb.TagNumber(6)
  $75.TradeTier ensureCarrier() => $_ensure(5);

  /// Type of carrier service
  @$pb.TagNumber(7)
  $core.String get carrierService => $_getSZ(6);
  @$pb.TagNumber(7)
  set carrierService($core.String v) { $_setString(6, v); }
  @$pb.TagNumber(7)
  $core.bool hasCarrierService() => $_has(6);
  @$pb.TagNumber(7)
  void clearCarrierService() => $_clearField(7);

  @$pb.TagNumber(8)
  $75.OrderRequestedMilestones get requestedMilestones => $_getN(7);
  @$pb.TagNumber(8)
  set requestedMilestones($75.OrderRequestedMilestones v) { $_setField(8, v); }
  @$pb.TagNumber(8)
  $core.bool hasRequestedMilestones() => $_has(7);
  @$pb.TagNumber(8)
  void clearRequestedMilestones() => $_clearField(8);
  @$pb.TagNumber(8)
  $75.OrderRequestedMilestones ensureRequestedMilestones() => $_ensure(7);

  @$pb.TagNumber(9)
  $pb.PbList<$75.ExeFlowLine> get lines => $_getList(8);

  @$pb.TagNumber(11)
  $pb.PbList<$76.HandlingunitSummary> get handlingunits => $_getList(9);

  @$pb.TagNumber(13)
  $75.ExecutionflowStatusStruct get status => $_getN(10);
  @$pb.TagNumber(13)
  set status($75.ExecutionflowStatusStruct v) { $_setField(13, v); }
  @$pb.TagNumber(13)
  $core.bool hasStatus() => $_has(10);
  @$pb.TagNumber(13)
  void clearStatus() => $_clearField(13);
  @$pb.TagNumber(13)
  $75.ExecutionflowStatusStruct ensureStatus() => $_ensure(10);

  @$pb.TagNumber(14)
  $core.bool get shipFromAcked => $_getBF(11);
  @$pb.TagNumber(14)
  set shipFromAcked($core.bool v) { $_setBool(11, v); }
  @$pb.TagNumber(14)
  $core.bool hasShipFromAcked() => $_has(11);
  @$pb.TagNumber(14)
  void clearShipFromAcked() => $_clearField(14);

  @$pb.TagNumber(15)
  $core.bool get shipToAcked => $_getBF(12);
  @$pb.TagNumber(15)
  set shipToAcked($core.bool v) { $_setBool(12, v); }
  @$pb.TagNumber(15)
  $core.bool hasShipToAcked() => $_has(12);
  @$pb.TagNumber(15)
  void clearShipToAcked() => $_clearField(15);
}

class ExecutionflowNotifyPartnerApps extends $pb.GeneratedMessage {
  factory ExecutionflowNotifyPartnerApps({
    $3.CommandHeader? header,
    $3.EntityID? iD,
    ExecutionflowNotifyPartnerAppsPayload? payload,
    ExecutionflowNotifyPartnerAppsPayload? eventPayload,
    ExecutionflowNotifyPartnerAppsPayload? previousPayload,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (iD != null) {
      $result.iD = iD;
    }
    if (payload != null) {
      $result.payload = payload;
    }
    if (eventPayload != null) {
      $result.eventPayload = eventPayload;
    }
    if (previousPayload != null) {
      $result.previousPayload = previousPayload;
    }
    return $result;
  }
  ExecutionflowNotifyPartnerApps._() : super();
  factory ExecutionflowNotifyPartnerApps.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ExecutionflowNotifyPartnerApps.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExecutionflowNotifyPartnerApps', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.CommandHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.CommandHeader.create)
    ..aOM<$3.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $3.EntityID.create)
    ..aOM<ExecutionflowNotifyPartnerAppsPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: ExecutionflowNotifyPartnerAppsPayload.create)
    ..aOM<ExecutionflowNotifyPartnerAppsPayload>(4, _omitFieldNames ? '' : 'EventPayload', protoName: 'EventPayload', subBuilder: ExecutionflowNotifyPartnerAppsPayload.create)
    ..aOM<ExecutionflowNotifyPartnerAppsPayload>(5, _omitFieldNames ? '' : 'PreviousPayload', protoName: 'PreviousPayload', subBuilder: ExecutionflowNotifyPartnerAppsPayload.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ExecutionflowNotifyPartnerApps clone() => ExecutionflowNotifyPartnerApps()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ExecutionflowNotifyPartnerApps copyWith(void Function(ExecutionflowNotifyPartnerApps) updates) => super.copyWith((message) => updates(message as ExecutionflowNotifyPartnerApps)) as ExecutionflowNotifyPartnerApps;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ExecutionflowNotifyPartnerApps create() => ExecutionflowNotifyPartnerApps._();
  ExecutionflowNotifyPartnerApps createEmptyInstance() => create();
  static $pb.PbList<ExecutionflowNotifyPartnerApps> createRepeated() => $pb.PbList<ExecutionflowNotifyPartnerApps>();
  @$core.pragma('dart2js:noInline')
  static ExecutionflowNotifyPartnerApps getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ExecutionflowNotifyPartnerApps>(create);
  static ExecutionflowNotifyPartnerApps? _defaultInstance;

  @$pb.TagNumber(1)
  $3.CommandHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.CommandHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.CommandHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $3.EntityID get iD => $_getN(1);
  @$pb.TagNumber(2)
  set iD($3.EntityID v) { $_setField(2, v); }
  @$pb.TagNumber(2)
  $core.bool hasID() => $_has(1);
  @$pb.TagNumber(2)
  void clearID() => $_clearField(2);
  @$pb.TagNumber(2)
  $3.EntityID ensureID() => $_ensure(1);

  @$pb.TagNumber(3)
  ExecutionflowNotifyPartnerAppsPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(ExecutionflowNotifyPartnerAppsPayload v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  ExecutionflowNotifyPartnerAppsPayload ensurePayload() => $_ensure(2);

  @$pb.TagNumber(4)
  ExecutionflowNotifyPartnerAppsPayload get eventPayload => $_getN(3);
  @$pb.TagNumber(4)
  set eventPayload(ExecutionflowNotifyPartnerAppsPayload v) { $_setField(4, v); }
  @$pb.TagNumber(4)
  $core.bool hasEventPayload() => $_has(3);
  @$pb.TagNumber(4)
  void clearEventPayload() => $_clearField(4);
  @$pb.TagNumber(4)
  ExecutionflowNotifyPartnerAppsPayload ensureEventPayload() => $_ensure(3);

  @$pb.TagNumber(5)
  ExecutionflowNotifyPartnerAppsPayload get previousPayload => $_getN(4);
  @$pb.TagNumber(5)
  set previousPayload(ExecutionflowNotifyPartnerAppsPayload v) { $_setField(5, v); }
  @$pb.TagNumber(5)
  $core.bool hasPreviousPayload() => $_has(4);
  @$pb.TagNumber(5)
  void clearPreviousPayload() => $_clearField(5);
  @$pb.TagNumber(5)
  ExecutionflowNotifyPartnerAppsPayload ensurePreviousPayload() => $_ensure(4);
}

///
/// CreateDetectedOrder : Create order to give access to detected exeflow
class ExecutionflowCreateDetectedOrderPayload extends $pb.GeneratedMessage {
  factory ExecutionflowCreateDetectedOrderPayload({
    $3.DateTime? creationDateTime,
    $core.String? orderID,
    $core.Iterable<$3.MetadataElement>? metaData,
    $75.TradeTier? shipFrom,
    $75.TradeTier? shipTo,
    $75.TradeTier? carrier,
    $core.String? carrierService,
    $75.OrderRequestedMilestones? requestedMilestones,
    $core.Iterable<$75.ExeFlowLine>? lines,
    $75.ExecutionflowStatusStruct? status,
  }) {
    final $result = create();
    if (creationDateTime != null) {
      $result.creationDateTime = creationDateTime;
    }
    if (orderID != null) {
      $result.orderID = orderID;
    }
    if (metaData != null) {
      $result.metaData.addAll(metaData);
    }
    if (shipFrom != null) {
      $result.shipFrom = shipFrom;
    }
    if (shipTo != null) {
      $result.shipTo = shipTo;
    }
    if (carrier != null) {
      $result.carrier = carrier;
    }
    if (carrierService != null) {
      $result.carrierService = carrierService;
    }
    if (requestedMilestones != null) {
      $result.requestedMilestones = requestedMilestones;
    }
    if (lines != null) {
      $result.lines.addAll(lines);
    }
    if (status != null) {
      $result.status = status;
    }
    return $result;
  }
  ExecutionflowCreateDetectedOrderPayload._() : super();
  factory ExecutionflowCreateDetectedOrderPayload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ExecutionflowCreateDetectedOrderPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExecutionflowCreateDetectedOrderPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.DateTime>(1, _omitFieldNames ? '' : 'CreationDateTime', protoName: 'CreationDateTime', subBuilder: $3.DateTime.create)
    ..aOS(2, _omitFieldNames ? '' : 'OrderID', protoName: 'OrderID')
    ..pc<$3.MetadataElement>(3, _omitFieldNames ? '' : 'MetaData', $pb.PbFieldType.PM, protoName: 'MetaData', subBuilder: $3.MetadataElement.create)
    ..aOM<$75.TradeTier>(4, _omitFieldNames ? '' : 'ShipFrom', protoName: 'ShipFrom', subBuilder: $75.TradeTier.create)
    ..aOM<$75.TradeTier>(5, _omitFieldNames ? '' : 'ShipTo', protoName: 'ShipTo', subBuilder: $75.TradeTier.create)
    ..aOM<$75.TradeTier>(6, _omitFieldNames ? '' : 'Carrier', protoName: 'Carrier', subBuilder: $75.TradeTier.create)
    ..aOS(7, _omitFieldNames ? '' : 'CarrierService', protoName: 'CarrierService')
    ..aOM<$75.OrderRequestedMilestones>(8, _omitFieldNames ? '' : 'RequestedMilestones', protoName: 'RequestedMilestones', subBuilder: $75.OrderRequestedMilestones.create)
    ..pc<$75.ExeFlowLine>(9, _omitFieldNames ? '' : 'Lines', $pb.PbFieldType.PM, protoName: 'Lines', subBuilder: $75.ExeFlowLine.create)
    ..aOM<$75.ExecutionflowStatusStruct>(13, _omitFieldNames ? '' : 'Status', protoName: 'Status', subBuilder: $75.ExecutionflowStatusStruct.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ExecutionflowCreateDetectedOrderPayload clone() => ExecutionflowCreateDetectedOrderPayload()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ExecutionflowCreateDetectedOrderPayload copyWith(void Function(ExecutionflowCreateDetectedOrderPayload) updates) => super.copyWith((message) => updates(message as ExecutionflowCreateDetectedOrderPayload)) as ExecutionflowCreateDetectedOrderPayload;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ExecutionflowCreateDetectedOrderPayload create() => ExecutionflowCreateDetectedOrderPayload._();
  ExecutionflowCreateDetectedOrderPayload createEmptyInstance() => create();
  static $pb.PbList<ExecutionflowCreateDetectedOrderPayload> createRepeated() => $pb.PbList<ExecutionflowCreateDetectedOrderPayload>();
  @$core.pragma('dart2js:noInline')
  static ExecutionflowCreateDetectedOrderPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ExecutionflowCreateDetectedOrderPayload>(create);
  static ExecutionflowCreateDetectedOrderPayload? _defaultInstance;

  @$pb.TagNumber(1)
  $3.DateTime get creationDateTime => $_getN(0);
  @$pb.TagNumber(1)
  set creationDateTime($3.DateTime v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasCreationDateTime() => $_has(0);
  @$pb.TagNumber(1)
  void clearCreationDateTime() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.DateTime ensureCreationDateTime() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get orderID => $_getSZ(1);
  @$pb.TagNumber(2)
  set orderID($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasOrderID() => $_has(1);
  @$pb.TagNumber(2)
  void clearOrderID() => $_clearField(2);

  @$pb.TagNumber(3)
  $pb.PbList<$3.MetadataElement> get metaData => $_getList(2);

  @$pb.TagNumber(4)
  $75.TradeTier get shipFrom => $_getN(3);
  @$pb.TagNumber(4)
  set shipFrom($75.TradeTier v) { $_setField(4, v); }
  @$pb.TagNumber(4)
  $core.bool hasShipFrom() => $_has(3);
  @$pb.TagNumber(4)
  void clearShipFrom() => $_clearField(4);
  @$pb.TagNumber(4)
  $75.TradeTier ensureShipFrom() => $_ensure(3);

  @$pb.TagNumber(5)
  $75.TradeTier get shipTo => $_getN(4);
  @$pb.TagNumber(5)
  set shipTo($75.TradeTier v) { $_setField(5, v); }
  @$pb.TagNumber(5)
  $core.bool hasShipTo() => $_has(4);
  @$pb.TagNumber(5)
  void clearShipTo() => $_clearField(5);
  @$pb.TagNumber(5)
  $75.TradeTier ensureShipTo() => $_ensure(4);

  @$pb.TagNumber(6)
  $75.TradeTier get carrier => $_getN(5);
  @$pb.TagNumber(6)
  set carrier($75.TradeTier v) { $_setField(6, v); }
  @$pb.TagNumber(6)
  $core.bool hasCarrier() => $_has(5);
  @$pb.TagNumber(6)
  void clearCarrier() => $_clearField(6);
  @$pb.TagNumber(6)
  $75.TradeTier ensureCarrier() => $_ensure(5);

  @$pb.TagNumber(7)
  $core.String get carrierService => $_getSZ(6);
  @$pb.TagNumber(7)
  set carrierService($core.String v) { $_setString(6, v); }
  @$pb.TagNumber(7)
  $core.bool hasCarrierService() => $_has(6);
  @$pb.TagNumber(7)
  void clearCarrierService() => $_clearField(7);

  @$pb.TagNumber(8)
  $75.OrderRequestedMilestones get requestedMilestones => $_getN(7);
  @$pb.TagNumber(8)
  set requestedMilestones($75.OrderRequestedMilestones v) { $_setField(8, v); }
  @$pb.TagNumber(8)
  $core.bool hasRequestedMilestones() => $_has(7);
  @$pb.TagNumber(8)
  void clearRequestedMilestones() => $_clearField(8);
  @$pb.TagNumber(8)
  $75.OrderRequestedMilestones ensureRequestedMilestones() => $_ensure(7);

  @$pb.TagNumber(9)
  $pb.PbList<$75.ExeFlowLine> get lines => $_getList(8);

  @$pb.TagNumber(13)
  $75.ExecutionflowStatusStruct get status => $_getN(9);
  @$pb.TagNumber(13)
  set status($75.ExecutionflowStatusStruct v) { $_setField(13, v); }
  @$pb.TagNumber(13)
  $core.bool hasStatus() => $_has(9);
  @$pb.TagNumber(13)
  void clearStatus() => $_clearField(13);
  @$pb.TagNumber(13)
  $75.ExecutionflowStatusStruct ensureStatus() => $_ensure(9);
}

class ExecutionflowCreateDetectedOrder extends $pb.GeneratedMessage {
  factory ExecutionflowCreateDetectedOrder({
    $3.CommandHeader? header,
    $3.EntityID? iD,
    ExecutionflowCreateDetectedOrderPayload? payload,
    ExecutionflowCreateDetectedOrderPayload? eventPayload,
    ExecutionflowCreateDetectedOrderPayload? previousPayload,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (iD != null) {
      $result.iD = iD;
    }
    if (payload != null) {
      $result.payload = payload;
    }
    if (eventPayload != null) {
      $result.eventPayload = eventPayload;
    }
    if (previousPayload != null) {
      $result.previousPayload = previousPayload;
    }
    return $result;
  }
  ExecutionflowCreateDetectedOrder._() : super();
  factory ExecutionflowCreateDetectedOrder.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ExecutionflowCreateDetectedOrder.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExecutionflowCreateDetectedOrder', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.CommandHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.CommandHeader.create)
    ..aOM<$3.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $3.EntityID.create)
    ..aOM<ExecutionflowCreateDetectedOrderPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: ExecutionflowCreateDetectedOrderPayload.create)
    ..aOM<ExecutionflowCreateDetectedOrderPayload>(4, _omitFieldNames ? '' : 'EventPayload', protoName: 'EventPayload', subBuilder: ExecutionflowCreateDetectedOrderPayload.create)
    ..aOM<ExecutionflowCreateDetectedOrderPayload>(5, _omitFieldNames ? '' : 'PreviousPayload', protoName: 'PreviousPayload', subBuilder: ExecutionflowCreateDetectedOrderPayload.create)
    ..hasRequiredFields = false
  ;

  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
  'Will be removed in next major version')
  ExecutionflowCreateDetectedOrder clone() => ExecutionflowCreateDetectedOrder()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  ExecutionflowCreateDetectedOrder copyWith(void Function(ExecutionflowCreateDetectedOrder) updates) => super.copyWith((message) => updates(message as ExecutionflowCreateDetectedOrder)) as ExecutionflowCreateDetectedOrder;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ExecutionflowCreateDetectedOrder create() => ExecutionflowCreateDetectedOrder._();
  ExecutionflowCreateDetectedOrder createEmptyInstance() => create();
  static $pb.PbList<ExecutionflowCreateDetectedOrder> createRepeated() => $pb.PbList<ExecutionflowCreateDetectedOrder>();
  @$core.pragma('dart2js:noInline')
  static ExecutionflowCreateDetectedOrder getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ExecutionflowCreateDetectedOrder>(create);
  static ExecutionflowCreateDetectedOrder? _defaultInstance;

  @$pb.TagNumber(1)
  $3.CommandHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.CommandHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.CommandHeader ensureHeader() => $_ensure(0);

  @$pb.TagNumber(2)
  $3.EntityID get iD => $_getN(1);
  @$pb.TagNumber(2)
  set iD($3.EntityID v) { $_setField(2, v); }
  @$pb.TagNumber(2)
  $core.bool hasID() => $_has(1);
  @$pb.TagNumber(2)
  void clearID() => $_clearField(2);
  @$pb.TagNumber(2)
  $3.EntityID ensureID() => $_ensure(1);

  @$pb.TagNumber(3)
  ExecutionflowCreateDetectedOrderPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(ExecutionflowCreateDetectedOrderPayload v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  ExecutionflowCreateDetectedOrderPayload ensurePayload() => $_ensure(2);

  @$pb.TagNumber(4)
  ExecutionflowCreateDetectedOrderPayload get eventPayload => $_getN(3);
  @$pb.TagNumber(4)
  set eventPayload(ExecutionflowCreateDetectedOrderPayload v) { $_setField(4, v); }
  @$pb.TagNumber(4)
  $core.bool hasEventPayload() => $_has(3);
  @$pb.TagNumber(4)
  void clearEventPayload() => $_clearField(4);
  @$pb.TagNumber(4)
  ExecutionflowCreateDetectedOrderPayload ensureEventPayload() => $_ensure(3);

  @$pb.TagNumber(5)
  ExecutionflowCreateDetectedOrderPayload get previousPayload => $_getN(4);
  @$pb.TagNumber(5)
  set previousPayload(ExecutionflowCreateDetectedOrderPayload v) { $_setField(5, v); }
  @$pb.TagNumber(5)
  $core.bool hasPreviousPayload() => $_has(4);
  @$pb.TagNumber(5)
  void clearPreviousPayload() => $_clearField(5);
  @$pb.TagNumber(5)
  ExecutionflowCreateDetectedOrderPayload ensurePreviousPayload() => $_ensure(4);
}


const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
