//
//  Generated code. Do not modify.
//  source: claimAction.proto
//
// @dart = 3.3

// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes
// ignore_for_file: non_constant_identifier_names, prefer_final_fields
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import

import 'dart:core' as $core;

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

import 'collabShared.pb.dart' as $70;
import 'shared.pb.dart' as $3;
import 'shared.pbenum.dart' as $3;

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,
    $70.ClaimStatusStruct? status,
    $core.Iterable<$core.String>? removedAssignees,
    $3.Amount? amount,
    $3.ClaimCriticality? criticality,
    $core.String? endComment,
    $3.ClaimClosure? closure,
    $core.Iterable<$core.String>? addedAssignees,
    $core.String? reason,
    $3.ClaimEntityType? entityType,
    $core.String? entityID,
    $core.String? title,
    $core.Iterable<$3.MetadataElement>? metaData,
    $core.String? displayID,
  }) {
    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;
    }
    return $result;
  }
  ClaimNotifyPayload._() : super();
  factory ClaimNotifyPayload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ClaimNotifyPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

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

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

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ClaimNotifyPayload create() => ClaimNotifyPayload._();
  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)
  $70.ClaimStatusStruct get status => $_getN(1);
  @$pb.TagNumber(2)
  set status($70.ClaimStatusStruct v) { $_setField(2, v); }
  @$pb.TagNumber(2)
  $core.bool hasStatus() => $_has(1);
  @$pb.TagNumber(2)
  void clearStatus() => $_clearField(2);
  @$pb.TagNumber(2)
  $70.ClaimStatusStruct ensureStatus() => $_ensure(1);

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

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

  @$pb.TagNumber(5)
  $3.ClaimCriticality get criticality => $_getN(4);
  @$pb.TagNumber(5)
  set criticality($3.ClaimCriticality v) { $_setField(5, v); }
  @$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 v) { $_setString(5, v); }
  @$pb.TagNumber(6)
  $core.bool hasEndComment() => $_has(5);
  @$pb.TagNumber(6)
  void clearEndComment() => $_clearField(6);

  @$pb.TagNumber(7)
  $3.ClaimClosure get closure => $_getN(6);
  @$pb.TagNumber(7)
  set closure($3.ClaimClosure v) { $_setField(7, v); }
  @$pb.TagNumber(7)
  $core.bool hasClosure() => $_has(6);
  @$pb.TagNumber(7)
  void clearClosure() => $_clearField(7);
  @$pb.TagNumber(7)
  $3.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 v) { $_setString(8, v); }
  @$pb.TagNumber(9)
  $core.bool hasReason() => $_has(8);
  @$pb.TagNumber(9)
  void clearReason() => $_clearField(9);

  @$pb.TagNumber(10)
  $3.ClaimEntityType get entityType => $_getN(9);
  @$pb.TagNumber(10)
  set entityType($3.ClaimEntityType v) { $_setField(10, v); }
  @$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 v) { $_setString(10, v); }
  @$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 v) { $_setString(11, v); }
  @$pb.TagNumber(12)
  $core.bool hasTitle() => $_has(11);
  @$pb.TagNumber(12)
  void clearTitle() => $_clearField(12);

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

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

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

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

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ClaimNotify create() => ClaimNotify._();
  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)
  $3.CommandHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.CommandHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.CommandHeader ensureHeader() => $_ensure(0);

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

  @$pb.TagNumber(3)
  ClaimNotifyPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(ClaimNotifyPayload v) { $_setField(3, v); }
  @$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 v) { $_setField(4, v); }
  @$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 v) { $_setField(5, v); }
  @$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,
    $3.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._() : super();
  factory ClaimPropagateActorPayload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ClaimPropagateActorPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  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<$3.ClaimEntityType>(4, _omitFieldNames ? '' : 'EntityType', $pb.PbFieldType.OE, protoName: 'EntityType', defaultOrMaker: $3.ClaimEntityType.CLAIM_ENTITY_TYPE_UNKNOWN, valueOf: $3.ClaimEntityType.valueOf, enumValues: $3.ClaimEntityType.values)
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ClaimPropagateActorPayload create() => ClaimPropagateActorPayload._();
  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 v) { $_setString(0, v); }
  @$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 v) { $_setString(1, v); }
  @$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 v) { $_setString(2, v); }
  @$pb.TagNumber(3)
  $core.bool hasReason() => $_has(2);
  @$pb.TagNumber(3)
  void clearReason() => $_clearField(3);

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

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

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

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ClaimPropagateActor create() => ClaimPropagateActor._();
  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)
  $3.CommandHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.CommandHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.CommandHeader ensureHeader() => $_ensure(0);

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

  @$pb.TagNumber(3)
  ClaimPropagateActorPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(ClaimPropagateActorPayload v) { $_setField(3, v); }
  @$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 v) { $_setField(4, v); }
  @$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 v) { $_setField(5, v); }
  @$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,
    $3.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._() : super();
  factory ClaimPropagateHandlingunitPayload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ClaimPropagateHandlingunitPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  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<$3.ClaimEntityType>(4, _omitFieldNames ? '' : 'EntityType', $pb.PbFieldType.OE, protoName: 'EntityType', defaultOrMaker: $3.ClaimEntityType.CLAIM_ENTITY_TYPE_UNKNOWN, valueOf: $3.ClaimEntityType.valueOf, enumValues: $3.ClaimEntityType.values)
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ClaimPropagateHandlingunitPayload create() => ClaimPropagateHandlingunitPayload._();
  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 v) { $_setString(0, v); }
  @$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 v) { $_setString(1, v); }
  @$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 v) { $_setString(2, v); }
  @$pb.TagNumber(3)
  $core.bool hasReason() => $_has(2);
  @$pb.TagNumber(3)
  void clearReason() => $_clearField(3);

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

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

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

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ClaimPropagateHandlingunit create() => ClaimPropagateHandlingunit._();
  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)
  $3.CommandHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.CommandHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.CommandHeader ensureHeader() => $_ensure(0);

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

  @$pb.TagNumber(3)
  ClaimPropagateHandlingunitPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(ClaimPropagateHandlingunitPayload v) { $_setField(3, v); }
  @$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 v) { $_setField(4, v); }
  @$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 v) { $_setField(5, v); }
  @$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,
    $3.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._() : super();
  factory ClaimPropagateOrderPayload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ClaimPropagateOrderPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  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<$3.ClaimEntityType>(4, _omitFieldNames ? '' : 'EntityType', $pb.PbFieldType.OE, protoName: 'EntityType', defaultOrMaker: $3.ClaimEntityType.CLAIM_ENTITY_TYPE_UNKNOWN, valueOf: $3.ClaimEntityType.valueOf, enumValues: $3.ClaimEntityType.values)
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ClaimPropagateOrderPayload create() => ClaimPropagateOrderPayload._();
  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 v) { $_setString(0, v); }
  @$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 v) { $_setString(1, v); }
  @$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 v) { $_setString(2, v); }
  @$pb.TagNumber(3)
  $core.bool hasReason() => $_has(2);
  @$pb.TagNumber(3)
  void clearReason() => $_clearField(3);

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

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

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

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ClaimPropagateOrder create() => ClaimPropagateOrder._();
  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)
  $3.CommandHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.CommandHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.CommandHeader ensureHeader() => $_ensure(0);

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

  @$pb.TagNumber(3)
  ClaimPropagateOrderPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(ClaimPropagateOrderPayload v) { $_setField(3, v); }
  @$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 v) { $_setField(4, v); }
  @$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 v) { $_setField(5, v); }
  @$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,
    $3.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._() : super();
  factory ClaimPropagateExecutionflowPayload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ClaimPropagateExecutionflowPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  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<$3.ClaimEntityType>(4, _omitFieldNames ? '' : 'EntityType', $pb.PbFieldType.OE, protoName: 'EntityType', defaultOrMaker: $3.ClaimEntityType.CLAIM_ENTITY_TYPE_UNKNOWN, valueOf: $3.ClaimEntityType.valueOf, enumValues: $3.ClaimEntityType.values)
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ClaimPropagateExecutionflowPayload create() => ClaimPropagateExecutionflowPayload._();
  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 v) { $_setString(0, v); }
  @$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 v) { $_setString(1, v); }
  @$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 v) { $_setString(2, v); }
  @$pb.TagNumber(3)
  $core.bool hasReason() => $_has(2);
  @$pb.TagNumber(3)
  void clearReason() => $_clearField(3);

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

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

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

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ClaimPropagateExecutionflow create() => ClaimPropagateExecutionflow._();
  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)
  $3.CommandHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.CommandHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.CommandHeader ensureHeader() => $_ensure(0);

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

  @$pb.TagNumber(3)
  ClaimPropagateExecutionflowPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(ClaimPropagateExecutionflowPayload v) { $_setField(3, v); }
  @$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 v) { $_setField(4, v); }
  @$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 v) { $_setField(5, v); }
  @$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,
    $3.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._() : super();
  factory ClaimPropagateMovementPayload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ClaimPropagateMovementPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  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<$3.ClaimEntityType>(4, _omitFieldNames ? '' : 'EntityType', $pb.PbFieldType.OE, protoName: 'EntityType', defaultOrMaker: $3.ClaimEntityType.CLAIM_ENTITY_TYPE_UNKNOWN, valueOf: $3.ClaimEntityType.valueOf, enumValues: $3.ClaimEntityType.values)
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ClaimPropagateMovementPayload create() => ClaimPropagateMovementPayload._();
  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 v) { $_setString(0, v); }
  @$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 v) { $_setString(1, v); }
  @$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 v) { $_setString(2, v); }
  @$pb.TagNumber(3)
  $core.bool hasReason() => $_has(2);
  @$pb.TagNumber(3)
  void clearReason() => $_clearField(3);

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

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

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

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ClaimPropagateMovement create() => ClaimPropagateMovement._();
  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)
  $3.CommandHeader get header => $_getN(0);
  @$pb.TagNumber(1)
  set header($3.CommandHeader v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasHeader() => $_has(0);
  @$pb.TagNumber(1)
  void clearHeader() => $_clearField(1);
  @$pb.TagNumber(1)
  $3.CommandHeader ensureHeader() => $_ensure(0);

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

  @$pb.TagNumber(3)
  ClaimPropagateMovementPayload get payload => $_getN(2);
  @$pb.TagNumber(3)
  set payload(ClaimPropagateMovementPayload v) { $_setField(3, v); }
  @$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 v) { $_setField(4, v); }
  @$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 v) { $_setField(5, v); }
  @$pb.TagNumber(5)
  $core.bool hasPreviousPayload() => $_has(4);
  @$pb.TagNumber(5)
  void clearPreviousPayload() => $_clearField(5);
  @$pb.TagNumber(5)
  ClaimPropagateMovementPayload ensurePreviousPayload() => $_ensure(4);
}


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