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

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

class StockByIdQuery extends $pb.GeneratedMessage {
  factory StockByIdQuery({
    $1.QueryProjectHeader? header,
    $core.Iterable<$1.QueryEntityID>? iDs,
    StockQueryOptions? 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;
  }

  StockByIdQuery._();

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

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

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

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

  @$core.pragma('dart2js:noInline')
  static StockByIdQuery create() => StockByIdQuery._();
  @$core.override
  StockByIdQuery createEmptyInstance() => create();
  static $pb.PbList<StockByIdQuery> createRepeated() => $pb.PbList<StockByIdQuery>();
  @$core.pragma('dart2js:noInline')
  static StockByIdQuery getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<StockByIdQuery>(create);
  static StockByIdQuery? _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)
  StockQueryOptions get options => $_getN(2);
  @$pb.TagNumber(3)
  set options(StockQueryOptions value) => $_setField(3, value);
  @$pb.TagNumber(3)
  $core.bool hasOptions() => $_has(2);
  @$pb.TagNumber(3)
  void clearOptions() => $_clearField(3);
  @$pb.TagNumber(3)
  StockQueryOptions ensureOptions() => $_ensure(2);
}

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

  StockByIdResult._();

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

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

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

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

  @$core.pragma('dart2js:noInline')
  static StockByIdResult create() => StockByIdResult._();
  @$core.override
  StockByIdResult createEmptyInstance() => create();
  static $pb.PbList<StockByIdResult> createRepeated() => $pb.PbList<StockByIdResult>();
  @$core.pragma('dart2js:noInline')
  static StockByIdResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<StockByIdResult>(create);
  static StockByIdResult? _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<$3.Stock> get objects => $_getList(1);
}

class StockByFilterQuery extends $pb.GeneratedMessage {
  factory StockByFilterQuery({
    $1.QueryProjectHeader? header,
    $core.String? limitFilter,
    $core.String? queryContext,
    $core.Iterable<$1.BlockFilter>? blockFilters,
    StockQueryOptions? 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;
  }

  StockByFilterQuery._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StockByFilterQuery', 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>(7, _omitFieldNames ? '' : 'BlockFilters', $pb.PbFieldType.PM, protoName: 'BlockFilters', subBuilder: $1.BlockFilter.create)
    ..aOM<StockQueryOptions>(8, _omitFieldNames ? '' : 'Options', protoName: 'Options', subBuilder: StockQueryOptions.create)
    ..e<$1.EntityType>(9, _omitFieldNames ? '' : 'UsageContextEntity', $pb.PbFieldType.OE, protoName: 'UsageContextEntity', defaultOrMaker: $1.EntityType.ENTITY_TYPE_UNKNOWN, valueOf: $1.EntityType.valueOf, enumValues: $1.EntityType.values)
    ..aOS(10, _omitFieldNames ? '' : 'UsageContextPath', protoName: 'UsageContextPath')
    ..hasRequiredFields = false
  ;

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

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

  @$core.pragma('dart2js:noInline')
  static StockByFilterQuery create() => StockByFilterQuery._();
  @$core.override
  StockByFilterQuery createEmptyInstance() => create();
  static $pb.PbList<StockByFilterQuery> createRepeated() => $pb.PbList<StockByFilterQuery>();
  @$core.pragma('dart2js:noInline')
  static StockByFilterQuery getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<StockByFilterQuery>(create);
  static StockByFilterQuery? _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(7)
  $pb.PbList<$1.BlockFilter> get blockFilters => $_getList(3);

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

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

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

class StockByFilterResult extends $pb.GeneratedMessage {
  factory StockByFilterResult({
    $1.ResultHeader? header,
    $core.Iterable<$3.Stock>? 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;
  }

  StockByFilterResult._();

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

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

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

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

  @$core.pragma('dart2js:noInline')
  static StockByFilterResult create() => StockByFilterResult._();
  @$core.override
  StockByFilterResult createEmptyInstance() => create();
  static $pb.PbList<StockByFilterResult> createRepeated() => $pb.PbList<StockByFilterResult>();
  @$core.pragma('dart2js:noInline')
  static StockByFilterResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<StockByFilterResult>(create);
  static StockByFilterResult? _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<$3.Stock> 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 StockQueryOptions extends $pb.GeneratedMessage {
  factory StockQueryOptions({
    $core.Iterable<$core.String>? only,
  }) {
    final result = create();
    if (only != null) result.only.addAll(only);
    return result;
  }

  StockQueryOptions._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StockQueryOptions', 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.')
  StockQueryOptions clone() => StockQueryOptions()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  StockQueryOptions copyWith(void Function(StockQueryOptions) updates) => super.copyWith((message) => updates(message as StockQueryOptions)) as StockQueryOptions;

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

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

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

class StockByMatchQuery extends $pb.GeneratedMessage {
  factory StockByMatchQuery({
    $1.QueryProjectHeader? header,
    $core.Iterable<$1.BlockFilter>? blockFilters,
    $core.Iterable<$1.MatchField>? matchFields,
    StockQueryOptions? options,
    $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 (options != null) result.options = options;
    if (usageContextEntity != null) result.usageContextEntity = usageContextEntity;
    if (usageContextPath != null) result.usageContextPath = usageContextPath;
    return result;
  }

  StockByMatchQuery._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StockByMatchQuery', 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)
    ..aOM<StockQueryOptions>(7, _omitFieldNames ? '' : 'Options', protoName: 'Options', subBuilder: StockQueryOptions.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.')
  StockByMatchQuery clone() => StockByMatchQuery()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  StockByMatchQuery copyWith(void Function(StockByMatchQuery) updates) => super.copyWith((message) => updates(message as StockByMatchQuery)) as StockByMatchQuery;

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

  @$core.pragma('dart2js:noInline')
  static StockByMatchQuery create() => StockByMatchQuery._();
  @$core.override
  StockByMatchQuery createEmptyInstance() => create();
  static $pb.PbList<StockByMatchQuery> createRepeated() => $pb.PbList<StockByMatchQuery>();
  @$core.pragma('dart2js:noInline')
  static StockByMatchQuery getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<StockByMatchQuery>(create);
  static StockByMatchQuery? _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)
  StockQueryOptions get options => $_getN(3);
  @$pb.TagNumber(7)
  set options(StockQueryOptions value) => $_setField(7, value);
  @$pb.TagNumber(7)
  $core.bool hasOptions() => $_has(3);
  @$pb.TagNumber(7)
  void clearOptions() => $_clearField(7);
  @$pb.TagNumber(7)
  StockQueryOptions ensureOptions() => $_ensure(3);

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

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

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

  StockByMatchResult._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StockByMatchResult', 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.')
  StockByMatchResult clone() => StockByMatchResult()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  StockByMatchResult copyWith(void Function(StockByMatchResult) updates) => super.copyWith((message) => updates(message as StockByMatchResult)) as StockByMatchResult;

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

  @$core.pragma('dart2js:noInline')
  static StockByMatchResult create() => StockByMatchResult._();
  @$core.override
  StockByMatchResult createEmptyInstance() => create();
  static $pb.PbList<StockByMatchResult> createRepeated() => $pb.PbList<StockByMatchResult>();
  @$core.pragma('dart2js:noInline')
  static StockByMatchResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<StockByMatchResult>(create);
  static StockByMatchResult? _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');
