//
//  Generated code. Do not modify.
//  source: object_db_query.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 'object_db.pb.dart' as $88;

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

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CliGetObjectIdRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'project')
    ..aOS(2, _omitFieldNames ? '' : 'object')
    ..pPS(3, _omitFieldNames ? '' : 'ids')
    ..aOS(4, _omitFieldNames ? '' : 'pageState', protoName: 'pageState')
    ..aOS(5, _omitFieldNames ? '' : 'limit')
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $core.String get project => $_getSZ(0);
  @$pb.TagNumber(1)
  set project($core.String v) { $_setString(0, v); }
  @$pb.TagNumber(1)
  $core.bool hasProject() => $_has(0);
  @$pb.TagNumber(1)
  void clearProject() => $_clearField(1);

  @$pb.TagNumber(2)
  $core.String get object => $_getSZ(1);
  @$pb.TagNumber(2)
  set object($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasObject() => $_has(1);
  @$pb.TagNumber(2)
  void clearObject() => $_clearField(2);

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

  @$pb.TagNumber(4)
  $core.String get pageState => $_getSZ(3);
  @$pb.TagNumber(4)
  set pageState($core.String v) { $_setString(3, v); }
  @$pb.TagNumber(4)
  $core.bool hasPageState() => $_has(3);
  @$pb.TagNumber(4)
  void clearPageState() => $_clearField(4);

  @$pb.TagNumber(5)
  $core.String get limit => $_getSZ(4);
  @$pb.TagNumber(5)
  set limit($core.String v) { $_setString(4, v); }
  @$pb.TagNumber(5)
  $core.bool hasLimit() => $_has(4);
  @$pb.TagNumber(5)
  void clearLimit() => $_clearField(5);
}

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CliRepeatedObjectsGottenResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..pc<$88.ObjectDB>(1, _omitFieldNames ? '' : 'objectDBs', $pb.PbFieldType.PM, protoName: 'objectDBs', subBuilder: $88.ObjectDB.create)
    ..aOS(2, _omitFieldNames ? '' : 'pageState', protoName: 'pageState')
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $pb.PbList<$88.ObjectDB> get objectDBs => $_getList(0);

  @$pb.TagNumber(2)
  $core.String get pageState => $_getSZ(1);
  @$pb.TagNumber(2)
  set pageState($core.String v) { $_setString(1, v); }
  @$pb.TagNumber(2)
  $core.bool hasPageState() => $_has(1);
  @$pb.TagNumber(2)
  void clearPageState() => $_clearField(2);
}


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