// This is a generated file - do not edit.
//
// Generated from orderInput.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 $2;

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

class OrderCreatedPayload extends $pb.GeneratedMessage {
  factory OrderCreatedPayload({
    $1.DateTime? creationDateTime,
    $2.ReferencedID? parentOrder,
    $core.String? languageCodeISO6391,
    $core.Iterable<$1.MetadataElement>? metaData,
    $2.TradeTier? buyer,
    $2.TradeTier? seller,
    $2.TradeTier? shipFrom,
    $2.TradeTier? shipTo,
    $2.TradeTier? carrier,
    $2.OrderRequestedMilestones? requestedMilestones,
    $core.Iterable<$2.OrderLine>? lines,
    $core.String? carrierService,
    $core.bool? anticipated,
  }) {
    final result = create();
    if (creationDateTime != null) result.creationDateTime = creationDateTime;
    if (parentOrder != null) result.parentOrder = parentOrder;
    if (languageCodeISO6391 != null) result.languageCodeISO6391 = languageCodeISO6391;
    if (metaData != null) result.metaData.addAll(metaData);
    if (buyer != null) result.buyer = buyer;
    if (seller != null) result.seller = seller;
    if (shipFrom != null) result.shipFrom = shipFrom;
    if (shipTo != null) result.shipTo = shipTo;
    if (carrier != null) result.carrier = carrier;
    if (requestedMilestones != null) result.requestedMilestones = requestedMilestones;
    if (lines != null) result.lines.addAll(lines);
    if (carrierService != null) result.carrierService = carrierService;
    if (anticipated != null) result.anticipated = anticipated;
    return result;
  }

  OrderCreatedPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderCreatedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.DateTime>(1, _omitFieldNames ? '' : 'CreationDateTime', protoName: 'CreationDateTime', subBuilder: $1.DateTime.create)
    ..aOM<$2.ReferencedID>(2, _omitFieldNames ? '' : 'ParentOrder', protoName: 'ParentOrder', subBuilder: $2.ReferencedID.create)
    ..aOS(3, _omitFieldNames ? '' : 'LanguageCodeISO6391', protoName: 'LanguageCodeISO6391')
    ..pc<$1.MetadataElement>(4, _omitFieldNames ? '' : 'MetaData', $pb.PbFieldType.PM, protoName: 'MetaData', subBuilder: $1.MetadataElement.create)
    ..aOM<$2.TradeTier>(5, _omitFieldNames ? '' : 'Buyer', protoName: 'Buyer', subBuilder: $2.TradeTier.create)
    ..aOM<$2.TradeTier>(6, _omitFieldNames ? '' : 'Seller', protoName: 'Seller', subBuilder: $2.TradeTier.create)
    ..aOM<$2.TradeTier>(7, _omitFieldNames ? '' : 'ShipFrom', protoName: 'ShipFrom', subBuilder: $2.TradeTier.create)
    ..aOM<$2.TradeTier>(8, _omitFieldNames ? '' : 'ShipTo', protoName: 'ShipTo', subBuilder: $2.TradeTier.create)
    ..aOM<$2.TradeTier>(9, _omitFieldNames ? '' : 'Carrier', protoName: 'Carrier', subBuilder: $2.TradeTier.create)
    ..aOM<$2.OrderRequestedMilestones>(10, _omitFieldNames ? '' : 'RequestedMilestones', protoName: 'RequestedMilestones', subBuilder: $2.OrderRequestedMilestones.create)
    ..pc<$2.OrderLine>(11, _omitFieldNames ? '' : 'Lines', $pb.PbFieldType.PM, protoName: 'Lines', subBuilder: $2.OrderLine.create)
    ..aOS(12, _omitFieldNames ? '' : 'CarrierService', protoName: 'CarrierService')
    ..aOB(13, _omitFieldNames ? '' : 'Anticipated', protoName: 'Anticipated')
    ..hasRequiredFields = false
  ;

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

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

  @$core.pragma('dart2js:noInline')
  static OrderCreatedPayload create() => OrderCreatedPayload._();
  @$core.override
  OrderCreatedPayload createEmptyInstance() => create();
  static $pb.PbList<OrderCreatedPayload> createRepeated() => $pb.PbList<OrderCreatedPayload>();
  @$core.pragma('dart2js:noInline')
  static OrderCreatedPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<OrderCreatedPayload>(create);
  static OrderCreatedPayload? _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)
  $2.ReferencedID get parentOrder => $_getN(1);
  @$pb.TagNumber(2)
  set parentOrder($2.ReferencedID value) => $_setField(2, value);
  @$pb.TagNumber(2)
  $core.bool hasParentOrder() => $_has(1);
  @$pb.TagNumber(2)
  void clearParentOrder() => $_clearField(2);
  @$pb.TagNumber(2)
  $2.ReferencedID ensureParentOrder() => $_ensure(1);

  @$pb.TagNumber(3)
  $core.String get languageCodeISO6391 => $_getSZ(2);
  @$pb.TagNumber(3)
  set languageCodeISO6391($core.String value) => $_setString(2, value);
  @$pb.TagNumber(3)
  $core.bool hasLanguageCodeISO6391() => $_has(2);
  @$pb.TagNumber(3)
  void clearLanguageCodeISO6391() => $_clearField(3);

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

  @$pb.TagNumber(5)
  $2.TradeTier get buyer => $_getN(4);
  @$pb.TagNumber(5)
  set buyer($2.TradeTier value) => $_setField(5, value);
  @$pb.TagNumber(5)
  $core.bool hasBuyer() => $_has(4);
  @$pb.TagNumber(5)
  void clearBuyer() => $_clearField(5);
  @$pb.TagNumber(5)
  $2.TradeTier ensureBuyer() => $_ensure(4);

  @$pb.TagNumber(6)
  $2.TradeTier get seller => $_getN(5);
  @$pb.TagNumber(6)
  set seller($2.TradeTier value) => $_setField(6, value);
  @$pb.TagNumber(6)
  $core.bool hasSeller() => $_has(5);
  @$pb.TagNumber(6)
  void clearSeller() => $_clearField(6);
  @$pb.TagNumber(6)
  $2.TradeTier ensureSeller() => $_ensure(5);

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

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

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

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

  /// Lines of the order
  @$pb.TagNumber(11)
  $pb.PbList<$2.OrderLine> get lines => $_getList(10);

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

  @$pb.TagNumber(13)
  $core.bool get anticipated => $_getBF(12);
  @$pb.TagNumber(13)
  set anticipated($core.bool value) => $_setBool(12, value);
  @$pb.TagNumber(13)
  $core.bool hasAnticipated() => $_has(12);
  @$pb.TagNumber(13)
  void clearAnticipated() => $_clearField(13);
}

class OrderCreatedEvent extends $pb.GeneratedMessage {
  factory OrderCreatedEvent({
    $1.EventHeader? header,
    $1.EntityID? iD,
    OrderCreatedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderCreatedEvent._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderCreatedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.EventHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderCreatedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderCreatedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.EventHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.EventHeader 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)
  OrderCreatedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderCreatedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderCreatedPayload ensurePayload() => $_ensure(2);
}

class OrderCreatedRequest extends $pb.GeneratedMessage {
  factory OrderCreatedRequest({
    $1.RequestProjectHeader? header,
    $1.EntityID? iD,
    OrderCreatedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderCreatedRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderCreatedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderCreatedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderCreatedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.RequestProjectHeader 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)
  OrderCreatedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderCreatedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderCreatedPayload ensurePayload() => $_ensure(2);
}

class OrderCreatedResponse extends $pb.GeneratedMessage {
  factory OrderCreatedResponse({
    $1.ResponseHeader? header,
    $1.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  OrderCreatedResponse._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderCreatedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.ResponseHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.ResponseHeader 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);
}

class OrderExecutionflowDetectedPayload extends $pb.GeneratedMessage {
  factory OrderExecutionflowDetectedPayload({
    $1.DateTime? creationDateTime,
    $core.Iterable<$1.MetadataElement>? metaData,
    $2.TradeTier? shipFrom,
    $2.TradeTier? shipTo,
    $2.TradeTier? carrier,
    $2.OrderRequestedMilestones? requestedMilestones,
    $core.Iterable<$2.OrderLine>? lines,
    $core.String? carrierService,
    $core.Iterable<$2.ExecutionflowSummary>? executionflowSummary,
  }) {
    final result = create();
    if (creationDateTime != null) result.creationDateTime = creationDateTime;
    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 (requestedMilestones != null) result.requestedMilestones = requestedMilestones;
    if (lines != null) result.lines.addAll(lines);
    if (carrierService != null) result.carrierService = carrierService;
    if (executionflowSummary != null) result.executionflowSummary.addAll(executionflowSummary);
    return result;
  }

  OrderExecutionflowDetectedPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderExecutionflowDetectedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.DateTime>(1, _omitFieldNames ? '' : 'CreationDateTime', protoName: 'CreationDateTime', subBuilder: $1.DateTime.create)
    ..pc<$1.MetadataElement>(4, _omitFieldNames ? '' : 'MetaData', $pb.PbFieldType.PM, protoName: 'MetaData', subBuilder: $1.MetadataElement.create)
    ..aOM<$2.TradeTier>(7, _omitFieldNames ? '' : 'ShipFrom', protoName: 'ShipFrom', subBuilder: $2.TradeTier.create)
    ..aOM<$2.TradeTier>(8, _omitFieldNames ? '' : 'ShipTo', protoName: 'ShipTo', subBuilder: $2.TradeTier.create)
    ..aOM<$2.TradeTier>(9, _omitFieldNames ? '' : 'Carrier', protoName: 'Carrier', subBuilder: $2.TradeTier.create)
    ..aOM<$2.OrderRequestedMilestones>(10, _omitFieldNames ? '' : 'RequestedMilestones', protoName: 'RequestedMilestones', subBuilder: $2.OrderRequestedMilestones.create)
    ..pc<$2.OrderLine>(11, _omitFieldNames ? '' : 'Lines', $pb.PbFieldType.PM, protoName: 'Lines', subBuilder: $2.OrderLine.create)
    ..aOS(12, _omitFieldNames ? '' : 'CarrierService', protoName: 'CarrierService')
    ..pc<$2.ExecutionflowSummary>(13, _omitFieldNames ? '' : 'ExecutionflowSummary', $pb.PbFieldType.PM, protoName: 'ExecutionflowSummary', subBuilder: $2.ExecutionflowSummary.create)
    ..hasRequiredFields = false
  ;

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

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

  @$core.pragma('dart2js:noInline')
  static OrderExecutionflowDetectedPayload create() => OrderExecutionflowDetectedPayload._();
  @$core.override
  OrderExecutionflowDetectedPayload createEmptyInstance() => create();
  static $pb.PbList<OrderExecutionflowDetectedPayload> createRepeated() => $pb.PbList<OrderExecutionflowDetectedPayload>();
  @$core.pragma('dart2js:noInline')
  static OrderExecutionflowDetectedPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<OrderExecutionflowDetectedPayload>(create);
  static OrderExecutionflowDetectedPayload? _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);

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

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

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

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

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

  /// Lines of the order
  @$pb.TagNumber(11)
  $pb.PbList<$2.OrderLine> get lines => $_getList(6);

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

  @$pb.TagNumber(13)
  $pb.PbList<$2.ExecutionflowSummary> get executionflowSummary => $_getList(8);
}

class OrderExecutionflowDetectedEvent extends $pb.GeneratedMessage {
  factory OrderExecutionflowDetectedEvent({
    $1.EventHeader? header,
    $1.EntityID? iD,
    OrderExecutionflowDetectedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderExecutionflowDetectedEvent._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderExecutionflowDetectedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.EventHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderExecutionflowDetectedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderExecutionflowDetectedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.EventHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.EventHeader 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)
  OrderExecutionflowDetectedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderExecutionflowDetectedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderExecutionflowDetectedPayload ensurePayload() => $_ensure(2);
}

class OrderExecutionflowDetectedRequest extends $pb.GeneratedMessage {
  factory OrderExecutionflowDetectedRequest({
    $1.RequestProjectHeader? header,
    $1.EntityID? iD,
    OrderExecutionflowDetectedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderExecutionflowDetectedRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderExecutionflowDetectedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderExecutionflowDetectedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderExecutionflowDetectedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.RequestProjectHeader 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)
  OrderExecutionflowDetectedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderExecutionflowDetectedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderExecutionflowDetectedPayload ensurePayload() => $_ensure(2);
}

class OrderExecutionflowDetectedResponse extends $pb.GeneratedMessage {
  factory OrderExecutionflowDetectedResponse({
    $1.ResponseHeader? header,
    $1.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  OrderExecutionflowDetectedResponse._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderExecutionflowDetectedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.ResponseHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.ResponseHeader 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);
}

class OrderCancelledPayload extends $pb.GeneratedMessage {
  factory OrderCancelledPayload() => create();

  OrderCancelledPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderCancelledPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..hasRequiredFields = false
  ;

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

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

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

class OrderCancelledEvent extends $pb.GeneratedMessage {
  factory OrderCancelledEvent({
    $1.EventHeader? header,
    $1.EntityID? iD,
    OrderCancelledPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderCancelledEvent._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderCancelledEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.EventHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderCancelledPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderCancelledPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.EventHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.EventHeader 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)
  OrderCancelledPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderCancelledPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderCancelledPayload ensurePayload() => $_ensure(2);
}

class OrderCancelledRequest extends $pb.GeneratedMessage {
  factory OrderCancelledRequest({
    $1.RequestProjectHeader? header,
    $1.EntityID? iD,
    OrderCancelledPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderCancelledRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderCancelledRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderCancelledPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderCancelledPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.RequestProjectHeader 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)
  OrderCancelledPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderCancelledPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderCancelledPayload ensurePayload() => $_ensure(2);
}

class OrderCancelledResponse extends $pb.GeneratedMessage {
  factory OrderCancelledResponse({
    $1.ResponseHeader? header,
    $1.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  OrderCancelledResponse._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderCancelledResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.ResponseHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.ResponseHeader 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);
}

class OrderAnonymisedPayload extends $pb.GeneratedMessage {
  factory OrderAnonymisedPayload() => create();

  OrderAnonymisedPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderAnonymisedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..hasRequiredFields = false
  ;

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

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

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

class OrderAnonymisedEvent extends $pb.GeneratedMessage {
  factory OrderAnonymisedEvent({
    $1.EventHeader? header,
    $1.EntityID? iD,
    OrderAnonymisedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderAnonymisedEvent._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderAnonymisedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.EventHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderAnonymisedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderAnonymisedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.EventHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.EventHeader 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)
  OrderAnonymisedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderAnonymisedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderAnonymisedPayload ensurePayload() => $_ensure(2);
}

class OrderAnonymisedRequest extends $pb.GeneratedMessage {
  factory OrderAnonymisedRequest({
    $1.RequestProjectHeader? header,
    $1.EntityID? iD,
    OrderAnonymisedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderAnonymisedRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderAnonymisedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderAnonymisedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderAnonymisedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.RequestProjectHeader 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)
  OrderAnonymisedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderAnonymisedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderAnonymisedPayload ensurePayload() => $_ensure(2);
}

class OrderAnonymisedResponse extends $pb.GeneratedMessage {
  factory OrderAnonymisedResponse({
    $1.ResponseHeader? header,
    $1.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  OrderAnonymisedResponse._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderAnonymisedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.ResponseHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.ResponseHeader 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);
}

class OrderSanitisedPayload extends $pb.GeneratedMessage {
  factory OrderSanitisedPayload() => create();

  OrderSanitisedPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderSanitisedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..hasRequiredFields = false
  ;

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

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

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

class OrderSanitisedEvent extends $pb.GeneratedMessage {
  factory OrderSanitisedEvent({
    $1.EventHeader? header,
    $1.EntityID? iD,
    OrderSanitisedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderSanitisedEvent._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderSanitisedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.EventHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderSanitisedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderSanitisedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.EventHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.EventHeader 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)
  OrderSanitisedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderSanitisedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderSanitisedPayload ensurePayload() => $_ensure(2);
}

class OrderSanitisedRequest extends $pb.GeneratedMessage {
  factory OrderSanitisedRequest({
    $1.RequestProjectHeader? header,
    $1.EntityID? iD,
    OrderSanitisedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderSanitisedRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderSanitisedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderSanitisedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderSanitisedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.RequestProjectHeader 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)
  OrderSanitisedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderSanitisedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderSanitisedPayload ensurePayload() => $_ensure(2);
}

class OrderSanitisedResponse extends $pb.GeneratedMessage {
  factory OrderSanitisedResponse({
    $1.ResponseHeader? header,
    $1.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  OrderSanitisedResponse._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderSanitisedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.ResponseHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.ResponseHeader 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);
}

class OrderShipperAssignedPayload extends $pb.GeneratedMessage {
  factory OrderShipperAssignedPayload({
    $2.TradeTier? shipFrom,
  }) {
    final result = create();
    if (shipFrom != null) result.shipFrom = shipFrom;
    return result;
  }

  OrderShipperAssignedPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderShipperAssignedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$2.TradeTier>(1, _omitFieldNames ? '' : 'ShipFrom', protoName: 'ShipFrom', subBuilder: $2.TradeTier.create)
    ..hasRequiredFields = false
  ;

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

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

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

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

class OrderShipperAssignedEvent extends $pb.GeneratedMessage {
  factory OrderShipperAssignedEvent({
    $1.EventHeader? header,
    $1.EntityID? iD,
    OrderShipperAssignedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderShipperAssignedEvent._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderShipperAssignedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.EventHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderShipperAssignedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderShipperAssignedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.EventHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.EventHeader 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)
  OrderShipperAssignedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderShipperAssignedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderShipperAssignedPayload ensurePayload() => $_ensure(2);
}

class OrderShipperAssignedRequest extends $pb.GeneratedMessage {
  factory OrderShipperAssignedRequest({
    $1.RequestProjectHeader? header,
    $1.EntityID? iD,
    OrderShipperAssignedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderShipperAssignedRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderShipperAssignedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderShipperAssignedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderShipperAssignedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.RequestProjectHeader 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)
  OrderShipperAssignedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderShipperAssignedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderShipperAssignedPayload ensurePayload() => $_ensure(2);
}

class OrderShipperAssignedResponse extends $pb.GeneratedMessage {
  factory OrderShipperAssignedResponse({
    $1.ResponseHeader? header,
    $1.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  OrderShipperAssignedResponse._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderShipperAssignedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.ResponseHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.ResponseHeader 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);
}

class OrderPartiallyCompletedPayload extends $pb.GeneratedMessage {
  factory OrderPartiallyCompletedPayload() => create();

  OrderPartiallyCompletedPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderPartiallyCompletedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..hasRequiredFields = false
  ;

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

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

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

class OrderPartiallyCompletedEvent extends $pb.GeneratedMessage {
  factory OrderPartiallyCompletedEvent({
    $1.EventHeader? header,
    $1.EntityID? iD,
    OrderPartiallyCompletedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderPartiallyCompletedEvent._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderPartiallyCompletedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.EventHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderPartiallyCompletedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderPartiallyCompletedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.EventHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.EventHeader 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)
  OrderPartiallyCompletedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderPartiallyCompletedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderPartiallyCompletedPayload ensurePayload() => $_ensure(2);
}

class OrderPartiallyCompletedRequest extends $pb.GeneratedMessage {
  factory OrderPartiallyCompletedRequest({
    $1.RequestProjectHeader? header,
    $1.EntityID? iD,
    OrderPartiallyCompletedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderPartiallyCompletedRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderPartiallyCompletedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderPartiallyCompletedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderPartiallyCompletedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.RequestProjectHeader 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)
  OrderPartiallyCompletedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderPartiallyCompletedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderPartiallyCompletedPayload ensurePayload() => $_ensure(2);
}

class OrderPartiallyCompletedResponse extends $pb.GeneratedMessage {
  factory OrderPartiallyCompletedResponse({
    $1.ResponseHeader? header,
    $1.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  OrderPartiallyCompletedResponse._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderPartiallyCompletedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.ResponseHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.ResponseHeader 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);
}

class OrderRequestedDeliveryDateDefinedPayload extends $pb.GeneratedMessage {
  factory OrderRequestedDeliveryDateDefinedPayload({
    $1.DateTime? requestedDeliveryDateTime,
  }) {
    final result = create();
    if (requestedDeliveryDateTime != null) result.requestedDeliveryDateTime = requestedDeliveryDateTime;
    return result;
  }

  OrderRequestedDeliveryDateDefinedPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderRequestedDeliveryDateDefinedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.DateTime>(1, _omitFieldNames ? '' : 'RequestedDeliveryDateTime', protoName: 'RequestedDeliveryDateTime', subBuilder: $1.DateTime.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.DateTime get requestedDeliveryDateTime => $_getN(0);
  @$pb.TagNumber(1)
  set requestedDeliveryDateTime($1.DateTime value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasRequestedDeliveryDateTime() => $_has(0);
  @$pb.TagNumber(1)
  void clearRequestedDeliveryDateTime() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.DateTime ensureRequestedDeliveryDateTime() => $_ensure(0);
}

class OrderRequestedDeliveryDateDefinedEvent extends $pb.GeneratedMessage {
  factory OrderRequestedDeliveryDateDefinedEvent({
    $1.EventHeader? header,
    $1.EntityID? iD,
    OrderRequestedDeliveryDateDefinedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderRequestedDeliveryDateDefinedEvent._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderRequestedDeliveryDateDefinedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.EventHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderRequestedDeliveryDateDefinedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderRequestedDeliveryDateDefinedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.EventHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.EventHeader 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)
  OrderRequestedDeliveryDateDefinedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderRequestedDeliveryDateDefinedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderRequestedDeliveryDateDefinedPayload ensurePayload() => $_ensure(2);
}

class OrderRequestedDeliveryDateDefinedRequest extends $pb.GeneratedMessage {
  factory OrderRequestedDeliveryDateDefinedRequest({
    $1.RequestProjectHeader? header,
    $1.EntityID? iD,
    OrderRequestedDeliveryDateDefinedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderRequestedDeliveryDateDefinedRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderRequestedDeliveryDateDefinedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderRequestedDeliveryDateDefinedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderRequestedDeliveryDateDefinedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.RequestProjectHeader 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)
  OrderRequestedDeliveryDateDefinedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderRequestedDeliveryDateDefinedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderRequestedDeliveryDateDefinedPayload ensurePayload() => $_ensure(2);
}

class OrderRequestedDeliveryDateDefinedResponse extends $pb.GeneratedMessage {
  factory OrderRequestedDeliveryDateDefinedResponse({
    $1.ResponseHeader? header,
    $1.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  OrderRequestedDeliveryDateDefinedResponse._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderRequestedDeliveryDateDefinedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.ResponseHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.ResponseHeader 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);
}

class OrderExecutionflowETAUpdatedPayload extends $pb.GeneratedMessage {
  factory OrderExecutionflowETAUpdatedPayload({
    $core.Iterable<$2.ETAbyExecutionflow>? executionflowETAs,
  }) {
    final result = create();
    if (executionflowETAs != null) result.executionflowETAs.addAll(executionflowETAs);
    return result;
  }

  OrderExecutionflowETAUpdatedPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderExecutionflowETAUpdatedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..pc<$2.ETAbyExecutionflow>(1, _omitFieldNames ? '' : 'ExecutionflowETAs', $pb.PbFieldType.PM, protoName: 'ExecutionflowETAs', subBuilder: $2.ETAbyExecutionflow.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $pb.PbList<$2.ETAbyExecutionflow> get executionflowETAs => $_getList(0);
}

class OrderExecutionflowETAUpdatedEvent extends $pb.GeneratedMessage {
  factory OrderExecutionflowETAUpdatedEvent({
    $1.EventHeader? header,
    $1.EntityID? iD,
    OrderExecutionflowETAUpdatedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderExecutionflowETAUpdatedEvent._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderExecutionflowETAUpdatedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.EventHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderExecutionflowETAUpdatedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderExecutionflowETAUpdatedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.EventHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.EventHeader 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)
  OrderExecutionflowETAUpdatedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderExecutionflowETAUpdatedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderExecutionflowETAUpdatedPayload ensurePayload() => $_ensure(2);
}

class OrderExecutionflowETAUpdatedRequest extends $pb.GeneratedMessage {
  factory OrderExecutionflowETAUpdatedRequest({
    $1.RequestProjectHeader? header,
    $1.EntityID? iD,
    OrderExecutionflowETAUpdatedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderExecutionflowETAUpdatedRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderExecutionflowETAUpdatedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderExecutionflowETAUpdatedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderExecutionflowETAUpdatedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.RequestProjectHeader 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)
  OrderExecutionflowETAUpdatedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderExecutionflowETAUpdatedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderExecutionflowETAUpdatedPayload ensurePayload() => $_ensure(2);
}

class OrderExecutionflowETAUpdatedResponse extends $pb.GeneratedMessage {
  factory OrderExecutionflowETAUpdatedResponse({
    $1.ResponseHeader? header,
    $1.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  OrderExecutionflowETAUpdatedResponse._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderExecutionflowETAUpdatedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.ResponseHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.ResponseHeader 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);
}

class OrderCompletedPayload extends $pb.GeneratedMessage {
  factory OrderCompletedPayload({
    $1.DateTime? actualCompletionDateTime,
  }) {
    final result = create();
    if (actualCompletionDateTime != null) result.actualCompletionDateTime = actualCompletionDateTime;
    return result;
  }

  OrderCompletedPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderCompletedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.DateTime>(1, _omitFieldNames ? '' : 'ActualCompletionDateTime', protoName: 'ActualCompletionDateTime', subBuilder: $1.DateTime.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.DateTime get actualCompletionDateTime => $_getN(0);
  @$pb.TagNumber(1)
  set actualCompletionDateTime($1.DateTime value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasActualCompletionDateTime() => $_has(0);
  @$pb.TagNumber(1)
  void clearActualCompletionDateTime() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.DateTime ensureActualCompletionDateTime() => $_ensure(0);
}

class OrderCompletedEvent extends $pb.GeneratedMessage {
  factory OrderCompletedEvent({
    $1.EventHeader? header,
    $1.EntityID? iD,
    OrderCompletedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderCompletedEvent._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderCompletedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.EventHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderCompletedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderCompletedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.EventHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.EventHeader 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)
  OrderCompletedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderCompletedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderCompletedPayload ensurePayload() => $_ensure(2);
}

class OrderCompletedRequest extends $pb.GeneratedMessage {
  factory OrderCompletedRequest({
    $1.RequestProjectHeader? header,
    $1.EntityID? iD,
    OrderCompletedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderCompletedRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderCompletedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderCompletedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderCompletedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.RequestProjectHeader 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)
  OrderCompletedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderCompletedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderCompletedPayload ensurePayload() => $_ensure(2);
}

class OrderCompletedResponse extends $pb.GeneratedMessage {
  factory OrderCompletedResponse({
    $1.ResponseHeader? header,
    $1.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  OrderCompletedResponse._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderCompletedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.ResponseHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.ResponseHeader 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);
}

class OrderAnticipatedClosedPayload extends $pb.GeneratedMessage {
  factory OrderAnticipatedClosedPayload() => create();

  OrderAnticipatedClosedPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderAnticipatedClosedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..hasRequiredFields = false
  ;

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

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

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

class OrderAnticipatedClosedEvent extends $pb.GeneratedMessage {
  factory OrderAnticipatedClosedEvent({
    $1.EventHeader? header,
    $1.EntityID? iD,
    OrderAnticipatedClosedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderAnticipatedClosedEvent._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderAnticipatedClosedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.EventHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderAnticipatedClosedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderAnticipatedClosedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.EventHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.EventHeader 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)
  OrderAnticipatedClosedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderAnticipatedClosedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderAnticipatedClosedPayload ensurePayload() => $_ensure(2);
}

class OrderAnticipatedClosedRequest extends $pb.GeneratedMessage {
  factory OrderAnticipatedClosedRequest({
    $1.RequestProjectHeader? header,
    $1.EntityID? iD,
    OrderAnticipatedClosedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderAnticipatedClosedRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderAnticipatedClosedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderAnticipatedClosedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderAnticipatedClosedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.RequestProjectHeader 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)
  OrderAnticipatedClosedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderAnticipatedClosedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderAnticipatedClosedPayload ensurePayload() => $_ensure(2);
}

class OrderAnticipatedClosedResponse extends $pb.GeneratedMessage {
  factory OrderAnticipatedClosedResponse({
    $1.ResponseHeader? header,
    $1.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  OrderAnticipatedClosedResponse._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderAnticipatedClosedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.ResponseHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.ResponseHeader 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);
}

class OrderExecutionflowUpdatedPayload extends $pb.GeneratedMessage {
  factory OrderExecutionflowUpdatedPayload({
    $core.Iterable<$2.ExecutionflowSummary>? executionflowSummary,
    $core.Iterable<$2.OrderLine>? lines,
  }) {
    final result = create();
    if (executionflowSummary != null) result.executionflowSummary.addAll(executionflowSummary);
    if (lines != null) result.lines.addAll(lines);
    return result;
  }

  OrderExecutionflowUpdatedPayload._();

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

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

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

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

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

  @$pb.TagNumber(1)
  $pb.PbList<$2.ExecutionflowSummary> get executionflowSummary => $_getList(0);

  @$pb.TagNumber(2)
  $pb.PbList<$2.OrderLine> get lines => $_getList(1);
}

class OrderExecutionflowUpdatedEvent extends $pb.GeneratedMessage {
  factory OrderExecutionflowUpdatedEvent({
    $1.EventHeader? header,
    $1.EntityID? iD,
    OrderExecutionflowUpdatedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderExecutionflowUpdatedEvent._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderExecutionflowUpdatedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.EventHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderExecutionflowUpdatedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderExecutionflowUpdatedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.EventHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.EventHeader 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)
  OrderExecutionflowUpdatedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderExecutionflowUpdatedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderExecutionflowUpdatedPayload ensurePayload() => $_ensure(2);
}

class OrderExecutionflowUpdatedRequest extends $pb.GeneratedMessage {
  factory OrderExecutionflowUpdatedRequest({
    $1.RequestProjectHeader? header,
    $1.EntityID? iD,
    OrderExecutionflowUpdatedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderExecutionflowUpdatedRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderExecutionflowUpdatedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderExecutionflowUpdatedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderExecutionflowUpdatedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.RequestProjectHeader 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)
  OrderExecutionflowUpdatedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderExecutionflowUpdatedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderExecutionflowUpdatedPayload ensurePayload() => $_ensure(2);
}

class OrderExecutionflowUpdatedResponse extends $pb.GeneratedMessage {
  factory OrderExecutionflowUpdatedResponse({
    $1.ResponseHeader? header,
    $1.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  OrderExecutionflowUpdatedResponse._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderExecutionflowUpdatedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.ResponseHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.ResponseHeader 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);
}

class OrderMetaDataUpdatedPayload extends $pb.GeneratedMessage {
  factory OrderMetaDataUpdatedPayload({
    $core.Iterable<$1.MetadataElement>? metaData,
  }) {
    final result = create();
    if (metaData != null) result.metaData.addAll(metaData);
    return result;
  }

  OrderMetaDataUpdatedPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderMetaDataUpdatedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..pc<$1.MetadataElement>(1, _omitFieldNames ? '' : 'MetaData', $pb.PbFieldType.PM, protoName: 'MetaData', subBuilder: $1.MetadataElement.create)
    ..hasRequiredFields = false
  ;

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

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

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

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

class OrderMetaDataUpdatedEvent extends $pb.GeneratedMessage {
  factory OrderMetaDataUpdatedEvent({
    $1.EventHeader? header,
    $1.EntityID? iD,
    OrderMetaDataUpdatedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderMetaDataUpdatedEvent._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderMetaDataUpdatedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.EventHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderMetaDataUpdatedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderMetaDataUpdatedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.EventHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.EventHeader 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)
  OrderMetaDataUpdatedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderMetaDataUpdatedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderMetaDataUpdatedPayload ensurePayload() => $_ensure(2);
}

class OrderMetaDataUpdatedRequest extends $pb.GeneratedMessage {
  factory OrderMetaDataUpdatedRequest({
    $1.RequestProjectHeader? header,
    $1.EntityID? iD,
    OrderMetaDataUpdatedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderMetaDataUpdatedRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderMetaDataUpdatedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderMetaDataUpdatedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderMetaDataUpdatedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.RequestProjectHeader 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)
  OrderMetaDataUpdatedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderMetaDataUpdatedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderMetaDataUpdatedPayload ensurePayload() => $_ensure(2);
}

class OrderMetaDataUpdatedResponse extends $pb.GeneratedMessage {
  factory OrderMetaDataUpdatedResponse({
    $1.ResponseHeader? header,
    $1.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  OrderMetaDataUpdatedResponse._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderMetaDataUpdatedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.ResponseHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.ResponseHeader 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);
}

class OrderCarrierUpdatedPayload extends $pb.GeneratedMessage {
  factory OrderCarrierUpdatedPayload({
    $2.TradeTier? carrier,
    $core.String? carrierService,
  }) {
    final result = create();
    if (carrier != null) result.carrier = carrier;
    if (carrierService != null) result.carrierService = carrierService;
    return result;
  }

  OrderCarrierUpdatedPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderCarrierUpdatedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$2.TradeTier>(1, _omitFieldNames ? '' : 'Carrier', protoName: 'Carrier', subBuilder: $2.TradeTier.create)
    ..aOS(2, _omitFieldNames ? '' : 'CarrierService', protoName: 'CarrierService')
    ..hasRequiredFields = false
  ;

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

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

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

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

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

class OrderCarrierUpdatedEvent extends $pb.GeneratedMessage {
  factory OrderCarrierUpdatedEvent({
    $1.EventHeader? header,
    $1.EntityID? iD,
    OrderCarrierUpdatedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderCarrierUpdatedEvent._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderCarrierUpdatedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.EventHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderCarrierUpdatedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderCarrierUpdatedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.EventHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.EventHeader 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)
  OrderCarrierUpdatedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderCarrierUpdatedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderCarrierUpdatedPayload ensurePayload() => $_ensure(2);
}

class OrderCarrierUpdatedRequest extends $pb.GeneratedMessage {
  factory OrderCarrierUpdatedRequest({
    $1.RequestProjectHeader? header,
    $1.EntityID? iD,
    OrderCarrierUpdatedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderCarrierUpdatedRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderCarrierUpdatedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderCarrierUpdatedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderCarrierUpdatedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.RequestProjectHeader 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)
  OrderCarrierUpdatedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderCarrierUpdatedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderCarrierUpdatedPayload ensurePayload() => $_ensure(2);
}

class OrderCarrierUpdatedResponse extends $pb.GeneratedMessage {
  factory OrderCarrierUpdatedResponse({
    $1.ResponseHeader? header,
    $1.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  OrderCarrierUpdatedResponse._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderCarrierUpdatedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.ResponseHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.ResponseHeader 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);
}

class OrderAttachmentAddedPayload extends $pb.GeneratedMessage {
  factory OrderAttachmentAddedPayload({
    $core.Iterable<$1.AttachmentSummary>? attachments,
  }) {
    final result = create();
    if (attachments != null) result.attachments.addAll(attachments);
    return result;
  }

  OrderAttachmentAddedPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderAttachmentAddedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..pc<$1.AttachmentSummary>(1, _omitFieldNames ? '' : 'Attachments', $pb.PbFieldType.PM, protoName: 'Attachments', subBuilder: $1.AttachmentSummary.create)
    ..hasRequiredFields = false
  ;

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

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

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

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

class OrderAttachmentAddedEvent extends $pb.GeneratedMessage {
  factory OrderAttachmentAddedEvent({
    $1.EventHeader? header,
    $1.EntityID? iD,
    OrderAttachmentAddedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderAttachmentAddedEvent._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderAttachmentAddedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.EventHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderAttachmentAddedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderAttachmentAddedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.EventHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.EventHeader 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)
  OrderAttachmentAddedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderAttachmentAddedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderAttachmentAddedPayload ensurePayload() => $_ensure(2);
}

class OrderAttachmentAddedRequest extends $pb.GeneratedMessage {
  factory OrderAttachmentAddedRequest({
    $1.RequestProjectHeader? header,
    $1.EntityID? iD,
    OrderAttachmentAddedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderAttachmentAddedRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderAttachmentAddedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderAttachmentAddedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderAttachmentAddedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.RequestProjectHeader 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)
  OrderAttachmentAddedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderAttachmentAddedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderAttachmentAddedPayload ensurePayload() => $_ensure(2);
}

class OrderAttachmentAddedResponse extends $pb.GeneratedMessage {
  factory OrderAttachmentAddedResponse({
    $1.ResponseHeader? header,
    $1.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  OrderAttachmentAddedResponse._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderAttachmentAddedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.ResponseHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.ResponseHeader 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);
}

class OrderAttachmentRemovedPayload extends $pb.GeneratedMessage {
  factory OrderAttachmentRemovedPayload({
    $core.Iterable<$1.AttachmentSummary>? attachments,
  }) {
    final result = create();
    if (attachments != null) result.attachments.addAll(attachments);
    return result;
  }

  OrderAttachmentRemovedPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderAttachmentRemovedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..pc<$1.AttachmentSummary>(1, _omitFieldNames ? '' : 'Attachments', $pb.PbFieldType.PM, protoName: 'Attachments', subBuilder: $1.AttachmentSummary.create)
    ..hasRequiredFields = false
  ;

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

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

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

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

class OrderAttachmentRemovedEvent extends $pb.GeneratedMessage {
  factory OrderAttachmentRemovedEvent({
    $1.EventHeader? header,
    $1.EntityID? iD,
    OrderAttachmentRemovedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderAttachmentRemovedEvent._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderAttachmentRemovedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.EventHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderAttachmentRemovedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderAttachmentRemovedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.EventHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.EventHeader 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)
  OrderAttachmentRemovedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderAttachmentRemovedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderAttachmentRemovedPayload ensurePayload() => $_ensure(2);
}

class OrderAttachmentRemovedRequest extends $pb.GeneratedMessage {
  factory OrderAttachmentRemovedRequest({
    $1.RequestProjectHeader? header,
    $1.EntityID? iD,
    OrderAttachmentRemovedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderAttachmentRemovedRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderAttachmentRemovedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderAttachmentRemovedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderAttachmentRemovedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.RequestProjectHeader 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)
  OrderAttachmentRemovedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderAttachmentRemovedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderAttachmentRemovedPayload ensurePayload() => $_ensure(2);
}

class OrderAttachmentRemovedResponse extends $pb.GeneratedMessage {
  factory OrderAttachmentRemovedResponse({
    $1.ResponseHeader? header,
    $1.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  OrderAttachmentRemovedResponse._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderAttachmentRemovedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.ResponseHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.ResponseHeader 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);
}

class OrderClaimAddedPayload extends $pb.GeneratedMessage {
  factory OrderClaimAddedPayload({
    $core.Iterable<$1.ClaimSummary>? claims,
  }) {
    final result = create();
    if (claims != null) result.claims.addAll(claims);
    return result;
  }

  OrderClaimAddedPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderClaimAddedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..pc<$1.ClaimSummary>(1, _omitFieldNames ? '' : 'Claims', $pb.PbFieldType.PM, protoName: 'Claims', subBuilder: $1.ClaimSummary.create)
    ..hasRequiredFields = false
  ;

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

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

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

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

class OrderClaimAddedEvent extends $pb.GeneratedMessage {
  factory OrderClaimAddedEvent({
    $1.EventHeader? header,
    $1.EntityID? iD,
    OrderClaimAddedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderClaimAddedEvent._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderClaimAddedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.EventHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderClaimAddedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderClaimAddedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.EventHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.EventHeader 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)
  OrderClaimAddedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderClaimAddedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderClaimAddedPayload ensurePayload() => $_ensure(2);
}

class OrderClaimAddedRequest extends $pb.GeneratedMessage {
  factory OrderClaimAddedRequest({
    $1.RequestProjectHeader? header,
    $1.EntityID? iD,
    OrderClaimAddedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderClaimAddedRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderClaimAddedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderClaimAddedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderClaimAddedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.RequestProjectHeader 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)
  OrderClaimAddedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderClaimAddedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderClaimAddedPayload ensurePayload() => $_ensure(2);
}

class OrderClaimAddedResponse extends $pb.GeneratedMessage {
  factory OrderClaimAddedResponse({
    $1.ResponseHeader? header,
    $1.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  OrderClaimAddedResponse._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderClaimAddedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.ResponseHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.ResponseHeader 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);
}

/// Event Payload
class OrderDeletedPayload extends $pb.GeneratedMessage {
  factory OrderDeletedPayload() => create();

  OrderDeletedPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderDeletedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..hasRequiredFields = false
  ;

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

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

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

/// Event message
class OrderDeletedEvent extends $pb.GeneratedMessage {
  factory OrderDeletedEvent({
    $1.EventHeader? header,
    $1.EntityID? iD,
    OrderDeletedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderDeletedEvent._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderDeletedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.EventHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderDeletedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderDeletedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.EventHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.EventHeader 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)
  OrderDeletedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderDeletedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderDeletedPayload ensurePayload() => $_ensure(2);
}

/// API Request
class OrderDeletedRequest extends $pb.GeneratedMessage {
  factory OrderDeletedRequest({
    $1.RequestProjectHeader? header,
    $1.EntityID? iD,
    OrderDeletedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderDeletedRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderDeletedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderDeletedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderDeletedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.RequestProjectHeader 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)
  OrderDeletedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderDeletedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderDeletedPayload ensurePayload() => $_ensure(2);
}

/// API Response
class OrderDeletedResponse extends $pb.GeneratedMessage {
  factory OrderDeletedResponse({
    $1.ResponseHeader? header,
    $1.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  OrderDeletedResponse._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderDeletedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.ResponseHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.ResponseHeader 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);
}

/// Event Payload
class OrderLinesAddedPayload extends $pb.GeneratedMessage {
  factory OrderLinesAddedPayload({
    $core.Iterable<$2.OrderLine>? lines,
  }) {
    final result = create();
    if (lines != null) result.lines.addAll(lines);
    return result;
  }

  OrderLinesAddedPayload._();

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

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

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

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

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

  @$pb.TagNumber(1)
  $pb.PbList<$2.OrderLine> get lines => $_getList(0);
}

/// Event message
class OrderLinesAddedEvent extends $pb.GeneratedMessage {
  factory OrderLinesAddedEvent({
    $1.EventHeader? header,
    $1.EntityID? iD,
    OrderLinesAddedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderLinesAddedEvent._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderLinesAddedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.EventHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderLinesAddedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderLinesAddedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.EventHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.EventHeader 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)
  OrderLinesAddedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderLinesAddedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderLinesAddedPayload ensurePayload() => $_ensure(2);
}

/// API Request
class OrderLinesAddedRequest extends $pb.GeneratedMessage {
  factory OrderLinesAddedRequest({
    $1.RequestProjectHeader? header,
    $1.EntityID? iD,
    OrderLinesAddedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderLinesAddedRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderLinesAddedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderLinesAddedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderLinesAddedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.RequestProjectHeader 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)
  OrderLinesAddedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderLinesAddedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderLinesAddedPayload ensurePayload() => $_ensure(2);
}

/// API Response
class OrderLinesAddedResponse extends $pb.GeneratedMessage {
  factory OrderLinesAddedResponse({
    $1.ResponseHeader? header,
    $1.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  OrderLinesAddedResponse._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderLinesAddedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.ResponseHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.ResponseHeader 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);
}

class OrderLinesDetectedPayload extends $pb.GeneratedMessage {
  factory OrderLinesDetectedPayload({
    $core.Iterable<$2.OrderLine>? lines,
  }) {
    final result = create();
    if (lines != null) result.lines.addAll(lines);
    return result;
  }

  OrderLinesDetectedPayload._();

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

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

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

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

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

  @$pb.TagNumber(1)
  $pb.PbList<$2.OrderLine> get lines => $_getList(0);
}

/// Event message
class OrderLinesDetectedEvent extends $pb.GeneratedMessage {
  factory OrderLinesDetectedEvent({
    $1.EventHeader? header,
    $1.EntityID? iD,
    OrderLinesDetectedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderLinesDetectedEvent._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderLinesDetectedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.EventHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderLinesDetectedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderLinesDetectedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.EventHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.EventHeader 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)
  OrderLinesDetectedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderLinesDetectedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderLinesDetectedPayload ensurePayload() => $_ensure(2);
}

/// API Request
class OrderLinesDetectedRequest extends $pb.GeneratedMessage {
  factory OrderLinesDetectedRequest({
    $1.RequestProjectHeader? header,
    $1.EntityID? iD,
    OrderLinesDetectedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderLinesDetectedRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderLinesDetectedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderLinesDetectedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderLinesDetectedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.RequestProjectHeader 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)
  OrderLinesDetectedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderLinesDetectedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderLinesDetectedPayload ensurePayload() => $_ensure(2);
}

/// API Response
class OrderLinesDetectedResponse extends $pb.GeneratedMessage {
  factory OrderLinesDetectedResponse({
    $1.ResponseHeader? header,
    $1.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  OrderLinesDetectedResponse._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderLinesDetectedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.ResponseHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.ResponseHeader 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);
}

class OrderCustomFieldsUpdatedPayload extends $pb.GeneratedMessage {
  factory OrderCustomFieldsUpdatedPayload() => create();

  OrderCustomFieldsUpdatedPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderCustomFieldsUpdatedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..hasRequiredFields = false
  ;

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

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

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

class OrderCustomFieldsUpdatedEvent extends $pb.GeneratedMessage {
  factory OrderCustomFieldsUpdatedEvent({
    $1.EventHeader? header,
    $1.EntityID? iD,
    OrderCustomFieldsUpdatedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderCustomFieldsUpdatedEvent._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderCustomFieldsUpdatedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.EventHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderCustomFieldsUpdatedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderCustomFieldsUpdatedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.EventHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.EventHeader 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)
  OrderCustomFieldsUpdatedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderCustomFieldsUpdatedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderCustomFieldsUpdatedPayload ensurePayload() => $_ensure(2);
}

class OrderCustomFieldsUpdatedRequest extends $pb.GeneratedMessage {
  factory OrderCustomFieldsUpdatedRequest({
    $1.RequestProjectHeader? header,
    $1.EntityID? iD,
    OrderCustomFieldsUpdatedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderCustomFieldsUpdatedRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderCustomFieldsUpdatedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderCustomFieldsUpdatedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderCustomFieldsUpdatedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.RequestProjectHeader 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)
  OrderCustomFieldsUpdatedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderCustomFieldsUpdatedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderCustomFieldsUpdatedPayload ensurePayload() => $_ensure(2);
}

class OrderCustomFieldsUpdatedResponse extends $pb.GeneratedMessage {
  factory OrderCustomFieldsUpdatedResponse({
    $1.ResponseHeader? header,
    $1.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  OrderCustomFieldsUpdatedResponse._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderCustomFieldsUpdatedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.ResponseHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.ResponseHeader 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);
}

///
/// DraftCreated : this message tells that a draft is created for the order. Draft Order is not completed and can be modified.
/// In this "status" the Order is not notified to the WMS and the executionflows are not created yet.
class OrderDraftCreatedPayload extends $pb.GeneratedMessage {
  factory OrderDraftCreatedPayload({
    $2.ReferencedID? parentOrder,
    $core.String? languageCodeISO6391,
    $core.Iterable<$1.MetadataElement>? metaData,
    $2.TradeTier? buyer,
    $2.TradeTier? seller,
    $2.TradeTier? shipFrom,
    $2.TradeTier? shipTo,
    $2.TradeTier? carrier,
    $core.String? carrierService,
    $2.OrderRequestedMilestones? requestedMilestones,
    $core.Iterable<$2.OrderLine>? lines,
  }) {
    final result = create();
    if (parentOrder != null) result.parentOrder = parentOrder;
    if (languageCodeISO6391 != null) result.languageCodeISO6391 = languageCodeISO6391;
    if (metaData != null) result.metaData.addAll(metaData);
    if (buyer != null) result.buyer = buyer;
    if (seller != null) result.seller = seller;
    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);
    return result;
  }

  OrderDraftCreatedPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderDraftCreatedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$2.ReferencedID>(1, _omitFieldNames ? '' : 'ParentOrder', protoName: 'ParentOrder', subBuilder: $2.ReferencedID.create)
    ..aOS(2, _omitFieldNames ? '' : 'LanguageCodeISO6391', protoName: 'LanguageCodeISO6391')
    ..pc<$1.MetadataElement>(3, _omitFieldNames ? '' : 'MetaData', $pb.PbFieldType.PM, protoName: 'MetaData', subBuilder: $1.MetadataElement.create)
    ..aOM<$2.TradeTier>(4, _omitFieldNames ? '' : 'Buyer', protoName: 'Buyer', subBuilder: $2.TradeTier.create)
    ..aOM<$2.TradeTier>(5, _omitFieldNames ? '' : 'Seller', protoName: 'Seller', subBuilder: $2.TradeTier.create)
    ..aOM<$2.TradeTier>(6, _omitFieldNames ? '' : 'ShipFrom', protoName: 'ShipFrom', subBuilder: $2.TradeTier.create)
    ..aOM<$2.TradeTier>(7, _omitFieldNames ? '' : 'ShipTo', protoName: 'ShipTo', subBuilder: $2.TradeTier.create)
    ..aOM<$2.TradeTier>(8, _omitFieldNames ? '' : 'Carrier', protoName: 'Carrier', subBuilder: $2.TradeTier.create)
    ..aOS(9, _omitFieldNames ? '' : 'CarrierService', protoName: 'CarrierService')
    ..aOM<$2.OrderRequestedMilestones>(10, _omitFieldNames ? '' : 'RequestedMilestones', protoName: 'RequestedMilestones', subBuilder: $2.OrderRequestedMilestones.create)
    ..pc<$2.OrderLine>(11, _omitFieldNames ? '' : 'Lines', $pb.PbFieldType.PM, protoName: 'Lines', subBuilder: $2.OrderLine.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $2.ReferencedID get parentOrder => $_getN(0);
  @$pb.TagNumber(1)
  set parentOrder($2.ReferencedID value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasParentOrder() => $_has(0);
  @$pb.TagNumber(1)
  void clearParentOrder() => $_clearField(1);
  @$pb.TagNumber(1)
  $2.ReferencedID ensureParentOrder() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.String get languageCodeISO6391 => $_getSZ(1);
  @$pb.TagNumber(2)
  set languageCodeISO6391($core.String value) => $_setString(1, value);
  @$pb.TagNumber(2)
  $core.bool hasLanguageCodeISO6391() => $_has(1);
  @$pb.TagNumber(2)
  void clearLanguageCodeISO6391() => $_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);

  @$pb.TagNumber(4)
  $2.TradeTier get buyer => $_getN(3);
  @$pb.TagNumber(4)
  set buyer($2.TradeTier value) => $_setField(4, value);
  @$pb.TagNumber(4)
  $core.bool hasBuyer() => $_has(3);
  @$pb.TagNumber(4)
  void clearBuyer() => $_clearField(4);
  @$pb.TagNumber(4)
  $2.TradeTier ensureBuyer() => $_ensure(3);

  @$pb.TagNumber(5)
  $2.TradeTier get seller => $_getN(4);
  @$pb.TagNumber(5)
  set seller($2.TradeTier value) => $_setField(5, value);
  @$pb.TagNumber(5)
  $core.bool hasSeller() => $_has(4);
  @$pb.TagNumber(5)
  void clearSeller() => $_clearField(5);
  @$pb.TagNumber(5)
  $2.TradeTier ensureSeller() => $_ensure(4);

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

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

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

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

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

  /// Lines of the order
  @$pb.TagNumber(11)
  $pb.PbList<$2.OrderLine> get lines => $_getList(10);
}

class OrderDraftCreatedEvent extends $pb.GeneratedMessage {
  factory OrderDraftCreatedEvent({
    $1.EventHeader? header,
    $1.EntityID? iD,
    OrderDraftCreatedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderDraftCreatedEvent._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderDraftCreatedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.EventHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderDraftCreatedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderDraftCreatedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.EventHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.EventHeader 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)
  OrderDraftCreatedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderDraftCreatedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderDraftCreatedPayload ensurePayload() => $_ensure(2);
}

class OrderDraftCreatedRequest extends $pb.GeneratedMessage {
  factory OrderDraftCreatedRequest({
    $1.RequestProjectHeader? header,
    $1.EntityID? iD,
    OrderDraftCreatedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderDraftCreatedRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderDraftCreatedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderDraftCreatedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderDraftCreatedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.RequestProjectHeader 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)
  OrderDraftCreatedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderDraftCreatedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderDraftCreatedPayload ensurePayload() => $_ensure(2);
}

class OrderDraftCreatedResponse extends $pb.GeneratedMessage {
  factory OrderDraftCreatedResponse({
    $1.ResponseHeader? header,
    $1.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  OrderDraftCreatedResponse._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderDraftCreatedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.ResponseHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.ResponseHeader 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);
}

class OrderPreparationExpectedPayload extends $pb.GeneratedMessage {
  factory OrderPreparationExpectedPayload() => create();

  OrderPreparationExpectedPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderPreparationExpectedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..hasRequiredFields = false
  ;

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

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

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

class OrderPreparationExpectedEvent extends $pb.GeneratedMessage {
  factory OrderPreparationExpectedEvent({
    $1.EventHeader? header,
    $1.EntityID? iD,
    OrderPreparationExpectedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderPreparationExpectedEvent._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderPreparationExpectedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.EventHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderPreparationExpectedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderPreparationExpectedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.EventHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.EventHeader 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)
  OrderPreparationExpectedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderPreparationExpectedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderPreparationExpectedPayload ensurePayload() => $_ensure(2);
}

class OrderPreparationExpectedRequest extends $pb.GeneratedMessage {
  factory OrderPreparationExpectedRequest({
    $1.RequestProjectHeader? header,
    $1.EntityID? iD,
    OrderPreparationExpectedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderPreparationExpectedRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderPreparationExpectedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderPreparationExpectedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderPreparationExpectedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.RequestProjectHeader 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)
  OrderPreparationExpectedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderPreparationExpectedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderPreparationExpectedPayload ensurePayload() => $_ensure(2);
}

class OrderPreparationExpectedResponse extends $pb.GeneratedMessage {
  factory OrderPreparationExpectedResponse({
    $1.ResponseHeader? header,
    $1.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  OrderPreparationExpectedResponse._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderPreparationExpectedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.ResponseHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.ResponseHeader 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);
}

class OrderPreparationStartedPayload extends $pb.GeneratedMessage {
  factory OrderPreparationStartedPayload() => create();

  OrderPreparationStartedPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderPreparationStartedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..hasRequiredFields = false
  ;

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

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

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

class OrderPreparationStartedEvent extends $pb.GeneratedMessage {
  factory OrderPreparationStartedEvent({
    $1.EventHeader? header,
    $1.EntityID? iD,
    OrderPreparationStartedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderPreparationStartedEvent._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderPreparationStartedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.EventHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderPreparationStartedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderPreparationStartedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.EventHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.EventHeader 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)
  OrderPreparationStartedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderPreparationStartedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderPreparationStartedPayload ensurePayload() => $_ensure(2);
}

class OrderPreparationStartedRequest extends $pb.GeneratedMessage {
  factory OrderPreparationStartedRequest({
    $1.RequestProjectHeader? header,
    $1.EntityID? iD,
    OrderPreparationStartedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderPreparationStartedRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderPreparationStartedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderPreparationStartedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderPreparationStartedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.RequestProjectHeader 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)
  OrderPreparationStartedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderPreparationStartedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderPreparationStartedPayload ensurePayload() => $_ensure(2);
}

class OrderPreparationStartedResponse extends $pb.GeneratedMessage {
  factory OrderPreparationStartedResponse({
    $1.ResponseHeader? header,
    $1.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  OrderPreparationStartedResponse._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderPreparationStartedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.ResponseHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.ResponseHeader 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);
}

class OrderPreparationCompletedPayload extends $pb.GeneratedMessage {
  factory OrderPreparationCompletedPayload() => create();

  OrderPreparationCompletedPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderPreparationCompletedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..hasRequiredFields = false
  ;

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

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

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

class OrderPreparationCompletedEvent extends $pb.GeneratedMessage {
  factory OrderPreparationCompletedEvent({
    $1.EventHeader? header,
    $1.EntityID? iD,
    OrderPreparationCompletedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderPreparationCompletedEvent._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderPreparationCompletedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.EventHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderPreparationCompletedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderPreparationCompletedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.EventHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.EventHeader 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)
  OrderPreparationCompletedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderPreparationCompletedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderPreparationCompletedPayload ensurePayload() => $_ensure(2);
}

class OrderPreparationCompletedRequest extends $pb.GeneratedMessage {
  factory OrderPreparationCompletedRequest({
    $1.RequestProjectHeader? header,
    $1.EntityID? iD,
    OrderPreparationCompletedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderPreparationCompletedRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderPreparationCompletedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderPreparationCompletedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderPreparationCompletedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.RequestProjectHeader 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)
  OrderPreparationCompletedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderPreparationCompletedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderPreparationCompletedPayload ensurePayload() => $_ensure(2);
}

class OrderPreparationCompletedResponse extends $pb.GeneratedMessage {
  factory OrderPreparationCompletedResponse({
    $1.ResponseHeader? header,
    $1.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  OrderPreparationCompletedResponse._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderPreparationCompletedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.ResponseHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.ResponseHeader 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);
}

class OrderTransportExpectedPayload extends $pb.GeneratedMessage {
  factory OrderTransportExpectedPayload() => create();

  OrderTransportExpectedPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderTransportExpectedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..hasRequiredFields = false
  ;

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

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

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

class OrderTransportExpectedEvent extends $pb.GeneratedMessage {
  factory OrderTransportExpectedEvent({
    $1.EventHeader? header,
    $1.EntityID? iD,
    OrderTransportExpectedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderTransportExpectedEvent._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderTransportExpectedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.EventHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderTransportExpectedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderTransportExpectedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.EventHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.EventHeader 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)
  OrderTransportExpectedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderTransportExpectedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderTransportExpectedPayload ensurePayload() => $_ensure(2);
}

class OrderTransportExpectedRequest extends $pb.GeneratedMessage {
  factory OrderTransportExpectedRequest({
    $1.RequestProjectHeader? header,
    $1.EntityID? iD,
    OrderTransportExpectedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderTransportExpectedRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderTransportExpectedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderTransportExpectedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderTransportExpectedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.RequestProjectHeader 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)
  OrderTransportExpectedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderTransportExpectedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderTransportExpectedPayload ensurePayload() => $_ensure(2);
}

class OrderTransportExpectedResponse extends $pb.GeneratedMessage {
  factory OrderTransportExpectedResponse({
    $1.ResponseHeader? header,
    $1.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  OrderTransportExpectedResponse._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderTransportExpectedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.ResponseHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.ResponseHeader 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);
}

class OrderTransportStartedPayload extends $pb.GeneratedMessage {
  factory OrderTransportStartedPayload() => create();

  OrderTransportStartedPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderTransportStartedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..hasRequiredFields = false
  ;

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

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

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

class OrderTransportStartedEvent extends $pb.GeneratedMessage {
  factory OrderTransportStartedEvent({
    $1.EventHeader? header,
    $1.EntityID? iD,
    OrderTransportStartedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderTransportStartedEvent._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderTransportStartedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.EventHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderTransportStartedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderTransportStartedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.EventHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.EventHeader 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)
  OrderTransportStartedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderTransportStartedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderTransportStartedPayload ensurePayload() => $_ensure(2);
}

class OrderTransportStartedRequest extends $pb.GeneratedMessage {
  factory OrderTransportStartedRequest({
    $1.RequestProjectHeader? header,
    $1.EntityID? iD,
    OrderTransportStartedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderTransportStartedRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderTransportStartedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderTransportStartedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderTransportStartedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.RequestProjectHeader 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)
  OrderTransportStartedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderTransportStartedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderTransportStartedPayload ensurePayload() => $_ensure(2);
}

class OrderTransportStartedResponse extends $pb.GeneratedMessage {
  factory OrderTransportStartedResponse({
    $1.ResponseHeader? header,
    $1.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  OrderTransportStartedResponse._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderTransportStartedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.ResponseHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.ResponseHeader 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);
}

class OrderTransportCompletedPayload extends $pb.GeneratedMessage {
  factory OrderTransportCompletedPayload() => create();

  OrderTransportCompletedPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderTransportCompletedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..hasRequiredFields = false
  ;

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

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

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

class OrderTransportCompletedEvent extends $pb.GeneratedMessage {
  factory OrderTransportCompletedEvent({
    $1.EventHeader? header,
    $1.EntityID? iD,
    OrderTransportCompletedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderTransportCompletedEvent._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderTransportCompletedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.EventHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderTransportCompletedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderTransportCompletedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.EventHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.EventHeader 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)
  OrderTransportCompletedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderTransportCompletedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderTransportCompletedPayload ensurePayload() => $_ensure(2);
}

class OrderTransportCompletedRequest extends $pb.GeneratedMessage {
  factory OrderTransportCompletedRequest({
    $1.RequestProjectHeader? header,
    $1.EntityID? iD,
    OrderTransportCompletedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderTransportCompletedRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderTransportCompletedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderTransportCompletedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderTransportCompletedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.RequestProjectHeader 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)
  OrderTransportCompletedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderTransportCompletedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderTransportCompletedPayload ensurePayload() => $_ensure(2);
}

class OrderTransportCompletedResponse extends $pb.GeneratedMessage {
  factory OrderTransportCompletedResponse({
    $1.ResponseHeader? header,
    $1.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  OrderTransportCompletedResponse._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderTransportCompletedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.ResponseHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.ResponseHeader 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);
}

class OrderReceiptStartedPayload extends $pb.GeneratedMessage {
  factory OrderReceiptStartedPayload() => create();

  OrderReceiptStartedPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderReceiptStartedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..hasRequiredFields = false
  ;

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

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

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

class OrderReceiptStartedEvent extends $pb.GeneratedMessage {
  factory OrderReceiptStartedEvent({
    $1.EventHeader? header,
    $1.EntityID? iD,
    OrderReceiptStartedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderReceiptStartedEvent._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderReceiptStartedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.EventHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderReceiptStartedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderReceiptStartedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.EventHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.EventHeader 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)
  OrderReceiptStartedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderReceiptStartedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderReceiptStartedPayload ensurePayload() => $_ensure(2);
}

class OrderReceiptStartedRequest extends $pb.GeneratedMessage {
  factory OrderReceiptStartedRequest({
    $1.RequestProjectHeader? header,
    $1.EntityID? iD,
    OrderReceiptStartedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderReceiptStartedRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderReceiptStartedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderReceiptStartedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderReceiptStartedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.RequestProjectHeader 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)
  OrderReceiptStartedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderReceiptStartedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderReceiptStartedPayload ensurePayload() => $_ensure(2);
}

class OrderReceiptStartedResponse extends $pb.GeneratedMessage {
  factory OrderReceiptStartedResponse({
    $1.ResponseHeader? header,
    $1.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  OrderReceiptStartedResponse._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderReceiptStartedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.ResponseHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.ResponseHeader 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);
}

class OrderReceiptExpectedPayload extends $pb.GeneratedMessage {
  factory OrderReceiptExpectedPayload() => create();

  OrderReceiptExpectedPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderReceiptExpectedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..hasRequiredFields = false
  ;

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

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

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

class OrderReceiptExpectedEvent extends $pb.GeneratedMessage {
  factory OrderReceiptExpectedEvent({
    $1.EventHeader? header,
    $1.EntityID? iD,
    OrderReceiptExpectedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderReceiptExpectedEvent._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderReceiptExpectedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.EventHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderReceiptExpectedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderReceiptExpectedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.EventHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.EventHeader 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)
  OrderReceiptExpectedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderReceiptExpectedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderReceiptExpectedPayload ensurePayload() => $_ensure(2);
}

class OrderReceiptExpectedRequest extends $pb.GeneratedMessage {
  factory OrderReceiptExpectedRequest({
    $1.RequestProjectHeader? header,
    $1.EntityID? iD,
    OrderReceiptExpectedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderReceiptExpectedRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderReceiptExpectedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderReceiptExpectedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderReceiptExpectedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.RequestProjectHeader 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)
  OrderReceiptExpectedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderReceiptExpectedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderReceiptExpectedPayload ensurePayload() => $_ensure(2);
}

class OrderReceiptExpectedResponse extends $pb.GeneratedMessage {
  factory OrderReceiptExpectedResponse({
    $1.ResponseHeader? header,
    $1.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  OrderReceiptExpectedResponse._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderReceiptExpectedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.ResponseHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.ResponseHeader 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);
}

class OrderReceiptCompletedPayload extends $pb.GeneratedMessage {
  factory OrderReceiptCompletedPayload() => create();

  OrderReceiptCompletedPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderReceiptCompletedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..hasRequiredFields = false
  ;

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

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

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

class OrderReceiptCompletedEvent extends $pb.GeneratedMessage {
  factory OrderReceiptCompletedEvent({
    $1.EventHeader? header,
    $1.EntityID? iD,
    OrderReceiptCompletedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderReceiptCompletedEvent._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderReceiptCompletedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.EventHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderReceiptCompletedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderReceiptCompletedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.EventHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.EventHeader 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)
  OrderReceiptCompletedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderReceiptCompletedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderReceiptCompletedPayload ensurePayload() => $_ensure(2);
}

class OrderReceiptCompletedRequest extends $pb.GeneratedMessage {
  factory OrderReceiptCompletedRequest({
    $1.RequestProjectHeader? header,
    $1.EntityID? iD,
    OrderReceiptCompletedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderReceiptCompletedRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderReceiptCompletedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderReceiptCompletedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderReceiptCompletedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.RequestProjectHeader 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)
  OrderReceiptCompletedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderReceiptCompletedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderReceiptCompletedPayload ensurePayload() => $_ensure(2);
}

class OrderReceiptCompletedResponse extends $pb.GeneratedMessage {
  factory OrderReceiptCompletedResponse({
    $1.ResponseHeader? header,
    $1.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  OrderReceiptCompletedResponse._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderReceiptCompletedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.ResponseHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.ResponseHeader 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);
}

class OrderAppointmentUpdatedPayload extends $pb.GeneratedMessage {
  factory OrderAppointmentUpdatedPayload({
    $core.Iterable<$1.AppointmentSummary>? appointments,
    $core.Iterable<$1.AppointmentSummary>? removedAppointments,
  }) {
    final result = create();
    if (appointments != null) result.appointments.addAll(appointments);
    if (removedAppointments != null) result.removedAppointments.addAll(removedAppointments);
    return result;
  }

  OrderAppointmentUpdatedPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderAppointmentUpdatedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..pc<$1.AppointmentSummary>(1, _omitFieldNames ? '' : 'Appointments', $pb.PbFieldType.PM, protoName: 'Appointments', subBuilder: $1.AppointmentSummary.create)
    ..pc<$1.AppointmentSummary>(2, _omitFieldNames ? '' : 'RemovedAppointments', $pb.PbFieldType.PM, protoName: 'RemovedAppointments', subBuilder: $1.AppointmentSummary.create)
    ..hasRequiredFields = false
  ;

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

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

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

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

  @$pb.TagNumber(2)
  $pb.PbList<$1.AppointmentSummary> get removedAppointments => $_getList(1);
}

class OrderAppointmentUpdatedEvent extends $pb.GeneratedMessage {
  factory OrderAppointmentUpdatedEvent({
    $1.EventHeader? header,
    $1.EntityID? iD,
    OrderAppointmentUpdatedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderAppointmentUpdatedEvent._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderAppointmentUpdatedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.EventHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderAppointmentUpdatedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderAppointmentUpdatedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.EventHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.EventHeader 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)
  OrderAppointmentUpdatedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderAppointmentUpdatedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderAppointmentUpdatedPayload ensurePayload() => $_ensure(2);
}

class OrderAppointmentUpdatedRequest extends $pb.GeneratedMessage {
  factory OrderAppointmentUpdatedRequest({
    $1.RequestProjectHeader? header,
    $1.EntityID? iD,
    OrderAppointmentUpdatedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderAppointmentUpdatedRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderAppointmentUpdatedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderAppointmentUpdatedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderAppointmentUpdatedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.RequestProjectHeader 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)
  OrderAppointmentUpdatedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderAppointmentUpdatedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderAppointmentUpdatedPayload ensurePayload() => $_ensure(2);
}

class OrderAppointmentUpdatedResponse extends $pb.GeneratedMessage {
  factory OrderAppointmentUpdatedResponse({
    $1.ResponseHeader? header,
    $1.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  OrderAppointmentUpdatedResponse._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderAppointmentUpdatedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.ResponseHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.ResponseHeader 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);
}

class OrderAppointmentBookingDisabledPayload extends $pb.GeneratedMessage {
  factory OrderAppointmentBookingDisabledPayload() => create();

  OrderAppointmentBookingDisabledPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderAppointmentBookingDisabledPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..hasRequiredFields = false
  ;

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

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

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

class OrderAppointmentBookingDisabledEvent extends $pb.GeneratedMessage {
  factory OrderAppointmentBookingDisabledEvent({
    $1.EventHeader? header,
    $1.EntityID? iD,
    OrderAppointmentBookingDisabledPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderAppointmentBookingDisabledEvent._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderAppointmentBookingDisabledEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.EventHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderAppointmentBookingDisabledPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderAppointmentBookingDisabledPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.EventHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.EventHeader 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)
  OrderAppointmentBookingDisabledPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderAppointmentBookingDisabledPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderAppointmentBookingDisabledPayload ensurePayload() => $_ensure(2);
}

class OrderAppointmentBookingDisabledRequest extends $pb.GeneratedMessage {
  factory OrderAppointmentBookingDisabledRequest({
    $1.RequestProjectHeader? header,
    $1.EntityID? iD,
    OrderAppointmentBookingDisabledPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  OrderAppointmentBookingDisabledRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderAppointmentBookingDisabledRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<OrderAppointmentBookingDisabledPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: OrderAppointmentBookingDisabledPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.RequestProjectHeader 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)
  OrderAppointmentBookingDisabledPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(OrderAppointmentBookingDisabledPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  OrderAppointmentBookingDisabledPayload ensurePayload() => $_ensure(2);
}

class OrderAppointmentBookingDisabledResponse extends $pb.GeneratedMessage {
  factory OrderAppointmentBookingDisabledResponse({
    $1.ResponseHeader? header,
    $1.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  OrderAppointmentBookingDisabledResponse._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrderAppointmentBookingDisabledResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.ResponseHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($1.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.ResponseHeader 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);
}


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