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

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

///
/// create the stock movement on the goods with the provided goods quantity.
/// This event is received from the WMS .
///
/// 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 Movement ID.RefID is built internally
/// A specific algorithm will be implemented on api-server and all actions which result this event.
class MovementCreatedPayload extends $pb.GeneratedMessage {
  factory MovementCreatedPayload({
    $76.EnrichedGoods? goods,
    $core.String? actorID,
    $67.ActorPayload? actor,
    $76.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;
  }
  MovementCreatedPayload._() : super();
  factory MovementCreatedPayload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory MovementCreatedPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

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

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static MovementCreatedPayload create() => MovementCreatedPayload._();
  MovementCreatedPayload createEmptyInstance() => create();
  static $pb.PbList<MovementCreatedPayload> createRepeated() => $pb.PbList<MovementCreatedPayload>();
  @$core.pragma('dart2js:noInline')
  static MovementCreatedPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<MovementCreatedPayload>(create);
  static MovementCreatedPayload? _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.StockMovement get movement => $_getN(3);
  @$pb.TagNumber(4)
  set movement($76.StockMovement v) { $_setField(4, v); }
  @$pb.TagNumber(4)
  $core.bool hasMovement() => $_has(3);
  @$pb.TagNumber(4)
  void clearMovement() => $_clearField(4);
  @$pb.TagNumber(4)
  $76.StockMovement ensureMovement() => $_ensure(3);
}

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

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.EventHeader v) { $_setField(1, v); }
  @$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 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)
  MovementCreatedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(MovementCreatedPayload v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  MovementCreatedPayload ensurePayload() => $_ensure(2);
}

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

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

  $pb.BuilderInfo get info_ => _i;

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

  /// Header of the event request
  @$pb.TagNumber(1)
  $3.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestProjectHeader v) { $_setField(1, v); }
  @$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)
  MovementCreatedPayload get payload => $_getN(1);
  @$pb.TagNumber(3)
  set payload(MovementCreatedPayload v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(1);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  MovementCreatedPayload ensurePayload() => $_ensure(1);

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

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

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

  $pb.BuilderInfo get info_ => _i;

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

  /// Header of the response
  @$pb.TagNumber(1)
  $3.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.ResponseHeader v) { $_setField(1, v); }
  @$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 movement the request event was applied on
  @$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);
}

///
/// create the movement on the goods with the provided goods quantity.
/// This event is received internally
///
/// 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 Movement ID.RefID is built internally
/// A specific algorithm will be implemented on api-server and all actions which result this event.
class MovementGeneratedPayload extends $pb.GeneratedMessage {
  factory MovementGeneratedPayload({
    $76.EnrichedGoods? goods,
    $core.String? actorID,
    $67.ActorPayload? actor,
    $76.StockMovement? movement,
    $76.QuantityInLV? quantityInBaseLV,
  }) {
    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;
    }
    if (quantityInBaseLV != null) {
      $result.quantityInBaseLV = quantityInBaseLV;
    }
    return $result;
  }
  MovementGeneratedPayload._() : super();
  factory MovementGeneratedPayload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory MovementGeneratedPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

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

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static MovementGeneratedPayload create() => MovementGeneratedPayload._();
  MovementGeneratedPayload createEmptyInstance() => create();
  static $pb.PbList<MovementGeneratedPayload> createRepeated() => $pb.PbList<MovementGeneratedPayload>();
  @$core.pragma('dart2js:noInline')
  static MovementGeneratedPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<MovementGeneratedPayload>(create);
  static MovementGeneratedPayload? _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.StockMovement get movement => $_getN(3);
  @$pb.TagNumber(4)
  set movement($76.StockMovement v) { $_setField(4, v); }
  @$pb.TagNumber(4)
  $core.bool hasMovement() => $_has(3);
  @$pb.TagNumber(4)
  void clearMovement() => $_clearField(4);
  @$pb.TagNumber(4)
  $76.StockMovement ensureMovement() => $_ensure(3);

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

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

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.EventHeader v) { $_setField(1, v); }
  @$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 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)
  MovementGeneratedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(MovementGeneratedPayload v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  MovementGeneratedPayload ensurePayload() => $_ensure(2);
}

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

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

  $pb.BuilderInfo get info_ => _i;

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

  /// Header of the event request
  @$pb.TagNumber(1)
  $3.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestProjectHeader v) { $_setField(1, v); }
  @$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)
  MovementGeneratedPayload get payload => $_getN(1);
  @$pb.TagNumber(3)
  set payload(MovementGeneratedPayload v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(1);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  MovementGeneratedPayload ensurePayload() => $_ensure(1);

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

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

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

  $pb.BuilderInfo get info_ => _i;

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

  /// Header of the response
  @$pb.TagNumber(1)
  $3.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.ResponseHeader v) { $_setField(1, v); }
  @$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 movement the request event was applied on
  @$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);
}

///
/// StockValueUpdated : this message tells what the stock value was just after the movement is registered
class MovementStockValueUpdatedPayload extends $pb.GeneratedMessage {
  factory MovementStockValueUpdatedPayload({
    $76.QuantityInLV? quantityInBaseLV,
  }) {
    final $result = create();
    if (quantityInBaseLV != null) {
      $result.quantityInBaseLV = quantityInBaseLV;
    }
    return $result;
  }
  MovementStockValueUpdatedPayload._() : super();
  factory MovementStockValueUpdatedPayload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory MovementStockValueUpdatedPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

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

  $pb.BuilderInfo get info_ => _i;

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

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

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

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.EventHeader v) { $_setField(1, v); }
  @$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 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)
  MovementStockValueUpdatedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(MovementStockValueUpdatedPayload v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  MovementStockValueUpdatedPayload ensurePayload() => $_ensure(2);
}

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

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestProjectHeader v) { $_setField(1, v); }
  @$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 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)
  MovementStockValueUpdatedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(MovementStockValueUpdatedPayload v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  MovementStockValueUpdatedPayload ensurePayload() => $_ensure(2);
}

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

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.ResponseHeader v) { $_setField(1, v); }
  @$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 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);
}

class MovementClaimAddedPayload extends $pb.GeneratedMessage {
  factory MovementClaimAddedPayload({
    $core.Iterable<$3.ClaimSummary>? claims,
  }) {
    final $result = create();
    if (claims != null) {
      $result.claims.addAll(claims);
    }
    return $result;
  }
  MovementClaimAddedPayload._() : super();
  factory MovementClaimAddedPayload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory MovementClaimAddedPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $pb.PbList<$3.ClaimSummary> get claims => $_getList(0);
}

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

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.EventHeader v) { $_setField(1, v); }
  @$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 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)
  MovementClaimAddedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(MovementClaimAddedPayload v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  MovementClaimAddedPayload ensurePayload() => $_ensure(2);
}

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

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestProjectHeader v) { $_setField(1, v); }
  @$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 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)
  MovementClaimAddedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(MovementClaimAddedPayload v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  MovementClaimAddedPayload ensurePayload() => $_ensure(2);
}

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

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.ResponseHeader v) { $_setField(1, v); }
  @$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 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);
}

///
/// AttachmentAdded : this message tells that an attachment is added for the handlingUnit
class MovementAttachmentAddedPayload extends $pb.GeneratedMessage {
  factory MovementAttachmentAddedPayload({
    $core.Iterable<$3.AttachmentSummary>? attachments,
  }) {
    final $result = create();
    if (attachments != null) {
      $result.attachments.addAll(attachments);
    }
    return $result;
  }
  MovementAttachmentAddedPayload._() : super();
  factory MovementAttachmentAddedPayload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory MovementAttachmentAddedPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $pb.PbList<$3.AttachmentSummary> get attachments => $_getList(0);
}

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

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.EventHeader v) { $_setField(1, v); }
  @$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 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)
  MovementAttachmentAddedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(MovementAttachmentAddedPayload v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  MovementAttachmentAddedPayload ensurePayload() => $_ensure(2);
}

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

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestProjectHeader v) { $_setField(1, v); }
  @$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 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)
  MovementAttachmentAddedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(MovementAttachmentAddedPayload v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  MovementAttachmentAddedPayload ensurePayload() => $_ensure(2);
}

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

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.ResponseHeader v) { $_setField(1, v); }
  @$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 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);
}

///
/// AttachmentRemoved : this message tells that an attachment is removed for the handlingUnit
class MovementAttachmentRemovedPayload extends $pb.GeneratedMessage {
  factory MovementAttachmentRemovedPayload({
    $core.Iterable<$3.AttachmentSummary>? attachments,
  }) {
    final $result = create();
    if (attachments != null) {
      $result.attachments.addAll(attachments);
    }
    return $result;
  }
  MovementAttachmentRemovedPayload._() : super();
  factory MovementAttachmentRemovedPayload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory MovementAttachmentRemovedPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $pb.PbList<$3.AttachmentSummary> get attachments => $_getList(0);
}

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

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.EventHeader v) { $_setField(1, v); }
  @$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 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)
  MovementAttachmentRemovedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(MovementAttachmentRemovedPayload v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  MovementAttachmentRemovedPayload ensurePayload() => $_ensure(2);
}

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

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestProjectHeader v) { $_setField(1, v); }
  @$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 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)
  MovementAttachmentRemovedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(MovementAttachmentRemovedPayload v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  MovementAttachmentRemovedPayload ensurePayload() => $_ensure(2);
}

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

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.ResponseHeader v) { $_setField(1, v); }
  @$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 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);
}

/// Event Payload
class MovementDeletedPayload extends $pb.GeneratedMessage {
  factory MovementDeletedPayload() => create();
  MovementDeletedPayload._() : super();
  factory MovementDeletedPayload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory MovementDeletedPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

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

  $pb.BuilderInfo get info_ => _i;

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

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

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.EventHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.EventHeader v) { $_setField(1, v); }
  @$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 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)
  MovementDeletedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(MovementDeletedPayload v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  MovementDeletedPayload ensurePayload() => $_ensure(2);
}

/// API Request
class MovementDeletedRequest extends $pb.GeneratedMessage {
  factory MovementDeletedRequest({
    $3.RequestProjectHeader? header,
    $3.EntityID? iD,
    MovementDeletedPayload? payload,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (iD != null) {
      $result.iD = iD;
    }
    if (payload != null) {
      $result.payload = payload;
    }
    return $result;
  }
  MovementDeletedRequest._() : super();
  factory MovementDeletedRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory MovementDeletedRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.RequestProjectHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.RequestProjectHeader v) { $_setField(1, v); }
  @$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 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)
  MovementDeletedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(MovementDeletedPayload v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasPayload() => $_has(2);
  @$pb.TagNumber(3)
  void clearPayload() => $_clearField(3);
  @$pb.TagNumber(3)
  MovementDeletedPayload ensurePayload() => $_ensure(2);
}

/// API Response
class MovementDeletedResponse extends $pb.GeneratedMessage {
  factory MovementDeletedResponse({
    $3.ResponseHeader? header,
    $3.EntityID? iD,
  }) {
    final $result = create();
    if (header != null) {
      $result.header = header;
    }
    if (iD != null) {
      $result.iD = iD;
    }
    return $result;
  }
  MovementDeletedResponse._() : super();
  factory MovementDeletedResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory MovementDeletedResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.ResponseHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.ResponseHeader v) { $_setField(1, v); }
  @$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 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);
}


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