// This is a generated file - do not edit.
//
// Generated from claimAction.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 'collabShared.pb.dart' as $0;
import 'shared.pb.dart' as $1;

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

///
/// Notify : Push the claim event to notification
class ClaimNotifyPayload extends $pb.GeneratedMessage {
  factory ClaimNotifyPayload({
    $core.Iterable<$core.String>? assignees,
    $0.ClaimStatusStruct? status,
    $core.Iterable<$core.String>? removedAssignees,
    $1.Amount? amount,
    $1.ClaimCriticality? criticality,
    $core.String? endComment,
    $1.ClaimClosure? closure,
    $core.Iterable<$core.String>? addedAssignees,
    $core.String? reason,
    $1.ClaimEntityType? entityType,
    $core.String? entityID,
    $core.String? title,
    $core.Iterable<$1.MetadataElement>? metaData,
    $core.String? displayID,
    $core.String? message,
  }) {
    final result = create();
    if (assignees != null) result.assignees.addAll(assignees);
    if (status != null) result.status = status;
    if (removedAssignees != null) result.removedAssignees.addAll(removedAssignees);
    if (amount != null) result.amount = amount;
    if (criticality != null) result.criticality = criticality;
    if (endComment != null) result.endComment = endComment;
    if (closure != null) result.closure = closure;
    if (addedAssignees != null) result.addedAssignees.addAll(addedAssignees);
    if (reason != null) result.reason = reason;
    if (entityType != null) result.entityType = entityType;
    if (entityID != null) result.entityID = entityID;
    if (title != null) result.title = title;
    if (metaData != null) result.metaData.addAll(metaData);
    if (displayID != null) result.displayID = displayID;
    if (message != null) result.message = message;
    return result;
  }

  ClaimNotifyPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ClaimNotifyPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..pPS(1, _omitFieldNames ? '' : 'Assignees', protoName: 'Assignees')
    ..aOM<$0.ClaimStatusStruct>(2, _omitFieldNames ? '' : 'Status', protoName: 'Status', subBuilder: $0.ClaimStatusStruct.create)
    ..pPS(3, _omitFieldNames ? '' : 'RemovedAssignees', protoName: 'RemovedAssignees')
    ..aOM<$1.Amount>(4, _omitFieldNames ? '' : 'Amount', protoName: 'Amount', subBuilder: $1.Amount.create)
    ..e<$1.ClaimCriticality>(5, _omitFieldNames ? '' : 'Criticality', $pb.PbFieldType.OE, protoName: 'Criticality', defaultOrMaker: $1.ClaimCriticality.CLAIM_CRITICALITY_UNKNOWN, valueOf: $1.ClaimCriticality.valueOf, enumValues: $1.ClaimCriticality.values)
    ..aOS(6, _omitFieldNames ? '' : 'EndComment', protoName: 'EndComment')
    ..aOM<$1.ClaimClosure>(7, _omitFieldNames ? '' : 'Closure', protoName: 'Closure', subBuilder: $1.ClaimClosure.create)
    ..pPS(8, _omitFieldNames ? '' : 'AddedAssignees', protoName: 'AddedAssignees')
    ..aOS(9, _omitFieldNames ? '' : 'Reason', protoName: 'Reason')
    ..e<$1.ClaimEntityType>(10, _omitFieldNames ? '' : 'EntityType', $pb.PbFieldType.OE, protoName: 'EntityType', defaultOrMaker: $1.ClaimEntityType.CLAIM_ENTITY_TYPE_UNKNOWN, valueOf: $1.ClaimEntityType.valueOf, enumValues: $1.ClaimEntityType.values)
    ..aOS(11, _omitFieldNames ? '' : 'EntityID', protoName: 'EntityID')
    ..aOS(12, _omitFieldNames ? '' : 'Title', protoName: 'Title')
    ..pc<$1.MetadataElement>(13, _omitFieldNames ? '' : 'MetaData', $pb.PbFieldType.PM, protoName: 'MetaData', subBuilder: $1.MetadataElement.create)
    ..aOS(14, _omitFieldNames ? '' : 'DisplayID', protoName: 'DisplayID')
    ..aOS(15, _omitFieldNames ? '' : 'Message', protoName: 'Message')
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $pb.PbList<$core.String> get assignees => $_getList(0);

  @$pb.TagNumber(2)
  $0.ClaimStatusStruct get status => $_getN(1);
  @$pb.TagNumber(2)
  set status($0.ClaimStatusStruct value) => $_setField(2, value);
  @$pb.TagNumber(2)
  $core.bool hasStatus() => $_has(1);
  @$pb.TagNumber(2)
  void clearStatus() => $_clearField(2);
  @$pb.TagNumber(2)
  $0.ClaimStatusStruct ensureStatus() => $_ensure(1);

  @$pb.TagNumber(3)
  $pb.PbList<$core.String> get removedAssignees => $_getList(2);

  @$pb.TagNumber(4)
  $1.Amount get amount => $_getN(3);
  @$pb.TagNumber(4)
  set amount($1.Amount value) => $_setField(4, value);
  @$pb.TagNumber(4)
  $core.bool hasAmount() => $_has(3);
  @$pb.TagNumber(4)
  void clearAmount() => $_clearField(4);
  @$pb.TagNumber(4)
  $1.Amount ensureAmount() => $_ensure(3);

  @$pb.TagNumber(5)
  $1.ClaimCriticality get criticality => $_getN(4);
  @$pb.TagNumber(5)
  set criticality($1.ClaimCriticality value) => $_setField(5, value);
  @$pb.TagNumber(5)
  $core.bool hasCriticality() => $_has(4);
  @$pb.TagNumber(5)
  void clearCriticality() => $_clearField(5);

  @$pb.TagNumber(6)
  $core.String get endComment => $_getSZ(5);
  @$pb.TagNumber(6)
  set endComment($core.String value) => $_setString(5, value);
  @$pb.TagNumber(6)
  $core.bool hasEndComment() => $_has(5);
  @$pb.TagNumber(6)
  void clearEndComment() => $_clearField(6);

  @$pb.TagNumber(7)
  $1.ClaimClosure get closure => $_getN(6);
  @$pb.TagNumber(7)
  set closure($1.ClaimClosure value) => $_setField(7, value);
  @$pb.TagNumber(7)
  $core.bool hasClosure() => $_has(6);
  @$pb.TagNumber(7)
  void clearClosure() => $_clearField(7);
  @$pb.TagNumber(7)
  $1.ClaimClosure ensureClosure() => $_ensure(6);

  @$pb.TagNumber(8)
  $pb.PbList<$core.String> get addedAssignees => $_getList(7);

  @$pb.TagNumber(9)
  $core.String get reason => $_getSZ(8);
  @$pb.TagNumber(9)
  set reason($core.String value) => $_setString(8, value);
  @$pb.TagNumber(9)
  $core.bool hasReason() => $_has(8);
  @$pb.TagNumber(9)
  void clearReason() => $_clearField(9);

  @$pb.TagNumber(10)
  $1.ClaimEntityType get entityType => $_getN(9);
  @$pb.TagNumber(10)
  set entityType($1.ClaimEntityType value) => $_setField(10, value);
  @$pb.TagNumber(10)
  $core.bool hasEntityType() => $_has(9);
  @$pb.TagNumber(10)
  void clearEntityType() => $_clearField(10);

  @$pb.TagNumber(11)
  $core.String get entityID => $_getSZ(10);
  @$pb.TagNumber(11)
  set entityID($core.String value) => $_setString(10, value);
  @$pb.TagNumber(11)
  $core.bool hasEntityID() => $_has(10);
  @$pb.TagNumber(11)
  void clearEntityID() => $_clearField(11);

  @$pb.TagNumber(12)
  $core.String get title => $_getSZ(11);
  @$pb.TagNumber(12)
  set title($core.String value) => $_setString(11, value);
  @$pb.TagNumber(12)
  $core.bool hasTitle() => $_has(11);
  @$pb.TagNumber(12)
  void clearTitle() => $_clearField(12);

  @$pb.TagNumber(13)
  $pb.PbList<$1.MetadataElement> get metaData => $_getList(12);

  @$pb.TagNumber(14)
  $core.String get displayID => $_getSZ(13);
  @$pb.TagNumber(14)
  set displayID($core.String value) => $_setString(13, value);
  @$pb.TagNumber(14)
  $core.bool hasDisplayID() => $_has(13);
  @$pb.TagNumber(14)
  void clearDisplayID() => $_clearField(14);

  @$pb.TagNumber(15)
  $core.String get message => $_getSZ(14);
  @$pb.TagNumber(15)
  set message($core.String value) => $_setString(14, value);
  @$pb.TagNumber(15)
  $core.bool hasMessage() => $_has(14);
  @$pb.TagNumber(15)
  void clearMessage() => $_clearField(15);
}

class ClaimNotify extends $pb.GeneratedMessage {
  factory ClaimNotify({
    $1.CommandHeader? header,
    $1.EntityID? iD,
    ClaimNotifyPayload? payload,
    ClaimNotifyPayload? eventPayload,
    ClaimNotifyPayload? previousPayload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    if (eventPayload != null) result.eventPayload = eventPayload;
    if (previousPayload != null) result.previousPayload = previousPayload;
    return result;
  }

  ClaimNotify._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ClaimNotify', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.CommandHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.CommandHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<ClaimNotifyPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: ClaimNotifyPayload.create)
    ..aOM<ClaimNotifyPayload>(4, _omitFieldNames ? '' : 'EventPayload', protoName: 'EventPayload', subBuilder: ClaimNotifyPayload.create)
    ..aOM<ClaimNotifyPayload>(5, _omitFieldNames ? '' : 'PreviousPayload', protoName: 'PreviousPayload', subBuilder: ClaimNotifyPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

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

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

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

  @$pb.TagNumber(4)
  ClaimNotifyPayload get eventPayload => $_getN(3);
  @$pb.TagNumber(4)
  set eventPayload(ClaimNotifyPayload value) => $_setField(4, value);
  @$pb.TagNumber(4)
  $core.bool hasEventPayload() => $_has(3);
  @$pb.TagNumber(4)
  void clearEventPayload() => $_clearField(4);
  @$pb.TagNumber(4)
  ClaimNotifyPayload ensureEventPayload() => $_ensure(3);

  @$pb.TagNumber(5)
  ClaimNotifyPayload get previousPayload => $_getN(4);
  @$pb.TagNumber(5)
  set previousPayload(ClaimNotifyPayload value) => $_setField(5, value);
  @$pb.TagNumber(5)
  $core.bool hasPreviousPayload() => $_has(4);
  @$pb.TagNumber(5)
  void clearPreviousPayload() => $_clearField(5);
  @$pb.TagNumber(5)
  ClaimNotifyPayload ensurePreviousPayload() => $_ensure(4);
}

///
/// PropagateActor : Propagate the created claim on actor
class ClaimPropagateActorPayload extends $pb.GeneratedMessage {
  factory ClaimPropagateActorPayload({
    $core.String? entityID,
    $core.String? claimTypeID,
    $core.String? reason,
    $1.ClaimEntityType? entityType,
  }) {
    final result = create();
    if (entityID != null) result.entityID = entityID;
    if (claimTypeID != null) result.claimTypeID = claimTypeID;
    if (reason != null) result.reason = reason;
    if (entityType != null) result.entityType = entityType;
    return result;
  }

  ClaimPropagateActorPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ClaimPropagateActorPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'EntityID', protoName: 'EntityID')
    ..aOS(2, _omitFieldNames ? '' : 'ClaimTypeID', protoName: 'ClaimTypeID')
    ..aOS(3, _omitFieldNames ? '' : 'Reason', protoName: 'Reason')
    ..e<$1.ClaimEntityType>(4, _omitFieldNames ? '' : 'EntityType', $pb.PbFieldType.OE, protoName: 'EntityType', defaultOrMaker: $1.ClaimEntityType.CLAIM_ENTITY_TYPE_UNKNOWN, valueOf: $1.ClaimEntityType.valueOf, enumValues: $1.ClaimEntityType.values)
    ..hasRequiredFields = false
  ;

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

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

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

  /// Identifier of the Actor
  @$pb.TagNumber(1)
  $core.String get entityID => $_getSZ(0);
  @$pb.TagNumber(1)
  set entityID($core.String value) => $_setString(0, value);
  @$pb.TagNumber(1)
  $core.bool hasEntityID() => $_has(0);
  @$pb.TagNumber(1)
  void clearEntityID() => $_clearField(1);

  /// Identifier of the claim type
  @$pb.TagNumber(2)
  $core.String get claimTypeID => $_getSZ(1);
  @$pb.TagNumber(2)
  set claimTypeID($core.String value) => $_setString(1, value);
  @$pb.TagNumber(2)
  $core.bool hasClaimTypeID() => $_has(1);
  @$pb.TagNumber(2)
  void clearClaimTypeID() => $_clearField(2);

  @$pb.TagNumber(3)
  $core.String get reason => $_getSZ(2);
  @$pb.TagNumber(3)
  set reason($core.String value) => $_setString(2, value);
  @$pb.TagNumber(3)
  $core.bool hasReason() => $_has(2);
  @$pb.TagNumber(3)
  void clearReason() => $_clearField(3);

  @$pb.TagNumber(4)
  $1.ClaimEntityType get entityType => $_getN(3);
  @$pb.TagNumber(4)
  set entityType($1.ClaimEntityType value) => $_setField(4, value);
  @$pb.TagNumber(4)
  $core.bool hasEntityType() => $_has(3);
  @$pb.TagNumber(4)
  void clearEntityType() => $_clearField(4);
}

class ClaimPropagateActor extends $pb.GeneratedMessage {
  factory ClaimPropagateActor({
    $1.CommandHeader? header,
    $1.EntityID? iD,
    ClaimPropagateActorPayload? payload,
    ClaimPropagateActorPayload? eventPayload,
    ClaimPropagateActorPayload? previousPayload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    if (eventPayload != null) result.eventPayload = eventPayload;
    if (previousPayload != null) result.previousPayload = previousPayload;
    return result;
  }

  ClaimPropagateActor._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ClaimPropagateActor', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.CommandHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.CommandHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<ClaimPropagateActorPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: ClaimPropagateActorPayload.create)
    ..aOM<ClaimPropagateActorPayload>(4, _omitFieldNames ? '' : 'EventPayload', protoName: 'EventPayload', subBuilder: ClaimPropagateActorPayload.create)
    ..aOM<ClaimPropagateActorPayload>(5, _omitFieldNames ? '' : 'PreviousPayload', protoName: 'PreviousPayload', subBuilder: ClaimPropagateActorPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

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

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

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

  @$pb.TagNumber(4)
  ClaimPropagateActorPayload get eventPayload => $_getN(3);
  @$pb.TagNumber(4)
  set eventPayload(ClaimPropagateActorPayload value) => $_setField(4, value);
  @$pb.TagNumber(4)
  $core.bool hasEventPayload() => $_has(3);
  @$pb.TagNumber(4)
  void clearEventPayload() => $_clearField(4);
  @$pb.TagNumber(4)
  ClaimPropagateActorPayload ensureEventPayload() => $_ensure(3);

  @$pb.TagNumber(5)
  ClaimPropagateActorPayload get previousPayload => $_getN(4);
  @$pb.TagNumber(5)
  set previousPayload(ClaimPropagateActorPayload value) => $_setField(5, value);
  @$pb.TagNumber(5)
  $core.bool hasPreviousPayload() => $_has(4);
  @$pb.TagNumber(5)
  void clearPreviousPayload() => $_clearField(5);
  @$pb.TagNumber(5)
  ClaimPropagateActorPayload ensurePreviousPayload() => $_ensure(4);
}

///
/// PropagateHandlingunit : Propagate the created claim on actor
class ClaimPropagateHandlingunitPayload extends $pb.GeneratedMessage {
  factory ClaimPropagateHandlingunitPayload({
    $core.String? entityID,
    $core.String? claimTypeID,
    $core.String? reason,
    $1.ClaimEntityType? entityType,
  }) {
    final result = create();
    if (entityID != null) result.entityID = entityID;
    if (claimTypeID != null) result.claimTypeID = claimTypeID;
    if (reason != null) result.reason = reason;
    if (entityType != null) result.entityType = entityType;
    return result;
  }

  ClaimPropagateHandlingunitPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ClaimPropagateHandlingunitPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'EntityID', protoName: 'EntityID')
    ..aOS(2, _omitFieldNames ? '' : 'ClaimTypeID', protoName: 'ClaimTypeID')
    ..aOS(3, _omitFieldNames ? '' : 'Reason', protoName: 'Reason')
    ..e<$1.ClaimEntityType>(4, _omitFieldNames ? '' : 'EntityType', $pb.PbFieldType.OE, protoName: 'EntityType', defaultOrMaker: $1.ClaimEntityType.CLAIM_ENTITY_TYPE_UNKNOWN, valueOf: $1.ClaimEntityType.valueOf, enumValues: $1.ClaimEntityType.values)
    ..hasRequiredFields = false
  ;

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

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

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

  /// Identifier of the Handlingunit
  @$pb.TagNumber(1)
  $core.String get entityID => $_getSZ(0);
  @$pb.TagNumber(1)
  set entityID($core.String value) => $_setString(0, value);
  @$pb.TagNumber(1)
  $core.bool hasEntityID() => $_has(0);
  @$pb.TagNumber(1)
  void clearEntityID() => $_clearField(1);

  /// Identifier of the claim type
  @$pb.TagNumber(2)
  $core.String get claimTypeID => $_getSZ(1);
  @$pb.TagNumber(2)
  set claimTypeID($core.String value) => $_setString(1, value);
  @$pb.TagNumber(2)
  $core.bool hasClaimTypeID() => $_has(1);
  @$pb.TagNumber(2)
  void clearClaimTypeID() => $_clearField(2);

  @$pb.TagNumber(3)
  $core.String get reason => $_getSZ(2);
  @$pb.TagNumber(3)
  set reason($core.String value) => $_setString(2, value);
  @$pb.TagNumber(3)
  $core.bool hasReason() => $_has(2);
  @$pb.TagNumber(3)
  void clearReason() => $_clearField(3);

  @$pb.TagNumber(4)
  $1.ClaimEntityType get entityType => $_getN(3);
  @$pb.TagNumber(4)
  set entityType($1.ClaimEntityType value) => $_setField(4, value);
  @$pb.TagNumber(4)
  $core.bool hasEntityType() => $_has(3);
  @$pb.TagNumber(4)
  void clearEntityType() => $_clearField(4);
}

class ClaimPropagateHandlingunit extends $pb.GeneratedMessage {
  factory ClaimPropagateHandlingunit({
    $1.CommandHeader? header,
    $1.EntityID? iD,
    ClaimPropagateHandlingunitPayload? payload,
    ClaimPropagateHandlingunitPayload? eventPayload,
    ClaimPropagateHandlingunitPayload? previousPayload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    if (eventPayload != null) result.eventPayload = eventPayload;
    if (previousPayload != null) result.previousPayload = previousPayload;
    return result;
  }

  ClaimPropagateHandlingunit._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ClaimPropagateHandlingunit', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.CommandHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.CommandHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<ClaimPropagateHandlingunitPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: ClaimPropagateHandlingunitPayload.create)
    ..aOM<ClaimPropagateHandlingunitPayload>(4, _omitFieldNames ? '' : 'EventPayload', protoName: 'EventPayload', subBuilder: ClaimPropagateHandlingunitPayload.create)
    ..aOM<ClaimPropagateHandlingunitPayload>(5, _omitFieldNames ? '' : 'PreviousPayload', protoName: 'PreviousPayload', subBuilder: ClaimPropagateHandlingunitPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

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

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

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

  @$pb.TagNumber(4)
  ClaimPropagateHandlingunitPayload get eventPayload => $_getN(3);
  @$pb.TagNumber(4)
  set eventPayload(ClaimPropagateHandlingunitPayload value) => $_setField(4, value);
  @$pb.TagNumber(4)
  $core.bool hasEventPayload() => $_has(3);
  @$pb.TagNumber(4)
  void clearEventPayload() => $_clearField(4);
  @$pb.TagNumber(4)
  ClaimPropagateHandlingunitPayload ensureEventPayload() => $_ensure(3);

  @$pb.TagNumber(5)
  ClaimPropagateHandlingunitPayload get previousPayload => $_getN(4);
  @$pb.TagNumber(5)
  set previousPayload(ClaimPropagateHandlingunitPayload value) => $_setField(5, value);
  @$pb.TagNumber(5)
  $core.bool hasPreviousPayload() => $_has(4);
  @$pb.TagNumber(5)
  void clearPreviousPayload() => $_clearField(5);
  @$pb.TagNumber(5)
  ClaimPropagateHandlingunitPayload ensurePreviousPayload() => $_ensure(4);
}

///
/// PropagateOrder : Propagate the created claim on actor
class ClaimPropagateOrderPayload extends $pb.GeneratedMessage {
  factory ClaimPropagateOrderPayload({
    $core.String? entityID,
    $core.String? claimTypeID,
    $core.String? reason,
    $1.ClaimEntityType? entityType,
  }) {
    final result = create();
    if (entityID != null) result.entityID = entityID;
    if (claimTypeID != null) result.claimTypeID = claimTypeID;
    if (reason != null) result.reason = reason;
    if (entityType != null) result.entityType = entityType;
    return result;
  }

  ClaimPropagateOrderPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ClaimPropagateOrderPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'EntityID', protoName: 'EntityID')
    ..aOS(2, _omitFieldNames ? '' : 'ClaimTypeID', protoName: 'ClaimTypeID')
    ..aOS(3, _omitFieldNames ? '' : 'Reason', protoName: 'Reason')
    ..e<$1.ClaimEntityType>(4, _omitFieldNames ? '' : 'EntityType', $pb.PbFieldType.OE, protoName: 'EntityType', defaultOrMaker: $1.ClaimEntityType.CLAIM_ENTITY_TYPE_UNKNOWN, valueOf: $1.ClaimEntityType.valueOf, enumValues: $1.ClaimEntityType.values)
    ..hasRequiredFields = false
  ;

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

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

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

  /// Identifier of the Order
  @$pb.TagNumber(1)
  $core.String get entityID => $_getSZ(0);
  @$pb.TagNumber(1)
  set entityID($core.String value) => $_setString(0, value);
  @$pb.TagNumber(1)
  $core.bool hasEntityID() => $_has(0);
  @$pb.TagNumber(1)
  void clearEntityID() => $_clearField(1);

  /// Identifier of the claim type
  @$pb.TagNumber(2)
  $core.String get claimTypeID => $_getSZ(1);
  @$pb.TagNumber(2)
  set claimTypeID($core.String value) => $_setString(1, value);
  @$pb.TagNumber(2)
  $core.bool hasClaimTypeID() => $_has(1);
  @$pb.TagNumber(2)
  void clearClaimTypeID() => $_clearField(2);

  @$pb.TagNumber(3)
  $core.String get reason => $_getSZ(2);
  @$pb.TagNumber(3)
  set reason($core.String value) => $_setString(2, value);
  @$pb.TagNumber(3)
  $core.bool hasReason() => $_has(2);
  @$pb.TagNumber(3)
  void clearReason() => $_clearField(3);

  @$pb.TagNumber(4)
  $1.ClaimEntityType get entityType => $_getN(3);
  @$pb.TagNumber(4)
  set entityType($1.ClaimEntityType value) => $_setField(4, value);
  @$pb.TagNumber(4)
  $core.bool hasEntityType() => $_has(3);
  @$pb.TagNumber(4)
  void clearEntityType() => $_clearField(4);
}

class ClaimPropagateOrder extends $pb.GeneratedMessage {
  factory ClaimPropagateOrder({
    $1.CommandHeader? header,
    $1.EntityID? iD,
    ClaimPropagateOrderPayload? payload,
    ClaimPropagateOrderPayload? eventPayload,
    ClaimPropagateOrderPayload? previousPayload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    if (eventPayload != null) result.eventPayload = eventPayload;
    if (previousPayload != null) result.previousPayload = previousPayload;
    return result;
  }

  ClaimPropagateOrder._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ClaimPropagateOrder', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.CommandHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.CommandHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<ClaimPropagateOrderPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: ClaimPropagateOrderPayload.create)
    ..aOM<ClaimPropagateOrderPayload>(4, _omitFieldNames ? '' : 'EventPayload', protoName: 'EventPayload', subBuilder: ClaimPropagateOrderPayload.create)
    ..aOM<ClaimPropagateOrderPayload>(5, _omitFieldNames ? '' : 'PreviousPayload', protoName: 'PreviousPayload', subBuilder: ClaimPropagateOrderPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

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

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

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

  @$pb.TagNumber(4)
  ClaimPropagateOrderPayload get eventPayload => $_getN(3);
  @$pb.TagNumber(4)
  set eventPayload(ClaimPropagateOrderPayload value) => $_setField(4, value);
  @$pb.TagNumber(4)
  $core.bool hasEventPayload() => $_has(3);
  @$pb.TagNumber(4)
  void clearEventPayload() => $_clearField(4);
  @$pb.TagNumber(4)
  ClaimPropagateOrderPayload ensureEventPayload() => $_ensure(3);

  @$pb.TagNumber(5)
  ClaimPropagateOrderPayload get previousPayload => $_getN(4);
  @$pb.TagNumber(5)
  set previousPayload(ClaimPropagateOrderPayload value) => $_setField(5, value);
  @$pb.TagNumber(5)
  $core.bool hasPreviousPayload() => $_has(4);
  @$pb.TagNumber(5)
  void clearPreviousPayload() => $_clearField(5);
  @$pb.TagNumber(5)
  ClaimPropagateOrderPayload ensurePreviousPayload() => $_ensure(4);
}

///
/// PropagateExecutionflow : Propagate the created claim on Executionflow
class ClaimPropagateExecutionflowPayload extends $pb.GeneratedMessage {
  factory ClaimPropagateExecutionflowPayload({
    $core.String? entityID,
    $core.String? claimTypeID,
    $core.String? reason,
    $1.ClaimEntityType? entityType,
  }) {
    final result = create();
    if (entityID != null) result.entityID = entityID;
    if (claimTypeID != null) result.claimTypeID = claimTypeID;
    if (reason != null) result.reason = reason;
    if (entityType != null) result.entityType = entityType;
    return result;
  }

  ClaimPropagateExecutionflowPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ClaimPropagateExecutionflowPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'EntityID', protoName: 'EntityID')
    ..aOS(2, _omitFieldNames ? '' : 'ClaimTypeID', protoName: 'ClaimTypeID')
    ..aOS(3, _omitFieldNames ? '' : 'Reason', protoName: 'Reason')
    ..e<$1.ClaimEntityType>(4, _omitFieldNames ? '' : 'EntityType', $pb.PbFieldType.OE, protoName: 'EntityType', defaultOrMaker: $1.ClaimEntityType.CLAIM_ENTITY_TYPE_UNKNOWN, valueOf: $1.ClaimEntityType.valueOf, enumValues: $1.ClaimEntityType.values)
    ..hasRequiredFields = false
  ;

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

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

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

  /// Identifier of the Executionflow
  @$pb.TagNumber(1)
  $core.String get entityID => $_getSZ(0);
  @$pb.TagNumber(1)
  set entityID($core.String value) => $_setString(0, value);
  @$pb.TagNumber(1)
  $core.bool hasEntityID() => $_has(0);
  @$pb.TagNumber(1)
  void clearEntityID() => $_clearField(1);

  /// Identifier of the claim type
  @$pb.TagNumber(2)
  $core.String get claimTypeID => $_getSZ(1);
  @$pb.TagNumber(2)
  set claimTypeID($core.String value) => $_setString(1, value);
  @$pb.TagNumber(2)
  $core.bool hasClaimTypeID() => $_has(1);
  @$pb.TagNumber(2)
  void clearClaimTypeID() => $_clearField(2);

  @$pb.TagNumber(3)
  $core.String get reason => $_getSZ(2);
  @$pb.TagNumber(3)
  set reason($core.String value) => $_setString(2, value);
  @$pb.TagNumber(3)
  $core.bool hasReason() => $_has(2);
  @$pb.TagNumber(3)
  void clearReason() => $_clearField(3);

  @$pb.TagNumber(4)
  $1.ClaimEntityType get entityType => $_getN(3);
  @$pb.TagNumber(4)
  set entityType($1.ClaimEntityType value) => $_setField(4, value);
  @$pb.TagNumber(4)
  $core.bool hasEntityType() => $_has(3);
  @$pb.TagNumber(4)
  void clearEntityType() => $_clearField(4);
}

class ClaimPropagateExecutionflow extends $pb.GeneratedMessage {
  factory ClaimPropagateExecutionflow({
    $1.CommandHeader? header,
    $1.EntityID? iD,
    ClaimPropagateExecutionflowPayload? payload,
    ClaimPropagateExecutionflowPayload? eventPayload,
    ClaimPropagateExecutionflowPayload? previousPayload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    if (eventPayload != null) result.eventPayload = eventPayload;
    if (previousPayload != null) result.previousPayload = previousPayload;
    return result;
  }

  ClaimPropagateExecutionflow._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ClaimPropagateExecutionflow', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.CommandHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.CommandHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<ClaimPropagateExecutionflowPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: ClaimPropagateExecutionflowPayload.create)
    ..aOM<ClaimPropagateExecutionflowPayload>(4, _omitFieldNames ? '' : 'EventPayload', protoName: 'EventPayload', subBuilder: ClaimPropagateExecutionflowPayload.create)
    ..aOM<ClaimPropagateExecutionflowPayload>(5, _omitFieldNames ? '' : 'PreviousPayload', protoName: 'PreviousPayload', subBuilder: ClaimPropagateExecutionflowPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

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

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

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

  @$pb.TagNumber(4)
  ClaimPropagateExecutionflowPayload get eventPayload => $_getN(3);
  @$pb.TagNumber(4)
  set eventPayload(ClaimPropagateExecutionflowPayload value) => $_setField(4, value);
  @$pb.TagNumber(4)
  $core.bool hasEventPayload() => $_has(3);
  @$pb.TagNumber(4)
  void clearEventPayload() => $_clearField(4);
  @$pb.TagNumber(4)
  ClaimPropagateExecutionflowPayload ensureEventPayload() => $_ensure(3);

  @$pb.TagNumber(5)
  ClaimPropagateExecutionflowPayload get previousPayload => $_getN(4);
  @$pb.TagNumber(5)
  set previousPayload(ClaimPropagateExecutionflowPayload value) => $_setField(5, value);
  @$pb.TagNumber(5)
  $core.bool hasPreviousPayload() => $_has(4);
  @$pb.TagNumber(5)
  void clearPreviousPayload() => $_clearField(5);
  @$pb.TagNumber(5)
  ClaimPropagateExecutionflowPayload ensurePreviousPayload() => $_ensure(4);
}

///
/// PropagateMovement : Propagate the created claim on actor
class ClaimPropagateMovementPayload extends $pb.GeneratedMessage {
  factory ClaimPropagateMovementPayload({
    $core.String? entityID,
    $core.String? claimTypeID,
    $core.String? reason,
    $1.ClaimEntityType? entityType,
  }) {
    final result = create();
    if (entityID != null) result.entityID = entityID;
    if (claimTypeID != null) result.claimTypeID = claimTypeID;
    if (reason != null) result.reason = reason;
    if (entityType != null) result.entityType = entityType;
    return result;
  }

  ClaimPropagateMovementPayload._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ClaimPropagateMovementPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'EntityID', protoName: 'EntityID')
    ..aOS(2, _omitFieldNames ? '' : 'ClaimTypeID', protoName: 'ClaimTypeID')
    ..aOS(3, _omitFieldNames ? '' : 'Reason', protoName: 'Reason')
    ..e<$1.ClaimEntityType>(4, _omitFieldNames ? '' : 'EntityType', $pb.PbFieldType.OE, protoName: 'EntityType', defaultOrMaker: $1.ClaimEntityType.CLAIM_ENTITY_TYPE_UNKNOWN, valueOf: $1.ClaimEntityType.valueOf, enumValues: $1.ClaimEntityType.values)
    ..hasRequiredFields = false
  ;

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

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

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

  /// Identifier of the StockMove
  @$pb.TagNumber(1)
  $core.String get entityID => $_getSZ(0);
  @$pb.TagNumber(1)
  set entityID($core.String value) => $_setString(0, value);
  @$pb.TagNumber(1)
  $core.bool hasEntityID() => $_has(0);
  @$pb.TagNumber(1)
  void clearEntityID() => $_clearField(1);

  /// Identifier of the claim type
  @$pb.TagNumber(2)
  $core.String get claimTypeID => $_getSZ(1);
  @$pb.TagNumber(2)
  set claimTypeID($core.String value) => $_setString(1, value);
  @$pb.TagNumber(2)
  $core.bool hasClaimTypeID() => $_has(1);
  @$pb.TagNumber(2)
  void clearClaimTypeID() => $_clearField(2);

  @$pb.TagNumber(3)
  $core.String get reason => $_getSZ(2);
  @$pb.TagNumber(3)
  set reason($core.String value) => $_setString(2, value);
  @$pb.TagNumber(3)
  $core.bool hasReason() => $_has(2);
  @$pb.TagNumber(3)
  void clearReason() => $_clearField(3);

  @$pb.TagNumber(4)
  $1.ClaimEntityType get entityType => $_getN(3);
  @$pb.TagNumber(4)
  set entityType($1.ClaimEntityType value) => $_setField(4, value);
  @$pb.TagNumber(4)
  $core.bool hasEntityType() => $_has(3);
  @$pb.TagNumber(4)
  void clearEntityType() => $_clearField(4);
}

class ClaimPropagateMovement extends $pb.GeneratedMessage {
  factory ClaimPropagateMovement({
    $1.CommandHeader? header,
    $1.EntityID? iD,
    ClaimPropagateMovementPayload? payload,
    ClaimPropagateMovementPayload? eventPayload,
    ClaimPropagateMovementPayload? previousPayload,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iD != null) result.iD = iD;
    if (payload != null) result.payload = payload;
    if (eventPayload != null) result.eventPayload = eventPayload;
    if (previousPayload != null) result.previousPayload = previousPayload;
    return result;
  }

  ClaimPropagateMovement._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ClaimPropagateMovement', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.CommandHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.CommandHeader.create)
    ..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
    ..aOM<ClaimPropagateMovementPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: ClaimPropagateMovementPayload.create)
    ..aOM<ClaimPropagateMovementPayload>(4, _omitFieldNames ? '' : 'EventPayload', protoName: 'EventPayload', subBuilder: ClaimPropagateMovementPayload.create)
    ..aOM<ClaimPropagateMovementPayload>(5, _omitFieldNames ? '' : 'PreviousPayload', protoName: 'PreviousPayload', subBuilder: ClaimPropagateMovementPayload.create)
    ..hasRequiredFields = false
  ;

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

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

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

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

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

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

  @$pb.TagNumber(4)
  ClaimPropagateMovementPayload get eventPayload => $_getN(3);
  @$pb.TagNumber(4)
  set eventPayload(ClaimPropagateMovementPayload value) => $_setField(4, value);
  @$pb.TagNumber(4)
  $core.bool hasEventPayload() => $_has(3);
  @$pb.TagNumber(4)
  void clearEventPayload() => $_clearField(4);
  @$pb.TagNumber(4)
  ClaimPropagateMovementPayload ensureEventPayload() => $_ensure(3);

  @$pb.TagNumber(5)
  ClaimPropagateMovementPayload get previousPayload => $_getN(4);
  @$pb.TagNumber(5)
  set previousPayload(ClaimPropagateMovementPayload value) => $_setField(5, value);
  @$pb.TagNumber(5)
  $core.bool hasPreviousPayload() => $_has(4);
  @$pb.TagNumber(5)
  void clearPreviousPayload() => $_clearField(5);
  @$pb.TagNumber(5)
  ClaimPropagateMovementPayload ensurePreviousPayload() => $_ensure(4);
}


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