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

// @dart = 3.3

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

import 'dart:core' as $core;

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

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

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

class ActorByIdQuery extends $pb.GeneratedMessage {
  factory ActorByIdQuery({
    $1.QueryProjectHeader? header,
    $core.Iterable<$1.QueryEntityID>? iDs,
    ActorQueryOptions? options,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (iDs != null) result.iDs.addAll(iDs);
    if (options != null) result.options = options;
    return result;
  }

  ActorByIdQuery._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ActorByIdQuery', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.QueryProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.QueryProjectHeader.create)
    ..pc<$1.QueryEntityID>(2, _omitFieldNames ? '' : 'IDs', $pb.PbFieldType.PM, protoName: 'IDs', subBuilder: $1.QueryEntityID.create)
    ..aOM<ActorQueryOptions>(3, _omitFieldNames ? '' : 'Options', protoName: 'Options', subBuilder: ActorQueryOptions.create)
    ..hasRequiredFields = false
  ;

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

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

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

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

  @$pb.TagNumber(2)
  $pb.PbList<$1.QueryEntityID> get iDs => $_getList(1);

  @$pb.TagNumber(3)
  ActorQueryOptions get options => $_getN(2);
  @$pb.TagNumber(3)
  set options(ActorQueryOptions value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasOptions() => $_has(2);
  @$pb.TagNumber(3)
  void clearOptions() => $_clearField(3);
  @$pb.TagNumber(3)
  ActorQueryOptions ensureOptions() => $_ensure(2);
}

class ActorByIdResult extends $pb.GeneratedMessage {
  factory ActorByIdResult({
    $1.ResultHeader? header,
    $core.Iterable<$2.Actor>? objects,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (objects != null) result.objects.addAll(objects);
    return result;
  }

  ActorByIdResult._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ActorByIdResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.ResultHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.ResultHeader.create)
    ..pc<$2.Actor>(2, _omitFieldNames ? '' : 'Objects', $pb.PbFieldType.PM, protoName: 'Objects', subBuilder: $2.Actor.create)
    ..hasRequiredFields = false
  ;

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

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

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

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

  @$pb.TagNumber(2)
  $pb.PbList<$2.Actor> get objects => $_getList(1);
}

class ActorByFilterQuery extends $pb.GeneratedMessage {
  factory ActorByFilterQuery({
    $1.QueryProjectHeader? header,
    $core.String? limitFilter,
    $core.String? queryContext,
    $core.Iterable<$1.BlockFilter>? blockFilters,
    ActorQueryOptions? options,
    $1.EntityType? usageContextEntity,
    $core.String? usageContextPath,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (limitFilter != null) result.limitFilter = limitFilter;
    if (queryContext != null) result.queryContext = queryContext;
    if (blockFilters != null) result.blockFilters.addAll(blockFilters);
    if (options != null) result.options = options;
    if (usageContextEntity != null) result.usageContextEntity = usageContextEntity;
    if (usageContextPath != null) result.usageContextPath = usageContextPath;
    return result;
  }

  ActorByFilterQuery._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ActorByFilterQuery', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.QueryProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.QueryProjectHeader.create)
    ..aOS(4, _omitFieldNames ? '' : 'limitFilter', protoName: 'limitFilter')
    ..aOS(5, _omitFieldNames ? '' : 'queryContext', protoName: 'queryContext')
    ..pc<$1.BlockFilter>(6, _omitFieldNames ? '' : 'BlockFilters', $pb.PbFieldType.PM, protoName: 'BlockFilters', subBuilder: $1.BlockFilter.create)
    ..aOM<ActorQueryOptions>(7, _omitFieldNames ? '' : 'Options', protoName: 'Options', subBuilder: ActorQueryOptions.create)
    ..e<$1.EntityType>(8, _omitFieldNames ? '' : 'UsageContextEntity', $pb.PbFieldType.OE, protoName: 'UsageContextEntity', defaultOrMaker: $1.EntityType.ENTITY_TYPE_UNKNOWN, valueOf: $1.EntityType.valueOf, enumValues: $1.EntityType.values)
    ..aOS(9, _omitFieldNames ? '' : 'UsageContextPath', protoName: 'UsageContextPath')
    ..hasRequiredFields = false
  ;

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

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

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

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

  /// Number of maximum result
  @$pb.TagNumber(4)
  $core.String get limitFilter => $_getSZ(1);
  @$pb.TagNumber(4)
  set limitFilter($core.String value) => $_setString(1, value);
  @$pb.TagNumber(4)
  $core.bool hasLimitFilter() => $_has(1);
  @$pb.TagNumber(4)
  void clearLimitFilter() => $_clearField(4);

  @$pb.TagNumber(5)
  $core.String get queryContext => $_getSZ(2);
  @$pb.TagNumber(5)
  set queryContext($core.String value) => $_setString(2, value);
  @$pb.TagNumber(5)
  $core.bool hasQueryContext() => $_has(2);
  @$pb.TagNumber(5)
  void clearQueryContext() => $_clearField(5);

  /// list of blockFilters structure for Find query, each element (BlockFilter) in the list is an "OR" part of the query
  @$pb.TagNumber(6)
  $pb.PbList<$1.BlockFilter> get blockFilters => $_getList(3);

  @$pb.TagNumber(7)
  ActorQueryOptions get options => $_getN(4);
  @$pb.TagNumber(7)
  set options(ActorQueryOptions value) => $_setField(7, value);
  @$pb.TagNumber(7)
  $core.bool hasOptions() => $_has(4);
  @$pb.TagNumber(7)
  void clearOptions() => $_clearField(7);
  @$pb.TagNumber(7)
  ActorQueryOptions ensureOptions() => $_ensure(4);

  @$pb.TagNumber(8)
  $1.EntityType get usageContextEntity => $_getN(5);
  @$pb.TagNumber(8)
  set usageContextEntity($1.EntityType value) => $_setField(8, value);
  @$pb.TagNumber(8)
  $core.bool hasUsageContextEntity() => $_has(5);
  @$pb.TagNumber(8)
  void clearUsageContextEntity() => $_clearField(8);

  @$pb.TagNumber(9)
  $core.String get usageContextPath => $_getSZ(6);
  @$pb.TagNumber(9)
  set usageContextPath($core.String value) => $_setString(6, value);
  @$pb.TagNumber(9)
  $core.bool hasUsageContextPath() => $_has(6);
  @$pb.TagNumber(9)
  void clearUsageContextPath() => $_clearField(9);
}

class ActorByFilterResult extends $pb.GeneratedMessage {
  factory ActorByFilterResult({
    $1.ResultHeader? header,
    $core.Iterable<$2.Actor>? objects,
    $core.String? queryContext,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (objects != null) result.objects.addAll(objects);
    if (queryContext != null) result.queryContext = queryContext;
    return result;
  }

  ActorByFilterResult._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ActorByFilterResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.ResultHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.ResultHeader.create)
    ..pc<$2.Actor>(2, _omitFieldNames ? '' : 'Objects', $pb.PbFieldType.PM, protoName: 'Objects', subBuilder: $2.Actor.create)
    ..aOS(3, _omitFieldNames ? '' : 'queryContext', protoName: 'queryContext')
    ..hasRequiredFields = false
  ;

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

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

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

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

  @$pb.TagNumber(2)
  $pb.PbList<$2.Actor> get objects => $_getList(1);

  @$pb.TagNumber(3)
  $core.String get queryContext => $_getSZ(2);
  @$pb.TagNumber(3)
  set queryContext($core.String value) => $_setString(2, value);
  @$pb.TagNumber(3)
  $core.bool hasQueryContext() => $_has(2);
  @$pb.TagNumber(3)
  void clearQueryContext() => $_clearField(3);
}

class ActorQueryOptions extends $pb.GeneratedMessage {
  factory ActorQueryOptions({
    $core.Iterable<$core.String>? only,
  }) {
    final result = create();
    if (only != null) result.only.addAll(only);
    return result;
  }

  ActorQueryOptions._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ActorQueryOptions', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..pPS(1, _omitFieldNames ? '' : 'Only', protoName: 'Only')
    ..hasRequiredFields = false
  ;

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

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

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

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

class ActorByMatchQuery extends $pb.GeneratedMessage {
  factory ActorByMatchQuery({
    $1.QueryProjectHeader? header,
    $core.Iterable<$1.BlockFilter>? blockFilters,
    $core.Iterable<$1.MatchField>? matchFields,
    $1.EntityType? usageContextEntity,
    $core.String? usageContextPath,
  }) {
    final result = create();
    if (header != null) result.header = header;
    if (blockFilters != null) result.blockFilters.addAll(blockFilters);
    if (matchFields != null) result.matchFields.addAll(matchFields);
    if (usageContextEntity != null) result.usageContextEntity = usageContextEntity;
    if (usageContextPath != null) result.usageContextPath = usageContextPath;
    return result;
  }

  ActorByMatchQuery._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ActorByMatchQuery', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.QueryProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.QueryProjectHeader.create)
    ..pc<$1.BlockFilter>(5, _omitFieldNames ? '' : 'BlockFilters', $pb.PbFieldType.PM, protoName: 'BlockFilters', subBuilder: $1.BlockFilter.create)
    ..pc<$1.MatchField>(6, _omitFieldNames ? '' : 'MatchFields', $pb.PbFieldType.PM, protoName: 'MatchFields', subBuilder: $1.MatchField.create)
    ..e<$1.EntityType>(7, _omitFieldNames ? '' : 'UsageContextEntity', $pb.PbFieldType.OE, protoName: 'UsageContextEntity', defaultOrMaker: $1.EntityType.ENTITY_TYPE_UNKNOWN, valueOf: $1.EntityType.valueOf, enumValues: $1.EntityType.values)
    ..aOS(8, _omitFieldNames ? '' : 'UsageContextPath', protoName: 'UsageContextPath')
    ..hasRequiredFields = false
  ;

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

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

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

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

  /// list of blockFilters structure for Find query, each element (BlockFilter) in the list is an "OR" part of the query
  @$pb.TagNumber(5)
  $pb.PbList<$1.BlockFilter> get blockFilters => $_getList(1);

  /// MatchField list structure, for FindMatching query
  @$pb.TagNumber(6)
  $pb.PbList<$1.MatchField> get matchFields => $_getList(2);

  @$pb.TagNumber(7)
  $1.EntityType get usageContextEntity => $_getN(3);
  @$pb.TagNumber(7)
  set usageContextEntity($1.EntityType value) => $_setField(7, value);
  @$pb.TagNumber(7)
  $core.bool hasUsageContextEntity() => $_has(3);
  @$pb.TagNumber(7)
  void clearUsageContextEntity() => $_clearField(7);

  @$pb.TagNumber(8)
  $core.String get usageContextPath => $_getSZ(4);
  @$pb.TagNumber(8)
  set usageContextPath($core.String value) => $_setString(4, value);
  @$pb.TagNumber(8)
  $core.bool hasUsageContextPath() => $_has(4);
  @$pb.TagNumber(8)
  void clearUsageContextPath() => $_clearField(8);
}

class ActorByMatchResult extends $pb.GeneratedMessage {
  factory ActorByMatchResult({
    $core.Iterable<$1.MatchFieldResult>? matchResults,
  }) {
    final result = create();
    if (matchResults != null) result.matchResults.addAll(matchResults);
    return result;
  }

  ActorByMatchResult._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ActorByMatchResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..pc<$1.MatchFieldResult>(2, _omitFieldNames ? '' : 'MatchResults', $pb.PbFieldType.PM, protoName: 'MatchResults', subBuilder: $1.MatchFieldResult.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(2)
  $pb.PbList<$1.MatchFieldResult> get matchResults => $_getList(0);
}


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