//
//  Generated code. Do not modify.
//  source: stock.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 'actor.pb.dart' as $67;
import 'item.pb.dart' as $77;
import 'shared.pb.dart' as $3;
import 'warehousingShared.pb.dart' as $76;

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

class StockPayload extends $pb.GeneratedMessage {
  factory StockPayload({
    $76.EnrichedGoods? goods,
    $core.String? actorID,
    $67.ActorPayload? actor,
    $76.StockSnapshot? snapshot,
    $76.StockMovement? movement,
    $76.StockStatusStruct? status,
    $76.QuantityInLV? quantityInBaseLV,
    $core.Iterable<$76.QuantityByLV>? quantityByLVs,
    $core.String? lVDetailledQuantity,
    $core.Iterable<$76.StockMovement>? latestMovements,
    $core.double? requestedStockValue,
    $core.double? toReceiveStockValue,
    $core.String? lastUpdateStockDateTime,
    $core.String? lastUpdateRequestedDateTime,
    $core.String? lastUpdateToReceiveDateTime,
  }) {
    final $result = create();
    if (goods != null) {
      $result.goods = goods;
    }
    if (actorID != null) {
      $result.actorID = actorID;
    }
    if (actor != null) {
      $result.actor = actor;
    }
    if (snapshot != null) {
      $result.snapshot = snapshot;
    }
    if (movement != null) {
      $result.movement = movement;
    }
    if (status != null) {
      $result.status = status;
    }
    if (quantityInBaseLV != null) {
      $result.quantityInBaseLV = quantityInBaseLV;
    }
    if (quantityByLVs != null) {
      $result.quantityByLVs.addAll(quantityByLVs);
    }
    if (lVDetailledQuantity != null) {
      $result.lVDetailledQuantity = lVDetailledQuantity;
    }
    if (latestMovements != null) {
      $result.latestMovements.addAll(latestMovements);
    }
    if (requestedStockValue != null) {
      $result.requestedStockValue = requestedStockValue;
    }
    if (toReceiveStockValue != null) {
      $result.toReceiveStockValue = toReceiveStockValue;
    }
    if (lastUpdateStockDateTime != null) {
      $result.lastUpdateStockDateTime = lastUpdateStockDateTime;
    }
    if (lastUpdateRequestedDateTime != null) {
      $result.lastUpdateRequestedDateTime = lastUpdateRequestedDateTime;
    }
    if (lastUpdateToReceiveDateTime != null) {
      $result.lastUpdateToReceiveDateTime = lastUpdateToReceiveDateTime;
    }
    return $result;
  }
  StockPayload._() : super();
  factory StockPayload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory StockPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StockPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$76.EnrichedGoods>(1, _omitFieldNames ? '' : 'Goods', protoName: 'Goods', subBuilder: $76.EnrichedGoods.create)
    ..aOS(2, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID')
    ..aOM<$67.ActorPayload>(3, _omitFieldNames ? '' : 'Actor', protoName: 'Actor', subBuilder: $67.ActorPayload.create)
    ..aOM<$76.StockSnapshot>(4, _omitFieldNames ? '' : 'Snapshot', protoName: 'Snapshot', subBuilder: $76.StockSnapshot.create)
    ..aOM<$76.StockMovement>(5, _omitFieldNames ? '' : 'Movement', protoName: 'Movement', subBuilder: $76.StockMovement.create)
    ..aOM<$76.StockStatusStruct>(6, _omitFieldNames ? '' : 'Status', protoName: 'Status', subBuilder: $76.StockStatusStruct.create)
    ..aOM<$76.QuantityInLV>(7, _omitFieldNames ? '' : 'QuantityInBaseLV', protoName: 'QuantityInBaseLV', subBuilder: $76.QuantityInLV.create)
    ..pc<$76.QuantityByLV>(8, _omitFieldNames ? '' : 'QuantityByLVs', $pb.PbFieldType.PM, protoName: 'QuantityByLVs', subBuilder: $76.QuantityByLV.create)
    ..aOS(9, _omitFieldNames ? '' : 'LVDetailledQuantity', protoName: 'LVDetailledQuantity')
    ..pc<$76.StockMovement>(10, _omitFieldNames ? '' : 'LatestMovements', $pb.PbFieldType.PM, protoName: 'LatestMovements', subBuilder: $76.StockMovement.create)
    ..a<$core.double>(11, _omitFieldNames ? '' : 'RequestedStockValue', $pb.PbFieldType.OD, protoName: 'RequestedStockValue')
    ..a<$core.double>(12, _omitFieldNames ? '' : 'ToReceiveStockValue', $pb.PbFieldType.OD, protoName: 'ToReceiveStockValue')
    ..aOS(13, _omitFieldNames ? '' : 'LastUpdateStockDateTime', protoName: 'LastUpdateStockDateTime')
    ..aOS(14, _omitFieldNames ? '' : 'LastUpdateRequestedDateTime', protoName: 'LastUpdateRequestedDateTime')
    ..aOS(15, _omitFieldNames ? '' : 'LastUpdateToReceiveDateTime', protoName: 'LastUpdateToReceiveDateTime')
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $76.EnrichedGoods get goods => $_getN(0);
  @$pb.TagNumber(1)
  set goods($76.EnrichedGoods v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasGoods() => $_has(0);
  @$pb.TagNumber(1)
  void clearGoods() => $_clearField(1);
  @$pb.TagNumber(1)
  $76.EnrichedGoods ensureGoods() => $_ensure(0);

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

  @$pb.TagNumber(3)
  $67.ActorPayload get actor => $_getN(2);
  @$pb.TagNumber(3)
  set actor($67.ActorPayload v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasActor() => $_has(2);
  @$pb.TagNumber(3)
  void clearActor() => $_clearField(3);
  @$pb.TagNumber(3)
  $67.ActorPayload ensureActor() => $_ensure(2);

  @$pb.TagNumber(4)
  $76.StockSnapshot get snapshot => $_getN(3);
  @$pb.TagNumber(4)
  set snapshot($76.StockSnapshot v) { $_setField(4, v); }
  @$pb.TagNumber(4)
  $core.bool hasSnapshot() => $_has(3);
  @$pb.TagNumber(4)
  void clearSnapshot() => $_clearField(4);
  @$pb.TagNumber(4)
  $76.StockSnapshot ensureSnapshot() => $_ensure(3);

  @$pb.TagNumber(5)
  $76.StockMovement get movement => $_getN(4);
  @$pb.TagNumber(5)
  set movement($76.StockMovement v) { $_setField(5, v); }
  @$pb.TagNumber(5)
  $core.bool hasMovement() => $_has(4);
  @$pb.TagNumber(5)
  void clearMovement() => $_clearField(5);
  @$pb.TagNumber(5)
  $76.StockMovement ensureMovement() => $_ensure(4);

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

  @$pb.TagNumber(7)
  $76.QuantityInLV get quantityInBaseLV => $_getN(6);
  @$pb.TagNumber(7)
  set quantityInBaseLV($76.QuantityInLV v) { $_setField(7, v); }
  @$pb.TagNumber(7)
  $core.bool hasQuantityInBaseLV() => $_has(6);
  @$pb.TagNumber(7)
  void clearQuantityInBaseLV() => $_clearField(7);
  @$pb.TagNumber(7)
  $76.QuantityInLV ensureQuantityInBaseLV() => $_ensure(6);

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

  @$pb.TagNumber(9)
  $core.String get lVDetailledQuantity => $_getSZ(8);
  @$pb.TagNumber(9)
  set lVDetailledQuantity($core.String v) { $_setString(8, v); }
  @$pb.TagNumber(9)
  $core.bool hasLVDetailledQuantity() => $_has(8);
  @$pb.TagNumber(9)
  void clearLVDetailledQuantity() => $_clearField(9);

  @$pb.TagNumber(10)
  $pb.PbList<$76.StockMovement> get latestMovements => $_getList(9);

  /// Only used for clickhouse extended-stock
  @$pb.TagNumber(11)
  $core.double get requestedStockValue => $_getN(10);
  @$pb.TagNumber(11)
  set requestedStockValue($core.double v) { $_setDouble(10, v); }
  @$pb.TagNumber(11)
  $core.bool hasRequestedStockValue() => $_has(10);
  @$pb.TagNumber(11)
  void clearRequestedStockValue() => $_clearField(11);

  /// Only used for clickhouse extended-stock
  @$pb.TagNumber(12)
  $core.double get toReceiveStockValue => $_getN(11);
  @$pb.TagNumber(12)
  set toReceiveStockValue($core.double v) { $_setDouble(11, v); }
  @$pb.TagNumber(12)
  $core.bool hasToReceiveStockValue() => $_has(11);
  @$pb.TagNumber(12)
  void clearToReceiveStockValue() => $_clearField(12);

  /// Only used for clickhouse extended-stock
  @$pb.TagNumber(13)
  $core.String get lastUpdateStockDateTime => $_getSZ(12);
  @$pb.TagNumber(13)
  set lastUpdateStockDateTime($core.String v) { $_setString(12, v); }
  @$pb.TagNumber(13)
  $core.bool hasLastUpdateStockDateTime() => $_has(12);
  @$pb.TagNumber(13)
  void clearLastUpdateStockDateTime() => $_clearField(13);

  /// Only used for clickhouse extended-stock
  @$pb.TagNumber(14)
  $core.String get lastUpdateRequestedDateTime => $_getSZ(13);
  @$pb.TagNumber(14)
  set lastUpdateRequestedDateTime($core.String v) { $_setString(13, v); }
  @$pb.TagNumber(14)
  $core.bool hasLastUpdateRequestedDateTime() => $_has(13);
  @$pb.TagNumber(14)
  void clearLastUpdateRequestedDateTime() => $_clearField(14);

  /// Only used for clickhouse extended-stock
  @$pb.TagNumber(15)
  $core.String get lastUpdateToReceiveDateTime => $_getSZ(14);
  @$pb.TagNumber(15)
  set lastUpdateToReceiveDateTime($core.String v) { $_setString(14, v); }
  @$pb.TagNumber(15)
  $core.bool hasLastUpdateToReceiveDateTime() => $_has(14);
  @$pb.TagNumber(15)
  void clearLastUpdateToReceiveDateTime() => $_clearField(15);
}

///
/// Stock entity Structure
class Stock extends $pb.GeneratedMessage {
  factory Stock({
    $3.EventHeader? lastEventHeader,
    $3.EntityID? iD,
    StockPayload? payload,
  }) {
    final $result = create();
    if (lastEventHeader != null) {
      $result.lastEventHeader = lastEventHeader;
    }
    if (iD != null) {
      $result.iD = iD;
    }
    if (payload != null) {
      $result.payload = payload;
    }
    return $result;
  }
  Stock._() : super();
  factory Stock.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory Stock.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

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

  $pb.BuilderInfo get info_ => _i;

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

enum StockEnrichment_Content {
  item, 
  actor, 
  notSet
}

class StockEnrichment extends $pb.GeneratedMessage {
  factory StockEnrichment({
    $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,
    $67.ActorPayload? actor,
  }) {
    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;
    }
    if (actor != null) {
      $result.actor = actor;
    }
    return $result;
  }
  StockEnrichment._() : super();
  factory StockEnrichment.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory StockEnrichment.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static const $core.Map<$core.int, StockEnrichment_Content> _StockEnrichment_ContentByTag = {
    10 : StockEnrichment_Content.item,
    11 : StockEnrichment_Content.actor,
    0 : StockEnrichment_Content.notSet
  };
  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StockEnrichment', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..oo(0, [10, 11])
    ..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)
    ..aOM<$67.ActorPayload>(11, _omitFieldNames ? '' : 'Actor', protoName: 'Actor', subBuilder: $67.ActorPayload.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')
  StockEnrichment clone() => StockEnrichment()..mergeFromMessage(this);
  @$core.Deprecated(
  'Using this can add significant overhead to your binary. '
  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
  'Will be removed in next major version')
  StockEnrichment copyWith(void Function(StockEnrichment) updates) => super.copyWith((message) => updates(message as StockEnrichment)) as StockEnrichment;

  $pb.BuilderInfo get info_ => _i;

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

  StockEnrichment_Content whichContent() => _StockEnrichment_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);

  @$pb.TagNumber(11)
  $67.ActorPayload get actor => $_getN(9);
  @$pb.TagNumber(11)
  set actor($67.ActorPayload v) { $_setField(11, v); }
  @$pb.TagNumber(11)
  $core.bool hasActor() => $_has(9);
  @$pb.TagNumber(11)
  void clearActor() => $_clearField(11);
  @$pb.TagNumber(11)
  $67.ActorPayload ensureActor() => $_ensure(9);
}

class StockTriplet extends $pb.GeneratedMessage {
  factory StockTriplet({
    Stock? current,
    Stock? previous,
    Stock? lastEvent,
  }) {
    final $result = create();
    if (current != null) {
      $result.current = current;
    }
    if (previous != null) {
      $result.previous = previous;
    }
    if (lastEvent != null) {
      $result.lastEvent = lastEvent;
    }
    return $result;
  }
  StockTriplet._() : super();
  factory StockTriplet.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory StockTriplet.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

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

  $pb.BuilderInfo get info_ => _i;

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

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

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

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


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