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

// @dart = 3.3

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

import 'dart:core' as $core;

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

import 'item.pb.dart' as $4;
import 'shared.pb.dart' as $2;
import 'tradeShared.pb.dart' as $3;
import 'transportShared.pb.dart' as $1;
import 'warehousingShared.pb.dart' as $0;

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

class HandlingunitPayload extends $pb.GeneratedMessage {
  factory HandlingunitPayload({
    $0.HandlingunitInformation? information,
    $core.bool? containsGoods,
    $core.bool? containsHUs,
    $core.Iterable<$core.String>? includedHandlingunitIDs,
    $1.TrackingSummary? currentTrackingSummary,
    $core.Iterable<$2.MetadataElement>? metaData,
    $0.HandlingunitStatusStruct? status,
    $core.Iterable<$0.QuantifiedGoodsByExeflow>? preparedContents,
    $core.Iterable<$0.QuantifiedDatedGoodsByExeflow>? receivedContents,
    $2.DateTime? dispatchedDateTime,
    $core.Iterable<$core.String>? trackingIDs,
    $core.Iterable<$2.AttachmentSummary>? attachments,
    $core.int? attachmentNumber,
    $core.Iterable<$2.ClaimSummary>? claims,
    $core.int? claimNumber,
    $3.ETA? handlingunitETA,
    $3.ETA? trackingETA,
    $core.String? parentHU,
    $core.String? reference,
  }) {
    final result = create();
    if (information != null) result.information = information;
    if (containsGoods != null) result.containsGoods = containsGoods;
    if (containsHUs != null) result.containsHUs = containsHUs;
    if (includedHandlingunitIDs != null) result.includedHandlingunitIDs.addAll(includedHandlingunitIDs);
    if (currentTrackingSummary != null) result.currentTrackingSummary = currentTrackingSummary;
    if (metaData != null) result.metaData.addAll(metaData);
    if (status != null) result.status = status;
    if (preparedContents != null) result.preparedContents.addAll(preparedContents);
    if (receivedContents != null) result.receivedContents.addAll(receivedContents);
    if (dispatchedDateTime != null) result.dispatchedDateTime = dispatchedDateTime;
    if (trackingIDs != null) result.trackingIDs.addAll(trackingIDs);
    if (attachments != null) result.attachments.addAll(attachments);
    if (attachmentNumber != null) result.attachmentNumber = attachmentNumber;
    if (claims != null) result.claims.addAll(claims);
    if (claimNumber != null) result.claimNumber = claimNumber;
    if (handlingunitETA != null) result.handlingunitETA = handlingunitETA;
    if (trackingETA != null) result.trackingETA = trackingETA;
    if (parentHU != null) result.parentHU = parentHU;
    if (reference != null) result.reference = reference;
    return result;
  }

  HandlingunitPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'HandlingunitPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$0.HandlingunitInformation>(1, _omitFieldNames ? '' : 'Information', protoName: 'Information', subBuilder: $0.HandlingunitInformation.create)
    ..aOB(2, _omitFieldNames ? '' : 'ContainsGoods', protoName: 'ContainsGoods')
    ..aOB(3, _omitFieldNames ? '' : 'ContainsHUs', protoName: 'ContainsHUs')
    ..pPS(4, _omitFieldNames ? '' : 'IncludedHandlingunitIDs', protoName: 'IncludedHandlingunitIDs')
    ..aOM<$1.TrackingSummary>(5, _omitFieldNames ? '' : 'CurrentTrackingSummary', protoName: 'CurrentTrackingSummary', subBuilder: $1.TrackingSummary.create)
    ..pc<$2.MetadataElement>(6, _omitFieldNames ? '' : 'MetaData', $pb.PbFieldType.PM, protoName: 'MetaData', subBuilder: $2.MetadataElement.create)
    ..aOM<$0.HandlingunitStatusStruct>(7, _omitFieldNames ? '' : 'Status', protoName: 'Status', subBuilder: $0.HandlingunitStatusStruct.create)
    ..pc<$0.QuantifiedGoodsByExeflow>(8, _omitFieldNames ? '' : 'PreparedContents', $pb.PbFieldType.PM, protoName: 'PreparedContents', subBuilder: $0.QuantifiedGoodsByExeflow.create)
    ..pc<$0.QuantifiedDatedGoodsByExeflow>(9, _omitFieldNames ? '' : 'ReceivedContents', $pb.PbFieldType.PM, protoName: 'ReceivedContents', subBuilder: $0.QuantifiedDatedGoodsByExeflow.create)
    ..aOM<$2.DateTime>(10, _omitFieldNames ? '' : 'DispatchedDateTime', protoName: 'DispatchedDateTime', subBuilder: $2.DateTime.create)
    ..pPS(11, _omitFieldNames ? '' : 'TrackingIDs', protoName: 'TrackingIDs')
    ..pc<$2.AttachmentSummary>(12, _omitFieldNames ? '' : 'Attachments', $pb.PbFieldType.PM, protoName: 'Attachments', subBuilder: $2.AttachmentSummary.create)
    ..a<$core.int>(13, _omitFieldNames ? '' : 'AttachmentNumber', $pb.PbFieldType.O3, protoName: 'AttachmentNumber')
    ..pc<$2.ClaimSummary>(14, _omitFieldNames ? '' : 'Claims', $pb.PbFieldType.PM, protoName: 'Claims', subBuilder: $2.ClaimSummary.create)
    ..a<$core.int>(15, _omitFieldNames ? '' : 'ClaimNumber', $pb.PbFieldType.O3, protoName: 'ClaimNumber')
    ..aOM<$3.ETA>(16, _omitFieldNames ? '' : 'HandlingunitETA', protoName: 'HandlingunitETA', subBuilder: $3.ETA.create)
    ..aOM<$3.ETA>(17, _omitFieldNames ? '' : 'TrackingETA', protoName: 'TrackingETA', subBuilder: $3.ETA.create)
    ..aOS(18, _omitFieldNames ? '' : 'ParentHU', protoName: 'ParentHU')
    ..aOS(19, _omitFieldNames ? '' : 'Reference', protoName: 'Reference')
    ..hasRequiredFields = false
  ;

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

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

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

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

  @$pb.TagNumber(2)
  $core.bool get containsGoods => $_getBF(1);
  @$pb.TagNumber(2)
  set containsGoods($core.bool value) => $_setBool(1, value);
  @$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 value) => $_setBool(2, value);
  @$pb.TagNumber(3)
  $core.bool hasContainsHUs() => $_has(2);
  @$pb.TagNumber(3)
  void clearContainsHUs() => $_clearField(3);

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

  @$pb.TagNumber(5)
  $1.TrackingSummary get currentTrackingSummary => $_getN(4);
  @$pb.TagNumber(5)
  set currentTrackingSummary($1.TrackingSummary value) => $_setField(5, value);
  @$pb.TagNumber(5)
  $core.bool hasCurrentTrackingSummary() => $_has(4);
  @$pb.TagNumber(5)
  void clearCurrentTrackingSummary() => $_clearField(5);
  @$pb.TagNumber(5)
  $1.TrackingSummary ensureCurrentTrackingSummary() => $_ensure(4);

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

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

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

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

  @$pb.TagNumber(10)
  $2.DateTime get dispatchedDateTime => $_getN(9);
  @$pb.TagNumber(10)
  set dispatchedDateTime($2.DateTime value) => $_setField(10, value);
  @$pb.TagNumber(10)
  $core.bool hasDispatchedDateTime() => $_has(9);
  @$pb.TagNumber(10)
  void clearDispatchedDateTime() => $_clearField(10);
  @$pb.TagNumber(10)
  $2.DateTime ensureDispatchedDateTime() => $_ensure(9);

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

  @$pb.TagNumber(12)
  $pb.PbList<$2.AttachmentSummary> get attachments => $_getList(11);

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

  @$pb.TagNumber(14)
  $pb.PbList<$2.ClaimSummary> get claims => $_getList(13);

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

  @$pb.TagNumber(16)
  $3.ETA get handlingunitETA => $_getN(15);
  @$pb.TagNumber(16)
  set handlingunitETA($3.ETA value) => $_setField(16, value);
  @$pb.TagNumber(16)
  $core.bool hasHandlingunitETA() => $_has(15);
  @$pb.TagNumber(16)
  void clearHandlingunitETA() => $_clearField(16);
  @$pb.TagNumber(16)
  $3.ETA ensureHandlingunitETA() => $_ensure(15);

  @$pb.TagNumber(17)
  $3.ETA get trackingETA => $_getN(16);
  @$pb.TagNumber(17)
  set trackingETA($3.ETA value) => $_setField(17, value);
  @$pb.TagNumber(17)
  $core.bool hasTrackingETA() => $_has(16);
  @$pb.TagNumber(17)
  void clearTrackingETA() => $_clearField(17);
  @$pb.TagNumber(17)
  $3.ETA ensureTrackingETA() => $_ensure(16);

  @$pb.TagNumber(18)
  $core.String get parentHU => $_getSZ(17);
  @$pb.TagNumber(18)
  set parentHU($core.String value) => $_setString(17, value);
  @$pb.TagNumber(18)
  $core.bool hasParentHU() => $_has(17);
  @$pb.TagNumber(18)
  void clearParentHU() => $_clearField(18);

  @$pb.TagNumber(19)
  $core.String get reference => $_getSZ(18);
  @$pb.TagNumber(19)
  set reference($core.String value) => $_setString(18, value);
  @$pb.TagNumber(19)
  $core.bool hasReference() => $_has(18);
  @$pb.TagNumber(19)
  void clearReference() => $_clearField(19);
}

class Handlingunit extends $pb.GeneratedMessage {
  factory Handlingunit({
    $2.EventHeader? lastEventHeader,
    $2.EntityID? iD,
    HandlingunitPayload? payload,
  }) {
    final result = create();
    if (lastEventHeader != null) result.lastEventHeader = lastEventHeader;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  Handlingunit._();

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

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

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

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

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

  @$pb.TagNumber(1)
  $2.EventHeader get lastEventHeader => $_getN(0);
  @$pb.TagNumber(1)
  set lastEventHeader($2.EventHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasLastEventHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearLastEventHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $2.EventHeader ensureLastEventHeader() => $_ensure(0);

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

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

enum HandlingunitEnrichment_Content {
  item, 
  notSet
}

class HandlingunitEnrichment extends $pb.GeneratedMessage {
  factory HandlingunitEnrichment({
    $core.String? parentEventID,
    $core.String? entityName,
    $core.String? entityRefID,
    $core.String? refFilter,
    $core.String? mergePath,
    $core.String? project,
    $core.String? parentEntityName,
    $core.String? parentEntityID,
    $4.ItemPayload? item,
  }) {
    final result = create();
    if (parentEventID != null) result.parentEventID = parentEventID;
    if (entityName != null) result.entityName = entityName;
    if (entityRefID != null) result.entityRefID = entityRefID;
    if (refFilter != null) result.refFilter = refFilter;
    if (mergePath != null) result.mergePath = mergePath;
    if (project != null) result.project = project;
    if (parentEntityName != null) result.parentEntityName = parentEntityName;
    if (parentEntityID != null) result.parentEntityID = parentEntityID;
    if (item != null) result.item = item;
    return result;
  }

  HandlingunitEnrichment._();

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

  static const $core.Map<$core.int, HandlingunitEnrichment_Content> _HandlingunitEnrichment_ContentByTag = {
    10 : HandlingunitEnrichment_Content.item,
    0 : HandlingunitEnrichment_Content.notSet
  };
  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'HandlingunitEnrichment', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..oo(0, [10])
    ..aOS(1, _omitFieldNames ? '' : 'ParentEventID', protoName: 'ParentEventID')
    ..aOS(2, _omitFieldNames ? '' : 'EntityName', protoName: 'EntityName')
    ..aOS(3, _omitFieldNames ? '' : 'EntityRefID', protoName: 'EntityRefID')
    ..aOS(4, _omitFieldNames ? '' : 'RefFilter', protoName: 'RefFilter')
    ..aOS(5, _omitFieldNames ? '' : 'MergePath', protoName: 'MergePath')
    ..aOS(6, _omitFieldNames ? '' : 'Project', protoName: 'Project')
    ..aOS(7, _omitFieldNames ? '' : 'ParentEntityName', protoName: 'ParentEntityName')
    ..aOS(8, _omitFieldNames ? '' : 'ParentEntityID', protoName: 'ParentEntityID')
    ..aOM<$4.ItemPayload>(10, _omitFieldNames ? '' : 'Item', protoName: 'Item', subBuilder: $4.ItemPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  HandlingunitEnrichment_Content whichContent() => _HandlingunitEnrichment_ContentByTag[$_whichOneof(0)]!;
  void clearContent() => $_clearField($_whichOneof(0));

  @$pb.TagNumber(1)
  $core.String get parentEventID => $_getSZ(0);
  @$pb.TagNumber(1)
  set parentEventID($core.String value) => $_setString(0, value);
  @$pb.TagNumber(1)
  $core.bool hasParentEventID() => $_has(0);
  @$pb.TagNumber(1)
  void clearParentEventID() => $_clearField(1);

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

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

  @$pb.TagNumber(4)
  $core.String get refFilter => $_getSZ(3);
  @$pb.TagNumber(4)
  set refFilter($core.String value) => $_setString(3, value);
  @$pb.TagNumber(4)
  $core.bool hasRefFilter() => $_has(3);
  @$pb.TagNumber(4)
  void clearRefFilter() => $_clearField(4);

  @$pb.TagNumber(5)
  $core.String get mergePath => $_getSZ(4);
  @$pb.TagNumber(5)
  set mergePath($core.String value) => $_setString(4, value);
  @$pb.TagNumber(5)
  $core.bool hasMergePath() => $_has(4);
  @$pb.TagNumber(5)
  void clearMergePath() => $_clearField(5);

  @$pb.TagNumber(6)
  $core.String get project => $_getSZ(5);
  @$pb.TagNumber(6)
  set project($core.String value) => $_setString(5, value);
  @$pb.TagNumber(6)
  $core.bool hasProject() => $_has(5);
  @$pb.TagNumber(6)
  void clearProject() => $_clearField(6);

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

  @$pb.TagNumber(8)
  $core.String get parentEntityID => $_getSZ(7);
  @$pb.TagNumber(8)
  set parentEntityID($core.String value) => $_setString(7, value);
  @$pb.TagNumber(8)
  $core.bool hasParentEntityID() => $_has(7);
  @$pb.TagNumber(8)
  void clearParentEntityID() => $_clearField(8);

  @$pb.TagNumber(10)
  $4.ItemPayload get item => $_getN(8);
  @$pb.TagNumber(10)
  set item($4.ItemPayload value) => $_setField(10, value);
  @$pb.TagNumber(10)
  $core.bool hasItem() => $_has(8);
  @$pb.TagNumber(10)
  void clearItem() => $_clearField(10);
  @$pb.TagNumber(10)
  $4.ItemPayload ensureItem() => $_ensure(8);
}

class HandlingunitTriplet extends $pb.GeneratedMessage {
  factory HandlingunitTriplet({
    Handlingunit? current,
    Handlingunit? previous,
    Handlingunit? lastEvent,
  }) {
    final result = create();
    if (current != null) result.current = current;
    if (previous != null) result.previous = previous;
    if (lastEvent != null) result.lastEvent = lastEvent;
    return result;
  }

  HandlingunitTriplet._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'HandlingunitTriplet', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<Handlingunit>(1, _omitFieldNames ? '' : 'Current', protoName: 'Current', subBuilder: Handlingunit.create)
    ..aOM<Handlingunit>(2, _omitFieldNames ? '' : 'Previous', protoName: 'Previous', subBuilder: Handlingunit.create)
    ..aOM<Handlingunit>(3, _omitFieldNames ? '' : 'LastEvent', protoName: 'LastEvent', subBuilder: Handlingunit.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  Handlingunit get current => $_getN(0);
  @$pb.TagNumber(1)
  set current(Handlingunit value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasCurrent() => $_has(0);
  @$pb.TagNumber(1)
  void clearCurrent() => $_clearField(1);
  @$pb.TagNumber(1)
  Handlingunit ensureCurrent() => $_ensure(0);

  @$pb.TagNumber(2)
  Handlingunit get previous => $_getN(1);
  @$pb.TagNumber(2)
  set previous(Handlingunit value) => $_setField(2, value);
  @$pb.TagNumber(2)
  $core.bool hasPrevious() => $_has(1);
  @$pb.TagNumber(2)
  void clearPrevious() => $_clearField(2);
  @$pb.TagNumber(2)
  Handlingunit ensurePrevious() => $_ensure(1);

  @$pb.TagNumber(3)
  Handlingunit get lastEvent => $_getN(2);
  @$pb.TagNumber(3)
  set lastEvent(Handlingunit value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasLastEvent() => $_has(2);
  @$pb.TagNumber(3)
  void clearLastEvent() => $_clearField(3);
  @$pb.TagNumber(3)
  Handlingunit ensureLastEvent() => $_ensure(2);
}


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