// This is a generated file - do not edit.
//
// Generated from executionflowAction.proto.

// @dart = 3.3

// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names
// ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names

import 'dart:core' as $core;

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

import 'shared.pb.dart' as $1;
import 'tradeShared.pb.dart' as $0;
import 'warehousingShared.pb.dart' as $2;

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({
    $0.ExecutionflowStatusStruct? status,
    $core.String? orderID,
    $0.TradeTier? shipFrom,
    $0.TradeTier? shipTo,
    $0.TradeTier? carrier,
    $core.String? carrierService,
    $core.Iterable<$0.ExeFlowLine>? lines,
    $core.Iterable<$1.AttachmentSummary>? attachments,
    $core.int? attachmentNumber,
    $core.Iterable<$1.ClaimSummary>? claims,
    $core.int? claimNumber,
    $core.Iterable<$1.AppointmentSummary>? appointments,
  }) {
    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 (lines != null) result.lines.addAll(lines);
    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;
    if (appointments != null) result.appointments.addAll(appointments);
    return result;
  }

  ExecutionflowMapSummaryToOrderPayload._();

  factory ExecutionflowMapSummaryToOrderPayload.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory ExecutionflowMapSummaryToOrderPayload.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

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

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ExecutionflowMapSummaryToOrderPayload clone() => ExecutionflowMapSummaryToOrderPayload()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ExecutionflowMapSummaryToOrderPayload copyWith(void Function(ExecutionflowMapSummaryToOrderPayload) updates) => super.copyWith((message) => updates(message as ExecutionflowMapSummaryToOrderPayload)) as ExecutionflowMapSummaryToOrderPayload;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ExecutionflowMapSummaryToOrderPayload create() => ExecutionflowMapSummaryToOrderPayload._();
  @$core.override
  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)
  $0.ExecutionflowStatusStruct get status => $_getN(0);
  @$pb.TagNumber(1)
  set status($0.ExecutionflowStatusStruct value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasStatus() => $_has(0);
  @$pb.TagNumber(1)
  void clearStatus() => $_clearField(1);
  @$pb.TagNumber(1)
  $0.ExecutionflowStatusStruct ensureStatus() => $_ensure(0);

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

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

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

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

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

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

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

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

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

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

  @$pb.TagNumber(20)
  $pb.PbList<$1.AppointmentSummary> get appointments => $_getList(11);
}

class ExecutionflowMapSummaryToOrder extends $pb.GeneratedMessage {
  factory ExecutionflowMapSummaryToOrder({
    $1.CommandHeader? header,
    $1.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._();

  factory ExecutionflowMapSummaryToOrder.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory ExecutionflowMapSummaryToOrder.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExecutionflowMapSummaryToOrder', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.CommandHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.CommandHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.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('See https://github.com/google/protobuf.dart/issues/998.')
  ExecutionflowMapSummaryToOrder clone() => ExecutionflowMapSummaryToOrder()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ExecutionflowMapSummaryToOrder copyWith(void Function(ExecutionflowMapSummaryToOrder) updates) => super.copyWith((message) => updates(message as ExecutionflowMapSummaryToOrder)) as ExecutionflowMapSummaryToOrder;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ExecutionflowMapSummaryToOrder create() => ExecutionflowMapSummaryToOrder._();
  @$core.override
  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)
  $1.CommandHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.CommandHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.CommandHeader ensureHeader() => $_ensure(0);

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

  @$pb.TagNumber(3)
  ExecutionflowMapSummaryToOrderPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(ExecutionflowMapSummaryToOrderPayload value) => $_setField(3, value);
  @$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 value) => $_setField(4, value);
  @$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 value) => $_setField(5, value);
  @$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({
    $0.ETA? executionflowETAComputed,
    $core.String? orderID,
  }) {
    final result = create();
    if (executionflowETAComputed != null) result.executionflowETAComputed = executionflowETAComputed;
    if (orderID != null) result.orderID = orderID;
    return result;
  }

  ExecutionflowMapETAToOrderPayload._();

  factory ExecutionflowMapETAToOrderPayload.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory ExecutionflowMapETAToOrderPayload.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

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

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ExecutionflowMapETAToOrderPayload clone() => ExecutionflowMapETAToOrderPayload()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ExecutionflowMapETAToOrderPayload copyWith(void Function(ExecutionflowMapETAToOrderPayload) updates) => super.copyWith((message) => updates(message as ExecutionflowMapETAToOrderPayload)) as ExecutionflowMapETAToOrderPayload;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ExecutionflowMapETAToOrderPayload create() => ExecutionflowMapETAToOrderPayload._();
  @$core.override
  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)
  $0.ETA get executionflowETAComputed => $_getN(0);
  @$pb.TagNumber(1)
  set executionflowETAComputed($0.ETA value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasExecutionflowETAComputed() => $_has(0);
  @$pb.TagNumber(1)
  void clearExecutionflowETAComputed() => $_clearField(1);
  @$pb.TagNumber(1)
  $0.ETA ensureExecutionflowETAComputed() => $_ensure(0);

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

class ExecutionflowMapETAToOrder extends $pb.GeneratedMessage {
  factory ExecutionflowMapETAToOrder({
    $1.CommandHeader? header,
    $1.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._();

  factory ExecutionflowMapETAToOrder.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory ExecutionflowMapETAToOrder.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExecutionflowMapETAToOrder', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.CommandHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.CommandHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.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('See https://github.com/google/protobuf.dart/issues/998.')
  ExecutionflowMapETAToOrder clone() => ExecutionflowMapETAToOrder()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ExecutionflowMapETAToOrder copyWith(void Function(ExecutionflowMapETAToOrder) updates) => super.copyWith((message) => updates(message as ExecutionflowMapETAToOrder)) as ExecutionflowMapETAToOrder;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ExecutionflowMapETAToOrder create() => ExecutionflowMapETAToOrder._();
  @$core.override
  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)
  $1.CommandHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.CommandHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.CommandHeader ensureHeader() => $_ensure(0);

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

  @$pb.TagNumber(3)
  ExecutionflowMapETAToOrderPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(ExecutionflowMapETAToOrderPayload value) => $_setField(3, value);
  @$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 value) => $_setField(4, value);
  @$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 value) => $_setField(5, value);
  @$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({
    $1.DateTime? creationDateTime,
    $core.String? orderID,
    $core.Iterable<$1.MetadataElement>? metaData,
    $0.TradeTier? shipFrom,
    $0.TradeTier? shipTo,
    $0.TradeTier? carrier,
    $core.String? carrierService,
    $0.OrderRequestedMilestones? requestedMilestones,
    $core.Iterable<$0.ExeFlowLine>? lines,
    $core.Iterable<$2.HandlingunitSummary>? handlingunits,
    $0.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._();

  factory ExecutionflowNotifyPartnerAppsPayload.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory ExecutionflowNotifyPartnerAppsPayload.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

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

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ExecutionflowNotifyPartnerAppsPayload clone() => ExecutionflowNotifyPartnerAppsPayload()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ExecutionflowNotifyPartnerAppsPayload copyWith(void Function(ExecutionflowNotifyPartnerAppsPayload) updates) => super.copyWith((message) => updates(message as ExecutionflowNotifyPartnerAppsPayload)) as ExecutionflowNotifyPartnerAppsPayload;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ExecutionflowNotifyPartnerAppsPayload create() => ExecutionflowNotifyPartnerAppsPayload._();
  @$core.override
  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)
  $1.DateTime get creationDateTime => $_getN(0);
  @$pb.TagNumber(1)
  set creationDateTime($1.DateTime value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasCreationDateTime() => $_has(0);
  @$pb.TagNumber(1)
  void clearCreationDateTime() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.DateTime ensureCreationDateTime() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get orderID => $_getSZ(1);
  @$pb.TagNumber(2)
  set orderID($core.String value) => $_setString(1, value);
  @$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<$1.MetadataElement> get metaData => $_getList(2);

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

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

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

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

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

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

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

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

  @$pb.TagNumber(14)
  $core.bool get shipFromAcked => $_getBF(11);
  @$pb.TagNumber(14)
  set shipFromAcked($core.bool value) => $_setBool(11, value);
  @$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 value) => $_setBool(12, value);
  @$pb.TagNumber(15)
  $core.bool hasShipToAcked() => $_has(12);
  @$pb.TagNumber(15)
  void clearShipToAcked() => $_clearField(15);
}

class ExecutionflowNotifyPartnerApps extends $pb.GeneratedMessage {
  factory ExecutionflowNotifyPartnerApps({
    $1.CommandHeader? header,
    $1.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._();

  factory ExecutionflowNotifyPartnerApps.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory ExecutionflowNotifyPartnerApps.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExecutionflowNotifyPartnerApps', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.CommandHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.CommandHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.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('See https://github.com/google/protobuf.dart/issues/998.')
  ExecutionflowNotifyPartnerApps clone() => ExecutionflowNotifyPartnerApps()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ExecutionflowNotifyPartnerApps copyWith(void Function(ExecutionflowNotifyPartnerApps) updates) => super.copyWith((message) => updates(message as ExecutionflowNotifyPartnerApps)) as ExecutionflowNotifyPartnerApps;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ExecutionflowNotifyPartnerApps create() => ExecutionflowNotifyPartnerApps._();
  @$core.override
  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)
  $1.CommandHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.CommandHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.CommandHeader ensureHeader() => $_ensure(0);

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

  @$pb.TagNumber(3)
  ExecutionflowNotifyPartnerAppsPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(ExecutionflowNotifyPartnerAppsPayload value) => $_setField(3, value);
  @$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 value) => $_setField(4, value);
  @$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 value) => $_setField(5, value);
  @$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({
    $1.DateTime? creationDateTime,
    $core.String? orderID,
    $core.Iterable<$1.MetadataElement>? metaData,
    $0.TradeTier? shipFrom,
    $0.TradeTier? shipTo,
    $0.TradeTier? carrier,
    $core.String? carrierService,
    $0.OrderRequestedMilestones? requestedMilestones,
    $core.Iterable<$0.ExeFlowLine>? lines,
    $0.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._();

  factory ExecutionflowCreateDetectedOrderPayload.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory ExecutionflowCreateDetectedOrderPayload.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

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

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ExecutionflowCreateDetectedOrderPayload clone() => ExecutionflowCreateDetectedOrderPayload()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ExecutionflowCreateDetectedOrderPayload copyWith(void Function(ExecutionflowCreateDetectedOrderPayload) updates) => super.copyWith((message) => updates(message as ExecutionflowCreateDetectedOrderPayload)) as ExecutionflowCreateDetectedOrderPayload;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ExecutionflowCreateDetectedOrderPayload create() => ExecutionflowCreateDetectedOrderPayload._();
  @$core.override
  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)
  $1.DateTime get creationDateTime => $_getN(0);
  @$pb.TagNumber(1)
  set creationDateTime($1.DateTime value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasCreationDateTime() => $_has(0);
  @$pb.TagNumber(1)
  void clearCreationDateTime() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.DateTime ensureCreationDateTime() => $_ensure(0);

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

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

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

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

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

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

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

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

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

class ExecutionflowCreateDetectedOrder extends $pb.GeneratedMessage {
  factory ExecutionflowCreateDetectedOrder({
    $1.CommandHeader? header,
    $1.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._();

  factory ExecutionflowCreateDetectedOrder.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory ExecutionflowCreateDetectedOrder.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExecutionflowCreateDetectedOrder', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.CommandHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.CommandHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.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('See https://github.com/google/protobuf.dart/issues/998.')
  ExecutionflowCreateDetectedOrder clone() => ExecutionflowCreateDetectedOrder()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ExecutionflowCreateDetectedOrder copyWith(void Function(ExecutionflowCreateDetectedOrder) updates) => super.copyWith((message) => updates(message as ExecutionflowCreateDetectedOrder)) as ExecutionflowCreateDetectedOrder;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ExecutionflowCreateDetectedOrder create() => ExecutionflowCreateDetectedOrder._();
  @$core.override
  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)
  $1.CommandHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.CommandHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.CommandHeader ensureHeader() => $_ensure(0);

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

  @$pb.TagNumber(3)
  ExecutionflowCreateDetectedOrderPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(ExecutionflowCreateDetectedOrderPayload value) => $_setField(3, value);
  @$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 value) => $_setField(4, value);
  @$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 value) => $_setField(5, value);
  @$pb.TagNumber(5)
  $core.bool hasPreviousPayload() => $_has(4);
  @$pb.TagNumber(5)
  void clearPreviousPayload() => $_clearField(5);
  @$pb.TagNumber(5)
  ExecutionflowCreateDetectedOrderPayload ensurePreviousPayload() => $_ensure(4);
}

class ExecutionflowPropagateLinesToOrderPayload extends $pb.GeneratedMessage {
  factory ExecutionflowPropagateLinesToOrderPayload({
    $core.Iterable<$0.ExeFlowLine>? lines,
    $core.String? orderID,
  }) {
    final result = create();
    if (lines != null) result.lines.addAll(lines);
    if (orderID != null) result.orderID = orderID;
    return result;
  }

  ExecutionflowPropagateLinesToOrderPayload._();

  factory ExecutionflowPropagateLinesToOrderPayload.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory ExecutionflowPropagateLinesToOrderPayload.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExecutionflowPropagateLinesToOrderPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..pc<$0.ExeFlowLine>(1, _omitFieldNames ? '' : 'Lines', $pb.PbFieldType.PM, protoName: 'Lines', subBuilder: $0.ExeFlowLine.create)
    ..aOS(2, _omitFieldNames ? '' : 'OrderID', protoName: 'OrderID')
    ..hasRequiredFields = false
  ;

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ExecutionflowPropagateLinesToOrderPayload clone() => ExecutionflowPropagateLinesToOrderPayload()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ExecutionflowPropagateLinesToOrderPayload copyWith(void Function(ExecutionflowPropagateLinesToOrderPayload) updates) => super.copyWith((message) => updates(message as ExecutionflowPropagateLinesToOrderPayload)) as ExecutionflowPropagateLinesToOrderPayload;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

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

  /// Lines of the order
  @$pb.TagNumber(1)
  $pb.PbList<$0.ExeFlowLine> get lines => $_getList(0);

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

class ExecutionflowPropagateLinesToOrder extends $pb.GeneratedMessage {
  factory ExecutionflowPropagateLinesToOrder({
    $1.CommandHeader? header,
    $1.EntityID? iD,
    ExecutionflowPropagateLinesToOrderPayload? payload,
    ExecutionflowPropagateLinesToOrderPayload? eventPayload,
    ExecutionflowPropagateLinesToOrderPayload? 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;
  }

  ExecutionflowPropagateLinesToOrder._();

  factory ExecutionflowPropagateLinesToOrder.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
  factory ExecutionflowPropagateLinesToOrder.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);

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

  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ExecutionflowPropagateLinesToOrder clone() => ExecutionflowPropagateLinesToOrder()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  ExecutionflowPropagateLinesToOrder copyWith(void Function(ExecutionflowPropagateLinesToOrder) updates) => super.copyWith((message) => updates(message as ExecutionflowPropagateLinesToOrder)) as ExecutionflowPropagateLinesToOrder;

  @$core.override
  $pb.BuilderInfo get info_ => _i;

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

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

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

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

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

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


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