//
//  Generated code. Do not modify.
//  source: handlingunit.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 'item.pb.dart' as $77;
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;

class HandlingunitPayload extends $pb.GeneratedMessage {
  factory HandlingunitPayload({
    $76.HandlingunitInformation? information,
    $core.bool? containsGoods,
    $core.bool? containsHUs,
    $core.Iterable<$core.String>? includedHandlingunitIDs,
    $85.TrackingSummary? currentTrackingSummary,
    $core.Iterable<$3.MetadataElement>? metaData,
    $76.HandlingunitStatusStruct? status,
    $core.Iterable<$76.QuantifiedGoodsByExeflow>? preparedContents,
    $core.Iterable<$76.QuantifiedDatedGoodsByExeflow>? receivedContents,
    $3.DateTime? dispatchedDateTime,
    $core.Iterable<$core.String>? trackingIDs,
    $core.Iterable<$3.AttachmentSummary>? attachments,
    $core.int? attachmentNumber,
    $core.Iterable<$3.ClaimSummary>? claims,
    $core.int? claimNumber,
    $75.ETA? handlingunitETA,
    $75.ETA? trackingETA,
    $core.String? parentHU,
  }) {
    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;
    }
    return $result;
  }
  HandlingunitPayload._() : super();
  factory HandlingunitPayload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory HandlingunitPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'HandlingunitPayload', 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')
    ..pPS(4, _omitFieldNames ? '' : 'IncludedHandlingunitIDs', protoName: 'IncludedHandlingunitIDs')
    ..aOM<$85.TrackingSummary>(5, _omitFieldNames ? '' : 'CurrentTrackingSummary', protoName: 'CurrentTrackingSummary', subBuilder: $85.TrackingSummary.create)
    ..pc<$3.MetadataElement>(6, _omitFieldNames ? '' : 'MetaData', $pb.PbFieldType.PM, protoName: 'MetaData', subBuilder: $3.MetadataElement.create)
    ..aOM<$76.HandlingunitStatusStruct>(7, _omitFieldNames ? '' : 'Status', protoName: 'Status', subBuilder: $76.HandlingunitStatusStruct.create)
    ..pc<$76.QuantifiedGoodsByExeflow>(8, _omitFieldNames ? '' : 'PreparedContents', $pb.PbFieldType.PM, protoName: 'PreparedContents', subBuilder: $76.QuantifiedGoodsByExeflow.create)
    ..pc<$76.QuantifiedDatedGoodsByExeflow>(9, _omitFieldNames ? '' : 'ReceivedContents', $pb.PbFieldType.PM, protoName: 'ReceivedContents', subBuilder: $76.QuantifiedDatedGoodsByExeflow.create)
    ..aOM<$3.DateTime>(10, _omitFieldNames ? '' : 'DispatchedDateTime', protoName: 'DispatchedDateTime', subBuilder: $3.DateTime.create)
    ..pPS(11, _omitFieldNames ? '' : 'TrackingIDs', protoName: 'TrackingIDs')
    ..pc<$3.AttachmentSummary>(12, _omitFieldNames ? '' : 'Attachments', $pb.PbFieldType.PM, protoName: 'Attachments', subBuilder: $3.AttachmentSummary.create)
    ..a<$core.int>(13, _omitFieldNames ? '' : 'AttachmentNumber', $pb.PbFieldType.O3, protoName: 'AttachmentNumber')
    ..pc<$3.ClaimSummary>(14, _omitFieldNames ? '' : 'Claims', $pb.PbFieldType.PM, protoName: 'Claims', subBuilder: $3.ClaimSummary.create)
    ..a<$core.int>(15, _omitFieldNames ? '' : 'ClaimNumber', $pb.PbFieldType.O3, protoName: 'ClaimNumber')
    ..aOM<$75.ETA>(16, _omitFieldNames ? '' : 'HandlingunitETA', protoName: 'HandlingunitETA', subBuilder: $75.ETA.create)
    ..aOM<$75.ETA>(17, _omitFieldNames ? '' : 'TrackingETA', protoName: 'TrackingETA', subBuilder: $75.ETA.create)
    ..aOS(18, _omitFieldNames ? '' : 'ParentHU', protoName: 'ParentHU')
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static HandlingunitPayload create() => HandlingunitPayload._();
  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)
  $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<$core.String> get includedHandlingunitIDs => $_getList(3);

  @$pb.TagNumber(5)
  $85.TrackingSummary get currentTrackingSummary => $_getN(4);
  @$pb.TagNumber(5)
  set currentTrackingSummary($85.TrackingSummary v) { $_setField(5, v); }
  @$pb.TagNumber(5)
  $core.bool hasCurrentTrackingSummary() => $_has(4);
  @$pb.TagNumber(5)
  void clearCurrentTrackingSummary() => $_clearField(5);
  @$pb.TagNumber(5)
  $85.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<$3.MetadataElement> get metaData => $_getList(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);

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

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

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

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

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

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

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

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

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

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

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

class Handlingunit extends $pb.GeneratedMessage {
  factory Handlingunit({
    $3.EventHeader? lastEventHeader,
    $3.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._() : super();
  factory Handlingunit.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory Handlingunit.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

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

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static Handlingunit create() => Handlingunit._();
  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)
  $3.EventHeader get lastEventHeader => $_getN(0);
  @$pb.TagNumber(1)
  set lastEventHeader($3.EventHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasLastEventHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearLastEventHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.EventHeader ensureLastEventHeader() => $_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)
  HandlingunitPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(HandlingunitPayload v) { $_setField(3, v); }
  @$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,
    $77.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._() : super();
  factory HandlingunitEnrichment.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory HandlingunitEnrichment.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  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<$77.ItemPayload>(10, _omitFieldNames ? '' : 'Item', protoName: 'Item', subBuilder: $77.ItemPayload.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')
  HandlingunitEnrichment clone() => HandlingunitEnrichment()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  HandlingunitEnrichment copyWith(void Function(HandlingunitEnrichment) updates) => super.copyWith((message) => updates(message as HandlingunitEnrichment)) as HandlingunitEnrichment;

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static HandlingunitEnrichment create() => HandlingunitEnrichment._();
  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 v) { $_setString(0, v); }
  @$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 v) { $_setString(1, v); }
  @$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 v) { $_setString(2, v); }
  @$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 v) { $_setString(3, v); }
  @$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 v) { $_setString(4, v); }
  @$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 v) { $_setString(5, v); }
  @$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 v) { $_setString(6, v); }
  @$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 v) { $_setString(7, v); }
  @$pb.TagNumber(8)
  $core.bool hasParentEntityID() => $_has(7);
  @$pb.TagNumber(8)
  void clearParentEntityID() => $_clearField(8);

  @$pb.TagNumber(10)
  $77.ItemPayload get item => $_getN(8);
  @$pb.TagNumber(10)
  set item($77.ItemPayload v) { $_setField(10, v); }
  @$pb.TagNumber(10)
  $core.bool hasItem() => $_has(8);
  @$pb.TagNumber(10)
  void clearItem() => $_clearField(10);
  @$pb.TagNumber(10)
  $77.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._() : super();
  factory HandlingunitTriplet.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory HandlingunitTriplet.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

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

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static HandlingunitTriplet create() => HandlingunitTriplet._();
  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 v) { $_setField(1, v); }
  @$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 v) { $_setField(2, v); }
  @$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 v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasLastEvent() => $_has(2);
  @$pb.TagNumber(3)
  void clearLastEvent() => $_clearField(3);
  @$pb.TagNumber(3)
  Handlingunit ensureLastEvent() => $_ensure(2);
}


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