// This is a generated file - do not edit.
//
// Generated from stockInput.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 'actor.pb.dart' as $2;
import 'shared.pb.dart' as $3;
import 'warehousingShared.pb.dart' as $1;

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

///
/// Update the goods stock counter with the provided goods quantity.
/// Also updates the prepared quantity (outbound).
/// May also update the pre-received qty (inbound).
///
/// This event is received from Stock entity.
///
/// This event is used when the Stock is physically moved from/into the warehouse to De/Increment the physical Stock counter of this goods.
///
/// The ID part of the request is removed, because the Stock ID.RefID is built internally from the Payload.Goods.
/// A specific algorithm will be implemented on api-server and all actions which result this event.
class StockMovedPayload extends $pb.GeneratedMessage {
  factory StockMovedPayload({
    $1.EnrichedGoods? goods,
    $core.String? actorID,
    $2.ActorPayload? actor,
    $1.StockMovement? movement,
  }) {
    final result = create();
    if (goods != null) result.goods = goods;
    if (actorID != null) result.actorID = actorID;
    if (actor != null) result.actor = actor;
    if (movement != null) result.movement = movement;
    return result;
  }

  StockMovedPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StockMovedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.EnrichedGoods>(1, _omitFieldNames ? '' : 'Goods', protoName: 'Goods', subBuilder: $1.EnrichedGoods.create)
    ..aOS(2, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID')
    ..aOM<$2.ActorPayload>(7, _omitFieldNames ? '' : 'Actor', protoName: 'Actor', subBuilder: $2.ActorPayload.create)
    ..aOM<$1.StockMovement>(8, _omitFieldNames ? '' : 'Movement', protoName: 'Movement', subBuilder: $1.StockMovement.create)
    ..hasRequiredFields = false
  ;

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

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

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

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

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

  @$pb.TagNumber(7)
  $2.ActorPayload get actor => $_getN(2);
  @$pb.TagNumber(7)
  set actor($2.ActorPayload value) => $_setField(7, value);
  @$pb.TagNumber(7)
  $core.bool hasActor() => $_has(2);
  @$pb.TagNumber(7)
  void clearActor() => $_clearField(7);
  @$pb.TagNumber(7)
  $2.ActorPayload ensureActor() => $_ensure(2);

  @$pb.TagNumber(8)
  $1.StockMovement get movement => $_getN(3);
  @$pb.TagNumber(8)
  set movement($1.StockMovement value) => $_setField(8, value);
  @$pb.TagNumber(8)
  $core.bool hasMovement() => $_has(3);
  @$pb.TagNumber(8)
  void clearMovement() => $_clearField(8);
  @$pb.TagNumber(8)
  $1.StockMovement ensureMovement() => $_ensure(3);
}

class StockMovedEvent extends $pb.GeneratedMessage {
  factory StockMovedEvent({
    $3.EventHeader? header,
    $3.EntityID? iD,
    StockMovedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  StockMovedEvent._();

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

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

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

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

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

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

  @$pb.TagNumber(2)
  $3.EntityID get iD => $_getN(1);
  @$pb.TagNumber(2)
  set iD($3.EntityID value) => $_setField(2, value);
  @$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)
  StockMovedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(StockMovedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  StockMovedPayload ensurePayload() => $_ensure(2);
}

class StockMovedRequest extends $pb.GeneratedMessage {
  factory StockMovedRequest({
    $3.RequestProjectHeader? header,
    StockMovedPayload? payload,
    $3.NoID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (payload != null) result.payload = payload;
    if (iD != null) result.iD = iD;
    return result;
  }

  StockMovedRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StockMovedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
    ..aOM<StockMovedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: StockMovedPayload.create)
    ..aOM<$3.NoID>(4, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $3.NoID.create)
    ..hasRequiredFields = false
  ;

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

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

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

  /// Header of the event request
  @$pb.TagNumber(1)
  $3.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestProjectHeader ensureHeader() => $_ensure(0);

  /// Content of the event request
  @$pb.TagNumber(3)
  StockMovedPayload get payload => $_getN(1);
  @$pb.TagNumber(3)
  set payload(StockMovedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(1);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  StockMovedPayload ensurePayload() => $_ensure(1);

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

class StockMovedResponse extends $pb.GeneratedMessage {
  factory StockMovedResponse({
    $3.ResponseHeader? header,
    $3.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  StockMovedResponse._();

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

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

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

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

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

  /// Header of the response
  @$pb.TagNumber(1)
  $3.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.ResponseHeader ensureHeader() => $_ensure(0);

  /// Identifier of the stock the request event was applied on
  @$pb.TagNumber(2)
  $3.EntityID get iD => $_getN(1);
  @$pb.TagNumber(2)
  set iD($3.EntityID value) => $_setField(2, value);
  @$pb.TagNumber(2)
  $core.bool hasID() => $_has(1);
  @$pb.TagNumber(2)
  void clearID() => $_clearField(2);
  @$pb.TagNumber(2)
  $3.EntityID ensureID() => $_ensure(1);
}

///
/// The measured stock quantity at the given date time.
/// Event received from a wms inventory.
///
/// The ID part of the request is removed, because the Stock ID.RefID is built internally from the Payload.Goods.
/// A specific algorithm will be implemented on api-server and all actions which result this event.
class StockSnapshottedPayload extends $pb.GeneratedMessage {
  factory StockSnapshottedPayload({
    $1.EnrichedGoods? goods,
    $core.String? actorID,
    $2.ActorPayload? actor,
    $1.StockSnapshot? snapshot,
  }) {
    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;
    return result;
  }

  StockSnapshottedPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StockSnapshottedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.EnrichedGoods>(1, _omitFieldNames ? '' : 'Goods', protoName: 'Goods', subBuilder: $1.EnrichedGoods.create)
    ..aOS(2, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID')
    ..aOM<$2.ActorPayload>(7, _omitFieldNames ? '' : 'Actor', protoName: 'Actor', subBuilder: $2.ActorPayload.create)
    ..aOM<$1.StockSnapshot>(8, _omitFieldNames ? '' : 'Snapshot', protoName: 'Snapshot', subBuilder: $1.StockSnapshot.create)
    ..hasRequiredFields = false
  ;

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

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

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

  /// Description of the goods
  @$pb.TagNumber(1)
  $1.EnrichedGoods get goods => $_getN(0);
  @$pb.TagNumber(1)
  set goods($1.EnrichedGoods value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasGoods() => $_has(0);
  @$pb.TagNumber(1)
  void clearGoods() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.EnrichedGoods ensureGoods() => $_ensure(0);

  /// Identifier of the actor where the stock is located
  @$pb.TagNumber(2)
  $core.String get actorID => $_getSZ(1);
  @$pb.TagNumber(2)
  set actorID($core.String value) => $_setString(1, value);
  @$pb.TagNumber(2)
  $core.bool hasActorID() => $_has(1);
  @$pb.TagNumber(2)
  void clearActorID() => $_clearField(2);

  @$pb.TagNumber(7)
  $2.ActorPayload get actor => $_getN(2);
  @$pb.TagNumber(7)
  set actor($2.ActorPayload value) => $_setField(7, value);
  @$pb.TagNumber(7)
  $core.bool hasActor() => $_has(2);
  @$pb.TagNumber(7)
  void clearActor() => $_clearField(7);
  @$pb.TagNumber(7)
  $2.ActorPayload ensureActor() => $_ensure(2);

  /// Description of the snapshot
  @$pb.TagNumber(8)
  $1.StockSnapshot get snapshot => $_getN(3);
  @$pb.TagNumber(8)
  set snapshot($1.StockSnapshot value) => $_setField(8, value);
  @$pb.TagNumber(8)
  $core.bool hasSnapshot() => $_has(3);
  @$pb.TagNumber(8)
  void clearSnapshot() => $_clearField(8);
  @$pb.TagNumber(8)
  $1.StockSnapshot ensureSnapshot() => $_ensure(3);
}

class StockSnapshottedEvent extends $pb.GeneratedMessage {
  factory StockSnapshottedEvent({
    $3.EventHeader? header,
    $3.EntityID? iD,
    StockSnapshottedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  StockSnapshottedEvent._();

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

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

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

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

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

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

  @$pb.TagNumber(2)
  $3.EntityID get iD => $_getN(1);
  @$pb.TagNumber(2)
  set iD($3.EntityID value) => $_setField(2, value);
  @$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)
  StockSnapshottedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(StockSnapshottedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  StockSnapshottedPayload ensurePayload() => $_ensure(2);
}

class StockSnapshottedRequest extends $pb.GeneratedMessage {
  factory StockSnapshottedRequest({
    $3.RequestProjectHeader? header,
    StockSnapshottedPayload? payload,
    $3.NoID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (payload != null) result.payload = payload;
    if (iD != null) result.iD = iD;
    return result;
  }

  StockSnapshottedRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StockSnapshottedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
    ..aOM<StockSnapshottedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: StockSnapshottedPayload.create)
    ..aOM<$3.NoID>(4, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $3.NoID.create)
    ..hasRequiredFields = false
  ;

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

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

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

  /// Header of the event request
  @$pb.TagNumber(1)
  $3.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestProjectHeader ensureHeader() => $_ensure(0);

  /// Content of the event request
  @$pb.TagNumber(3)
  StockSnapshottedPayload get payload => $_getN(1);
  @$pb.TagNumber(3)
  set payload(StockSnapshottedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(1);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  StockSnapshottedPayload ensurePayload() => $_ensure(1);

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

class StockSnapshottedResponse extends $pb.GeneratedMessage {
  factory StockSnapshottedResponse({
    $3.ResponseHeader? header,
    $3.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  StockSnapshottedResponse._();

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

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

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

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

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

  /// Header of the response
  @$pb.TagNumber(1)
  $3.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.ResponseHeader ensureHeader() => $_ensure(0);

  /// Identifier of the stock the request event was applied on
  @$pb.TagNumber(2)
  $3.EntityID get iD => $_getN(1);
  @$pb.TagNumber(2)
  set iD($3.EntityID value) => $_setField(2, value);
  @$pb.TagNumber(2)
  $core.bool hasID() => $_has(1);
  @$pb.TagNumber(2)
  void clearID() => $_clearField(2);
  @$pb.TagNumber(2)
  $3.EntityID ensureID() => $_ensure(1);
}

///
/// DEPRECATED
/// The stock entry has been deleted.
/// Event received from a wms.
///
/// The ID part of the request is removed, because the Stock ID.RefID is built internally from the Payload.Goods.
/// A specific algorithm will be implemented on api-server and all actions which result this event.
class StockDeletedPayload extends $pb.GeneratedMessage {
  factory StockDeletedPayload({
    $1.EnrichedGoods? goods,
    $core.String? actorID,
    $2.ActorPayload? actor,
  }) {
    final result = create();
    if (goods != null) result.goods = goods;
    if (actorID != null) result.actorID = actorID;
    if (actor != null) result.actor = actor;
    return result;
  }

  StockDeletedPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StockDeletedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.EnrichedGoods>(1, _omitFieldNames ? '' : 'Goods', protoName: 'Goods', subBuilder: $1.EnrichedGoods.create)
    ..aOS(2, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID')
    ..aOM<$2.ActorPayload>(7, _omitFieldNames ? '' : 'Actor', protoName: 'Actor', subBuilder: $2.ActorPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

  /// option (preAggMethods) = "checkEmptyStock"; // Here are listed the pre aggregation methods to call when event message is aggregated
  /// Description of the goods
  @$pb.TagNumber(1)
  $1.EnrichedGoods get goods => $_getN(0);
  @$pb.TagNumber(1)
  set goods($1.EnrichedGoods value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasGoods() => $_has(0);
  @$pb.TagNumber(1)
  void clearGoods() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.EnrichedGoods ensureGoods() => $_ensure(0);

  /// Identifier of the actor where the stock is located
  @$pb.TagNumber(2)
  $core.String get actorID => $_getSZ(1);
  @$pb.TagNumber(2)
  set actorID($core.String value) => $_setString(1, value);
  @$pb.TagNumber(2)
  $core.bool hasActorID() => $_has(1);
  @$pb.TagNumber(2)
  void clearActorID() => $_clearField(2);

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

class StockDeletedEvent extends $pb.GeneratedMessage {
  factory StockDeletedEvent({
    $3.EventHeader? header,
    $3.EntityID? iD,
    StockDeletedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  StockDeletedEvent._();

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

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

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

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

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

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

  @$pb.TagNumber(2)
  $3.EntityID get iD => $_getN(1);
  @$pb.TagNumber(2)
  set iD($3.EntityID value) => $_setField(2, value);
  @$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)
  StockDeletedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(StockDeletedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  StockDeletedPayload ensurePayload() => $_ensure(2);
}

class StockDeletedRequest extends $pb.GeneratedMessage {
  factory StockDeletedRequest({
    $3.RequestProjectHeader? header,
    StockDeletedPayload? payload,
    $3.NoID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (payload != null) result.payload = payload;
    if (iD != null) result.iD = iD;
    return result;
  }

  StockDeletedRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StockDeletedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
    ..aOM<StockDeletedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: StockDeletedPayload.create)
    ..aOM<$3.NoID>(4, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $3.NoID.create)
    ..hasRequiredFields = false
  ;

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

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

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

  /// Header of the event request
  @$pb.TagNumber(1)
  $3.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestProjectHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestProjectHeader ensureHeader() => $_ensure(0);

  /// Content of the event request
  @$pb.TagNumber(3)
  StockDeletedPayload get payload => $_getN(1);
  @$pb.TagNumber(3)
  set payload(StockDeletedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(1);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  StockDeletedPayload ensurePayload() => $_ensure(1);

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

class StockDeletedResponse extends $pb.GeneratedMessage {
  factory StockDeletedResponse({
    $3.ResponseHeader? header,
    $3.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  StockDeletedResponse._();

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

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

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

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

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

  /// Header of the response
  @$pb.TagNumber(1)
  $3.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.ResponseHeader value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.ResponseHeader ensureHeader() => $_ensure(0);

  /// Identifier of the stock the request event was applied on
  @$pb.TagNumber(2)
  $3.EntityID get iD => $_getN(1);
  @$pb.TagNumber(2)
  set iD($3.EntityID value) => $_setField(2, value);
  @$pb.TagNumber(2)
  $core.bool hasID() => $_has(1);
  @$pb.TagNumber(2)
  void clearID() => $_clearField(2);
  @$pb.TagNumber(2)
  $3.EntityID ensureID() => $_ensure(1);
}

class StockSanitisedPayload extends $pb.GeneratedMessage {
  factory StockSanitisedPayload() => create();

  StockSanitisedPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StockSanitisedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..hasRequiredFields = false
  ;

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

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

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

class StockSanitisedEvent extends $pb.GeneratedMessage {
  factory StockSanitisedEvent({
    $3.EventHeader? header,
    $3.EntityID? iD,
    StockSanitisedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  StockSanitisedEvent._();

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

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

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

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

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

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

  @$pb.TagNumber(2)
  $3.EntityID get iD => $_getN(1);
  @$pb.TagNumber(2)
  set iD($3.EntityID value) => $_setField(2, value);
  @$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)
  StockSanitisedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(StockSanitisedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  StockSanitisedPayload ensurePayload() => $_ensure(2);
}

class StockSanitisedRequest extends $pb.GeneratedMessage {
  factory StockSanitisedRequest({
    $3.RequestProjectHeader? header,
    $3.EntityID? iD,
    StockSanitisedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  StockSanitisedRequest._();

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

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

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

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

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

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

  @$pb.TagNumber(2)
  $3.EntityID get iD => $_getN(1);
  @$pb.TagNumber(2)
  set iD($3.EntityID value) => $_setField(2, value);
  @$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)
  StockSanitisedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(StockSanitisedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  StockSanitisedPayload ensurePayload() => $_ensure(2);
}

class StockSanitisedResponse extends $pb.GeneratedMessage {
  factory StockSanitisedResponse({
    $3.ResponseHeader? header,
    $3.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  StockSanitisedResponse._();

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

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

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

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

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

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

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

class StockCustomFieldsUpdatedPayload extends $pb.GeneratedMessage {
  factory StockCustomFieldsUpdatedPayload() => create();

  StockCustomFieldsUpdatedPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StockCustomFieldsUpdatedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..hasRequiredFields = false
  ;

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

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

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

class StockCustomFieldsUpdatedEvent extends $pb.GeneratedMessage {
  factory StockCustomFieldsUpdatedEvent({
    $3.EventHeader? header,
    $3.EntityID? iD,
    StockCustomFieldsUpdatedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  StockCustomFieldsUpdatedEvent._();

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

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

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

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

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

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

  @$pb.TagNumber(2)
  $3.EntityID get iD => $_getN(1);
  @$pb.TagNumber(2)
  set iD($3.EntityID value) => $_setField(2, value);
  @$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)
  StockCustomFieldsUpdatedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(StockCustomFieldsUpdatedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  StockCustomFieldsUpdatedPayload ensurePayload() => $_ensure(2);
}

class StockCustomFieldsUpdatedRequest extends $pb.GeneratedMessage {
  factory StockCustomFieldsUpdatedRequest({
    $3.RequestProjectHeader? header,
    $3.EntityID? iD,
    StockCustomFieldsUpdatedPayload? payload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    return result;
  }

  StockCustomFieldsUpdatedRequest._();

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

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

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

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

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

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

  @$pb.TagNumber(2)
  $3.EntityID get iD => $_getN(1);
  @$pb.TagNumber(2)
  set iD($3.EntityID value) => $_setField(2, value);
  @$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)
  StockCustomFieldsUpdatedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(StockCustomFieldsUpdatedPayload value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  StockCustomFieldsUpdatedPayload ensurePayload() => $_ensure(2);
}

class StockCustomFieldsUpdatedResponse extends $pb.GeneratedMessage {
  factory StockCustomFieldsUpdatedResponse({
    $3.ResponseHeader? header,
    $3.EntityID? iD,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    return result;
  }

  StockCustomFieldsUpdatedResponse._();

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

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

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

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

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

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

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


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