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

// @dart = 3.3

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

import 'dart:core' as $core;

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

import 'actor.pb.dart' as $2;
import 'shared.pb.dart' as $3;
import 'warehousingShared.pb.dart' as $1;

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

///
/// 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({
    $1.EnrichedGoods? goods,
    $core.String? actorID,
    $2.ActorPayload? actor,
    $1.StockMovement? movement,
  }) {
    final result = create();
    if (goods != null) result.goods = goods;
    if (actorID != null) result.actorID = actorID;
    if (actor != null) result.actor = actor;
    if (movement != null) result.movement = movement;
    return result;
  }

  MovementCreatedPayload._();

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

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

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

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

  @$core.pragma('dart2js:noInline')
  static MovementCreatedPayload create() => MovementCreatedPayload._();
  @$core.override
  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)
  $1.EnrichedGoods get goods => $_getN(0);
  @$pb.TagNumber(1)
  set goods($1.EnrichedGoods value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasGoods() => $_has(0);
  @$pb.TagNumber(1)
  void clearGoods() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.EnrichedGoods ensureGoods() => $_ensure(0);

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

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

  @$pb.TagNumber(4)
  $1.StockMovement get movement => $_getN(3);
  @$pb.TagNumber(4)
  set movement($1.StockMovement value) => $_setField(4, value);
  @$pb.TagNumber(4)
  $core.bool hasMovement() => $_has(3);
  @$pb.TagNumber(4)
  void clearMovement() => $_clearField(4);
  @$pb.TagNumber(4)
  $1.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._();

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

  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('See https://github.com/google/protobuf.dart/issues/998.')
  MovementCreatedEvent clone() => MovementCreatedEvent()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  MovementCreatedEvent copyWith(void Function(MovementCreatedEvent) updates) => super.copyWith((message) => updates(message as MovementCreatedEvent)) as MovementCreatedEvent;

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

  @$core.pragma('dart2js:noInline')
  static MovementCreatedEvent create() => MovementCreatedEvent._();
  @$core.override
  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 value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.EventHeader ensureHeader() => $_ensure(0);

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

  @$pb.TagNumber(3)
  MovementCreatedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(MovementCreatedPayload value) => $_setField(3, value);
  @$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._();

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

  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('See https://github.com/google/protobuf.dart/issues/998.')
  MovementCreatedRequest clone() => MovementCreatedRequest()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  MovementCreatedRequest copyWith(void Function(MovementCreatedRequest) updates) => super.copyWith((message) => updates(message as MovementCreatedRequest)) as MovementCreatedRequest;

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

  @$core.pragma('dart2js:noInline')
  static MovementCreatedRequest create() => MovementCreatedRequest._();
  @$core.override
  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 value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestProjectHeader ensureHeader() => $_ensure(0);

  /// Content of the event request
  @$pb.TagNumber(3)
  MovementCreatedPayload get payload => $_getN(1);
  @$pb.TagNumber(3)
  set payload(MovementCreatedPayload value) => $_setField(3, value);
  @$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 value) => $_setField(4, value);
  @$pb.TagNumber(4)
  $core.bool hasID() => $_has(2);
  @$pb.TagNumber(4)
  void clearID() => $_clearField(4);
  @$pb.TagNumber(4)
  $3.NoID ensureID() => $_ensure(2);
}

class 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._();

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

  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('See https://github.com/google/protobuf.dart/issues/998.')
  MovementCreatedResponse clone() => MovementCreatedResponse()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  MovementCreatedResponse copyWith(void Function(MovementCreatedResponse) updates) => super.copyWith((message) => updates(message as MovementCreatedResponse)) as MovementCreatedResponse;

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

  @$core.pragma('dart2js:noInline')
  static MovementCreatedResponse create() => MovementCreatedResponse._();
  @$core.override
  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 value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.ResponseHeader ensureHeader() => $_ensure(0);

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

///
/// 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({
    $1.EnrichedGoods? goods,
    $core.String? actorID,
    $2.ActorPayload? actor,
    $1.StockMovement? movement,
    $1.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._();

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

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

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

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

  @$core.pragma('dart2js:noInline')
  static MovementGeneratedPayload create() => MovementGeneratedPayload._();
  @$core.override
  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)
  $1.EnrichedGoods get goods => $_getN(0);
  @$pb.TagNumber(1)
  set goods($1.EnrichedGoods value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasGoods() => $_has(0);
  @$pb.TagNumber(1)
  void clearGoods() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.EnrichedGoods ensureGoods() => $_ensure(0);

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

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

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

  @$pb.TagNumber(8)
  $1.QuantityInLV get quantityInBaseLV => $_getN(4);
  @$pb.TagNumber(8)
  set quantityInBaseLV($1.QuantityInLV value) => $_setField(8, value);
  @$pb.TagNumber(8)
  $core.bool hasQuantityInBaseLV() => $_has(4);
  @$pb.TagNumber(8)
  void clearQuantityInBaseLV() => $_clearField(8);
  @$pb.TagNumber(8)
  $1.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._();

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

  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('See https://github.com/google/protobuf.dart/issues/998.')
  MovementGeneratedEvent clone() => MovementGeneratedEvent()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  MovementGeneratedEvent copyWith(void Function(MovementGeneratedEvent) updates) => super.copyWith((message) => updates(message as MovementGeneratedEvent)) as MovementGeneratedEvent;

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

  @$core.pragma('dart2js:noInline')
  static MovementGeneratedEvent create() => MovementGeneratedEvent._();
  @$core.override
  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 value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.EventHeader ensureHeader() => $_ensure(0);

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

  @$pb.TagNumber(3)
  MovementGeneratedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(MovementGeneratedPayload value) => $_setField(3, value);
  @$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._();

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

  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('See https://github.com/google/protobuf.dart/issues/998.')
  MovementGeneratedRequest clone() => MovementGeneratedRequest()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  MovementGeneratedRequest copyWith(void Function(MovementGeneratedRequest) updates) => super.copyWith((message) => updates(message as MovementGeneratedRequest)) as MovementGeneratedRequest;

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

  @$core.pragma('dart2js:noInline')
  static MovementGeneratedRequest create() => MovementGeneratedRequest._();
  @$core.override
  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 value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestProjectHeader ensureHeader() => $_ensure(0);

  /// Content of the event request
  @$pb.TagNumber(3)
  MovementGeneratedPayload get payload => $_getN(1);
  @$pb.TagNumber(3)
  set payload(MovementGeneratedPayload value) => $_setField(3, value);
  @$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 value) => $_setField(4, value);
  @$pb.TagNumber(4)
  $core.bool hasID() => $_has(2);
  @$pb.TagNumber(4)
  void clearID() => $_clearField(4);
  @$pb.TagNumber(4)
  $3.NoID ensureID() => $_ensure(2);
}

class 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._();

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

  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('See https://github.com/google/protobuf.dart/issues/998.')
  MovementGeneratedResponse clone() => MovementGeneratedResponse()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  MovementGeneratedResponse copyWith(void Function(MovementGeneratedResponse) updates) => super.copyWith((message) => updates(message as MovementGeneratedResponse)) as MovementGeneratedResponse;

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

  @$core.pragma('dart2js:noInline')
  static MovementGeneratedResponse create() => MovementGeneratedResponse._();
  @$core.override
  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 value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.ResponseHeader ensureHeader() => $_ensure(0);

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

///
/// StockValueUpdated : this message tells what the stock value was just after the movement is registered
class MovementStockValueUpdatedPayload extends $pb.GeneratedMessage {
  factory MovementStockValueUpdatedPayload({
    $1.QuantityInLV? quantityInBaseLV,
  }) {
    final result = create();
    if (quantityInBaseLV != null) result.quantityInBaseLV = quantityInBaseLV;
    return result;
  }

  MovementStockValueUpdatedPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MovementStockValueUpdatedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.QuantityInLV>(1, _omitFieldNames ? '' : 'QuantityInBaseLV', protoName: 'QuantityInBaseLV', subBuilder: $1.QuantityInLV.create)
    ..hasRequiredFields = false
  ;

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

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

  @$core.pragma('dart2js:noInline')
  static MovementStockValueUpdatedPayload create() => MovementStockValueUpdatedPayload._();
  @$core.override
  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)
  $1.QuantityInLV get quantityInBaseLV => $_getN(0);
  @$pb.TagNumber(1)
  set quantityInBaseLV($1.QuantityInLV value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasQuantityInBaseLV() => $_has(0);
  @$pb.TagNumber(1)
  void clearQuantityInBaseLV() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.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._();

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

  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('See https://github.com/google/protobuf.dart/issues/998.')
  MovementStockValueUpdatedEvent clone() => MovementStockValueUpdatedEvent()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  MovementStockValueUpdatedEvent copyWith(void Function(MovementStockValueUpdatedEvent) updates) => super.copyWith((message) => updates(message as MovementStockValueUpdatedEvent)) as MovementStockValueUpdatedEvent;

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

  @$core.pragma('dart2js:noInline')
  static MovementStockValueUpdatedEvent create() => MovementStockValueUpdatedEvent._();
  @$core.override
  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 value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.EventHeader ensureHeader() => $_ensure(0);

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

  @$pb.TagNumber(3)
  MovementStockValueUpdatedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(MovementStockValueUpdatedPayload value) => $_setField(3, value);
  @$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._();

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

  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('See https://github.com/google/protobuf.dart/issues/998.')
  MovementStockValueUpdatedRequest clone() => MovementStockValueUpdatedRequest()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  MovementStockValueUpdatedRequest copyWith(void Function(MovementStockValueUpdatedRequest) updates) => super.copyWith((message) => updates(message as MovementStockValueUpdatedRequest)) as MovementStockValueUpdatedRequest;

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

  @$core.pragma('dart2js:noInline')
  static MovementStockValueUpdatedRequest create() => MovementStockValueUpdatedRequest._();
  @$core.override
  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 value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestProjectHeader ensureHeader() => $_ensure(0);

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

  @$pb.TagNumber(3)
  MovementStockValueUpdatedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(MovementStockValueUpdatedPayload value) => $_setField(3, value);
  @$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._();

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

  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('See https://github.com/google/protobuf.dart/issues/998.')
  MovementStockValueUpdatedResponse clone() => MovementStockValueUpdatedResponse()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  MovementStockValueUpdatedResponse copyWith(void Function(MovementStockValueUpdatedResponse) updates) => super.copyWith((message) => updates(message as MovementStockValueUpdatedResponse)) as MovementStockValueUpdatedResponse;

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

  @$core.pragma('dart2js:noInline')
  static MovementStockValueUpdatedResponse create() => MovementStockValueUpdatedResponse._();
  @$core.override
  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 value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.ResponseHeader ensureHeader() => $_ensure(0);

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

class MovementClaimAddedPayload extends $pb.GeneratedMessage {
  factory MovementClaimAddedPayload({
    $core.Iterable<$3.ClaimSummary>? claims,
  }) {
    final result = create();
    if (claims != null) result.claims.addAll(claims);
    return result;
  }

  MovementClaimAddedPayload._();

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

  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('See https://github.com/google/protobuf.dart/issues/998.')
  MovementClaimAddedPayload clone() => MovementClaimAddedPayload()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  MovementClaimAddedPayload copyWith(void Function(MovementClaimAddedPayload) updates) => super.copyWith((message) => updates(message as MovementClaimAddedPayload)) as MovementClaimAddedPayload;

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

  @$core.pragma('dart2js:noInline')
  static MovementClaimAddedPayload create() => MovementClaimAddedPayload._();
  @$core.override
  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._();

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

  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('See https://github.com/google/protobuf.dart/issues/998.')
  MovementClaimAddedEvent clone() => MovementClaimAddedEvent()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  MovementClaimAddedEvent copyWith(void Function(MovementClaimAddedEvent) updates) => super.copyWith((message) => updates(message as MovementClaimAddedEvent)) as MovementClaimAddedEvent;

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

  @$core.pragma('dart2js:noInline')
  static MovementClaimAddedEvent create() => MovementClaimAddedEvent._();
  @$core.override
  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 value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.EventHeader ensureHeader() => $_ensure(0);

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

  @$pb.TagNumber(3)
  MovementClaimAddedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(MovementClaimAddedPayload value) => $_setField(3, value);
  @$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._();

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

  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('See https://github.com/google/protobuf.dart/issues/998.')
  MovementClaimAddedRequest clone() => MovementClaimAddedRequest()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  MovementClaimAddedRequest copyWith(void Function(MovementClaimAddedRequest) updates) => super.copyWith((message) => updates(message as MovementClaimAddedRequest)) as MovementClaimAddedRequest;

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

  @$core.pragma('dart2js:noInline')
  static MovementClaimAddedRequest create() => MovementClaimAddedRequest._();
  @$core.override
  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 value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestProjectHeader ensureHeader() => $_ensure(0);

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

  @$pb.TagNumber(3)
  MovementClaimAddedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(MovementClaimAddedPayload value) => $_setField(3, value);
  @$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._();

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

  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('See https://github.com/google/protobuf.dart/issues/998.')
  MovementClaimAddedResponse clone() => MovementClaimAddedResponse()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  MovementClaimAddedResponse copyWith(void Function(MovementClaimAddedResponse) updates) => super.copyWith((message) => updates(message as MovementClaimAddedResponse)) as MovementClaimAddedResponse;

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

  @$core.pragma('dart2js:noInline')
  static MovementClaimAddedResponse create() => MovementClaimAddedResponse._();
  @$core.override
  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 value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.ResponseHeader ensureHeader() => $_ensure(0);

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

///
/// 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._();

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

  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('See https://github.com/google/protobuf.dart/issues/998.')
  MovementAttachmentAddedPayload clone() => MovementAttachmentAddedPayload()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  MovementAttachmentAddedPayload copyWith(void Function(MovementAttachmentAddedPayload) updates) => super.copyWith((message) => updates(message as MovementAttachmentAddedPayload)) as MovementAttachmentAddedPayload;

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

  @$core.pragma('dart2js:noInline')
  static MovementAttachmentAddedPayload create() => MovementAttachmentAddedPayload._();
  @$core.override
  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._();

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

  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('See https://github.com/google/protobuf.dart/issues/998.')
  MovementAttachmentAddedEvent clone() => MovementAttachmentAddedEvent()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  MovementAttachmentAddedEvent copyWith(void Function(MovementAttachmentAddedEvent) updates) => super.copyWith((message) => updates(message as MovementAttachmentAddedEvent)) as MovementAttachmentAddedEvent;

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

  @$core.pragma('dart2js:noInline')
  static MovementAttachmentAddedEvent create() => MovementAttachmentAddedEvent._();
  @$core.override
  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 value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.EventHeader ensureHeader() => $_ensure(0);

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

  @$pb.TagNumber(3)
  MovementAttachmentAddedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(MovementAttachmentAddedPayload value) => $_setField(3, value);
  @$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._();

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

  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('See https://github.com/google/protobuf.dart/issues/998.')
  MovementAttachmentAddedRequest clone() => MovementAttachmentAddedRequest()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  MovementAttachmentAddedRequest copyWith(void Function(MovementAttachmentAddedRequest) updates) => super.copyWith((message) => updates(message as MovementAttachmentAddedRequest)) as MovementAttachmentAddedRequest;

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

  @$core.pragma('dart2js:noInline')
  static MovementAttachmentAddedRequest create() => MovementAttachmentAddedRequest._();
  @$core.override
  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 value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestProjectHeader ensureHeader() => $_ensure(0);

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

  @$pb.TagNumber(3)
  MovementAttachmentAddedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(MovementAttachmentAddedPayload value) => $_setField(3, value);
  @$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._();

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

  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('See https://github.com/google/protobuf.dart/issues/998.')
  MovementAttachmentAddedResponse clone() => MovementAttachmentAddedResponse()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  MovementAttachmentAddedResponse copyWith(void Function(MovementAttachmentAddedResponse) updates) => super.copyWith((message) => updates(message as MovementAttachmentAddedResponse)) as MovementAttachmentAddedResponse;

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

  @$core.pragma('dart2js:noInline')
  static MovementAttachmentAddedResponse create() => MovementAttachmentAddedResponse._();
  @$core.override
  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 value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.ResponseHeader ensureHeader() => $_ensure(0);

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

///
/// 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._();

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

  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('See https://github.com/google/protobuf.dart/issues/998.')
  MovementAttachmentRemovedPayload clone() => MovementAttachmentRemovedPayload()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  MovementAttachmentRemovedPayload copyWith(void Function(MovementAttachmentRemovedPayload) updates) => super.copyWith((message) => updates(message as MovementAttachmentRemovedPayload)) as MovementAttachmentRemovedPayload;

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

  @$core.pragma('dart2js:noInline')
  static MovementAttachmentRemovedPayload create() => MovementAttachmentRemovedPayload._();
  @$core.override
  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._();

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

  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('See https://github.com/google/protobuf.dart/issues/998.')
  MovementAttachmentRemovedEvent clone() => MovementAttachmentRemovedEvent()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  MovementAttachmentRemovedEvent copyWith(void Function(MovementAttachmentRemovedEvent) updates) => super.copyWith((message) => updates(message as MovementAttachmentRemovedEvent)) as MovementAttachmentRemovedEvent;

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

  @$core.pragma('dart2js:noInline')
  static MovementAttachmentRemovedEvent create() => MovementAttachmentRemovedEvent._();
  @$core.override
  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 value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.EventHeader ensureHeader() => $_ensure(0);

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

  @$pb.TagNumber(3)
  MovementAttachmentRemovedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(MovementAttachmentRemovedPayload value) => $_setField(3, value);
  @$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._();

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

  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('See https://github.com/google/protobuf.dart/issues/998.')
  MovementAttachmentRemovedRequest clone() => MovementAttachmentRemovedRequest()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  MovementAttachmentRemovedRequest copyWith(void Function(MovementAttachmentRemovedRequest) updates) => super.copyWith((message) => updates(message as MovementAttachmentRemovedRequest)) as MovementAttachmentRemovedRequest;

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

  @$core.pragma('dart2js:noInline')
  static MovementAttachmentRemovedRequest create() => MovementAttachmentRemovedRequest._();
  @$core.override
  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 value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestProjectHeader ensureHeader() => $_ensure(0);

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

  @$pb.TagNumber(3)
  MovementAttachmentRemovedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(MovementAttachmentRemovedPayload value) => $_setField(3, value);
  @$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._();

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

  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('See https://github.com/google/protobuf.dart/issues/998.')
  MovementAttachmentRemovedResponse clone() => MovementAttachmentRemovedResponse()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  MovementAttachmentRemovedResponse copyWith(void Function(MovementAttachmentRemovedResponse) updates) => super.copyWith((message) => updates(message as MovementAttachmentRemovedResponse)) as MovementAttachmentRemovedResponse;

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

  @$core.pragma('dart2js:noInline')
  static MovementAttachmentRemovedResponse create() => MovementAttachmentRemovedResponse._();
  @$core.override
  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 value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.ResponseHeader ensureHeader() => $_ensure(0);

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

/// Event Payload
class MovementDeletedPayload extends $pb.GeneratedMessage {
  factory MovementDeletedPayload() => create();

  MovementDeletedPayload._();

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

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

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

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

  @$core.pragma('dart2js:noInline')
  static MovementDeletedPayload create() => MovementDeletedPayload._();
  @$core.override
  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._();

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

  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('See https://github.com/google/protobuf.dart/issues/998.')
  MovementDeletedEvent clone() => MovementDeletedEvent()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  MovementDeletedEvent copyWith(void Function(MovementDeletedEvent) updates) => super.copyWith((message) => updates(message as MovementDeletedEvent)) as MovementDeletedEvent;

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

  @$core.pragma('dart2js:noInline')
  static MovementDeletedEvent create() => MovementDeletedEvent._();
  @$core.override
  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 value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.EventHeader ensureHeader() => $_ensure(0);

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

  @$pb.TagNumber(3)
  MovementDeletedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(MovementDeletedPayload value) => $_setField(3, value);
  @$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._();

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

  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('See https://github.com/google/protobuf.dart/issues/998.')
  MovementDeletedRequest clone() => MovementDeletedRequest()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  MovementDeletedRequest copyWith(void Function(MovementDeletedRequest) updates) => super.copyWith((message) => updates(message as MovementDeletedRequest)) as MovementDeletedRequest;

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

  @$core.pragma('dart2js:noInline')
  static MovementDeletedRequest create() => MovementDeletedRequest._();
  @$core.override
  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 value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.RequestProjectHeader ensureHeader() => $_ensure(0);

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

  @$pb.TagNumber(3)
  MovementDeletedPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(MovementDeletedPayload value) => $_setField(3, value);
  @$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._();

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

  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('See https://github.com/google/protobuf.dart/issues/998.')
  MovementDeletedResponse clone() => MovementDeletedResponse()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  MovementDeletedResponse copyWith(void Function(MovementDeletedResponse) updates) => super.copyWith((message) => updates(message as MovementDeletedResponse)) as MovementDeletedResponse;

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

  @$core.pragma('dart2js:noInline')
  static MovementDeletedResponse create() => MovementDeletedResponse._();
  @$core.override
  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 value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.ResponseHeader ensureHeader() => $_ensure(0);

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

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

  MovementSanitisedPayload._();

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

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

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

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

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

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

  MovementSanitisedEvent._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MovementSanitisedEvent', 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<MovementSanitisedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: MovementSanitisedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

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

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

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

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

  MovementSanitisedRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MovementSanitisedRequest', 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<MovementSanitisedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: MovementSanitisedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

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

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

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

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

  MovementSanitisedResponse._();

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

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

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

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

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

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

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

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

  MovementCustomFieldsUpdatedPayload._();

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

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

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

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

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

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

  MovementCustomFieldsUpdatedEvent._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MovementCustomFieldsUpdatedEvent', 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<MovementCustomFieldsUpdatedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: MovementCustomFieldsUpdatedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

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

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

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

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

  MovementCustomFieldsUpdatedRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MovementCustomFieldsUpdatedRequest', 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<MovementCustomFieldsUpdatedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: MovementCustomFieldsUpdatedPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

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

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

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

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

  MovementCustomFieldsUpdatedResponse._();

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

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

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

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

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

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

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


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