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

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

import 'dart:core' as $core;

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

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

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

///
/// HandlingunitMapContentToExecutionFlow : map the Handlingunit content to the corresponding Executionflow
class HandlingunitMapContentToExecutionFlowPayload extends $pb.GeneratedMessage {
  factory HandlingunitMapContentToExecutionFlowPayload({
    $76.HandlingunitInformation? information,
    $core.bool? containsGoods,
    $core.bool? containsHUs,
    $core.Iterable<$76.QuantifiedGoodsByExeflow>? preparedContents,
    $core.Iterable<$core.String>? includedHandlingunitIDs,
    $85.TrackingSummary? currentTrackingSummary,
    $76.HandlingunitStatusStruct? status,
    $core.Iterable<$3.MetadataElement>? metaData,
    $core.Iterable<$76.QuantifiedDatedGoodsByExeflow>? receivedContents,
  }) {
    final $result = create();
    if (information != null) {
      $result.information = information;
    }
    if (containsGoods != null) {
      $result.containsGoods = containsGoods;
    }
    if (containsHUs != null) {
      $result.containsHUs = containsHUs;
    }
    if (preparedContents != null) {
      $result.preparedContents.addAll(preparedContents);
    }
    if (includedHandlingunitIDs != null) {
      $result.includedHandlingunitIDs.addAll(includedHandlingunitIDs);
    }
    if (currentTrackingSummary != null) {
      $result.currentTrackingSummary = currentTrackingSummary;
    }
    if (status != null) {
      $result.status = status;
    }
    if (metaData != null) {
      $result.metaData.addAll(metaData);
    }
    if (receivedContents != null) {
      $result.receivedContents.addAll(receivedContents);
    }
    return $result;
  }
  HandlingunitMapContentToExecutionFlowPayload._() : super();
  factory HandlingunitMapContentToExecutionFlowPayload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory HandlingunitMapContentToExecutionFlowPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'HandlingunitMapContentToExecutionFlowPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$76.HandlingunitInformation>(1, _omitFieldNames ? '' : 'Information', protoName: 'Information', subBuilder: $76.HandlingunitInformation.create)
    ..aOB(2, _omitFieldNames ? '' : 'ContainsGoods', protoName: 'ContainsGoods')
    ..aOB(3, _omitFieldNames ? '' : 'ContainsHUs', protoName: 'ContainsHUs')
    ..pc<$76.QuantifiedGoodsByExeflow>(4, _omitFieldNames ? '' : 'PreparedContents', $pb.PbFieldType.PM, protoName: 'PreparedContents', subBuilder: $76.QuantifiedGoodsByExeflow.create)
    ..pPS(5, _omitFieldNames ? '' : 'IncludedHandlingunitIDs', protoName: 'IncludedHandlingunitIDs')
    ..aOM<$85.TrackingSummary>(6, _omitFieldNames ? '' : 'CurrentTrackingSummary', protoName: 'CurrentTrackingSummary', subBuilder: $85.TrackingSummary.create)
    ..aOM<$76.HandlingunitStatusStruct>(7, _omitFieldNames ? '' : 'Status', protoName: 'Status', subBuilder: $76.HandlingunitStatusStruct.create)
    ..pc<$3.MetadataElement>(8, _omitFieldNames ? '' : 'MetaData', $pb.PbFieldType.PM, protoName: 'MetaData', subBuilder: $3.MetadataElement.create)
    ..pc<$76.QuantifiedDatedGoodsByExeflow>(9, _omitFieldNames ? '' : 'ReceivedContents', $pb.PbFieldType.PM, protoName: 'ReceivedContents', subBuilder: $76.QuantifiedDatedGoodsByExeflow.create)
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $76.HandlingunitInformation get information => $_getN(0);
  @$pb.TagNumber(1)
  set information($76.HandlingunitInformation v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasInformation() => $_has(0);
  @$pb.TagNumber(1)
  void clearInformation() => $_clearField(1);
  @$pb.TagNumber(1)
  $76.HandlingunitInformation ensureInformation() => $_ensure(0);

  @$pb.TagNumber(2)
  $core.bool get containsGoods => $_getBF(1);
  @$pb.TagNumber(2)
  set containsGoods($core.bool v) { $_setBool(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasContainsGoods() => $_has(1);
  @$pb.TagNumber(2)
  void clearContainsGoods() => $_clearField(2);

  @$pb.TagNumber(3)
  $core.bool get containsHUs => $_getBF(2);
  @$pb.TagNumber(3)
  set containsHUs($core.bool v) { $_setBool(2, v); }
  @$pb.TagNumber(3)
  $core.bool hasContainsHUs() => $_has(2);
  @$pb.TagNumber(3)
  void clearContainsHUs() => $_clearField(3);

  @$pb.TagNumber(4)
  $pb.PbList<$76.QuantifiedGoodsByExeflow> get preparedContents => $_getList(3);

  @$pb.TagNumber(5)
  $pb.PbList<$core.String> get includedHandlingunitIDs => $_getList(4);

  @$pb.TagNumber(6)
  $85.TrackingSummary get currentTrackingSummary => $_getN(5);
  @$pb.TagNumber(6)
  set currentTrackingSummary($85.TrackingSummary v) { $_setField(6, v); }
  @$pb.TagNumber(6)
  $core.bool hasCurrentTrackingSummary() => $_has(5);
  @$pb.TagNumber(6)
  void clearCurrentTrackingSummary() => $_clearField(6);
  @$pb.TagNumber(6)
  $85.TrackingSummary ensureCurrentTrackingSummary() => $_ensure(5);

  @$pb.TagNumber(7)
  $76.HandlingunitStatusStruct get status => $_getN(6);
  @$pb.TagNumber(7)
  set status($76.HandlingunitStatusStruct v) { $_setField(7, v); }
  @$pb.TagNumber(7)
  $core.bool hasStatus() => $_has(6);
  @$pb.TagNumber(7)
  void clearStatus() => $_clearField(7);
  @$pb.TagNumber(7)
  $76.HandlingunitStatusStruct ensureStatus() => $_ensure(6);

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

  @$pb.TagNumber(9)
  $pb.PbList<$76.QuantifiedDatedGoodsByExeflow> get receivedContents => $_getList(8);
}

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

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

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

  $pb.BuilderInfo get info_ => _i;

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

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

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

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

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

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

///
/// HandlingunitMapTrackingToExecutionFlow : map the Handlingunit Tracking status to the corresponding Executionflow
class HandlingunitMapTrackingToExecutionFlowPayload extends $pb.GeneratedMessage {
  factory HandlingunitMapTrackingToExecutionFlowPayload({
    $85.TrackingSummary? currentTrackingSummary,
    $76.HandlingunitStatusStruct? status,
    $core.Iterable<$76.QuantifiedGoodsByExeflow>? preparedContents,
    $core.Iterable<$76.QuantifiedDatedGoodsByExeflow>? receivedContents,
    $core.Iterable<$core.String>? trackingIDs,
  }) {
    final $result = create();
    if (currentTrackingSummary != null) {
      $result.currentTrackingSummary = currentTrackingSummary;
    }
    if (status != null) {
      $result.status = status;
    }
    if (preparedContents != null) {
      $result.preparedContents.addAll(preparedContents);
    }
    if (receivedContents != null) {
      $result.receivedContents.addAll(receivedContents);
    }
    if (trackingIDs != null) {
      $result.trackingIDs.addAll(trackingIDs);
    }
    return $result;
  }
  HandlingunitMapTrackingToExecutionFlowPayload._() : super();
  factory HandlingunitMapTrackingToExecutionFlowPayload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory HandlingunitMapTrackingToExecutionFlowPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'HandlingunitMapTrackingToExecutionFlowPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$85.TrackingSummary>(1, _omitFieldNames ? '' : 'CurrentTrackingSummary', protoName: 'CurrentTrackingSummary', subBuilder: $85.TrackingSummary.create)
    ..aOM<$76.HandlingunitStatusStruct>(2, _omitFieldNames ? '' : 'Status', protoName: 'Status', subBuilder: $76.HandlingunitStatusStruct.create)
    ..pc<$76.QuantifiedGoodsByExeflow>(3, _omitFieldNames ? '' : 'PreparedContents', $pb.PbFieldType.PM, protoName: 'PreparedContents', subBuilder: $76.QuantifiedGoodsByExeflow.create)
    ..pc<$76.QuantifiedDatedGoodsByExeflow>(4, _omitFieldNames ? '' : 'ReceivedContents', $pb.PbFieldType.PM, protoName: 'ReceivedContents', subBuilder: $76.QuantifiedDatedGoodsByExeflow.create)
    ..pPS(11, _omitFieldNames ? '' : 'TrackingIDs', protoName: 'TrackingIDs')
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $85.TrackingSummary get currentTrackingSummary => $_getN(0);
  @$pb.TagNumber(1)
  set currentTrackingSummary($85.TrackingSummary v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasCurrentTrackingSummary() => $_has(0);
  @$pb.TagNumber(1)
  void clearCurrentTrackingSummary() => $_clearField(1);
  @$pb.TagNumber(1)
  $85.TrackingSummary ensureCurrentTrackingSummary() => $_ensure(0);

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

  @$pb.TagNumber(3)
  $pb.PbList<$76.QuantifiedGoodsByExeflow> get preparedContents => $_getList(2);

  @$pb.TagNumber(4)
  $pb.PbList<$76.QuantifiedDatedGoodsByExeflow> get receivedContents => $_getList(3);

  @$pb.TagNumber(11)
  $pb.PbList<$core.String> get trackingIDs => $_getList(4);
}

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

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

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

  $pb.BuilderInfo get info_ => _i;

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

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

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

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

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

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

///
/// HandlingunitMapETAToExecutionFlow : map the Handlingunit ETA to the corresponding Executionflow
class HandlingunitMapETAToExecutionFlowPayload extends $pb.GeneratedMessage {
  factory HandlingunitMapETAToExecutionFlowPayload({
    $75.ETA? handlingunitETA,
    $core.Iterable<$76.QuantifiedGoodsByExeflow>? preparedContents,
    $core.Iterable<$76.QuantifiedDatedGoodsByExeflow>? receivedContents,
  }) {
    final $result = create();
    if (handlingunitETA != null) {
      $result.handlingunitETA = handlingunitETA;
    }
    if (preparedContents != null) {
      $result.preparedContents.addAll(preparedContents);
    }
    if (receivedContents != null) {
      $result.receivedContents.addAll(receivedContents);
    }
    return $result;
  }
  HandlingunitMapETAToExecutionFlowPayload._() : super();
  factory HandlingunitMapETAToExecutionFlowPayload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory HandlingunitMapETAToExecutionFlowPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'HandlingunitMapETAToExecutionFlowPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$75.ETA>(1, _omitFieldNames ? '' : 'HandlingunitETA', protoName: 'HandlingunitETA', subBuilder: $75.ETA.create)
    ..pc<$76.QuantifiedGoodsByExeflow>(3, _omitFieldNames ? '' : 'PreparedContents', $pb.PbFieldType.PM, protoName: 'PreparedContents', subBuilder: $76.QuantifiedGoodsByExeflow.create)
    ..pc<$76.QuantifiedDatedGoodsByExeflow>(4, _omitFieldNames ? '' : 'ReceivedContents', $pb.PbFieldType.PM, protoName: 'ReceivedContents', subBuilder: $76.QuantifiedDatedGoodsByExeflow.create)
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $75.ETA get handlingunitETA => $_getN(0);
  @$pb.TagNumber(1)
  set handlingunitETA($75.ETA v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHandlingunitETA() => $_has(0);
  @$pb.TagNumber(1)
  void clearHandlingunitETA() => $_clearField(1);
  @$pb.TagNumber(1)
  $75.ETA ensureHandlingunitETA() => $_ensure(0);

  @$pb.TagNumber(3)
  $pb.PbList<$76.QuantifiedGoodsByExeflow> get preparedContents => $_getList(1);

  @$pb.TagNumber(4)
  $pb.PbList<$76.QuantifiedDatedGoodsByExeflow> get receivedContents => $_getList(2);
}

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

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

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

  $pb.BuilderInfo get info_ => _i;

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

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

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

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

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

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

///
/// PropagateTracking : replicate tracking status on all included logistic units
class HandlingunitPropagateTrackingPayload extends $pb.GeneratedMessage {
  factory HandlingunitPropagateTrackingPayload({
    $core.bool? containsHUs,
    $core.Iterable<$core.String>? includedHandlingunitIDs,
    $85.TrackingSummary? currentTrackingSummary,
    $3.DateTime? dispatchedDateTime,
  }) {
    final $result = create();
    if (containsHUs != null) {
      $result.containsHUs = containsHUs;
    }
    if (includedHandlingunitIDs != null) {
      $result.includedHandlingunitIDs.addAll(includedHandlingunitIDs);
    }
    if (currentTrackingSummary != null) {
      $result.currentTrackingSummary = currentTrackingSummary;
    }
    if (dispatchedDateTime != null) {
      $result.dispatchedDateTime = dispatchedDateTime;
    }
    return $result;
  }
  HandlingunitPropagateTrackingPayload._() : super();
  factory HandlingunitPropagateTrackingPayload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory HandlingunitPropagateTrackingPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'HandlingunitPropagateTrackingPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOB(1, _omitFieldNames ? '' : 'ContainsHUs', protoName: 'ContainsHUs')
    ..pPS(2, _omitFieldNames ? '' : 'IncludedHandlingunitIDs', protoName: 'IncludedHandlingunitIDs')
    ..aOM<$85.TrackingSummary>(3, _omitFieldNames ? '' : 'CurrentTrackingSummary', protoName: 'CurrentTrackingSummary', subBuilder: $85.TrackingSummary.create)
    ..aOM<$3.DateTime>(4, _omitFieldNames ? '' : 'DispatchedDateTime', protoName: 'DispatchedDateTime', subBuilder: $3.DateTime.create)
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $core.bool get containsHUs => $_getBF(0);
  @$pb.TagNumber(1)
  set containsHUs($core.bool v) { $_setBool(0, v); }
  @$pb.TagNumber(1)
  $core.bool hasContainsHUs() => $_has(0);
  @$pb.TagNumber(1)
  void clearContainsHUs() => $_clearField(1);

  @$pb.TagNumber(2)
  $pb.PbList<$core.String> get includedHandlingunitIDs => $_getList(1);

  @$pb.TagNumber(3)
  $85.TrackingSummary get currentTrackingSummary => $_getN(2);
  @$pb.TagNumber(3)
  set currentTrackingSummary($85.TrackingSummary v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasCurrentTrackingSummary() => $_has(2);
  @$pb.TagNumber(3)
  void clearCurrentTrackingSummary() => $_clearField(3);
  @$pb.TagNumber(3)
  $85.TrackingSummary ensureCurrentTrackingSummary() => $_ensure(2);

  @$pb.TagNumber(4)
  $3.DateTime get dispatchedDateTime => $_getN(3);
  @$pb.TagNumber(4)
  set dispatchedDateTime($3.DateTime v) { $_setField(4, v); }
  @$pb.TagNumber(4)
  $core.bool hasDispatchedDateTime() => $_has(3);
  @$pb.TagNumber(4)
  void clearDispatchedDateTime() => $_clearField(4);
  @$pb.TagNumber(4)
  $3.DateTime ensureDispatchedDateTime() => $_ensure(3);
}

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

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

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

  $pb.BuilderInfo get info_ => _i;

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

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

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

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

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

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

///
/// PropagateETA : replicate ETA on all included logistic units
class HandlingunitPropagateETAPayload extends $pb.GeneratedMessage {
  factory HandlingunitPropagateETAPayload({
    $75.ETA? handlingunitETA,
    $core.Iterable<$core.String>? includedHandlingunitIDs,
    $core.bool? containsHUs,
  }) {
    final $result = create();
    if (handlingunitETA != null) {
      $result.handlingunitETA = handlingunitETA;
    }
    if (includedHandlingunitIDs != null) {
      $result.includedHandlingunitIDs.addAll(includedHandlingunitIDs);
    }
    if (containsHUs != null) {
      $result.containsHUs = containsHUs;
    }
    return $result;
  }
  HandlingunitPropagateETAPayload._() : super();
  factory HandlingunitPropagateETAPayload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory HandlingunitPropagateETAPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'HandlingunitPropagateETAPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$75.ETA>(1, _omitFieldNames ? '' : 'HandlingunitETA', protoName: 'HandlingunitETA', subBuilder: $75.ETA.create)
    ..pPS(2, _omitFieldNames ? '' : 'IncludedHandlingunitIDs', protoName: 'IncludedHandlingunitIDs')
    ..aOB(3, _omitFieldNames ? '' : 'ContainsHUs', protoName: 'ContainsHUs')
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $75.ETA get handlingunitETA => $_getN(0);
  @$pb.TagNumber(1)
  set handlingunitETA($75.ETA v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHandlingunitETA() => $_has(0);
  @$pb.TagNumber(1)
  void clearHandlingunitETA() => $_clearField(1);
  @$pb.TagNumber(1)
  $75.ETA ensureHandlingunitETA() => $_ensure(0);

  @$pb.TagNumber(2)
  $pb.PbList<$core.String> get includedHandlingunitIDs => $_getList(1);

  @$pb.TagNumber(3)
  $core.bool get containsHUs => $_getBF(2);
  @$pb.TagNumber(3)
  set containsHUs($core.bool v) { $_setBool(2, v); }
  @$pb.TagNumber(3)
  $core.bool hasContainsHUs() => $_has(2);
  @$pb.TagNumber(3)
  void clearContainsHUs() => $_clearField(3);
}

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

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

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

  $pb.BuilderInfo get info_ => _i;

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

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

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

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

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

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

///
/// PropagateParentHU : Propagate ParentHU on all included logistic units
class HandlingunitPropagateParentHUPayload extends $pb.GeneratedMessage {
  factory HandlingunitPropagateParentHUPayload({
    $core.bool? containsHUs,
    $core.Iterable<$core.String>? includedHandlingunitIDs,
  }) {
    final $result = create();
    if (containsHUs != null) {
      $result.containsHUs = containsHUs;
    }
    if (includedHandlingunitIDs != null) {
      $result.includedHandlingunitIDs.addAll(includedHandlingunitIDs);
    }
    return $result;
  }
  HandlingunitPropagateParentHUPayload._() : super();
  factory HandlingunitPropagateParentHUPayload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory HandlingunitPropagateParentHUPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'HandlingunitPropagateParentHUPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOB(1, _omitFieldNames ? '' : 'ContainsHUs', protoName: 'ContainsHUs')
    ..pPS(2, _omitFieldNames ? '' : 'IncludedHandlingunitIDs', protoName: 'IncludedHandlingunitIDs')
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $core.bool get containsHUs => $_getBF(0);
  @$pb.TagNumber(1)
  set containsHUs($core.bool v) { $_setBool(0, v); }
  @$pb.TagNumber(1)
  $core.bool hasContainsHUs() => $_has(0);
  @$pb.TagNumber(1)
  void clearContainsHUs() => $_clearField(1);

  @$pb.TagNumber(2)
  $pb.PbList<$core.String> get includedHandlingunitIDs => $_getList(1);
}

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

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

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

  $pb.BuilderInfo get info_ => _i;

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

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

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

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

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

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

///
/// MoveStock : Send a 'moved' event to the stock to decrement the content of the HU
class HandlingunitMoveStockPayload extends $pb.GeneratedMessage {
  factory HandlingunitMoveStockPayload({
    $core.Iterable<$76.QuantifiedGoodsByExeflow>? preparedContents,
    $core.Iterable<$76.QuantifiedDatedGoodsByExeflow>? receivedContents,
    $76.HandlingunitStatusStruct? status,
    $3.DateTime? dispatchedDateTime,
  }) {
    final $result = create();
    if (preparedContents != null) {
      $result.preparedContents.addAll(preparedContents);
    }
    if (receivedContents != null) {
      $result.receivedContents.addAll(receivedContents);
    }
    if (status != null) {
      $result.status = status;
    }
    if (dispatchedDateTime != null) {
      $result.dispatchedDateTime = dispatchedDateTime;
    }
    return $result;
  }
  HandlingunitMoveStockPayload._() : super();
  factory HandlingunitMoveStockPayload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory HandlingunitMoveStockPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'HandlingunitMoveStockPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..pc<$76.QuantifiedGoodsByExeflow>(1, _omitFieldNames ? '' : 'PreparedContents', $pb.PbFieldType.PM, protoName: 'PreparedContents', subBuilder: $76.QuantifiedGoodsByExeflow.create)
    ..pc<$76.QuantifiedDatedGoodsByExeflow>(2, _omitFieldNames ? '' : 'ReceivedContents', $pb.PbFieldType.PM, protoName: 'ReceivedContents', subBuilder: $76.QuantifiedDatedGoodsByExeflow.create)
    ..aOM<$76.HandlingunitStatusStruct>(8, _omitFieldNames ? '' : 'Status', protoName: 'Status', subBuilder: $76.HandlingunitStatusStruct.create)
    ..aOM<$3.DateTime>(9, _omitFieldNames ? '' : 'DispatchedDateTime', protoName: 'DispatchedDateTime', subBuilder: $3.DateTime.create)
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $pb.PbList<$76.QuantifiedGoodsByExeflow> get preparedContents => $_getList(0);

  @$pb.TagNumber(2)
  $pb.PbList<$76.QuantifiedDatedGoodsByExeflow> get receivedContents => $_getList(1);

  @$pb.TagNumber(8)
  $76.HandlingunitStatusStruct get status => $_getN(2);
  @$pb.TagNumber(8)
  set status($76.HandlingunitStatusStruct v) { $_setField(8, v); }
  @$pb.TagNumber(8)
  $core.bool hasStatus() => $_has(2);
  @$pb.TagNumber(8)
  void clearStatus() => $_clearField(8);
  @$pb.TagNumber(8)
  $76.HandlingunitStatusStruct ensureStatus() => $_ensure(2);

  @$pb.TagNumber(9)
  $3.DateTime get dispatchedDateTime => $_getN(3);
  @$pb.TagNumber(9)
  set dispatchedDateTime($3.DateTime v) { $_setField(9, v); }
  @$pb.TagNumber(9)
  $core.bool hasDispatchedDateTime() => $_has(3);
  @$pb.TagNumber(9)
  void clearDispatchedDateTime() => $_clearField(9);
  @$pb.TagNumber(9)
  $3.DateTime ensureDispatchedDateTime() => $_ensure(3);
}

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

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

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

  $pb.BuilderInfo get info_ => _i;

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

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

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

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

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

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


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