//
//  Generated code. Do not modify.
//  source: trackingAction.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;

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

///
/// MapSummaryToHU : map the tracking Summary to the corresponding HU
class TrackingMapSummaryToHUPayload extends $pb.GeneratedMessage {
  factory TrackingMapSummaryToHUPayload({
    $core.String? handlingunitID,
    $85.TrackingStatusStruct? status,
    $core.String? trackingURL,
    $3.DateTime? dispatchedDateTime,
    $75.TradeTier? hUCarrier,
    $75.TradeTier? hUShipFrom,
    $75.TradeTier? hUShipTo,
    $core.String? nextTrackingID,
    $core.Iterable<$85.TrackingEvent>? events,
  }) {
    final $result = create();
    if (handlingunitID != null) {
      $result.handlingunitID = handlingunitID;
    }
    if (status != null) {
      $result.status = status;
    }
    if (trackingURL != null) {
      $result.trackingURL = trackingURL;
    }
    if (dispatchedDateTime != null) {
      $result.dispatchedDateTime = dispatchedDateTime;
    }
    if (hUCarrier != null) {
      $result.hUCarrier = hUCarrier;
    }
    if (hUShipFrom != null) {
      $result.hUShipFrom = hUShipFrom;
    }
    if (hUShipTo != null) {
      $result.hUShipTo = hUShipTo;
    }
    if (nextTrackingID != null) {
      $result.nextTrackingID = nextTrackingID;
    }
    if (events != null) {
      $result.events.addAll(events);
    }
    return $result;
  }
  TrackingMapSummaryToHUPayload._() : super();
  factory TrackingMapSummaryToHUPayload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory TrackingMapSummaryToHUPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TrackingMapSummaryToHUPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'HandlingunitID', protoName: 'HandlingunitID')
    ..aOM<$85.TrackingStatusStruct>(2, _omitFieldNames ? '' : 'Status', protoName: 'Status', subBuilder: $85.TrackingStatusStruct.create)
    ..aOS(3, _omitFieldNames ? '' : 'TrackingURL', protoName: 'TrackingURL')
    ..aOM<$3.DateTime>(4, _omitFieldNames ? '' : 'DispatchedDateTime', protoName: 'DispatchedDateTime', subBuilder: $3.DateTime.create)
    ..aOM<$75.TradeTier>(9, _omitFieldNames ? '' : 'HUCarrier', protoName: 'HUCarrier', subBuilder: $75.TradeTier.create)
    ..aOM<$75.TradeTier>(10, _omitFieldNames ? '' : 'HUShipFrom', protoName: 'HUShipFrom', subBuilder: $75.TradeTier.create)
    ..aOM<$75.TradeTier>(11, _omitFieldNames ? '' : 'HUShipTo', protoName: 'HUShipTo', subBuilder: $75.TradeTier.create)
    ..aOS(12, _omitFieldNames ? '' : 'NextTrackingID', protoName: 'NextTrackingID')
    ..pc<$85.TrackingEvent>(13, _omitFieldNames ? '' : 'Events', $pb.PbFieldType.PM, protoName: 'Events', subBuilder: $85.TrackingEvent.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')
  TrackingMapSummaryToHUPayload clone() => TrackingMapSummaryToHUPayload()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  TrackingMapSummaryToHUPayload copyWith(void Function(TrackingMapSummaryToHUPayload) updates) => super.copyWith((message) => updates(message as TrackingMapSummaryToHUPayload)) as TrackingMapSummaryToHUPayload;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $core.String get handlingunitID => $_getSZ(0);
  @$pb.TagNumber(1)
  set handlingunitID($core.String v) { $_setString(0, v); }
  @$pb.TagNumber(1)
  $core.bool hasHandlingunitID() => $_has(0);
  @$pb.TagNumber(1)
  void clearHandlingunitID() => $_clearField(1);

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

  @$pb.TagNumber(3)
  $core.String get trackingURL => $_getSZ(2);
  @$pb.TagNumber(3)
  set trackingURL($core.String v) { $_setString(2, v); }
  @$pb.TagNumber(3)
  $core.bool hasTrackingURL() => $_has(2);
  @$pb.TagNumber(3)
  void clearTrackingURL() => $_clearField(3);

  @$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);

  @$pb.TagNumber(9)
  $75.TradeTier get hUCarrier => $_getN(4);
  @$pb.TagNumber(9)
  set hUCarrier($75.TradeTier v) { $_setField(9, v); }
  @$pb.TagNumber(9)
  $core.bool hasHUCarrier() => $_has(4);
  @$pb.TagNumber(9)
  void clearHUCarrier() => $_clearField(9);
  @$pb.TagNumber(9)
  $75.TradeTier ensureHUCarrier() => $_ensure(4);

  @$pb.TagNumber(10)
  $75.TradeTier get hUShipFrom => $_getN(5);
  @$pb.TagNumber(10)
  set hUShipFrom($75.TradeTier v) { $_setField(10, v); }
  @$pb.TagNumber(10)
  $core.bool hasHUShipFrom() => $_has(5);
  @$pb.TagNumber(10)
  void clearHUShipFrom() => $_clearField(10);
  @$pb.TagNumber(10)
  $75.TradeTier ensureHUShipFrom() => $_ensure(5);

  @$pb.TagNumber(11)
  $75.TradeTier get hUShipTo => $_getN(6);
  @$pb.TagNumber(11)
  set hUShipTo($75.TradeTier v) { $_setField(11, v); }
  @$pb.TagNumber(11)
  $core.bool hasHUShipTo() => $_has(6);
  @$pb.TagNumber(11)
  void clearHUShipTo() => $_clearField(11);
  @$pb.TagNumber(11)
  $75.TradeTier ensureHUShipTo() => $_ensure(6);

  @$pb.TagNumber(12)
  $core.String get nextTrackingID => $_getSZ(7);
  @$pb.TagNumber(12)
  set nextTrackingID($core.String v) { $_setString(7, v); }
  @$pb.TagNumber(12)
  $core.bool hasNextTrackingID() => $_has(7);
  @$pb.TagNumber(12)
  void clearNextTrackingID() => $_clearField(12);

  @$pb.TagNumber(13)
  $pb.PbList<$85.TrackingEvent> get events => $_getList(8);
}

class TrackingMapStatusToHU extends $pb.GeneratedMessage {
  factory TrackingMapStatusToHU({
    $3.CommandHeader? header,
    $3.EntityID? iD,
    TrackingMapSummaryToHUPayload? payload,
    TrackingMapSummaryToHUPayload? eventPayload,
    TrackingMapSummaryToHUPayload? 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;
  }
  TrackingMapStatusToHU._() : super();
  factory TrackingMapStatusToHU.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory TrackingMapStatusToHU.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TrackingMapStatusToHU', 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<TrackingMapSummaryToHUPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: TrackingMapSummaryToHUPayload.create)
    ..aOM<TrackingMapSummaryToHUPayload>(4, _omitFieldNames ? '' : 'EventPayload', protoName: 'EventPayload', subBuilder: TrackingMapSummaryToHUPayload.create)
    ..aOM<TrackingMapSummaryToHUPayload>(5, _omitFieldNames ? '' : 'PreviousPayload', protoName: 'PreviousPayload', subBuilder: TrackingMapSummaryToHUPayload.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')
  TrackingMapStatusToHU clone() => TrackingMapStatusToHU()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  TrackingMapStatusToHU copyWith(void Function(TrackingMapStatusToHU) updates) => super.copyWith((message) => updates(message as TrackingMapStatusToHU)) as TrackingMapStatusToHU;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static TrackingMapStatusToHU create() => TrackingMapStatusToHU._();
  TrackingMapStatusToHU createEmptyInstance() => create();
  static $pb.PbList<TrackingMapStatusToHU> createRepeated() => $pb.PbList<TrackingMapStatusToHU>();
  @$core.pragma('dart2js:noInline')
  static TrackingMapStatusToHU getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<TrackingMapStatusToHU>(create);
  static TrackingMapStatusToHU? _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)
  TrackingMapSummaryToHUPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(TrackingMapSummaryToHUPayload v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  TrackingMapSummaryToHUPayload ensurePayload() => $_ensure(2);

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

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

///
/// InitNexTracking : initiate the next tracking after a switched
class TrackingInitNextTrackingPayload extends $pb.GeneratedMessage {
  factory TrackingInitNextTrackingPayload({
    $core.String? handlingunitID,
    $core.String? nextTrackingID,
    $core.String? nextTrackingURL,
    $3.DateTime? dispatchedDateTime,
    $75.TradeTier? nextHUCarrier,
    $75.TradeTier? nextHUShipFrom,
    $75.TradeTier? nextHUShipTo,
  }) {
    final $result = create();
    if (handlingunitID != null) {
      $result.handlingunitID = handlingunitID;
    }
    if (nextTrackingID != null) {
      $result.nextTrackingID = nextTrackingID;
    }
    if (nextTrackingURL != null) {
      $result.nextTrackingURL = nextTrackingURL;
    }
    if (dispatchedDateTime != null) {
      $result.dispatchedDateTime = dispatchedDateTime;
    }
    if (nextHUCarrier != null) {
      $result.nextHUCarrier = nextHUCarrier;
    }
    if (nextHUShipFrom != null) {
      $result.nextHUShipFrom = nextHUShipFrom;
    }
    if (nextHUShipTo != null) {
      $result.nextHUShipTo = nextHUShipTo;
    }
    return $result;
  }
  TrackingInitNextTrackingPayload._() : super();
  factory TrackingInitNextTrackingPayload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory TrackingInitNextTrackingPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TrackingInitNextTrackingPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'HandlingunitID', protoName: 'HandlingunitID')
    ..aOS(2, _omitFieldNames ? '' : 'NextTrackingID', protoName: 'NextTrackingID')
    ..aOS(3, _omitFieldNames ? '' : 'NextTrackingURL', protoName: 'NextTrackingURL')
    ..aOM<$3.DateTime>(4, _omitFieldNames ? '' : 'DispatchedDateTime', protoName: 'DispatchedDateTime', subBuilder: $3.DateTime.create)
    ..aOM<$75.TradeTier>(5, _omitFieldNames ? '' : 'NextHUCarrier', protoName: 'NextHUCarrier', subBuilder: $75.TradeTier.create)
    ..aOM<$75.TradeTier>(6, _omitFieldNames ? '' : 'NextHUShipFrom', protoName: 'NextHUShipFrom', subBuilder: $75.TradeTier.create)
    ..aOM<$75.TradeTier>(7, _omitFieldNames ? '' : 'NextHUShipTo', protoName: 'NextHUShipTo', subBuilder: $75.TradeTier.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')
  TrackingInitNextTrackingPayload clone() => TrackingInitNextTrackingPayload()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  TrackingInitNextTrackingPayload copyWith(void Function(TrackingInitNextTrackingPayload) updates) => super.copyWith((message) => updates(message as TrackingInitNextTrackingPayload)) as TrackingInitNextTrackingPayload;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $core.String get handlingunitID => $_getSZ(0);
  @$pb.TagNumber(1)
  set handlingunitID($core.String v) { $_setString(0, v); }
  @$pb.TagNumber(1)
  $core.bool hasHandlingunitID() => $_has(0);
  @$pb.TagNumber(1)
  void clearHandlingunitID() => $_clearField(1);

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

  @$pb.TagNumber(3)
  $core.String get nextTrackingURL => $_getSZ(2);
  @$pb.TagNumber(3)
  set nextTrackingURL($core.String v) { $_setString(2, v); }
  @$pb.TagNumber(3)
  $core.bool hasNextTrackingURL() => $_has(2);
  @$pb.TagNumber(3)
  void clearNextTrackingURL() => $_clearField(3);

  @$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);

  @$pb.TagNumber(5)
  $75.TradeTier get nextHUCarrier => $_getN(4);
  @$pb.TagNumber(5)
  set nextHUCarrier($75.TradeTier v) { $_setField(5, v); }
  @$pb.TagNumber(5)
  $core.bool hasNextHUCarrier() => $_has(4);
  @$pb.TagNumber(5)
  void clearNextHUCarrier() => $_clearField(5);
  @$pb.TagNumber(5)
  $75.TradeTier ensureNextHUCarrier() => $_ensure(4);

  @$pb.TagNumber(6)
  $75.TradeTier get nextHUShipFrom => $_getN(5);
  @$pb.TagNumber(6)
  set nextHUShipFrom($75.TradeTier v) { $_setField(6, v); }
  @$pb.TagNumber(6)
  $core.bool hasNextHUShipFrom() => $_has(5);
  @$pb.TagNumber(6)
  void clearNextHUShipFrom() => $_clearField(6);
  @$pb.TagNumber(6)
  $75.TradeTier ensureNextHUShipFrom() => $_ensure(5);

  @$pb.TagNumber(7)
  $75.TradeTier get nextHUShipTo => $_getN(6);
  @$pb.TagNumber(7)
  set nextHUShipTo($75.TradeTier v) { $_setField(7, v); }
  @$pb.TagNumber(7)
  $core.bool hasNextHUShipTo() => $_has(6);
  @$pb.TagNumber(7)
  void clearNextHUShipTo() => $_clearField(7);
  @$pb.TagNumber(7)
  $75.TradeTier ensureNextHUShipTo() => $_ensure(6);
}

class TrackingInitNext extends $pb.GeneratedMessage {
  factory TrackingInitNext({
    $3.CommandHeader? header,
    $3.EntityID? iD,
    TrackingInitNextTrackingPayload? payload,
    TrackingInitNextTrackingPayload? eventPayload,
    TrackingInitNextTrackingPayload? 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;
  }
  TrackingInitNext._() : super();
  factory TrackingInitNext.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory TrackingInitNext.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TrackingInitNext', 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<TrackingInitNextTrackingPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: TrackingInitNextTrackingPayload.create)
    ..aOM<TrackingInitNextTrackingPayload>(4, _omitFieldNames ? '' : 'EventPayload', protoName: 'EventPayload', subBuilder: TrackingInitNextTrackingPayload.create)
    ..aOM<TrackingInitNextTrackingPayload>(5, _omitFieldNames ? '' : 'PreviousPayload', protoName: 'PreviousPayload', subBuilder: TrackingInitNextTrackingPayload.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')
  TrackingInitNext clone() => TrackingInitNext()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  TrackingInitNext copyWith(void Function(TrackingInitNext) updates) => super.copyWith((message) => updates(message as TrackingInitNext)) as TrackingInitNext;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static TrackingInitNext create() => TrackingInitNext._();
  TrackingInitNext createEmptyInstance() => create();
  static $pb.PbList<TrackingInitNext> createRepeated() => $pb.PbList<TrackingInitNext>();
  @$core.pragma('dart2js:noInline')
  static TrackingInitNext getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<TrackingInitNext>(create);
  static TrackingInitNext? _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)
  TrackingInitNextTrackingPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(TrackingInitNextTrackingPayload v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  TrackingInitNextTrackingPayload ensurePayload() => $_ensure(2);

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

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

///
/// MapETAToHU : map the tracking ETA to the corresponding HU
class TrackingMapETAToHUPayload extends $pb.GeneratedMessage {
  factory TrackingMapETAToHUPayload({
    $core.String? handlingunitID,
    $75.ETA? trackingETA,
  }) {
    final $result = create();
    if (handlingunitID != null) {
      $result.handlingunitID = handlingunitID;
    }
    if (trackingETA != null) {
      $result.trackingETA = trackingETA;
    }
    return $result;
  }
  TrackingMapETAToHUPayload._() : super();
  factory TrackingMapETAToHUPayload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory TrackingMapETAToHUPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TrackingMapETAToHUPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'HandlingunitID', protoName: 'HandlingunitID')
    ..aOM<$75.ETA>(2, _omitFieldNames ? '' : 'TrackingETA', protoName: 'TrackingETA', subBuilder: $75.ETA.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')
  TrackingMapETAToHUPayload clone() => TrackingMapETAToHUPayload()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  TrackingMapETAToHUPayload copyWith(void Function(TrackingMapETAToHUPayload) updates) => super.copyWith((message) => updates(message as TrackingMapETAToHUPayload)) as TrackingMapETAToHUPayload;

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $core.String get handlingunitID => $_getSZ(0);
  @$pb.TagNumber(1)
  set handlingunitID($core.String v) { $_setString(0, v); }
  @$pb.TagNumber(1)
  $core.bool hasHandlingunitID() => $_has(0);
  @$pb.TagNumber(1)
  void clearHandlingunitID() => $_clearField(1);

  @$pb.TagNumber(2)
  $75.ETA get trackingETA => $_getN(1);
  @$pb.TagNumber(2)
  set trackingETA($75.ETA v) { $_setField(2, v); }
  @$pb.TagNumber(2)
  $core.bool hasTrackingETA() => $_has(1);
  @$pb.TagNumber(2)
  void clearTrackingETA() => $_clearField(2);
  @$pb.TagNumber(2)
  $75.ETA ensureTrackingETA() => $_ensure(1);
}

class TrackingMapETAToHU extends $pb.GeneratedMessage {
  factory TrackingMapETAToHU({
    $3.CommandHeader? header,
    $3.EntityID? iD,
    TrackingMapETAToHUPayload? payload,
    TrackingMapETAToHUPayload? eventPayload,
    TrackingMapETAToHUPayload? 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;
  }
  TrackingMapETAToHU._() : super();
  factory TrackingMapETAToHU.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory TrackingMapETAToHU.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TrackingMapETAToHU', 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<TrackingMapETAToHUPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: TrackingMapETAToHUPayload.create)
    ..aOM<TrackingMapETAToHUPayload>(4, _omitFieldNames ? '' : 'EventPayload', protoName: 'EventPayload', subBuilder: TrackingMapETAToHUPayload.create)
    ..aOM<TrackingMapETAToHUPayload>(5, _omitFieldNames ? '' : 'PreviousPayload', protoName: 'PreviousPayload', subBuilder: TrackingMapETAToHUPayload.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')
  TrackingMapETAToHU clone() => TrackingMapETAToHU()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  TrackingMapETAToHU copyWith(void Function(TrackingMapETAToHU) updates) => super.copyWith((message) => updates(message as TrackingMapETAToHU)) as TrackingMapETAToHU;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static TrackingMapETAToHU create() => TrackingMapETAToHU._();
  TrackingMapETAToHU createEmptyInstance() => create();
  static $pb.PbList<TrackingMapETAToHU> createRepeated() => $pb.PbList<TrackingMapETAToHU>();
  @$core.pragma('dart2js:noInline')
  static TrackingMapETAToHU getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<TrackingMapETAToHU>(create);
  static TrackingMapETAToHU? _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)
  TrackingMapETAToHUPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(TrackingMapETAToHUPayload v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  TrackingMapETAToHUPayload ensurePayload() => $_ensure(2);

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

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


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