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

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

import 'dart:core' as $core;

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

import 'actor.pb.dart' as $67;
import 'shared.pb.dart' as $3;

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

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

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

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

  $pb.BuilderInfo get info_ => _i;

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

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

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

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

  $pb.BuilderInfo get info_ => _i;

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

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

class ActorByFilterQuery extends $pb.GeneratedMessage {
  factory ActorByFilterQuery({
    $3.QueryProjectHeader? header,
    $core.String? limitFilter,
    $core.String? queryContext,
    $core.Iterable<$3.BlockFilter>? blockFilters,
  }) {
    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);
    }
    return $result;
  }
  ActorByFilterQuery._() : super();
  factory ActorByFilterQuery.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory ActorByFilterQuery.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

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

  $pb.BuilderInfo get info_ => _i;

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

  /// Number of maximum result
  @$pb.TagNumber(4)
  $core.String get limitFilter => $_getSZ(1);
  @$pb.TagNumber(4)
  set limitFilter($core.String v) { $_setString(1, v); }
  @$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 v) { $_setString(2, v); }
  @$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, if not empty, simpleFilters (deprecated) & rangeFilters (deprecated) will be ignored
  @$pb.TagNumber(6)
  $pb.PbList<$3.BlockFilter> get blockFilters => $_getList(3);
}

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

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

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

  $pb.BuilderInfo get info_ => _i;

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

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

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

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

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

  $pb.BuilderInfo get info_ => _i;

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

  /// list of blockFilters structure for Find query, each element (BlockFilter) in the list is an "OR" part of the query, if not empty, simpleFilters (deprecated) & rangeFilters (deprecated) will be ignored
  @$pb.TagNumber(5)
  $pb.PbList<$3.BlockFilter> get blockFilters => $_getList(1);

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

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

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

  $pb.BuilderInfo get info_ => _i;

  @$core.pragma('dart2js:noInline')
  static ActorByMatchResult create() => ActorByMatchResult._();
  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<$3.MatchFieldResult> get matchResults => $_getList(0);
}


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