// This is a generated file - do not edit.
//
// Generated from trackingQuery.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 'tracking.pb.dart' as $2;

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

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

  TrackingByIdQuery._();

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

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

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

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

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

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

  TrackingByIdResult._();

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

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

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

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

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

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

  TrackingQueryOptions._();

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

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

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

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

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


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