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

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._();

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

  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('See https://github.com/google/protobuf.dart/issues/998.')
  CliGetObjectIdRequest clone() => CliGetObjectIdRequest()..mergeFromMessage(this);
  @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
  CliGetObjectIdRequest copyWith(void Function(CliGetObjectIdRequest) updates) => super.copyWith((message) => updates(message as CliGetObjectIdRequest)) as CliGetObjectIdRequest;

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

  @$core.pragma('dart2js:noInline')
  static CliGetObjectIdRequest create() => CliGetObjectIdRequest._();
  @$core.override
  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 value) => $_setString(0, value);
  @$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 value) => $_setString(1, value);
  @$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 value) => $_setString(3, value);
  @$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 value) => $_setString(4, value);
  @$pb.TagNumber(5)
  $core.bool hasLimit() => $_has(4);
  @$pb.TagNumber(5)
  void clearLimit() => $_clearField(5);
}

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

  CliRepeatedObjectsGottenResponse._();

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

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

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

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

  @$core.pragma('dart2js:noInline')
  static CliRepeatedObjectsGottenResponse create() => CliRepeatedObjectsGottenResponse._();
  @$core.override
  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<$0.ObjectDB> get objectDBs => $_getList(0);

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


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