// This is a generated file - do not edit.
//
// Generated from resource.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;

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

class CreateResourceRequest extends $pb.GeneratedMessage {
  factory CreateResourceRequest({
    $1.Resource? resource,
  }) {
    final result = create();
    if (resource != null) result.resource = resource;
    return result;
  }

  CreateResourceRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateResourceRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.Resource>(1, _omitFieldNames ? '' : 'Resource', protoName: 'Resource', subBuilder: $1.Resource.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.Resource get resource => $_getN(0);
  @$pb.TagNumber(1)
  set resource($1.Resource value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasResource() => $_has(0);
  @$pb.TagNumber(1)
  void clearResource() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.Resource ensureResource() => $_ensure(0);
}

class CreateResourceResponse extends $pb.GeneratedMessage {
  factory CreateResourceResponse({
    $1.Resource? resource,
  }) {
    final result = create();
    if (resource != null) result.resource = resource;
    return result;
  }

  CreateResourceResponse._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateResourceResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOM<$1.Resource>(1, _omitFieldNames ? '' : 'Resource', protoName: 'Resource', subBuilder: $1.Resource.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.Resource get resource => $_getN(0);
  @$pb.TagNumber(1)
  set resource($1.Resource value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasResource() => $_has(0);
  @$pb.TagNumber(1)
  void clearResource() => $_clearField(1);
  @$pb.TagNumber(1)
  $1.Resource ensureResource() => $_ensure(0);
}

class DeleteResourceRequest extends $pb.GeneratedMessage {
  factory DeleteResourceRequest({
    $core.String? iD,
  }) {
    final result = create();
    if (iD != null) result.iD = iD;
    return result;
  }

  DeleteResourceRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteResourceRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'ID', protoName: 'ID')
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $core.String get iD => $_getSZ(0);
  @$pb.TagNumber(1)
  set iD($core.String value) => $_setString(0, value);
  @$pb.TagNumber(1)
  $core.bool hasID() => $_has(0);
  @$pb.TagNumber(1)
  void clearID() => $_clearField(1);
}

class DeleteResourceResponse extends $pb.GeneratedMessage {
  factory DeleteResourceResponse() => create();

  DeleteResourceResponse._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteResourceResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..hasRequiredFields = false
  ;

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

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

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

class ListResourcesRequest extends $pb.GeneratedMessage {
  factory ListResourcesRequest({
    $1.ResourceType? resourceType,
    $core.String? parentID,
  }) {
    final result = create();
    if (resourceType != null) result.resourceType = resourceType;
    if (parentID != null) result.parentID = parentID;
    return result;
  }

  ListResourcesRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListResourcesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..e<$1.ResourceType>(1, _omitFieldNames ? '' : 'ResourceType', $pb.PbFieldType.OE, protoName: 'ResourceType', defaultOrMaker: $1.ResourceType.RESOURCE_TYPE_UNKNOWN, valueOf: $1.ResourceType.valueOf, enumValues: $1.ResourceType.values)
    ..aOS(2, _omitFieldNames ? '' : 'ParentID', protoName: 'ParentID')
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.ResourceType get resourceType => $_getN(0);
  @$pb.TagNumber(1)
  set resourceType($1.ResourceType value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasResourceType() => $_has(0);
  @$pb.TagNumber(1)
  void clearResourceType() => $_clearField(1);

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

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

  ListResourcesResponse._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListResourcesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..pc<$1.Resource>(1, _omitFieldNames ? '' : 'Resources', $pb.PbFieldType.PM, protoName: 'Resources', subBuilder: $1.Resource.create)
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $pb.PbList<$1.Resource> get resources => $_getList(0);
}

class CleanResourceRequest extends $pb.GeneratedMessage {
  factory CleanResourceRequest({
    $1.ResourceType? resourceType,
    $core.String? resourceID,
  }) {
    final result = create();
    if (resourceType != null) result.resourceType = resourceType;
    if (resourceID != null) result.resourceID = resourceID;
    return result;
  }

  CleanResourceRequest._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CleanResourceRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..e<$1.ResourceType>(1, _omitFieldNames ? '' : 'ResourceType', $pb.PbFieldType.OE, protoName: 'ResourceType', defaultOrMaker: $1.ResourceType.RESOURCE_TYPE_UNKNOWN, valueOf: $1.ResourceType.valueOf, enumValues: $1.ResourceType.values)
    ..aOS(2, _omitFieldNames ? '' : 'ResourceID', protoName: 'ResourceID')
    ..hasRequiredFields = false
  ;

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

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

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

  @$pb.TagNumber(1)
  $1.ResourceType get resourceType => $_getN(0);
  @$pb.TagNumber(1)
  set resourceType($1.ResourceType value) => $_setField(1, value);
  @$pb.TagNumber(1)
  $core.bool hasResourceType() => $_has(0);
  @$pb.TagNumber(1)
  void clearResourceType() => $_clearField(1);

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

class CleanResourceResult extends $pb.GeneratedMessage {
  factory CleanResourceResult() => create();

  CleanResourceResult._();

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CleanResourceResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..hasRequiredFields = false
  ;

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

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

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


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