//
//  Generated code. Do not modify.
//  source: api.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 'module.pb.dart' as $34;
import 'role.pb.dart' as $52;
import 'shared.pb.dart' as $3;
import 'shared.pbenum.dart' as $3;

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

class GetPermissionsRequest extends $pb.GeneratedMessage {
  factory GetPermissionsRequest({
    $3.ResourceType? rscType,
    $core.String? client,
    $core.String? service,
  }) {
    final $result = create();
    if (rscType != null) {
      $result.rscType = rscType;
    }
    if (client != null) {
      $result.client = client;
    }
    if (service != null) {
      $result.service = service;
    }
    return $result;
  }
  GetPermissionsRequest._() : super();
  factory GetPermissionsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory GetPermissionsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

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

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.ResourceType get rscType => $_getN(0);
  @$pb.TagNumber(1)
  set rscType($3.ResourceType v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasRscType() => $_has(0);
  @$pb.TagNumber(1)
  void clearRscType() => $_clearField(1);

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

  @$pb.TagNumber(3)
  $core.String get service => $_getSZ(2);
  @$pb.TagNumber(3)
  set service($core.String v) { $_setString(2, v); }
  @$pb.TagNumber(3)
  $core.bool hasService() => $_has(2);
  @$pb.TagNumber(3)
  void clearService() => $_clearField(3);
}

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPermissionsResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..pc<$3.Permission>(5, _omitFieldNames ? '' : 'Permissions', $pb.PbFieldType.PM, protoName: 'Permissions', subBuilder: $3.Permission.create)
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(5)
  $pb.PbList<$3.Permission> get permissions => $_getList(0);
}

class GetUIPermissionsRequest extends $pb.GeneratedMessage {
  factory GetUIPermissionsRequest({
    $3.ResourceType? rscType,
    $core.String? client,
    $core.String? service,
  }) {
    final $result = create();
    if (rscType != null) {
      $result.rscType = rscType;
    }
    if (client != null) {
      $result.client = client;
    }
    if (service != null) {
      $result.service = service;
    }
    return $result;
  }
  GetUIPermissionsRequest._() : super();
  factory GetUIPermissionsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory GetUIPermissionsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

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

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $3.ResourceType get rscType => $_getN(0);
  @$pb.TagNumber(1)
  set rscType($3.ResourceType v) { $_setField(1, v); }
  @$pb.TagNumber(1)
  $core.bool hasRscType() => $_has(0);
  @$pb.TagNumber(1)
  void clearRscType() => $_clearField(1);

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

  @$pb.TagNumber(3)
  $core.String get service => $_getSZ(2);
  @$pb.TagNumber(3)
  set service($core.String v) { $_setString(2, v); }
  @$pb.TagNumber(3)
  $core.bool hasService() => $_has(2);
  @$pb.TagNumber(3)
  void clearService() => $_clearField(3);
}

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

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

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(1)
  $pb.PbList<$3.Permission> get permissions => $_getList(0);
}

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

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

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(2)
  $core.String get client => $_getSZ(0);
  @$pb.TagNumber(2)
  set client($core.String v) { $_setString(0, v); }
  @$pb.TagNumber(2)
  $core.bool hasClient() => $_has(0);
  @$pb.TagNumber(2)
  void clearClient() => $_clearField(2);
}

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

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListUserUIPermissionsResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..pc<$3.UserUIPermissions>(2, _omitFieldNames ? '' : 'Permissions', $pb.PbFieldType.PM, protoName: 'Permissions', subBuilder: $3.UserUIPermissions.create)
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

  @$pb.TagNumber(2)
  $pb.PbList<$3.UserUIPermissions> get permissions => $_getList(0);
}

class RegisterPackageRequest extends $pb.GeneratedMessage {
  factory RegisterPackageRequest({
    $core.String? packageName,
    $core.Iterable<$3.ClientAPI>? clients,
    $core.bool? forceFullScopeCreation,
    $core.Iterable<$52.Role>? roles,
    $core.Iterable<$3.ModuleRegistration>? workflows,
    $core.Iterable<$34.Module>? modules,
  }) {
    final $result = create();
    if (packageName != null) {
      $result.packageName = packageName;
    }
    if (clients != null) {
      $result.clients.addAll(clients);
    }
    if (forceFullScopeCreation != null) {
      $result.forceFullScopeCreation = forceFullScopeCreation;
    }
    if (roles != null) {
      $result.roles.addAll(roles);
    }
    if (workflows != null) {
      $result.workflows.addAll(workflows);
    }
    if (modules != null) {
      $result.modules.addAll(modules);
    }
    return $result;
  }
  RegisterPackageRequest._() : super();
  factory RegisterPackageRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory RegisterPackageRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RegisterPackageRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'PackageName', protoName: 'PackageName')
    ..pc<$3.ClientAPI>(2, _omitFieldNames ? '' : 'Clients', $pb.PbFieldType.PM, protoName: 'Clients', subBuilder: $3.ClientAPI.create)
    ..aOB(3, _omitFieldNames ? '' : 'ForceFullScopeCreation', protoName: 'ForceFullScopeCreation')
    ..pc<$52.Role>(4, _omitFieldNames ? '' : 'Roles', $pb.PbFieldType.PM, protoName: 'Roles', subBuilder: $52.Role.create)
    ..pc<$3.ModuleRegistration>(5, _omitFieldNames ? '' : 'Workflows', $pb.PbFieldType.PM, protoName: 'Workflows', subBuilder: $3.ModuleRegistration.create)
    ..pc<$34.Module>(6, _omitFieldNames ? '' : 'Modules', $pb.PbFieldType.PM, protoName: 'Modules', subBuilder: $34.Module.create)
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

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

  @$pb.TagNumber(2)
  $pb.PbList<$3.ClientAPI> get clients => $_getList(1);

  @$pb.TagNumber(3)
  $core.bool get forceFullScopeCreation => $_getBF(2);
  @$pb.TagNumber(3)
  set forceFullScopeCreation($core.bool v) { $_setBool(2, v); }
  @$pb.TagNumber(3)
  $core.bool hasForceFullScopeCreation() => $_has(2);
  @$pb.TagNumber(3)
  void clearForceFullScopeCreation() => $_clearField(3);

  @$pb.TagNumber(4)
  $pb.PbList<$52.Role> get roles => $_getList(3);

  @$pb.TagNumber(5)
  $pb.PbList<$3.ModuleRegistration> get workflows => $_getList(4);

  @$pb.TagNumber(6)
  $pb.PbList<$34.Module> get modules => $_getList(5);
}

class RegisterPackageResult extends $pb.GeneratedMessage {
  factory RegisterPackageResult() => create();
  RegisterPackageResult._() : super();
  factory RegisterPackageResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory RegisterPackageResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

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

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

  $pb.BuilderInfo get info_ => _i;

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

class CreateScopeRequest extends $pb.GeneratedMessage {
  factory CreateScopeRequest({
    $core.String? moduleName,
    $core.String? client,
    $3.Scope? scope,
  }) {
    final $result = create();
    if (moduleName != null) {
      $result.moduleName = moduleName;
    }
    if (client != null) {
      $result.client = client;
    }
    if (scope != null) {
      $result.scope = scope;
    }
    return $result;
  }
  CreateScopeRequest._() : super();
  factory CreateScopeRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory CreateScopeRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateScopeRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'ModuleName', protoName: 'ModuleName')
    ..aOS(2, _omitFieldNames ? '' : 'Client', protoName: 'Client')
    ..aOM<$3.Scope>(3, _omitFieldNames ? '' : 'Scope', protoName: 'Scope', subBuilder: $3.Scope.create)
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

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

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

  @$pb.TagNumber(3)
  $3.Scope get scope => $_getN(2);
  @$pb.TagNumber(3)
  set scope($3.Scope v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasScope() => $_has(2);
  @$pb.TagNumber(3)
  void clearScope() => $_clearField(3);
  @$pb.TagNumber(3)
  $3.Scope ensureScope() => $_ensure(2);
}

class CreateScopeResult extends $pb.GeneratedMessage {
  factory CreateScopeResult() => create();
  CreateScopeResult._() : super();
  factory CreateScopeResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory CreateScopeResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

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

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

  $pb.BuilderInfo get info_ => _i;

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

class DeleteScopeRequest extends $pb.GeneratedMessage {
  factory DeleteScopeRequest({
    $core.String? moduleName,
    $core.String? client,
    $3.Scope? scope,
  }) {
    final $result = create();
    if (moduleName != null) {
      $result.moduleName = moduleName;
    }
    if (client != null) {
      $result.client = client;
    }
    if (scope != null) {
      $result.scope = scope;
    }
    return $result;
  }
  DeleteScopeRequest._() : super();
  factory DeleteScopeRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory DeleteScopeRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteScopeRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'ModuleName', protoName: 'ModuleName')
    ..aOS(2, _omitFieldNames ? '' : 'Client', protoName: 'Client')
    ..aOM<$3.Scope>(3, _omitFieldNames ? '' : 'Scope', protoName: 'Scope', subBuilder: $3.Scope.create)
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

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

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

  @$pb.TagNumber(3)
  $3.Scope get scope => $_getN(2);
  @$pb.TagNumber(3)
  set scope($3.Scope v) { $_setField(3, v); }
  @$pb.TagNumber(3)
  $core.bool hasScope() => $_has(2);
  @$pb.TagNumber(3)
  void clearScope() => $_clearField(3);
  @$pb.TagNumber(3)
  $3.Scope ensureScope() => $_ensure(2);
}

class DeleteScopeResult extends $pb.GeneratedMessage {
  factory DeleteScopeResult() => create();
  DeleteScopeResult._() : super();
  factory DeleteScopeResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory DeleteScopeResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

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

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

  $pb.BuilderInfo get info_ => _i;

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

class CleanScopeRequest extends $pb.GeneratedMessage {
  factory CleanScopeRequest({
    $core.String? client,
    $3.Scope? scope,
  }) {
    final $result = create();
    if (client != null) {
      $result.client = client;
    }
    if (scope != null) {
      $result.scope = scope;
    }
    return $result;
  }
  CleanScopeRequest._() : super();
  factory CleanScopeRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory CleanScopeRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CleanScopeRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
    ..aOS(1, _omitFieldNames ? '' : 'Client', protoName: 'Client')
    ..aOM<$3.Scope>(2, _omitFieldNames ? '' : 'Scope', protoName: 'Scope', subBuilder: $3.Scope.create)
    ..hasRequiredFields = false
  ;

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

  $pb.BuilderInfo get info_ => _i;

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

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

  @$pb.TagNumber(2)
  $3.Scope get scope => $_getN(1);
  @$pb.TagNumber(2)
  set scope($3.Scope v) { $_setField(2, v); }
  @$pb.TagNumber(2)
  $core.bool hasScope() => $_has(1);
  @$pb.TagNumber(2)
  void clearScope() => $_clearField(2);
  @$pb.TagNumber(2)
  $3.Scope ensureScope() => $_ensure(1);
}

class CleanScopeResult extends $pb.GeneratedMessage {
  factory CleanScopeResult() => create();
  CleanScopeResult._() : super();
  factory CleanScopeResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
  factory CleanScopeResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);

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

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

  $pb.BuilderInfo get info_ => _i;

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


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