Compare commits
19 Commits
implement-
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 9902f11b40 | |||
| 425622d06f | |||
| 92a56dce80 | |||
| efeeab2d79 | |||
| 9637059f77 | |||
| 59f3ce90ec | |||
| 01439e1694 | |||
| 57ac5cdab3 | |||
| 725bfb9cd9 | |||
| 884f7a3399 | |||
| a9a7f05332 | |||
| e236986b51 | |||
| c0b33d7839 | |||
| b4be0eab10 | |||
| df76bd858d | |||
| ac16669d96 | |||
| 9d3b881d40 | |||
| e7aa4f1bad | |||
| c0111b8f66 |
@@ -138,11 +138,11 @@ class AccountData extends $pb.GeneratedMessage {
|
||||
|
||||
class SignUpRequest extends $pb.GeneratedMessage {
|
||||
factory SignUpRequest({
|
||||
AccountData? data,
|
||||
AccountPassword? password,
|
||||
$core.String? email,
|
||||
$core.String? password,
|
||||
}) {
|
||||
final result = create();
|
||||
if (data != null) result.data = data;
|
||||
if (email != null) result.email = email;
|
||||
if (password != null) result.password = password;
|
||||
return result;
|
||||
}
|
||||
@@ -160,10 +160,8 @@ class SignUpRequest extends $pb.GeneratedMessage {
|
||||
_omitMessageNames ? '' : 'SignUpRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'accounts.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOM<AccountData>(1, _omitFieldNames ? '' : 'data',
|
||||
subBuilder: AccountData.create)
|
||||
..aOM<AccountPassword>(2, _omitFieldNames ? '' : 'password',
|
||||
subBuilder: AccountPassword.create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'email')
|
||||
..aOS(2, _omitFieldNames ? '' : 'password')
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
@@ -186,36 +184,32 @@ class SignUpRequest extends $pb.GeneratedMessage {
|
||||
static SignUpRequest? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
AccountData get data => $_getN(0);
|
||||
$core.String get email => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
set data(AccountData value) => $_setField(1, value);
|
||||
set email($core.String value) => $_setString(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasData() => $_has(0);
|
||||
$core.bool hasEmail() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearData() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
AccountData ensureData() => $_ensure(0);
|
||||
void clearEmail() => $_clearField(1);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
AccountPassword get password => $_getN(1);
|
||||
$core.String get password => $_getSZ(1);
|
||||
@$pb.TagNumber(2)
|
||||
set password(AccountPassword value) => $_setField(2, value);
|
||||
set password($core.String value) => $_setString(1, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasPassword() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearPassword() => $_clearField(2);
|
||||
@$pb.TagNumber(2)
|
||||
AccountPassword ensurePassword() => $_ensure(1);
|
||||
}
|
||||
|
||||
class SignInRequest extends $pb.GeneratedMessage {
|
||||
factory SignInRequest({
|
||||
$core.String? code,
|
||||
$core.String? verifier,
|
||||
$core.String? email,
|
||||
$core.String? password,
|
||||
}) {
|
||||
final result = create();
|
||||
if (code != null) result.code = code;
|
||||
if (verifier != null) result.verifier = verifier;
|
||||
if (email != null) result.email = email;
|
||||
if (password != null) result.password = password;
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -232,8 +226,8 @@ class SignInRequest extends $pb.GeneratedMessage {
|
||||
_omitMessageNames ? '' : 'SignInRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'accounts.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'code')
|
||||
..aOS(2, _omitFieldNames ? '' : 'verifier')
|
||||
..aOS(1, _omitFieldNames ? '' : 'email')
|
||||
..aOS(2, _omitFieldNames ? '' : 'password')
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
@@ -256,22 +250,22 @@ class SignInRequest extends $pb.GeneratedMessage {
|
||||
static SignInRequest? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get code => $_getSZ(0);
|
||||
$core.String get email => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
set code($core.String value) => $_setString(0, value);
|
||||
set email($core.String value) => $_setString(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasCode() => $_has(0);
|
||||
$core.bool hasEmail() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearCode() => $_clearField(1);
|
||||
void clearEmail() => $_clearField(1);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$core.String get verifier => $_getSZ(1);
|
||||
$core.String get password => $_getSZ(1);
|
||||
@$pb.TagNumber(2)
|
||||
set verifier($core.String value) => $_setString(1, value);
|
||||
set password($core.String value) => $_setString(1, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasVerifier() => $_has(1);
|
||||
$core.bool hasPassword() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearVerifier() => $_clearField(2);
|
||||
void clearPassword() => $_clearField(2);
|
||||
}
|
||||
|
||||
class ResetPasswordRequest extends $pb.GeneratedMessage {
|
||||
@@ -528,6 +522,60 @@ class IsEmailVerifiedResponse extends $pb.GeneratedMessage {
|
||||
void clearVerified() => $_clearField(1);
|
||||
}
|
||||
|
||||
class RefreshTokenRequest extends $pb.GeneratedMessage {
|
||||
factory RefreshTokenRequest({
|
||||
$core.String? sessionId,
|
||||
}) {
|
||||
final result = create();
|
||||
if (sessionId != null) result.sessionId = sessionId;
|
||||
return result;
|
||||
}
|
||||
|
||||
RefreshTokenRequest._();
|
||||
|
||||
factory RefreshTokenRequest.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory RefreshTokenRequest.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'RefreshTokenRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'accounts.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'sessionId')
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
RefreshTokenRequest clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
RefreshTokenRequest copyWith(void Function(RefreshTokenRequest) updates) =>
|
||||
super.copyWith((message) => updates(message as RefreshTokenRequest))
|
||||
as RefreshTokenRequest;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static RefreshTokenRequest create() => RefreshTokenRequest._();
|
||||
@$core.override
|
||||
RefreshTokenRequest createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static RefreshTokenRequest getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<RefreshTokenRequest>(create);
|
||||
static RefreshTokenRequest? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get sessionId => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
set sessionId($core.String value) => $_setString(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasSessionId() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearSessionId() => $_clearField(1);
|
||||
}
|
||||
|
||||
const $core.bool _omitFieldNames =
|
||||
$core.bool.fromEnvironment('protobuf.omit_field_names');
|
||||
const $core.bool _omitMessageNames =
|
||||
|
||||
@@ -23,8 +23,8 @@ export 'accounts_v1.pb.dart';
|
||||
|
||||
/// *
|
||||
/// Service for handling accounts that do not require authentication
|
||||
@$pb.GrpcServiceName('accounts.v1.AccountsNoAuthService')
|
||||
class AccountsNoAuthServiceClient extends $grpc.Client {
|
||||
@$pb.GrpcServiceName('accounts.v1.PublicAccountsService')
|
||||
class PublicAccountsServiceClient extends $grpc.Client {
|
||||
/// The hostname for this service.
|
||||
static const $core.String defaultHost = '';
|
||||
|
||||
@@ -33,7 +33,7 @@ class AccountsNoAuthServiceClient extends $grpc.Client {
|
||||
'',
|
||||
];
|
||||
|
||||
AccountsNoAuthServiceClient(super.channel,
|
||||
PublicAccountsServiceClient(super.channel,
|
||||
{super.options, super.interceptors});
|
||||
|
||||
/// Sing in into an existing account
|
||||
@@ -44,19 +44,31 @@ class AccountsNoAuthServiceClient extends $grpc.Client {
|
||||
return $createUnaryCall(_$signIn, request, options: options);
|
||||
}
|
||||
|
||||
/// Create a new account
|
||||
$grpc.ResponseFuture<$1.Empty> signUp(
|
||||
$0.SignUpRequest request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$signUp, request, options: options);
|
||||
}
|
||||
|
||||
// method descriptors
|
||||
|
||||
static final _$signIn = $grpc.ClientMethod<$0.SignInRequest, $1.Empty>(
|
||||
'/accounts.v1.AccountsNoAuthService/SignIn',
|
||||
'/accounts.v1.PublicAccountsService/SignIn',
|
||||
($0.SignInRequest value) => value.writeToBuffer(),
|
||||
$1.Empty.fromBuffer);
|
||||
static final _$signUp = $grpc.ClientMethod<$0.SignUpRequest, $1.Empty>(
|
||||
'/accounts.v1.PublicAccountsService/SignUp',
|
||||
($0.SignUpRequest value) => value.writeToBuffer(),
|
||||
$1.Empty.fromBuffer);
|
||||
}
|
||||
|
||||
@$pb.GrpcServiceName('accounts.v1.AccountsNoAuthService')
|
||||
abstract class AccountsNoAuthServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'accounts.v1.AccountsNoAuthService';
|
||||
@$pb.GrpcServiceName('accounts.v1.PublicAccountsService')
|
||||
abstract class PublicAccountsServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'accounts.v1.PublicAccountsService';
|
||||
|
||||
AccountsNoAuthServiceBase() {
|
||||
PublicAccountsServiceBase() {
|
||||
$addMethod($grpc.ServiceMethod<$0.SignInRequest, $1.Empty>(
|
||||
'SignIn',
|
||||
signIn_Pre,
|
||||
@@ -64,6 +76,13 @@ abstract class AccountsNoAuthServiceBase extends $grpc.Service {
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.SignInRequest.fromBuffer(value),
|
||||
($1.Empty value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.SignUpRequest, $1.Empty>(
|
||||
'SignUp',
|
||||
signUp_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.SignUpRequest.fromBuffer(value),
|
||||
($1.Empty value) => value.writeToBuffer()));
|
||||
}
|
||||
|
||||
$async.Future<$1.Empty> signIn_Pre(
|
||||
@@ -73,13 +92,18 @@ abstract class AccountsNoAuthServiceBase extends $grpc.Service {
|
||||
|
||||
$async.Future<$1.Empty> signIn(
|
||||
$grpc.ServiceCall call, $0.SignInRequest request);
|
||||
|
||||
$async.Future<$1.Empty> signUp_Pre(
|
||||
$grpc.ServiceCall $call, $async.Future<$0.SignUpRequest> $request) async {
|
||||
return signUp($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$1.Empty> signUp(
|
||||
$grpc.ServiceCall call, $0.SignUpRequest request);
|
||||
}
|
||||
|
||||
/// *
|
||||
/// Service for handling accounts that do require authentication
|
||||
/// Tokens should be sent via metadata, so the service is able to authenticate a user for a request
|
||||
@$pb.GrpcServiceName('accounts.v1.AccountsAuthService')
|
||||
class AccountsAuthServiceClient extends $grpc.Client {
|
||||
@$pb.GrpcServiceName('accounts.v1.AccountsService')
|
||||
class AccountsServiceClient extends $grpc.Client {
|
||||
/// The hostname for this service.
|
||||
static const $core.String defaultHost = '';
|
||||
|
||||
@@ -88,7 +112,7 @@ class AccountsAuthServiceClient extends $grpc.Client {
|
||||
'',
|
||||
];
|
||||
|
||||
AccountsAuthServiceClient(super.channel, {super.options, super.interceptors});
|
||||
AccountsServiceClient(super.channel, {super.options, super.interceptors});
|
||||
|
||||
/// Is email for the current account verified
|
||||
$grpc.ResponseFuture<$0.IsEmailVerifiedResponse> isEmailVerified(
|
||||
@@ -98,31 +122,43 @@ class AccountsAuthServiceClient extends $grpc.Client {
|
||||
return $createUnaryCall(_$isEmailVerified, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$1.Empty> refreshToken(
|
||||
$grpc.ResponseFuture<$1.Empty> refreshSession(
|
||||
$1.Empty request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$refreshToken, request, options: options);
|
||||
return $createUnaryCall(_$refreshSession, request, options: options);
|
||||
}
|
||||
|
||||
/// Authorize using long living tokens
|
||||
$grpc.ResponseFuture<$1.Empty> tokenAuthorization(
|
||||
$1.Empty request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$tokenAuthorization, request, options: options);
|
||||
}
|
||||
|
||||
// method descriptors
|
||||
|
||||
static final _$isEmailVerified =
|
||||
$grpc.ClientMethod<$0.IsEmailVerifiedRequest, $0.IsEmailVerifiedResponse>(
|
||||
'/accounts.v1.AccountsAuthService/IsEmailVerified',
|
||||
'/accounts.v1.AccountsService/IsEmailVerified',
|
||||
($0.IsEmailVerifiedRequest value) => value.writeToBuffer(),
|
||||
$0.IsEmailVerifiedResponse.fromBuffer);
|
||||
static final _$refreshToken = $grpc.ClientMethod<$1.Empty, $1.Empty>(
|
||||
'/accounts.v1.AccountsAuthService/RefreshToken',
|
||||
static final _$refreshSession = $grpc.ClientMethod<$1.Empty, $1.Empty>(
|
||||
'/accounts.v1.AccountsService/RefreshSession',
|
||||
($1.Empty value) => value.writeToBuffer(),
|
||||
$1.Empty.fromBuffer);
|
||||
static final _$tokenAuthorization = $grpc.ClientMethod<$1.Empty, $1.Empty>(
|
||||
'/accounts.v1.AccountsService/TokenAuthorization',
|
||||
($1.Empty value) => value.writeToBuffer(),
|
||||
$1.Empty.fromBuffer);
|
||||
}
|
||||
|
||||
@$pb.GrpcServiceName('accounts.v1.AccountsAuthService')
|
||||
abstract class AccountsAuthServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'accounts.v1.AccountsAuthService';
|
||||
@$pb.GrpcServiceName('accounts.v1.AccountsService')
|
||||
abstract class AccountsServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'accounts.v1.AccountsService';
|
||||
|
||||
AccountsAuthServiceBase() {
|
||||
AccountsServiceBase() {
|
||||
$addMethod($grpc.ServiceMethod<$0.IsEmailVerifiedRequest,
|
||||
$0.IsEmailVerifiedResponse>(
|
||||
'IsEmailVerified',
|
||||
@@ -133,8 +169,15 @@ abstract class AccountsAuthServiceBase extends $grpc.Service {
|
||||
$0.IsEmailVerifiedRequest.fromBuffer(value),
|
||||
($0.IsEmailVerifiedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$1.Empty, $1.Empty>(
|
||||
'RefreshToken',
|
||||
refreshToken_Pre,
|
||||
'RefreshSession',
|
||||
refreshSession_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $1.Empty.fromBuffer(value),
|
||||
($1.Empty value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$1.Empty, $1.Empty>(
|
||||
'TokenAuthorization',
|
||||
tokenAuthorization_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $1.Empty.fromBuffer(value),
|
||||
@@ -150,11 +193,19 @@ abstract class AccountsAuthServiceBase extends $grpc.Service {
|
||||
$async.Future<$0.IsEmailVerifiedResponse> isEmailVerified(
|
||||
$grpc.ServiceCall call, $0.IsEmailVerifiedRequest request);
|
||||
|
||||
$async.Future<$1.Empty> refreshToken_Pre(
|
||||
$async.Future<$1.Empty> refreshSession_Pre(
|
||||
$grpc.ServiceCall $call, $async.Future<$1.Empty> $request) async {
|
||||
return refreshToken($call, await $request);
|
||||
return refreshSession($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$1.Empty> refreshToken(
|
||||
$async.Future<$1.Empty> refreshSession(
|
||||
$grpc.ServiceCall call, $1.Empty request);
|
||||
|
||||
$async.Future<$1.Empty> tokenAuthorization_Pre(
|
||||
$grpc.ServiceCall $call, $async.Future<$1.Empty> $request) async {
|
||||
return tokenAuthorization($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$1.Empty> tokenAuthorization(
|
||||
$grpc.ServiceCall call, $1.Empty request);
|
||||
}
|
||||
|
||||
@@ -45,44 +45,29 @@ final $typed_data.Uint8List accountDataDescriptor = $convert.base64Decode(
|
||||
const SignUpRequest$json = {
|
||||
'1': 'SignUpRequest',
|
||||
'2': [
|
||||
{
|
||||
'1': 'data',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.accounts.v1.AccountData',
|
||||
'10': 'data'
|
||||
},
|
||||
{
|
||||
'1': 'password',
|
||||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.accounts.v1.AccountPassword',
|
||||
'10': 'password'
|
||||
},
|
||||
{'1': 'email', '3': 1, '4': 1, '5': 9, '10': 'email'},
|
||||
{'1': 'password', '3': 2, '4': 1, '5': 9, '10': 'password'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `SignUpRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List signUpRequestDescriptor = $convert.base64Decode(
|
||||
'Cg1TaWduVXBSZXF1ZXN0EiwKBGRhdGEYASABKAsyGC5hY2NvdW50cy52MS5BY2NvdW50RGF0YV'
|
||||
'IEZGF0YRI4CghwYXNzd29yZBgCIAEoCzIcLmFjY291bnRzLnYxLkFjY291bnRQYXNzd29yZFII'
|
||||
'cGFzc3dvcmQ=');
|
||||
'Cg1TaWduVXBSZXF1ZXN0EhQKBWVtYWlsGAEgASgJUgVlbWFpbBIaCghwYXNzd29yZBgCIAEoCV'
|
||||
'IIcGFzc3dvcmQ=');
|
||||
|
||||
@$core.Deprecated('Use signInRequestDescriptor instead')
|
||||
const SignInRequest$json = {
|
||||
'1': 'SignInRequest',
|
||||
'2': [
|
||||
{'1': 'code', '3': 1, '4': 1, '5': 9, '10': 'code'},
|
||||
{'1': 'verifier', '3': 2, '4': 1, '5': 9, '10': 'verifier'},
|
||||
{'1': 'email', '3': 1, '4': 1, '5': 9, '10': 'email'},
|
||||
{'1': 'password', '3': 2, '4': 1, '5': 9, '10': 'password'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `SignInRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List signInRequestDescriptor = $convert.base64Decode(
|
||||
'Cg1TaWduSW5SZXF1ZXN0EhIKBGNvZGUYASABKAlSBGNvZGUSGgoIdmVyaWZpZXIYAiABKAlSCH'
|
||||
'ZlcmlmaWVy');
|
||||
'Cg1TaWduSW5SZXF1ZXN0EhQKBWVtYWlsGAEgASgJUgVlbWFpbBIaCghwYXNzd29yZBgCIAEoCV'
|
||||
'IIcGFzc3dvcmQ=');
|
||||
|
||||
@$core.Deprecated('Use resetPasswordRequestDescriptor instead')
|
||||
const ResetPasswordRequest$json = {
|
||||
@@ -167,3 +152,15 @@ const IsEmailVerifiedResponse$json = {
|
||||
final $typed_data.Uint8List isEmailVerifiedResponseDescriptor =
|
||||
$convert.base64Decode(
|
||||
'ChdJc0VtYWlsVmVyaWZpZWRSZXNwb25zZRIaCgh2ZXJpZmllZBgBIAEoCFIIdmVyaWZpZWQ=');
|
||||
|
||||
@$core.Deprecated('Use refreshTokenRequestDescriptor instead')
|
||||
const RefreshTokenRequest$json = {
|
||||
'1': 'RefreshTokenRequest',
|
||||
'2': [
|
||||
{'1': 'session_id', '3': 1, '4': 1, '5': 9, '10': 'sessionId'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `RefreshTokenRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List refreshTokenRequestDescriptor = $convert.base64Decode(
|
||||
'ChNSZWZyZXNoVG9rZW5SZXF1ZXN0Eh0KCnNlc3Npb25faWQYASABKAlSCXNlc3Npb25JZA==');
|
||||
|
||||
@@ -1,939 +0,0 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from applications/v1/applications_v1.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, prefer_relative_imports
|
||||
|
||||
import 'dart:core' as $core;
|
||||
|
||||
import 'package:protobuf/protobuf.dart' as $pb;
|
||||
|
||||
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
||||
|
||||
class OwnerId extends $pb.GeneratedMessage {
|
||||
factory OwnerId({
|
||||
$core.String? uuid,
|
||||
}) {
|
||||
final result = create();
|
||||
if (uuid != null) result.uuid = uuid;
|
||||
return result;
|
||||
}
|
||||
|
||||
OwnerId._();
|
||||
|
||||
factory OwnerId.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory OwnerId.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'OwnerId',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'applications'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'uuid')
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
OwnerId clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
OwnerId copyWith(void Function(OwnerId) updates) =>
|
||||
super.copyWith((message) => updates(message as OwnerId)) as OwnerId;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static OwnerId create() => OwnerId._();
|
||||
@$core.override
|
||||
OwnerId createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static OwnerId getDefault() =>
|
||||
_defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<OwnerId>(create);
|
||||
static OwnerId? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get uuid => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
set uuid($core.String value) => $_setString(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasUuid() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearUuid() => $_clearField(1);
|
||||
}
|
||||
|
||||
class Token extends $pb.GeneratedMessage {
|
||||
factory Token({
|
||||
$core.String? token,
|
||||
}) {
|
||||
final result = create();
|
||||
if (token != null) result.token = token;
|
||||
return result;
|
||||
}
|
||||
|
||||
Token._();
|
||||
|
||||
factory Token.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory Token.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'Token',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'applications'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'token')
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Token clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Token copyWith(void Function(Token) updates) =>
|
||||
super.copyWith((message) => updates(message as Token)) as Token;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static Token create() => Token._();
|
||||
@$core.override
|
||||
Token createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static Token getDefault() =>
|
||||
_defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Token>(create);
|
||||
static Token? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get token => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
set token($core.String value) => $_setString(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasToken() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearToken() => $_clearField(1);
|
||||
}
|
||||
|
||||
class CreateOptions extends $pb.GeneratedMessage {
|
||||
factory CreateOptions({
|
||||
ApplicationMetadata? metadata,
|
||||
ApplicationSpec? spec,
|
||||
OwnerId? ownerId,
|
||||
Token? token,
|
||||
}) {
|
||||
final result = create();
|
||||
if (metadata != null) result.metadata = metadata;
|
||||
if (spec != null) result.spec = spec;
|
||||
if (ownerId != null) result.ownerId = ownerId;
|
||||
if (token != null) result.token = token;
|
||||
return result;
|
||||
}
|
||||
|
||||
CreateOptions._();
|
||||
|
||||
factory CreateOptions.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory CreateOptions.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'CreateOptions',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'applications'),
|
||||
createEmptyInstance: create)
|
||||
..aOM<ApplicationMetadata>(1, _omitFieldNames ? '' : 'metadata',
|
||||
subBuilder: ApplicationMetadata.create)
|
||||
..aOM<ApplicationSpec>(2, _omitFieldNames ? '' : 'spec',
|
||||
subBuilder: ApplicationSpec.create)
|
||||
..aOM<OwnerId>(3, _omitFieldNames ? '' : 'ownerId',
|
||||
subBuilder: OwnerId.create)
|
||||
..aOM<Token>(4, _omitFieldNames ? '' : 'token', subBuilder: Token.create)
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
CreateOptions clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
CreateOptions copyWith(void Function(CreateOptions) updates) =>
|
||||
super.copyWith((message) => updates(message as CreateOptions))
|
||||
as CreateOptions;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static CreateOptions create() => CreateOptions._();
|
||||
@$core.override
|
||||
CreateOptions createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static CreateOptions getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<CreateOptions>(create);
|
||||
static CreateOptions? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
ApplicationMetadata get metadata => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set metadata(ApplicationMetadata value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasMetadata() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearMetadata() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
ApplicationMetadata ensureMetadata() => $_ensure(0);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
ApplicationSpec get spec => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set spec(ApplicationSpec value) => $_setField(2, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasSpec() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearSpec() => $_clearField(2);
|
||||
@$pb.TagNumber(2)
|
||||
ApplicationSpec ensureSpec() => $_ensure(1);
|
||||
|
||||
@$pb.TagNumber(3)
|
||||
OwnerId get ownerId => $_getN(2);
|
||||
@$pb.TagNumber(3)
|
||||
set ownerId(OwnerId value) => $_setField(3, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasOwnerId() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearOwnerId() => $_clearField(3);
|
||||
@$pb.TagNumber(3)
|
||||
OwnerId ensureOwnerId() => $_ensure(2);
|
||||
|
||||
@$pb.TagNumber(4)
|
||||
Token get token => $_getN(3);
|
||||
@$pb.TagNumber(4)
|
||||
set token(Token value) => $_setField(4, value);
|
||||
@$pb.TagNumber(4)
|
||||
$core.bool hasToken() => $_has(3);
|
||||
@$pb.TagNumber(4)
|
||||
void clearToken() => $_clearField(4);
|
||||
@$pb.TagNumber(4)
|
||||
Token ensureToken() => $_ensure(3);
|
||||
}
|
||||
|
||||
class UpdateOptions extends $pb.GeneratedMessage {
|
||||
factory UpdateOptions({
|
||||
ApplicationId? id,
|
||||
ApplicationMetadata? metadata,
|
||||
ApplicationSpec? spec,
|
||||
OwnerId? ownerId,
|
||||
Token? token,
|
||||
}) {
|
||||
final result = create();
|
||||
if (id != null) result.id = id;
|
||||
if (metadata != null) result.metadata = metadata;
|
||||
if (spec != null) result.spec = spec;
|
||||
if (ownerId != null) result.ownerId = ownerId;
|
||||
if (token != null) result.token = token;
|
||||
return result;
|
||||
}
|
||||
|
||||
UpdateOptions._();
|
||||
|
||||
factory UpdateOptions.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory UpdateOptions.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'UpdateOptions',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'applications'),
|
||||
createEmptyInstance: create)
|
||||
..aOM<ApplicationId>(1, _omitFieldNames ? '' : 'id',
|
||||
subBuilder: ApplicationId.create)
|
||||
..aOM<ApplicationMetadata>(2, _omitFieldNames ? '' : 'metadata',
|
||||
subBuilder: ApplicationMetadata.create)
|
||||
..aOM<ApplicationSpec>(3, _omitFieldNames ? '' : 'spec',
|
||||
subBuilder: ApplicationSpec.create)
|
||||
..aOM<OwnerId>(4, _omitFieldNames ? '' : 'ownerId',
|
||||
subBuilder: OwnerId.create)
|
||||
..aOM<Token>(5, _omitFieldNames ? '' : 'token', subBuilder: Token.create)
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
UpdateOptions clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
UpdateOptions copyWith(void Function(UpdateOptions) updates) =>
|
||||
super.copyWith((message) => updates(message as UpdateOptions))
|
||||
as UpdateOptions;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static UpdateOptions create() => UpdateOptions._();
|
||||
@$core.override
|
||||
UpdateOptions createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static UpdateOptions getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<UpdateOptions>(create);
|
||||
static UpdateOptions? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
ApplicationId get id => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set id(ApplicationId value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasId() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearId() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
ApplicationId ensureId() => $_ensure(0);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
ApplicationMetadata get metadata => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set metadata(ApplicationMetadata value) => $_setField(2, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasMetadata() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearMetadata() => $_clearField(2);
|
||||
@$pb.TagNumber(2)
|
||||
ApplicationMetadata ensureMetadata() => $_ensure(1);
|
||||
|
||||
@$pb.TagNumber(3)
|
||||
ApplicationSpec get spec => $_getN(2);
|
||||
@$pb.TagNumber(3)
|
||||
set spec(ApplicationSpec value) => $_setField(3, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasSpec() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearSpec() => $_clearField(3);
|
||||
@$pb.TagNumber(3)
|
||||
ApplicationSpec ensureSpec() => $_ensure(2);
|
||||
|
||||
@$pb.TagNumber(4)
|
||||
OwnerId get ownerId => $_getN(3);
|
||||
@$pb.TagNumber(4)
|
||||
set ownerId(OwnerId value) => $_setField(4, value);
|
||||
@$pb.TagNumber(4)
|
||||
$core.bool hasOwnerId() => $_has(3);
|
||||
@$pb.TagNumber(4)
|
||||
void clearOwnerId() => $_clearField(4);
|
||||
@$pb.TagNumber(4)
|
||||
OwnerId ensureOwnerId() => $_ensure(3);
|
||||
|
||||
@$pb.TagNumber(5)
|
||||
Token get token => $_getN(4);
|
||||
@$pb.TagNumber(5)
|
||||
set token(Token value) => $_setField(5, value);
|
||||
@$pb.TagNumber(5)
|
||||
$core.bool hasToken() => $_has(4);
|
||||
@$pb.TagNumber(5)
|
||||
void clearToken() => $_clearField(5);
|
||||
@$pb.TagNumber(5)
|
||||
Token ensureToken() => $_ensure(4);
|
||||
}
|
||||
|
||||
class DeleteOptions extends $pb.GeneratedMessage {
|
||||
factory DeleteOptions({
|
||||
ApplicationId? id,
|
||||
ApplicationMetadata? metadata,
|
||||
OwnerId? ownerId,
|
||||
Token? token,
|
||||
}) {
|
||||
final result = create();
|
||||
if (id != null) result.id = id;
|
||||
if (metadata != null) result.metadata = metadata;
|
||||
if (ownerId != null) result.ownerId = ownerId;
|
||||
if (token != null) result.token = token;
|
||||
return result;
|
||||
}
|
||||
|
||||
DeleteOptions._();
|
||||
|
||||
factory DeleteOptions.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory DeleteOptions.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'DeleteOptions',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'applications'),
|
||||
createEmptyInstance: create)
|
||||
..aOM<ApplicationId>(1, _omitFieldNames ? '' : 'id',
|
||||
subBuilder: ApplicationId.create)
|
||||
..aOM<ApplicationMetadata>(2, _omitFieldNames ? '' : 'metadata',
|
||||
subBuilder: ApplicationMetadata.create)
|
||||
..aOM<OwnerId>(3, _omitFieldNames ? '' : 'ownerId',
|
||||
subBuilder: OwnerId.create)
|
||||
..aOM<Token>(4, _omitFieldNames ? '' : 'token', subBuilder: Token.create)
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
DeleteOptions clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
DeleteOptions copyWith(void Function(DeleteOptions) updates) =>
|
||||
super.copyWith((message) => updates(message as DeleteOptions))
|
||||
as DeleteOptions;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static DeleteOptions create() => DeleteOptions._();
|
||||
@$core.override
|
||||
DeleteOptions createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static DeleteOptions getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<DeleteOptions>(create);
|
||||
static DeleteOptions? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
ApplicationId get id => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set id(ApplicationId value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasId() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearId() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
ApplicationId ensureId() => $_ensure(0);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
ApplicationMetadata get metadata => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set metadata(ApplicationMetadata value) => $_setField(2, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasMetadata() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearMetadata() => $_clearField(2);
|
||||
@$pb.TagNumber(2)
|
||||
ApplicationMetadata ensureMetadata() => $_ensure(1);
|
||||
|
||||
@$pb.TagNumber(3)
|
||||
OwnerId get ownerId => $_getN(2);
|
||||
@$pb.TagNumber(3)
|
||||
set ownerId(OwnerId value) => $_setField(3, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasOwnerId() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearOwnerId() => $_clearField(3);
|
||||
@$pb.TagNumber(3)
|
||||
OwnerId ensureOwnerId() => $_ensure(2);
|
||||
|
||||
@$pb.TagNumber(4)
|
||||
Token get token => $_getN(3);
|
||||
@$pb.TagNumber(4)
|
||||
set token(Token value) => $_setField(4, value);
|
||||
@$pb.TagNumber(4)
|
||||
$core.bool hasToken() => $_has(3);
|
||||
@$pb.TagNumber(4)
|
||||
void clearToken() => $_clearField(4);
|
||||
@$pb.TagNumber(4)
|
||||
Token ensureToken() => $_ensure(3);
|
||||
}
|
||||
|
||||
class GetOptions extends $pb.GeneratedMessage {
|
||||
factory GetOptions({
|
||||
ApplicationId? id,
|
||||
ApplicationMetadata? metadata,
|
||||
OwnerId? ownerId,
|
||||
Token? token,
|
||||
}) {
|
||||
final result = create();
|
||||
if (id != null) result.id = id;
|
||||
if (metadata != null) result.metadata = metadata;
|
||||
if (ownerId != null) result.ownerId = ownerId;
|
||||
if (token != null) result.token = token;
|
||||
return result;
|
||||
}
|
||||
|
||||
GetOptions._();
|
||||
|
||||
factory GetOptions.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory GetOptions.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'GetOptions',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'applications'),
|
||||
createEmptyInstance: create)
|
||||
..aOM<ApplicationId>(1, _omitFieldNames ? '' : 'id',
|
||||
subBuilder: ApplicationId.create)
|
||||
..aOM<ApplicationMetadata>(2, _omitFieldNames ? '' : 'metadata',
|
||||
subBuilder: ApplicationMetadata.create)
|
||||
..aOM<OwnerId>(3, _omitFieldNames ? '' : 'ownerId',
|
||||
subBuilder: OwnerId.create)
|
||||
..aOM<Token>(4, _omitFieldNames ? '' : 'token', subBuilder: Token.create)
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
GetOptions clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
GetOptions copyWith(void Function(GetOptions) updates) =>
|
||||
super.copyWith((message) => updates(message as GetOptions)) as GetOptions;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static GetOptions create() => GetOptions._();
|
||||
@$core.override
|
||||
GetOptions createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static GetOptions getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<GetOptions>(create);
|
||||
static GetOptions? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
ApplicationId get id => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set id(ApplicationId value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasId() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearId() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
ApplicationId ensureId() => $_ensure(0);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
ApplicationMetadata get metadata => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set metadata(ApplicationMetadata value) => $_setField(2, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasMetadata() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearMetadata() => $_clearField(2);
|
||||
@$pb.TagNumber(2)
|
||||
ApplicationMetadata ensureMetadata() => $_ensure(1);
|
||||
|
||||
@$pb.TagNumber(3)
|
||||
OwnerId get ownerId => $_getN(2);
|
||||
@$pb.TagNumber(3)
|
||||
set ownerId(OwnerId value) => $_setField(3, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasOwnerId() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearOwnerId() => $_clearField(3);
|
||||
@$pb.TagNumber(3)
|
||||
OwnerId ensureOwnerId() => $_ensure(2);
|
||||
|
||||
@$pb.TagNumber(4)
|
||||
Token get token => $_getN(3);
|
||||
@$pb.TagNumber(4)
|
||||
set token(Token value) => $_setField(4, value);
|
||||
@$pb.TagNumber(4)
|
||||
$core.bool hasToken() => $_has(3);
|
||||
@$pb.TagNumber(4)
|
||||
void clearToken() => $_clearField(4);
|
||||
@$pb.TagNumber(4)
|
||||
Token ensureToken() => $_ensure(3);
|
||||
}
|
||||
|
||||
class ListOptions extends $pb.GeneratedMessage {
|
||||
factory ListOptions({
|
||||
ApplicationMetadata? metadata,
|
||||
OwnerId? ownerId,
|
||||
Token? token,
|
||||
}) {
|
||||
final result = create();
|
||||
if (metadata != null) result.metadata = metadata;
|
||||
if (ownerId != null) result.ownerId = ownerId;
|
||||
if (token != null) result.token = token;
|
||||
return result;
|
||||
}
|
||||
|
||||
ListOptions._();
|
||||
|
||||
factory ListOptions.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory ListOptions.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'ListOptions',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'applications'),
|
||||
createEmptyInstance: create)
|
||||
..aOM<ApplicationMetadata>(1, _omitFieldNames ? '' : 'metadata',
|
||||
subBuilder: ApplicationMetadata.create)
|
||||
..aOM<OwnerId>(2, _omitFieldNames ? '' : 'ownerId',
|
||||
subBuilder: OwnerId.create)
|
||||
..aOM<Token>(3, _omitFieldNames ? '' : 'token', subBuilder: Token.create)
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ListOptions clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ListOptions copyWith(void Function(ListOptions) updates) =>
|
||||
super.copyWith((message) => updates(message as ListOptions))
|
||||
as ListOptions;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ListOptions create() => ListOptions._();
|
||||
@$core.override
|
||||
ListOptions createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ListOptions getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<ListOptions>(create);
|
||||
static ListOptions? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
ApplicationMetadata get metadata => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set metadata(ApplicationMetadata value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasMetadata() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearMetadata() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
ApplicationMetadata ensureMetadata() => $_ensure(0);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
OwnerId get ownerId => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set ownerId(OwnerId value) => $_setField(2, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasOwnerId() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearOwnerId() => $_clearField(2);
|
||||
@$pb.TagNumber(2)
|
||||
OwnerId ensureOwnerId() => $_ensure(1);
|
||||
|
||||
@$pb.TagNumber(3)
|
||||
Token get token => $_getN(2);
|
||||
@$pb.TagNumber(3)
|
||||
set token(Token value) => $_setField(3, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasToken() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearToken() => $_clearField(3);
|
||||
@$pb.TagNumber(3)
|
||||
Token ensureToken() => $_ensure(2);
|
||||
}
|
||||
|
||||
class ApplicationId extends $pb.GeneratedMessage {
|
||||
factory ApplicationId({
|
||||
$core.String? uuid,
|
||||
}) {
|
||||
final result = create();
|
||||
if (uuid != null) result.uuid = uuid;
|
||||
return result;
|
||||
}
|
||||
|
||||
ApplicationId._();
|
||||
|
||||
factory ApplicationId.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory ApplicationId.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'ApplicationId',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'applications'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'uuid')
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ApplicationId clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ApplicationId copyWith(void Function(ApplicationId) updates) =>
|
||||
super.copyWith((message) => updates(message as ApplicationId))
|
||||
as ApplicationId;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ApplicationId create() => ApplicationId._();
|
||||
@$core.override
|
||||
ApplicationId createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ApplicationId getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<ApplicationId>(create);
|
||||
static ApplicationId? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get uuid => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
set uuid($core.String value) => $_setString(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasUuid() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearUuid() => $_clearField(1);
|
||||
}
|
||||
|
||||
class ApplicationMetadata extends $pb.GeneratedMessage {
|
||||
factory ApplicationMetadata({
|
||||
$core.String? name,
|
||||
$core.String? description,
|
||||
}) {
|
||||
final result = create();
|
||||
if (name != null) result.name = name;
|
||||
if (description != null) result.description = description;
|
||||
return result;
|
||||
}
|
||||
|
||||
ApplicationMetadata._();
|
||||
|
||||
factory ApplicationMetadata.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory ApplicationMetadata.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'ApplicationMetadata',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'applications'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'name')
|
||||
..aOS(2, _omitFieldNames ? '' : 'description')
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ApplicationMetadata clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ApplicationMetadata copyWith(void Function(ApplicationMetadata) updates) =>
|
||||
super.copyWith((message) => updates(message as ApplicationMetadata))
|
||||
as ApplicationMetadata;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ApplicationMetadata create() => ApplicationMetadata._();
|
||||
@$core.override
|
||||
ApplicationMetadata createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ApplicationMetadata getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<ApplicationMetadata>(create);
|
||||
static ApplicationMetadata? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get name => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
set name($core.String value) => $_setString(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasName() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearName() => $_clearField(1);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$core.String get description => $_getSZ(1);
|
||||
@$pb.TagNumber(2)
|
||||
set description($core.String value) => $_setString(1, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasDescription() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearDescription() => $_clearField(2);
|
||||
}
|
||||
|
||||
class ApplicationSpec extends $pb.GeneratedMessage {
|
||||
factory ApplicationSpec({
|
||||
$core.String? application,
|
||||
$core.String? version,
|
||||
$core.String? environemntId,
|
||||
$core.Iterable<$core.MapEntry<$core.String, $core.String>>? config,
|
||||
$core.String? rawConfig,
|
||||
}) {
|
||||
final result = create();
|
||||
if (application != null) result.application = application;
|
||||
if (version != null) result.version = version;
|
||||
if (environemntId != null) result.environemntId = environemntId;
|
||||
if (config != null) result.config.addEntries(config);
|
||||
if (rawConfig != null) result.rawConfig = rawConfig;
|
||||
return result;
|
||||
}
|
||||
|
||||
ApplicationSpec._();
|
||||
|
||||
factory ApplicationSpec.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory ApplicationSpec.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'ApplicationSpec',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'applications'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'application')
|
||||
..aOS(2, _omitFieldNames ? '' : 'version')
|
||||
..aOS(3, _omitFieldNames ? '' : 'environemntId')
|
||||
..m<$core.String, $core.String>(4, _omitFieldNames ? '' : 'config',
|
||||
entryClassName: 'ApplicationSpec.ConfigEntry',
|
||||
keyFieldType: $pb.PbFieldType.OS,
|
||||
valueFieldType: $pb.PbFieldType.OS,
|
||||
packageName: const $pb.PackageName('applications'))
|
||||
..aOS(5, _omitFieldNames ? '' : 'rawConfig')
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ApplicationSpec clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ApplicationSpec copyWith(void Function(ApplicationSpec) updates) =>
|
||||
super.copyWith((message) => updates(message as ApplicationSpec))
|
||||
as ApplicationSpec;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ApplicationSpec create() => ApplicationSpec._();
|
||||
@$core.override
|
||||
ApplicationSpec createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ApplicationSpec getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<ApplicationSpec>(create);
|
||||
static ApplicationSpec? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get application => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
set application($core.String value) => $_setString(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasApplication() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearApplication() => $_clearField(1);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$core.String get version => $_getSZ(1);
|
||||
@$pb.TagNumber(2)
|
||||
set version($core.String value) => $_setString(1, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasVersion() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearVersion() => $_clearField(2);
|
||||
|
||||
@$pb.TagNumber(3)
|
||||
$core.String get environemntId => $_getSZ(2);
|
||||
@$pb.TagNumber(3)
|
||||
set environemntId($core.String value) => $_setString(2, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasEnvironemntId() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearEnvironemntId() => $_clearField(3);
|
||||
|
||||
@$pb.TagNumber(4)
|
||||
$pb.PbMap<$core.String, $core.String> get config => $_getMap(3);
|
||||
|
||||
@$pb.TagNumber(5)
|
||||
$core.String get rawConfig => $_getSZ(4);
|
||||
@$pb.TagNumber(5)
|
||||
set rawConfig($core.String value) => $_setString(4, value);
|
||||
@$pb.TagNumber(5)
|
||||
$core.bool hasRawConfig() => $_has(4);
|
||||
@$pb.TagNumber(5)
|
||||
void clearRawConfig() => $_clearField(5);
|
||||
}
|
||||
|
||||
class ApplicationFull extends $pb.GeneratedMessage {
|
||||
factory ApplicationFull({
|
||||
ApplicationMetadata? metadata,
|
||||
ApplicationSpec? spec,
|
||||
ApplicationId? id,
|
||||
}) {
|
||||
final result = create();
|
||||
if (metadata != null) result.metadata = metadata;
|
||||
if (spec != null) result.spec = spec;
|
||||
if (id != null) result.id = id;
|
||||
return result;
|
||||
}
|
||||
|
||||
ApplicationFull._();
|
||||
|
||||
factory ApplicationFull.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory ApplicationFull.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'ApplicationFull',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'applications'),
|
||||
createEmptyInstance: create)
|
||||
..aOM<ApplicationMetadata>(1, _omitFieldNames ? '' : 'metadata',
|
||||
subBuilder: ApplicationMetadata.create)
|
||||
..aOM<ApplicationSpec>(2, _omitFieldNames ? '' : 'spec',
|
||||
subBuilder: ApplicationSpec.create)
|
||||
..aOM<ApplicationId>(3, _omitFieldNames ? '' : 'id',
|
||||
subBuilder: ApplicationId.create)
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ApplicationFull clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ApplicationFull copyWith(void Function(ApplicationFull) updates) =>
|
||||
super.copyWith((message) => updates(message as ApplicationFull))
|
||||
as ApplicationFull;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ApplicationFull create() => ApplicationFull._();
|
||||
@$core.override
|
||||
ApplicationFull createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ApplicationFull getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<ApplicationFull>(create);
|
||||
static ApplicationFull? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
ApplicationMetadata get metadata => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set metadata(ApplicationMetadata value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasMetadata() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearMetadata() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
ApplicationMetadata ensureMetadata() => $_ensure(0);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
ApplicationSpec get spec => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set spec(ApplicationSpec value) => $_setField(2, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasSpec() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearSpec() => $_clearField(2);
|
||||
@$pb.TagNumber(2)
|
||||
ApplicationSpec ensureSpec() => $_ensure(1);
|
||||
|
||||
@$pb.TagNumber(3)
|
||||
ApplicationId get id => $_getN(2);
|
||||
@$pb.TagNumber(3)
|
||||
set id(ApplicationId value) => $_setField(3, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasId() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearId() => $_clearField(3);
|
||||
@$pb.TagNumber(3)
|
||||
ApplicationId ensureId() => $_ensure(2);
|
||||
}
|
||||
|
||||
const $core.bool _omitFieldNames =
|
||||
$core.bool.fromEnvironment('protobuf.omit_field_names');
|
||||
const $core.bool _omitMessageNames =
|
||||
$core.bool.fromEnvironment('protobuf.omit_message_names');
|
||||
@@ -1,181 +0,0 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from applications/v1/applications_v1.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, prefer_relative_imports
|
||||
|
||||
import 'dart:async' as $async;
|
||||
import 'dart:core' as $core;
|
||||
|
||||
import 'package:grpc/service_api.dart' as $grpc;
|
||||
import 'package:protobuf/protobuf.dart' as $pb;
|
||||
import 'package:protobuf/well_known_types/google/protobuf/empty.pb.dart' as $1;
|
||||
|
||||
import 'applications_v1.pb.dart' as $0;
|
||||
|
||||
export 'applications_v1.pb.dart';
|
||||
|
||||
/// *
|
||||
/// Service for handling applications
|
||||
@$pb.GrpcServiceName('applications.Applications')
|
||||
class ApplicationsClient extends $grpc.Client {
|
||||
/// The hostname for this service.
|
||||
static const $core.String defaultHost = '';
|
||||
|
||||
/// OAuth scopes needed for the client.
|
||||
static const $core.List<$core.String> oauthScopes = [
|
||||
'',
|
||||
];
|
||||
|
||||
ApplicationsClient(super.channel, {super.options, super.interceptors});
|
||||
|
||||
$grpc.ResponseFuture<$0.ApplicationFull> create(
|
||||
$0.CreateOptions request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$create, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$0.ApplicationFull> update(
|
||||
$0.UpdateOptions request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$update, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$1.Empty> delete(
|
||||
$0.DeleteOptions request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$delete, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$0.ApplicationFull> get(
|
||||
$0.GetOptions request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$get, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseStream<$0.ApplicationFull> list(
|
||||
$0.ListOptions request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createStreamingCall(_$list, $async.Stream.fromIterable([request]),
|
||||
options: options);
|
||||
}
|
||||
|
||||
// method descriptors
|
||||
|
||||
static final _$create =
|
||||
$grpc.ClientMethod<$0.CreateOptions, $0.ApplicationFull>(
|
||||
'/applications.Applications/Create',
|
||||
($0.CreateOptions value) => value.writeToBuffer(),
|
||||
$0.ApplicationFull.fromBuffer);
|
||||
static final _$update =
|
||||
$grpc.ClientMethod<$0.UpdateOptions, $0.ApplicationFull>(
|
||||
'/applications.Applications/Update',
|
||||
($0.UpdateOptions value) => value.writeToBuffer(),
|
||||
$0.ApplicationFull.fromBuffer);
|
||||
static final _$delete = $grpc.ClientMethod<$0.DeleteOptions, $1.Empty>(
|
||||
'/applications.Applications/Delete',
|
||||
($0.DeleteOptions value) => value.writeToBuffer(),
|
||||
$1.Empty.fromBuffer);
|
||||
static final _$get = $grpc.ClientMethod<$0.GetOptions, $0.ApplicationFull>(
|
||||
'/applications.Applications/Get',
|
||||
($0.GetOptions value) => value.writeToBuffer(),
|
||||
$0.ApplicationFull.fromBuffer);
|
||||
static final _$list = $grpc.ClientMethod<$0.ListOptions, $0.ApplicationFull>(
|
||||
'/applications.Applications/List',
|
||||
($0.ListOptions value) => value.writeToBuffer(),
|
||||
$0.ApplicationFull.fromBuffer);
|
||||
}
|
||||
|
||||
@$pb.GrpcServiceName('applications.Applications')
|
||||
abstract class ApplicationsServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'applications.Applications';
|
||||
|
||||
ApplicationsServiceBase() {
|
||||
$addMethod($grpc.ServiceMethod<$0.CreateOptions, $0.ApplicationFull>(
|
||||
'Create',
|
||||
create_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.CreateOptions.fromBuffer(value),
|
||||
($0.ApplicationFull value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.UpdateOptions, $0.ApplicationFull>(
|
||||
'Update',
|
||||
update_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.UpdateOptions.fromBuffer(value),
|
||||
($0.ApplicationFull value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.DeleteOptions, $1.Empty>(
|
||||
'Delete',
|
||||
delete_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.DeleteOptions.fromBuffer(value),
|
||||
($1.Empty value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.GetOptions, $0.ApplicationFull>(
|
||||
'Get',
|
||||
get_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.GetOptions.fromBuffer(value),
|
||||
($0.ApplicationFull value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.ListOptions, $0.ApplicationFull>(
|
||||
'List',
|
||||
list_Pre,
|
||||
false,
|
||||
true,
|
||||
($core.List<$core.int> value) => $0.ListOptions.fromBuffer(value),
|
||||
($0.ApplicationFull value) => value.writeToBuffer()));
|
||||
}
|
||||
|
||||
$async.Future<$0.ApplicationFull> create_Pre(
|
||||
$grpc.ServiceCall $call, $async.Future<$0.CreateOptions> $request) async {
|
||||
return create($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$0.ApplicationFull> create(
|
||||
$grpc.ServiceCall call, $0.CreateOptions request);
|
||||
|
||||
$async.Future<$0.ApplicationFull> update_Pre(
|
||||
$grpc.ServiceCall $call, $async.Future<$0.UpdateOptions> $request) async {
|
||||
return update($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$0.ApplicationFull> update(
|
||||
$grpc.ServiceCall call, $0.UpdateOptions request);
|
||||
|
||||
$async.Future<$1.Empty> delete_Pre(
|
||||
$grpc.ServiceCall $call, $async.Future<$0.DeleteOptions> $request) async {
|
||||
return delete($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$1.Empty> delete(
|
||||
$grpc.ServiceCall call, $0.DeleteOptions request);
|
||||
|
||||
$async.Future<$0.ApplicationFull> get_Pre(
|
||||
$grpc.ServiceCall $call, $async.Future<$0.GetOptions> $request) async {
|
||||
return get($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$0.ApplicationFull> get(
|
||||
$grpc.ServiceCall call, $0.GetOptions request);
|
||||
|
||||
$async.Stream<$0.ApplicationFull> list_Pre(
|
||||
$grpc.ServiceCall $call, $async.Future<$0.ListOptions> $request) async* {
|
||||
yield* list($call, await $request);
|
||||
}
|
||||
|
||||
$async.Stream<$0.ApplicationFull> list(
|
||||
$grpc.ServiceCall call, $0.ListOptions request);
|
||||
}
|
||||
@@ -1,373 +0,0 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from applications/v1/applications_v1.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, prefer_relative_imports
|
||||
// ignore_for_file: unused_import
|
||||
|
||||
import 'dart:convert' as $convert;
|
||||
import 'dart:core' as $core;
|
||||
import 'dart:typed_data' as $typed_data;
|
||||
|
||||
@$core.Deprecated('Use ownerIdDescriptor instead')
|
||||
const OwnerId$json = {
|
||||
'1': 'OwnerId',
|
||||
'2': [
|
||||
{'1': 'uuid', '3': 1, '4': 1, '5': 9, '10': 'uuid'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `OwnerId`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List ownerIdDescriptor =
|
||||
$convert.base64Decode('CgdPd25lcklkEhIKBHV1aWQYASABKAlSBHV1aWQ=');
|
||||
|
||||
@$core.Deprecated('Use tokenDescriptor instead')
|
||||
const Token$json = {
|
||||
'1': 'Token',
|
||||
'2': [
|
||||
{'1': 'token', '3': 1, '4': 1, '5': 9, '10': 'token'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `Token`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List tokenDescriptor =
|
||||
$convert.base64Decode('CgVUb2tlbhIUCgV0b2tlbhgBIAEoCVIFdG9rZW4=');
|
||||
|
||||
@$core.Deprecated('Use createOptionsDescriptor instead')
|
||||
const CreateOptions$json = {
|
||||
'1': 'CreateOptions',
|
||||
'2': [
|
||||
{
|
||||
'1': 'metadata',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.applications.ApplicationMetadata',
|
||||
'10': 'metadata'
|
||||
},
|
||||
{
|
||||
'1': 'spec',
|
||||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.applications.ApplicationSpec',
|
||||
'10': 'spec'
|
||||
},
|
||||
{
|
||||
'1': 'owner_id',
|
||||
'3': 3,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.applications.OwnerId',
|
||||
'10': 'ownerId'
|
||||
},
|
||||
{
|
||||
'1': 'token',
|
||||
'3': 4,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.applications.Token',
|
||||
'10': 'token'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `CreateOptions`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List createOptionsDescriptor = $convert.base64Decode(
|
||||
'Cg1DcmVhdGVPcHRpb25zEj0KCG1ldGFkYXRhGAEgASgLMiEuYXBwbGljYXRpb25zLkFwcGxpY2'
|
||||
'F0aW9uTWV0YWRhdGFSCG1ldGFkYXRhEjEKBHNwZWMYAiABKAsyHS5hcHBsaWNhdGlvbnMuQXBw'
|
||||
'bGljYXRpb25TcGVjUgRzcGVjEjAKCG93bmVyX2lkGAMgASgLMhUuYXBwbGljYXRpb25zLk93bm'
|
||||
'VySWRSB293bmVySWQSKQoFdG9rZW4YBCABKAsyEy5hcHBsaWNhdGlvbnMuVG9rZW5SBXRva2Vu');
|
||||
|
||||
@$core.Deprecated('Use updateOptionsDescriptor instead')
|
||||
const UpdateOptions$json = {
|
||||
'1': 'UpdateOptions',
|
||||
'2': [
|
||||
{
|
||||
'1': 'id',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.applications.ApplicationId',
|
||||
'10': 'id'
|
||||
},
|
||||
{
|
||||
'1': 'metadata',
|
||||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.applications.ApplicationMetadata',
|
||||
'10': 'metadata'
|
||||
},
|
||||
{
|
||||
'1': 'spec',
|
||||
'3': 3,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.applications.ApplicationSpec',
|
||||
'10': 'spec'
|
||||
},
|
||||
{
|
||||
'1': 'owner_id',
|
||||
'3': 4,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.applications.OwnerId',
|
||||
'10': 'ownerId'
|
||||
},
|
||||
{
|
||||
'1': 'token',
|
||||
'3': 5,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.applications.Token',
|
||||
'10': 'token'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `UpdateOptions`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List updateOptionsDescriptor = $convert.base64Decode(
|
||||
'Cg1VcGRhdGVPcHRpb25zEisKAmlkGAEgASgLMhsuYXBwbGljYXRpb25zLkFwcGxpY2F0aW9uSW'
|
||||
'RSAmlkEj0KCG1ldGFkYXRhGAIgASgLMiEuYXBwbGljYXRpb25zLkFwcGxpY2F0aW9uTWV0YWRh'
|
||||
'dGFSCG1ldGFkYXRhEjEKBHNwZWMYAyABKAsyHS5hcHBsaWNhdGlvbnMuQXBwbGljYXRpb25TcG'
|
||||
'VjUgRzcGVjEjAKCG93bmVyX2lkGAQgASgLMhUuYXBwbGljYXRpb25zLk93bmVySWRSB293bmVy'
|
||||
'SWQSKQoFdG9rZW4YBSABKAsyEy5hcHBsaWNhdGlvbnMuVG9rZW5SBXRva2Vu');
|
||||
|
||||
@$core.Deprecated('Use deleteOptionsDescriptor instead')
|
||||
const DeleteOptions$json = {
|
||||
'1': 'DeleteOptions',
|
||||
'2': [
|
||||
{
|
||||
'1': 'id',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.applications.ApplicationId',
|
||||
'10': 'id'
|
||||
},
|
||||
{
|
||||
'1': 'metadata',
|
||||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.applications.ApplicationMetadata',
|
||||
'10': 'metadata'
|
||||
},
|
||||
{
|
||||
'1': 'owner_id',
|
||||
'3': 3,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.applications.OwnerId',
|
||||
'10': 'ownerId'
|
||||
},
|
||||
{
|
||||
'1': 'token',
|
||||
'3': 4,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.applications.Token',
|
||||
'10': 'token'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `DeleteOptions`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List deleteOptionsDescriptor = $convert.base64Decode(
|
||||
'Cg1EZWxldGVPcHRpb25zEisKAmlkGAEgASgLMhsuYXBwbGljYXRpb25zLkFwcGxpY2F0aW9uSW'
|
||||
'RSAmlkEj0KCG1ldGFkYXRhGAIgASgLMiEuYXBwbGljYXRpb25zLkFwcGxpY2F0aW9uTWV0YWRh'
|
||||
'dGFSCG1ldGFkYXRhEjAKCG93bmVyX2lkGAMgASgLMhUuYXBwbGljYXRpb25zLk93bmVySWRSB2'
|
||||
'93bmVySWQSKQoFdG9rZW4YBCABKAsyEy5hcHBsaWNhdGlvbnMuVG9rZW5SBXRva2Vu');
|
||||
|
||||
@$core.Deprecated('Use getOptionsDescriptor instead')
|
||||
const GetOptions$json = {
|
||||
'1': 'GetOptions',
|
||||
'2': [
|
||||
{
|
||||
'1': 'id',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.applications.ApplicationId',
|
||||
'10': 'id'
|
||||
},
|
||||
{
|
||||
'1': 'metadata',
|
||||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.applications.ApplicationMetadata',
|
||||
'10': 'metadata'
|
||||
},
|
||||
{
|
||||
'1': 'owner_id',
|
||||
'3': 3,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.applications.OwnerId',
|
||||
'10': 'ownerId'
|
||||
},
|
||||
{
|
||||
'1': 'token',
|
||||
'3': 4,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.applications.Token',
|
||||
'10': 'token'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `GetOptions`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List getOptionsDescriptor = $convert.base64Decode(
|
||||
'CgpHZXRPcHRpb25zEisKAmlkGAEgASgLMhsuYXBwbGljYXRpb25zLkFwcGxpY2F0aW9uSWRSAm'
|
||||
'lkEj0KCG1ldGFkYXRhGAIgASgLMiEuYXBwbGljYXRpb25zLkFwcGxpY2F0aW9uTWV0YWRhdGFS'
|
||||
'CG1ldGFkYXRhEjAKCG93bmVyX2lkGAMgASgLMhUuYXBwbGljYXRpb25zLk93bmVySWRSB293bm'
|
||||
'VySWQSKQoFdG9rZW4YBCABKAsyEy5hcHBsaWNhdGlvbnMuVG9rZW5SBXRva2Vu');
|
||||
|
||||
@$core.Deprecated('Use listOptionsDescriptor instead')
|
||||
const ListOptions$json = {
|
||||
'1': 'ListOptions',
|
||||
'2': [
|
||||
{
|
||||
'1': 'metadata',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.applications.ApplicationMetadata',
|
||||
'10': 'metadata'
|
||||
},
|
||||
{
|
||||
'1': 'owner_id',
|
||||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.applications.OwnerId',
|
||||
'10': 'ownerId'
|
||||
},
|
||||
{
|
||||
'1': 'token',
|
||||
'3': 3,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.applications.Token',
|
||||
'10': 'token'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `ListOptions`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List listOptionsDescriptor = $convert.base64Decode(
|
||||
'CgtMaXN0T3B0aW9ucxI9CghtZXRhZGF0YRgBIAEoCzIhLmFwcGxpY2F0aW9ucy5BcHBsaWNhdG'
|
||||
'lvbk1ldGFkYXRhUghtZXRhZGF0YRIwCghvd25lcl9pZBgCIAEoCzIVLmFwcGxpY2F0aW9ucy5P'
|
||||
'd25lcklkUgdvd25lcklkEikKBXRva2VuGAMgASgLMhMuYXBwbGljYXRpb25zLlRva2VuUgV0b2'
|
||||
'tlbg==');
|
||||
|
||||
@$core.Deprecated('Use applicationIdDescriptor instead')
|
||||
const ApplicationId$json = {
|
||||
'1': 'ApplicationId',
|
||||
'2': [
|
||||
{'1': 'uuid', '3': 1, '4': 1, '5': 9, '10': 'uuid'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `ApplicationId`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List applicationIdDescriptor =
|
||||
$convert.base64Decode('Cg1BcHBsaWNhdGlvbklkEhIKBHV1aWQYASABKAlSBHV1aWQ=');
|
||||
|
||||
@$core.Deprecated('Use applicationMetadataDescriptor instead')
|
||||
const ApplicationMetadata$json = {
|
||||
'1': 'ApplicationMetadata',
|
||||
'2': [
|
||||
{'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'},
|
||||
{'1': 'description', '3': 2, '4': 1, '5': 9, '10': 'description'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `ApplicationMetadata`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List applicationMetadataDescriptor = $convert.base64Decode(
|
||||
'ChNBcHBsaWNhdGlvbk1ldGFkYXRhEhIKBG5hbWUYASABKAlSBG5hbWUSIAoLZGVzY3JpcHRpb2'
|
||||
'4YAiABKAlSC2Rlc2NyaXB0aW9u');
|
||||
|
||||
@$core.Deprecated('Use applicationSpecDescriptor instead')
|
||||
const ApplicationSpec$json = {
|
||||
'1': 'ApplicationSpec',
|
||||
'2': [
|
||||
{'1': 'application', '3': 1, '4': 1, '5': 9, '10': 'application'},
|
||||
{'1': 'version', '3': 2, '4': 1, '5': 9, '10': 'version'},
|
||||
{'1': 'environemnt_id', '3': 3, '4': 1, '5': 9, '10': 'environemntId'},
|
||||
{
|
||||
'1': 'config',
|
||||
'3': 4,
|
||||
'4': 3,
|
||||
'5': 11,
|
||||
'6': '.applications.ApplicationSpec.ConfigEntry',
|
||||
'10': 'config'
|
||||
},
|
||||
{'1': 'raw_config', '3': 5, '4': 1, '5': 9, '10': 'rawConfig'},
|
||||
],
|
||||
'3': [ApplicationSpec_ConfigEntry$json],
|
||||
};
|
||||
|
||||
@$core.Deprecated('Use applicationSpecDescriptor instead')
|
||||
const ApplicationSpec_ConfigEntry$json = {
|
||||
'1': 'ConfigEntry',
|
||||
'2': [
|
||||
{'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'},
|
||||
{'1': 'value', '3': 2, '4': 1, '5': 9, '10': 'value'},
|
||||
],
|
||||
'7': {'7': true},
|
||||
};
|
||||
|
||||
/// Descriptor for `ApplicationSpec`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List applicationSpecDescriptor = $convert.base64Decode(
|
||||
'Cg9BcHBsaWNhdGlvblNwZWMSIAoLYXBwbGljYXRpb24YASABKAlSC2FwcGxpY2F0aW9uEhgKB3'
|
||||
'ZlcnNpb24YAiABKAlSB3ZlcnNpb24SJQoOZW52aXJvbmVtbnRfaWQYAyABKAlSDWVudmlyb25l'
|
||||
'bW50SWQSQQoGY29uZmlnGAQgAygLMikuYXBwbGljYXRpb25zLkFwcGxpY2F0aW9uU3BlYy5Db2'
|
||||
'5maWdFbnRyeVIGY29uZmlnEh0KCnJhd19jb25maWcYBSABKAlSCXJhd0NvbmZpZxo5CgtDb25m'
|
||||
'aWdFbnRyeRIQCgNrZXkYASABKAlSA2tleRIUCgV2YWx1ZRgCIAEoCVIFdmFsdWU6AjgB');
|
||||
|
||||
@$core.Deprecated('Use applicationFullDescriptor instead')
|
||||
const ApplicationFull$json = {
|
||||
'1': 'ApplicationFull',
|
||||
'2': [
|
||||
{
|
||||
'1': 'metadata',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.applications.ApplicationMetadata',
|
||||
'10': 'metadata'
|
||||
},
|
||||
{
|
||||
'1': 'spec',
|
||||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.applications.ApplicationSpec',
|
||||
'10': 'spec'
|
||||
},
|
||||
{
|
||||
'1': 'id',
|
||||
'3': 3,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.applications.ApplicationId',
|
||||
'10': 'id'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `ApplicationFull`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List applicationFullDescriptor = $convert.base64Decode(
|
||||
'Cg9BcHBsaWNhdGlvbkZ1bGwSPQoIbWV0YWRhdGEYASABKAsyIS5hcHBsaWNhdGlvbnMuQXBwbG'
|
||||
'ljYXRpb25NZXRhZGF0YVIIbWV0YWRhdGESMQoEc3BlYxgCIAEoCzIdLmFwcGxpY2F0aW9ucy5B'
|
||||
'cHBsaWNhdGlvblNwZWNSBHNwZWMSKwoCaWQYAyABKAsyGy5hcHBsaWNhdGlvbnMuQXBwbGljYX'
|
||||
'Rpb25JZFICaWQ=');
|
||||
@@ -1,142 +0,0 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from email/v1/email_v1.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, prefer_relative_imports
|
||||
|
||||
import 'dart:core' as $core;
|
||||
|
||||
import 'package:protobuf/protobuf.dart' as $pb;
|
||||
|
||||
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
||||
|
||||
class RequestValidation extends $pb.GeneratedMessage {
|
||||
factory RequestValidation({
|
||||
$core.String? userId,
|
||||
}) {
|
||||
final result = create();
|
||||
if (userId != null) result.userId = userId;
|
||||
return result;
|
||||
}
|
||||
|
||||
RequestValidation._();
|
||||
|
||||
factory RequestValidation.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory RequestValidation.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'RequestValidation',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'email'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'userId')
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
RequestValidation clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
RequestValidation copyWith(void Function(RequestValidation) updates) =>
|
||||
super.copyWith((message) => updates(message as RequestValidation))
|
||||
as RequestValidation;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static RequestValidation create() => RequestValidation._();
|
||||
@$core.override
|
||||
RequestValidation createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static RequestValidation getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<RequestValidation>(create);
|
||||
static RequestValidation? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get userId => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
set userId($core.String value) => $_setString(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasUserId() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearUserId() => $_clearField(1);
|
||||
}
|
||||
|
||||
class ConfirmValidation extends $pb.GeneratedMessage {
|
||||
factory ConfirmValidation({
|
||||
$core.String? userId,
|
||||
$core.int? code,
|
||||
}) {
|
||||
final result = create();
|
||||
if (userId != null) result.userId = userId;
|
||||
if (code != null) result.code = code;
|
||||
return result;
|
||||
}
|
||||
|
||||
ConfirmValidation._();
|
||||
|
||||
factory ConfirmValidation.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory ConfirmValidation.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'ConfirmValidation',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'email'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'userId')
|
||||
..aI(2, _omitFieldNames ? '' : 'code')
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ConfirmValidation clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ConfirmValidation copyWith(void Function(ConfirmValidation) updates) =>
|
||||
super.copyWith((message) => updates(message as ConfirmValidation))
|
||||
as ConfirmValidation;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ConfirmValidation create() => ConfirmValidation._();
|
||||
@$core.override
|
||||
ConfirmValidation createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ConfirmValidation getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<ConfirmValidation>(create);
|
||||
static ConfirmValidation? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get userId => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
set userId($core.String value) => $_setString(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasUserId() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearUserId() => $_clearField(1);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$core.int get code => $_getIZ(1);
|
||||
@$pb.TagNumber(2)
|
||||
set code($core.int value) => $_setSignedInt32(1, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasCode() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearCode() => $_clearField(2);
|
||||
}
|
||||
|
||||
const $core.bool _omitFieldNames =
|
||||
$core.bool.fromEnvironment('protobuf.omit_field_names');
|
||||
const $core.bool _omitMessageNames =
|
||||
$core.bool.fromEnvironment('protobuf.omit_message_names');
|
||||
@@ -1,102 +0,0 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from email/v1/email_v1.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, prefer_relative_imports
|
||||
|
||||
import 'dart:async' as $async;
|
||||
import 'dart:core' as $core;
|
||||
|
||||
import 'package:grpc/service_api.dart' as $grpc;
|
||||
import 'package:protobuf/protobuf.dart' as $pb;
|
||||
import 'package:protobuf/well_known_types/google/protobuf/empty.pb.dart' as $1;
|
||||
|
||||
import 'email_v1.pb.dart' as $0;
|
||||
|
||||
export 'email_v1.pb.dart';
|
||||
|
||||
///
|
||||
/// A service that should handle email validation
|
||||
@$pb.GrpcServiceName('email.EmailValidation')
|
||||
class EmailValidationClient extends $grpc.Client {
|
||||
/// The hostname for this service.
|
||||
static const $core.String defaultHost = '';
|
||||
|
||||
/// OAuth scopes needed for the client.
|
||||
static const $core.List<$core.String> oauthScopes = [
|
||||
'',
|
||||
];
|
||||
|
||||
EmailValidationClient(super.channel, {super.options, super.interceptors});
|
||||
|
||||
$grpc.ResponseFuture<$1.Empty> sendRequest(
|
||||
$0.RequestValidation request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$sendRequest, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$1.Empty> validateEmail(
|
||||
$0.ConfirmValidation request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$validateEmail, request, options: options);
|
||||
}
|
||||
|
||||
// method descriptors
|
||||
|
||||
static final _$sendRequest =
|
||||
$grpc.ClientMethod<$0.RequestValidation, $1.Empty>(
|
||||
'/email.EmailValidation/SendRequest',
|
||||
($0.RequestValidation value) => value.writeToBuffer(),
|
||||
$1.Empty.fromBuffer);
|
||||
static final _$validateEmail =
|
||||
$grpc.ClientMethod<$0.ConfirmValidation, $1.Empty>(
|
||||
'/email.EmailValidation/ValidateEmail',
|
||||
($0.ConfirmValidation value) => value.writeToBuffer(),
|
||||
$1.Empty.fromBuffer);
|
||||
}
|
||||
|
||||
@$pb.GrpcServiceName('email.EmailValidation')
|
||||
abstract class EmailValidationServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'email.EmailValidation';
|
||||
|
||||
EmailValidationServiceBase() {
|
||||
$addMethod($grpc.ServiceMethod<$0.RequestValidation, $1.Empty>(
|
||||
'SendRequest',
|
||||
sendRequest_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.RequestValidation.fromBuffer(value),
|
||||
($1.Empty value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.ConfirmValidation, $1.Empty>(
|
||||
'ValidateEmail',
|
||||
validateEmail_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.ConfirmValidation.fromBuffer(value),
|
||||
($1.Empty value) => value.writeToBuffer()));
|
||||
}
|
||||
|
||||
$async.Future<$1.Empty> sendRequest_Pre($grpc.ServiceCall $call,
|
||||
$async.Future<$0.RequestValidation> $request) async {
|
||||
return sendRequest($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$1.Empty> sendRequest(
|
||||
$grpc.ServiceCall call, $0.RequestValidation request);
|
||||
|
||||
$async.Future<$1.Empty> validateEmail_Pre($grpc.ServiceCall $call,
|
||||
$async.Future<$0.ConfirmValidation> $request) async {
|
||||
return validateEmail($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$1.Empty> validateEmail(
|
||||
$grpc.ServiceCall call, $0.ConfirmValidation request);
|
||||
}
|
||||
@@ -1,42 +0,0 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from email/v1/email_v1.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, prefer_relative_imports
|
||||
// ignore_for_file: unused_import
|
||||
|
||||
import 'dart:convert' as $convert;
|
||||
import 'dart:core' as $core;
|
||||
import 'dart:typed_data' as $typed_data;
|
||||
|
||||
@$core.Deprecated('Use requestValidationDescriptor instead')
|
||||
const RequestValidation$json = {
|
||||
'1': 'RequestValidation',
|
||||
'2': [
|
||||
{'1': 'user_id', '3': 1, '4': 1, '5': 9, '10': 'userId'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `RequestValidation`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List requestValidationDescriptor = $convert.base64Decode(
|
||||
'ChFSZXF1ZXN0VmFsaWRhdGlvbhIXCgd1c2VyX2lkGAEgASgJUgZ1c2VySWQ=');
|
||||
|
||||
@$core.Deprecated('Use confirmValidationDescriptor instead')
|
||||
const ConfirmValidation$json = {
|
||||
'1': 'ConfirmValidation',
|
||||
'2': [
|
||||
{'1': 'user_id', '3': 1, '4': 1, '5': 9, '10': 'userId'},
|
||||
{'1': 'code', '3': 2, '4': 1, '5': 5, '10': 'code'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `ConfirmValidation`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List confirmValidationDescriptor = $convert.base64Decode(
|
||||
'ChFDb25maXJtVmFsaWRhdGlvbhIXCgd1c2VyX2lkGAEgASgJUgZ1c2VySWQSEgoEY29kZRgCIA'
|
||||
'EoBVIEY29kZQ==');
|
||||
@@ -1,961 +0,0 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from environments/v1/environments_v1.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, prefer_relative_imports
|
||||
|
||||
import 'dart:core' as $core;
|
||||
|
||||
import 'package:protobuf/protobuf.dart' as $pb;
|
||||
|
||||
import 'environments_v1.pbenum.dart';
|
||||
|
||||
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
||||
|
||||
export 'environments_v1.pbenum.dart';
|
||||
|
||||
class OwnerId extends $pb.GeneratedMessage {
|
||||
factory OwnerId({
|
||||
$core.String? uuid,
|
||||
}) {
|
||||
final result = create();
|
||||
if (uuid != null) result.uuid = uuid;
|
||||
return result;
|
||||
}
|
||||
|
||||
OwnerId._();
|
||||
|
||||
factory OwnerId.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory OwnerId.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'OwnerId',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'environments'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'uuid')
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
OwnerId clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
OwnerId copyWith(void Function(OwnerId) updates) =>
|
||||
super.copyWith((message) => updates(message as OwnerId)) as OwnerId;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static OwnerId create() => OwnerId._();
|
||||
@$core.override
|
||||
OwnerId createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static OwnerId getDefault() =>
|
||||
_defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<OwnerId>(create);
|
||||
static OwnerId? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get uuid => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
set uuid($core.String value) => $_setString(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasUuid() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearUuid() => $_clearField(1);
|
||||
}
|
||||
|
||||
class Token extends $pb.GeneratedMessage {
|
||||
factory Token({
|
||||
$core.String? token,
|
||||
}) {
|
||||
final result = create();
|
||||
if (token != null) result.token = token;
|
||||
return result;
|
||||
}
|
||||
|
||||
Token._();
|
||||
|
||||
factory Token.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory Token.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'Token',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'environments'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'token')
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Token clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Token copyWith(void Function(Token) updates) =>
|
||||
super.copyWith((message) => updates(message as Token)) as Token;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static Token create() => Token._();
|
||||
@$core.override
|
||||
Token createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static Token getDefault() =>
|
||||
_defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Token>(create);
|
||||
static Token? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get token => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
set token($core.String value) => $_setString(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasToken() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearToken() => $_clearField(1);
|
||||
}
|
||||
|
||||
class CreateOptions extends $pb.GeneratedMessage {
|
||||
factory CreateOptions({
|
||||
EnvironmentMetadata? metadata,
|
||||
EnvironmentSpec? spec,
|
||||
OwnerId? ownerId,
|
||||
Token? token,
|
||||
}) {
|
||||
final result = create();
|
||||
if (metadata != null) result.metadata = metadata;
|
||||
if (spec != null) result.spec = spec;
|
||||
if (ownerId != null) result.ownerId = ownerId;
|
||||
if (token != null) result.token = token;
|
||||
return result;
|
||||
}
|
||||
|
||||
CreateOptions._();
|
||||
|
||||
factory CreateOptions.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory CreateOptions.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'CreateOptions',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'environments'),
|
||||
createEmptyInstance: create)
|
||||
..aOM<EnvironmentMetadata>(1, _omitFieldNames ? '' : 'metadata',
|
||||
subBuilder: EnvironmentMetadata.create)
|
||||
..aOM<EnvironmentSpec>(2, _omitFieldNames ? '' : 'spec',
|
||||
subBuilder: EnvironmentSpec.create)
|
||||
..aOM<OwnerId>(3, _omitFieldNames ? '' : 'ownerId',
|
||||
subBuilder: OwnerId.create)
|
||||
..aOM<Token>(4, _omitFieldNames ? '' : 'token', subBuilder: Token.create)
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
CreateOptions clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
CreateOptions copyWith(void Function(CreateOptions) updates) =>
|
||||
super.copyWith((message) => updates(message as CreateOptions))
|
||||
as CreateOptions;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static CreateOptions create() => CreateOptions._();
|
||||
@$core.override
|
||||
CreateOptions createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static CreateOptions getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<CreateOptions>(create);
|
||||
static CreateOptions? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
EnvironmentMetadata get metadata => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set metadata(EnvironmentMetadata value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasMetadata() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearMetadata() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
EnvironmentMetadata ensureMetadata() => $_ensure(0);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
EnvironmentSpec get spec => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set spec(EnvironmentSpec value) => $_setField(2, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasSpec() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearSpec() => $_clearField(2);
|
||||
@$pb.TagNumber(2)
|
||||
EnvironmentSpec ensureSpec() => $_ensure(1);
|
||||
|
||||
@$pb.TagNumber(3)
|
||||
OwnerId get ownerId => $_getN(2);
|
||||
@$pb.TagNumber(3)
|
||||
set ownerId(OwnerId value) => $_setField(3, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasOwnerId() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearOwnerId() => $_clearField(3);
|
||||
@$pb.TagNumber(3)
|
||||
OwnerId ensureOwnerId() => $_ensure(2);
|
||||
|
||||
@$pb.TagNumber(4)
|
||||
Token get token => $_getN(3);
|
||||
@$pb.TagNumber(4)
|
||||
set token(Token value) => $_setField(4, value);
|
||||
@$pb.TagNumber(4)
|
||||
$core.bool hasToken() => $_has(3);
|
||||
@$pb.TagNumber(4)
|
||||
void clearToken() => $_clearField(4);
|
||||
@$pb.TagNumber(4)
|
||||
Token ensureToken() => $_ensure(3);
|
||||
}
|
||||
|
||||
class UpdateOptions extends $pb.GeneratedMessage {
|
||||
factory UpdateOptions({
|
||||
EnvironmentId? id,
|
||||
EnvironmentMetadata? metadata,
|
||||
EnvironmentSpec? spec,
|
||||
OwnerId? ownerId,
|
||||
Token? token,
|
||||
}) {
|
||||
final result = create();
|
||||
if (id != null) result.id = id;
|
||||
if (metadata != null) result.metadata = metadata;
|
||||
if (spec != null) result.spec = spec;
|
||||
if (ownerId != null) result.ownerId = ownerId;
|
||||
if (token != null) result.token = token;
|
||||
return result;
|
||||
}
|
||||
|
||||
UpdateOptions._();
|
||||
|
||||
factory UpdateOptions.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory UpdateOptions.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'UpdateOptions',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'environments'),
|
||||
createEmptyInstance: create)
|
||||
..aOM<EnvironmentId>(1, _omitFieldNames ? '' : 'id',
|
||||
subBuilder: EnvironmentId.create)
|
||||
..aOM<EnvironmentMetadata>(2, _omitFieldNames ? '' : 'metadata',
|
||||
subBuilder: EnvironmentMetadata.create)
|
||||
..aOM<EnvironmentSpec>(3, _omitFieldNames ? '' : 'spec',
|
||||
subBuilder: EnvironmentSpec.create)
|
||||
..aOM<OwnerId>(4, _omitFieldNames ? '' : 'ownerId',
|
||||
subBuilder: OwnerId.create)
|
||||
..aOM<Token>(5, _omitFieldNames ? '' : 'token', subBuilder: Token.create)
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
UpdateOptions clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
UpdateOptions copyWith(void Function(UpdateOptions) updates) =>
|
||||
super.copyWith((message) => updates(message as UpdateOptions))
|
||||
as UpdateOptions;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static UpdateOptions create() => UpdateOptions._();
|
||||
@$core.override
|
||||
UpdateOptions createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static UpdateOptions getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<UpdateOptions>(create);
|
||||
static UpdateOptions? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
EnvironmentId get id => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set id(EnvironmentId value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasId() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearId() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
EnvironmentId ensureId() => $_ensure(0);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
EnvironmentMetadata get metadata => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set metadata(EnvironmentMetadata value) => $_setField(2, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasMetadata() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearMetadata() => $_clearField(2);
|
||||
@$pb.TagNumber(2)
|
||||
EnvironmentMetadata ensureMetadata() => $_ensure(1);
|
||||
|
||||
@$pb.TagNumber(3)
|
||||
EnvironmentSpec get spec => $_getN(2);
|
||||
@$pb.TagNumber(3)
|
||||
set spec(EnvironmentSpec value) => $_setField(3, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasSpec() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearSpec() => $_clearField(3);
|
||||
@$pb.TagNumber(3)
|
||||
EnvironmentSpec ensureSpec() => $_ensure(2);
|
||||
|
||||
@$pb.TagNumber(4)
|
||||
OwnerId get ownerId => $_getN(3);
|
||||
@$pb.TagNumber(4)
|
||||
set ownerId(OwnerId value) => $_setField(4, value);
|
||||
@$pb.TagNumber(4)
|
||||
$core.bool hasOwnerId() => $_has(3);
|
||||
@$pb.TagNumber(4)
|
||||
void clearOwnerId() => $_clearField(4);
|
||||
@$pb.TagNumber(4)
|
||||
OwnerId ensureOwnerId() => $_ensure(3);
|
||||
|
||||
@$pb.TagNumber(5)
|
||||
Token get token => $_getN(4);
|
||||
@$pb.TagNumber(5)
|
||||
set token(Token value) => $_setField(5, value);
|
||||
@$pb.TagNumber(5)
|
||||
$core.bool hasToken() => $_has(4);
|
||||
@$pb.TagNumber(5)
|
||||
void clearToken() => $_clearField(5);
|
||||
@$pb.TagNumber(5)
|
||||
Token ensureToken() => $_ensure(4);
|
||||
}
|
||||
|
||||
class DeleteOptions extends $pb.GeneratedMessage {
|
||||
factory DeleteOptions({
|
||||
EnvironmentId? id,
|
||||
EnvironmentMetadata? metadata,
|
||||
OwnerId? ownerId,
|
||||
Token? token,
|
||||
}) {
|
||||
final result = create();
|
||||
if (id != null) result.id = id;
|
||||
if (metadata != null) result.metadata = metadata;
|
||||
if (ownerId != null) result.ownerId = ownerId;
|
||||
if (token != null) result.token = token;
|
||||
return result;
|
||||
}
|
||||
|
||||
DeleteOptions._();
|
||||
|
||||
factory DeleteOptions.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory DeleteOptions.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'DeleteOptions',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'environments'),
|
||||
createEmptyInstance: create)
|
||||
..aOM<EnvironmentId>(1, _omitFieldNames ? '' : 'id',
|
||||
subBuilder: EnvironmentId.create)
|
||||
..aOM<EnvironmentMetadata>(2, _omitFieldNames ? '' : 'metadata',
|
||||
subBuilder: EnvironmentMetadata.create)
|
||||
..aOM<OwnerId>(3, _omitFieldNames ? '' : 'ownerId',
|
||||
subBuilder: OwnerId.create)
|
||||
..aOM<Token>(4, _omitFieldNames ? '' : 'token', subBuilder: Token.create)
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
DeleteOptions clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
DeleteOptions copyWith(void Function(DeleteOptions) updates) =>
|
||||
super.copyWith((message) => updates(message as DeleteOptions))
|
||||
as DeleteOptions;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static DeleteOptions create() => DeleteOptions._();
|
||||
@$core.override
|
||||
DeleteOptions createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static DeleteOptions getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<DeleteOptions>(create);
|
||||
static DeleteOptions? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
EnvironmentId get id => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set id(EnvironmentId value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasId() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearId() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
EnvironmentId ensureId() => $_ensure(0);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
EnvironmentMetadata get metadata => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set metadata(EnvironmentMetadata value) => $_setField(2, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasMetadata() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearMetadata() => $_clearField(2);
|
||||
@$pb.TagNumber(2)
|
||||
EnvironmentMetadata ensureMetadata() => $_ensure(1);
|
||||
|
||||
@$pb.TagNumber(3)
|
||||
OwnerId get ownerId => $_getN(2);
|
||||
@$pb.TagNumber(3)
|
||||
set ownerId(OwnerId value) => $_setField(3, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasOwnerId() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearOwnerId() => $_clearField(3);
|
||||
@$pb.TagNumber(3)
|
||||
OwnerId ensureOwnerId() => $_ensure(2);
|
||||
|
||||
@$pb.TagNumber(4)
|
||||
Token get token => $_getN(3);
|
||||
@$pb.TagNumber(4)
|
||||
set token(Token value) => $_setField(4, value);
|
||||
@$pb.TagNumber(4)
|
||||
$core.bool hasToken() => $_has(3);
|
||||
@$pb.TagNumber(4)
|
||||
void clearToken() => $_clearField(4);
|
||||
@$pb.TagNumber(4)
|
||||
Token ensureToken() => $_ensure(3);
|
||||
}
|
||||
|
||||
class GetOptions extends $pb.GeneratedMessage {
|
||||
factory GetOptions({
|
||||
EnvironmentId? id,
|
||||
EnvironmentMetadata? metadata,
|
||||
OwnerId? ownerId,
|
||||
Token? token,
|
||||
}) {
|
||||
final result = create();
|
||||
if (id != null) result.id = id;
|
||||
if (metadata != null) result.metadata = metadata;
|
||||
if (ownerId != null) result.ownerId = ownerId;
|
||||
if (token != null) result.token = token;
|
||||
return result;
|
||||
}
|
||||
|
||||
GetOptions._();
|
||||
|
||||
factory GetOptions.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory GetOptions.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'GetOptions',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'environments'),
|
||||
createEmptyInstance: create)
|
||||
..aOM<EnvironmentId>(1, _omitFieldNames ? '' : 'id',
|
||||
subBuilder: EnvironmentId.create)
|
||||
..aOM<EnvironmentMetadata>(2, _omitFieldNames ? '' : 'metadata',
|
||||
subBuilder: EnvironmentMetadata.create)
|
||||
..aOM<OwnerId>(3, _omitFieldNames ? '' : 'ownerId',
|
||||
subBuilder: OwnerId.create)
|
||||
..aOM<Token>(4, _omitFieldNames ? '' : 'token', subBuilder: Token.create)
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
GetOptions clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
GetOptions copyWith(void Function(GetOptions) updates) =>
|
||||
super.copyWith((message) => updates(message as GetOptions)) as GetOptions;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static GetOptions create() => GetOptions._();
|
||||
@$core.override
|
||||
GetOptions createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static GetOptions getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<GetOptions>(create);
|
||||
static GetOptions? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
EnvironmentId get id => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set id(EnvironmentId value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasId() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearId() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
EnvironmentId ensureId() => $_ensure(0);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
EnvironmentMetadata get metadata => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set metadata(EnvironmentMetadata value) => $_setField(2, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasMetadata() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearMetadata() => $_clearField(2);
|
||||
@$pb.TagNumber(2)
|
||||
EnvironmentMetadata ensureMetadata() => $_ensure(1);
|
||||
|
||||
@$pb.TagNumber(3)
|
||||
OwnerId get ownerId => $_getN(2);
|
||||
@$pb.TagNumber(3)
|
||||
set ownerId(OwnerId value) => $_setField(3, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasOwnerId() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearOwnerId() => $_clearField(3);
|
||||
@$pb.TagNumber(3)
|
||||
OwnerId ensureOwnerId() => $_ensure(2);
|
||||
|
||||
@$pb.TagNumber(4)
|
||||
Token get token => $_getN(3);
|
||||
@$pb.TagNumber(4)
|
||||
set token(Token value) => $_setField(4, value);
|
||||
@$pb.TagNumber(4)
|
||||
$core.bool hasToken() => $_has(3);
|
||||
@$pb.TagNumber(4)
|
||||
void clearToken() => $_clearField(4);
|
||||
@$pb.TagNumber(4)
|
||||
Token ensureToken() => $_ensure(3);
|
||||
}
|
||||
|
||||
class ListOptions extends $pb.GeneratedMessage {
|
||||
factory ListOptions({
|
||||
EnvironmentMetadata? metadata,
|
||||
$core.String? searchString,
|
||||
OwnerId? ownerId,
|
||||
Token? token,
|
||||
}) {
|
||||
final result = create();
|
||||
if (metadata != null) result.metadata = metadata;
|
||||
if (searchString != null) result.searchString = searchString;
|
||||
if (ownerId != null) result.ownerId = ownerId;
|
||||
if (token != null) result.token = token;
|
||||
return result;
|
||||
}
|
||||
|
||||
ListOptions._();
|
||||
|
||||
factory ListOptions.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory ListOptions.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'ListOptions',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'environments'),
|
||||
createEmptyInstance: create)
|
||||
..aOM<EnvironmentMetadata>(1, _omitFieldNames ? '' : 'metadata',
|
||||
subBuilder: EnvironmentMetadata.create)
|
||||
..aOS(2, _omitFieldNames ? '' : 'searchString')
|
||||
..aOM<OwnerId>(3, _omitFieldNames ? '' : 'ownerId',
|
||||
subBuilder: OwnerId.create)
|
||||
..aOM<Token>(4, _omitFieldNames ? '' : 'token', subBuilder: Token.create)
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ListOptions clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ListOptions copyWith(void Function(ListOptions) updates) =>
|
||||
super.copyWith((message) => updates(message as ListOptions))
|
||||
as ListOptions;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ListOptions create() => ListOptions._();
|
||||
@$core.override
|
||||
ListOptions createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ListOptions getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<ListOptions>(create);
|
||||
static ListOptions? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
EnvironmentMetadata get metadata => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set metadata(EnvironmentMetadata value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasMetadata() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearMetadata() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
EnvironmentMetadata ensureMetadata() => $_ensure(0);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$core.String get searchString => $_getSZ(1);
|
||||
@$pb.TagNumber(2)
|
||||
set searchString($core.String value) => $_setString(1, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasSearchString() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearSearchString() => $_clearField(2);
|
||||
|
||||
@$pb.TagNumber(3)
|
||||
OwnerId get ownerId => $_getN(2);
|
||||
@$pb.TagNumber(3)
|
||||
set ownerId(OwnerId value) => $_setField(3, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasOwnerId() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearOwnerId() => $_clearField(3);
|
||||
@$pb.TagNumber(3)
|
||||
OwnerId ensureOwnerId() => $_ensure(2);
|
||||
|
||||
@$pb.TagNumber(4)
|
||||
Token get token => $_getN(3);
|
||||
@$pb.TagNumber(4)
|
||||
set token(Token value) => $_setField(4, value);
|
||||
@$pb.TagNumber(4)
|
||||
$core.bool hasToken() => $_has(3);
|
||||
@$pb.TagNumber(4)
|
||||
void clearToken() => $_clearField(4);
|
||||
@$pb.TagNumber(4)
|
||||
Token ensureToken() => $_ensure(3);
|
||||
}
|
||||
|
||||
class EnvironmentId extends $pb.GeneratedMessage {
|
||||
factory EnvironmentId({
|
||||
$core.String? uuid,
|
||||
}) {
|
||||
final result = create();
|
||||
if (uuid != null) result.uuid = uuid;
|
||||
return result;
|
||||
}
|
||||
|
||||
EnvironmentId._();
|
||||
|
||||
factory EnvironmentId.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory EnvironmentId.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'EnvironmentId',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'environments'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'uuid')
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
EnvironmentId clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
EnvironmentId copyWith(void Function(EnvironmentId) updates) =>
|
||||
super.copyWith((message) => updates(message as EnvironmentId))
|
||||
as EnvironmentId;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static EnvironmentId create() => EnvironmentId._();
|
||||
@$core.override
|
||||
EnvironmentId createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static EnvironmentId getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<EnvironmentId>(create);
|
||||
static EnvironmentId? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get uuid => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
set uuid($core.String value) => $_setString(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasUuid() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearUuid() => $_clearField(1);
|
||||
}
|
||||
|
||||
class EnvironmentMetadata extends $pb.GeneratedMessage {
|
||||
factory EnvironmentMetadata({
|
||||
$core.String? name,
|
||||
$core.String? description,
|
||||
}) {
|
||||
final result = create();
|
||||
if (name != null) result.name = name;
|
||||
if (description != null) result.description = description;
|
||||
return result;
|
||||
}
|
||||
|
||||
EnvironmentMetadata._();
|
||||
|
||||
factory EnvironmentMetadata.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory EnvironmentMetadata.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'EnvironmentMetadata',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'environments'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'name')
|
||||
..aOS(2, _omitFieldNames ? '' : 'description')
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
EnvironmentMetadata clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
EnvironmentMetadata copyWith(void Function(EnvironmentMetadata) updates) =>
|
||||
super.copyWith((message) => updates(message as EnvironmentMetadata))
|
||||
as EnvironmentMetadata;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static EnvironmentMetadata create() => EnvironmentMetadata._();
|
||||
@$core.override
|
||||
EnvironmentMetadata createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static EnvironmentMetadata getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<EnvironmentMetadata>(create);
|
||||
static EnvironmentMetadata? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get name => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
set name($core.String value) => $_setString(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasName() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearName() => $_clearField(1);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$core.String get description => $_getSZ(1);
|
||||
@$pb.TagNumber(2)
|
||||
set description($core.String value) => $_setString(1, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasDescription() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearDescription() => $_clearField(2);
|
||||
}
|
||||
|
||||
class EnvironmentSpec extends $pb.GeneratedMessage {
|
||||
factory EnvironmentSpec({
|
||||
Provider? provider,
|
||||
Kubernetes? kubernetes,
|
||||
ServerType? serverType,
|
||||
Location? serverLocation,
|
||||
$core.int? diskSize,
|
||||
}) {
|
||||
final result = create();
|
||||
if (provider != null) result.provider = provider;
|
||||
if (kubernetes != null) result.kubernetes = kubernetes;
|
||||
if (serverType != null) result.serverType = serverType;
|
||||
if (serverLocation != null) result.serverLocation = serverLocation;
|
||||
if (diskSize != null) result.diskSize = diskSize;
|
||||
return result;
|
||||
}
|
||||
|
||||
EnvironmentSpec._();
|
||||
|
||||
factory EnvironmentSpec.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory EnvironmentSpec.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'EnvironmentSpec',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'environments'),
|
||||
createEmptyInstance: create)
|
||||
..aE<Provider>(1, _omitFieldNames ? '' : 'provider',
|
||||
enumValues: Provider.values)
|
||||
..aE<Kubernetes>(2, _omitFieldNames ? '' : 'kubernetes',
|
||||
enumValues: Kubernetes.values)
|
||||
..aE<ServerType>(3, _omitFieldNames ? '' : 'serverType',
|
||||
enumValues: ServerType.values)
|
||||
..aE<Location>(4, _omitFieldNames ? '' : 'serverLocation',
|
||||
enumValues: Location.values)
|
||||
..aI(5, _omitFieldNames ? '' : 'diskSize')
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
EnvironmentSpec clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
EnvironmentSpec copyWith(void Function(EnvironmentSpec) updates) =>
|
||||
super.copyWith((message) => updates(message as EnvironmentSpec))
|
||||
as EnvironmentSpec;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static EnvironmentSpec create() => EnvironmentSpec._();
|
||||
@$core.override
|
||||
EnvironmentSpec createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static EnvironmentSpec getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<EnvironmentSpec>(create);
|
||||
static EnvironmentSpec? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
Provider get provider => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set provider(Provider value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasProvider() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearProvider() => $_clearField(1);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
Kubernetes get kubernetes => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set kubernetes(Kubernetes value) => $_setField(2, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasKubernetes() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearKubernetes() => $_clearField(2);
|
||||
|
||||
@$pb.TagNumber(3)
|
||||
ServerType get serverType => $_getN(2);
|
||||
@$pb.TagNumber(3)
|
||||
set serverType(ServerType value) => $_setField(3, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasServerType() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearServerType() => $_clearField(3);
|
||||
|
||||
@$pb.TagNumber(4)
|
||||
Location get serverLocation => $_getN(3);
|
||||
@$pb.TagNumber(4)
|
||||
set serverLocation(Location value) => $_setField(4, value);
|
||||
@$pb.TagNumber(4)
|
||||
$core.bool hasServerLocation() => $_has(3);
|
||||
@$pb.TagNumber(4)
|
||||
void clearServerLocation() => $_clearField(4);
|
||||
|
||||
@$pb.TagNumber(5)
|
||||
$core.int get diskSize => $_getIZ(4);
|
||||
@$pb.TagNumber(5)
|
||||
set diskSize($core.int value) => $_setSignedInt32(4, value);
|
||||
@$pb.TagNumber(5)
|
||||
$core.bool hasDiskSize() => $_has(4);
|
||||
@$pb.TagNumber(5)
|
||||
void clearDiskSize() => $_clearField(5);
|
||||
}
|
||||
|
||||
class EnvironmentFull extends $pb.GeneratedMessage {
|
||||
factory EnvironmentFull({
|
||||
EnvironmentMetadata? metadata,
|
||||
EnvironmentSpec? spec,
|
||||
EnvironmentId? id,
|
||||
}) {
|
||||
final result = create();
|
||||
if (metadata != null) result.metadata = metadata;
|
||||
if (spec != null) result.spec = spec;
|
||||
if (id != null) result.id = id;
|
||||
return result;
|
||||
}
|
||||
|
||||
EnvironmentFull._();
|
||||
|
||||
factory EnvironmentFull.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory EnvironmentFull.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'EnvironmentFull',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'environments'),
|
||||
createEmptyInstance: create)
|
||||
..aOM<EnvironmentMetadata>(1, _omitFieldNames ? '' : 'metadata',
|
||||
subBuilder: EnvironmentMetadata.create)
|
||||
..aOM<EnvironmentSpec>(2, _omitFieldNames ? '' : 'spec',
|
||||
subBuilder: EnvironmentSpec.create)
|
||||
..aOM<EnvironmentId>(3, _omitFieldNames ? '' : 'id',
|
||||
subBuilder: EnvironmentId.create)
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
EnvironmentFull clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
EnvironmentFull copyWith(void Function(EnvironmentFull) updates) =>
|
||||
super.copyWith((message) => updates(message as EnvironmentFull))
|
||||
as EnvironmentFull;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static EnvironmentFull create() => EnvironmentFull._();
|
||||
@$core.override
|
||||
EnvironmentFull createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static EnvironmentFull getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<EnvironmentFull>(create);
|
||||
static EnvironmentFull? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
EnvironmentMetadata get metadata => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set metadata(EnvironmentMetadata value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasMetadata() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearMetadata() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
EnvironmentMetadata ensureMetadata() => $_ensure(0);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
EnvironmentSpec get spec => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set spec(EnvironmentSpec value) => $_setField(2, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasSpec() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearSpec() => $_clearField(2);
|
||||
@$pb.TagNumber(2)
|
||||
EnvironmentSpec ensureSpec() => $_ensure(1);
|
||||
|
||||
@$pb.TagNumber(3)
|
||||
EnvironmentId get id => $_getN(2);
|
||||
@$pb.TagNumber(3)
|
||||
set id(EnvironmentId value) => $_setField(3, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasId() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearId() => $_clearField(3);
|
||||
@$pb.TagNumber(3)
|
||||
EnvironmentId ensureId() => $_ensure(2);
|
||||
}
|
||||
|
||||
const $core.bool _omitFieldNames =
|
||||
$core.bool.fromEnvironment('protobuf.omit_field_names');
|
||||
const $core.bool _omitMessageNames =
|
||||
$core.bool.fromEnvironment('protobuf.omit_message_names');
|
||||
@@ -1,120 +0,0 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from environments/v1/environments_v1.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, prefer_relative_imports
|
||||
|
||||
import 'dart:core' as $core;
|
||||
|
||||
import 'package:protobuf/protobuf.dart' as $pb;
|
||||
|
||||
/// *
|
||||
/// Helpers and other messages
|
||||
class Provider extends $pb.ProtobufEnum {
|
||||
static const Provider PROVIDER_UNSPECIFIED =
|
||||
Provider._(0, _omitEnumNames ? '' : 'PROVIDER_UNSPECIFIED');
|
||||
static const Provider PROVIDER_HETZNER =
|
||||
Provider._(1, _omitEnumNames ? '' : 'PROVIDER_HETZNER');
|
||||
|
||||
static const $core.List<Provider> values = <Provider>[
|
||||
PROVIDER_UNSPECIFIED,
|
||||
PROVIDER_HETZNER,
|
||||
];
|
||||
|
||||
static final $core.List<Provider?> _byValue =
|
||||
$pb.ProtobufEnum.$_initByValueList(values, 1);
|
||||
static Provider? valueOf($core.int value) =>
|
||||
value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const Provider._(super.value, super.name);
|
||||
}
|
||||
|
||||
class ServerType extends $pb.ProtobufEnum {
|
||||
static const ServerType SERVER_TYPE_UNSPECIFIED =
|
||||
ServerType._(0, _omitEnumNames ? '' : 'SERVER_TYPE_UNSPECIFIED');
|
||||
static const ServerType SERVER_TYPE_STARTER =
|
||||
ServerType._(1, _omitEnumNames ? '' : 'SERVER_TYPE_STARTER');
|
||||
static const ServerType SERVER_TYPE_REGULAR =
|
||||
ServerType._(2, _omitEnumNames ? '' : 'SERVER_TYPE_REGULAR');
|
||||
static const ServerType SERVER_TYPE_PLUS =
|
||||
ServerType._(3, _omitEnumNames ? '' : 'SERVER_TYPE_PLUS');
|
||||
static const ServerType SERVER_TYPE_PRO =
|
||||
ServerType._(4, _omitEnumNames ? '' : 'SERVER_TYPE_PRO');
|
||||
static const ServerType SERVER_TYPE_CUSTOM =
|
||||
ServerType._(5, _omitEnumNames ? '' : 'SERVER_TYPE_CUSTOM');
|
||||
|
||||
static const $core.List<ServerType> values = <ServerType>[
|
||||
SERVER_TYPE_UNSPECIFIED,
|
||||
SERVER_TYPE_STARTER,
|
||||
SERVER_TYPE_REGULAR,
|
||||
SERVER_TYPE_PLUS,
|
||||
SERVER_TYPE_PRO,
|
||||
SERVER_TYPE_CUSTOM,
|
||||
];
|
||||
|
||||
static final $core.List<ServerType?> _byValue =
|
||||
$pb.ProtobufEnum.$_initByValueList(values, 5);
|
||||
static ServerType? valueOf($core.int value) =>
|
||||
value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const ServerType._(super.value, super.name);
|
||||
}
|
||||
|
||||
class Location extends $pb.ProtobufEnum {
|
||||
static const Location LOCATION_UNSPECIFIED =
|
||||
Location._(0, _omitEnumNames ? '' : 'LOCATION_UNSPECIFIED');
|
||||
static const Location LOCATION_HETZNER_NUREMBERG =
|
||||
Location._(1, _omitEnumNames ? '' : 'LOCATION_HETZNER_NUREMBERG');
|
||||
static const Location LOCATION_HETZNER_FALKENSTEIN =
|
||||
Location._(2, _omitEnumNames ? '' : 'LOCATION_HETZNER_FALKENSTEIN');
|
||||
static const Location LOCATION_HETZNER_HELSINKI =
|
||||
Location._(3, _omitEnumNames ? '' : 'LOCATION_HETZNER_HELSINKI');
|
||||
static const Location LOCATION_HETZNER_HILLSBORO =
|
||||
Location._(4, _omitEnumNames ? '' : 'LOCATION_HETZNER_HILLSBORO');
|
||||
static const Location LOCATION_HETZNER_ASHBURN =
|
||||
Location._(5, _omitEnumNames ? '' : 'LOCATION_HETZNER_ASHBURN');
|
||||
|
||||
static const $core.List<Location> values = <Location>[
|
||||
LOCATION_UNSPECIFIED,
|
||||
LOCATION_HETZNER_NUREMBERG,
|
||||
LOCATION_HETZNER_FALKENSTEIN,
|
||||
LOCATION_HETZNER_HELSINKI,
|
||||
LOCATION_HETZNER_HILLSBORO,
|
||||
LOCATION_HETZNER_ASHBURN,
|
||||
];
|
||||
|
||||
static final $core.List<Location?> _byValue =
|
||||
$pb.ProtobufEnum.$_initByValueList(values, 5);
|
||||
static Location? valueOf($core.int value) =>
|
||||
value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const Location._(super.value, super.name);
|
||||
}
|
||||
|
||||
class Kubernetes extends $pb.ProtobufEnum {
|
||||
static const Kubernetes KUBERNETES_UNSPECIFIED =
|
||||
Kubernetes._(0, _omitEnumNames ? '' : 'KUBERNETES_UNSPECIFIED');
|
||||
static const Kubernetes KUBERNETES_K3S =
|
||||
Kubernetes._(1, _omitEnumNames ? '' : 'KUBERNETES_K3S');
|
||||
|
||||
static const $core.List<Kubernetes> values = <Kubernetes>[
|
||||
KUBERNETES_UNSPECIFIED,
|
||||
KUBERNETES_K3S,
|
||||
];
|
||||
|
||||
static final $core.List<Kubernetes?> _byValue =
|
||||
$pb.ProtobufEnum.$_initByValueList(values, 1);
|
||||
static Kubernetes? valueOf($core.int value) =>
|
||||
value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const Kubernetes._(super.value, super.name);
|
||||
}
|
||||
|
||||
const $core.bool _omitEnumNames =
|
||||
$core.bool.fromEnvironment('protobuf.omit_enum_names');
|
||||
@@ -1,181 +0,0 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from environments/v1/environments_v1.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, prefer_relative_imports
|
||||
|
||||
import 'dart:async' as $async;
|
||||
import 'dart:core' as $core;
|
||||
|
||||
import 'package:grpc/service_api.dart' as $grpc;
|
||||
import 'package:protobuf/protobuf.dart' as $pb;
|
||||
import 'package:protobuf/well_known_types/google/protobuf/empty.pb.dart' as $1;
|
||||
|
||||
import 'environments_v1.pb.dart' as $0;
|
||||
|
||||
export 'environments_v1.pb.dart';
|
||||
|
||||
/// *
|
||||
/// Service for handling environments
|
||||
@$pb.GrpcServiceName('environments.Environments')
|
||||
class EnvironmentsClient extends $grpc.Client {
|
||||
/// The hostname for this service.
|
||||
static const $core.String defaultHost = '';
|
||||
|
||||
/// OAuth scopes needed for the client.
|
||||
static const $core.List<$core.String> oauthScopes = [
|
||||
'',
|
||||
];
|
||||
|
||||
EnvironmentsClient(super.channel, {super.options, super.interceptors});
|
||||
|
||||
$grpc.ResponseFuture<$0.EnvironmentFull> create(
|
||||
$0.CreateOptions request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$create, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$0.EnvironmentFull> update(
|
||||
$0.UpdateOptions request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$update, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$1.Empty> delete(
|
||||
$0.DeleteOptions request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$delete, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$0.EnvironmentFull> get(
|
||||
$0.GetOptions request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$get, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseStream<$0.EnvironmentFull> list(
|
||||
$0.ListOptions request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createStreamingCall(_$list, $async.Stream.fromIterable([request]),
|
||||
options: options);
|
||||
}
|
||||
|
||||
// method descriptors
|
||||
|
||||
static final _$create =
|
||||
$grpc.ClientMethod<$0.CreateOptions, $0.EnvironmentFull>(
|
||||
'/environments.Environments/Create',
|
||||
($0.CreateOptions value) => value.writeToBuffer(),
|
||||
$0.EnvironmentFull.fromBuffer);
|
||||
static final _$update =
|
||||
$grpc.ClientMethod<$0.UpdateOptions, $0.EnvironmentFull>(
|
||||
'/environments.Environments/Update',
|
||||
($0.UpdateOptions value) => value.writeToBuffer(),
|
||||
$0.EnvironmentFull.fromBuffer);
|
||||
static final _$delete = $grpc.ClientMethod<$0.DeleteOptions, $1.Empty>(
|
||||
'/environments.Environments/Delete',
|
||||
($0.DeleteOptions value) => value.writeToBuffer(),
|
||||
$1.Empty.fromBuffer);
|
||||
static final _$get = $grpc.ClientMethod<$0.GetOptions, $0.EnvironmentFull>(
|
||||
'/environments.Environments/Get',
|
||||
($0.GetOptions value) => value.writeToBuffer(),
|
||||
$0.EnvironmentFull.fromBuffer);
|
||||
static final _$list = $grpc.ClientMethod<$0.ListOptions, $0.EnvironmentFull>(
|
||||
'/environments.Environments/List',
|
||||
($0.ListOptions value) => value.writeToBuffer(),
|
||||
$0.EnvironmentFull.fromBuffer);
|
||||
}
|
||||
|
||||
@$pb.GrpcServiceName('environments.Environments')
|
||||
abstract class EnvironmentsServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'environments.Environments';
|
||||
|
||||
EnvironmentsServiceBase() {
|
||||
$addMethod($grpc.ServiceMethod<$0.CreateOptions, $0.EnvironmentFull>(
|
||||
'Create',
|
||||
create_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.CreateOptions.fromBuffer(value),
|
||||
($0.EnvironmentFull value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.UpdateOptions, $0.EnvironmentFull>(
|
||||
'Update',
|
||||
update_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.UpdateOptions.fromBuffer(value),
|
||||
($0.EnvironmentFull value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.DeleteOptions, $1.Empty>(
|
||||
'Delete',
|
||||
delete_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.DeleteOptions.fromBuffer(value),
|
||||
($1.Empty value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.GetOptions, $0.EnvironmentFull>(
|
||||
'Get',
|
||||
get_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.GetOptions.fromBuffer(value),
|
||||
($0.EnvironmentFull value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.ListOptions, $0.EnvironmentFull>(
|
||||
'List',
|
||||
list_Pre,
|
||||
false,
|
||||
true,
|
||||
($core.List<$core.int> value) => $0.ListOptions.fromBuffer(value),
|
||||
($0.EnvironmentFull value) => value.writeToBuffer()));
|
||||
}
|
||||
|
||||
$async.Future<$0.EnvironmentFull> create_Pre(
|
||||
$grpc.ServiceCall $call, $async.Future<$0.CreateOptions> $request) async {
|
||||
return create($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$0.EnvironmentFull> create(
|
||||
$grpc.ServiceCall call, $0.CreateOptions request);
|
||||
|
||||
$async.Future<$0.EnvironmentFull> update_Pre(
|
||||
$grpc.ServiceCall $call, $async.Future<$0.UpdateOptions> $request) async {
|
||||
return update($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$0.EnvironmentFull> update(
|
||||
$grpc.ServiceCall call, $0.UpdateOptions request);
|
||||
|
||||
$async.Future<$1.Empty> delete_Pre(
|
||||
$grpc.ServiceCall $call, $async.Future<$0.DeleteOptions> $request) async {
|
||||
return delete($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$1.Empty> delete(
|
||||
$grpc.ServiceCall call, $0.DeleteOptions request);
|
||||
|
||||
$async.Future<$0.EnvironmentFull> get_Pre(
|
||||
$grpc.ServiceCall $call, $async.Future<$0.GetOptions> $request) async {
|
||||
return get($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$0.EnvironmentFull> get(
|
||||
$grpc.ServiceCall call, $0.GetOptions request);
|
||||
|
||||
$async.Stream<$0.EnvironmentFull> list_Pre(
|
||||
$grpc.ServiceCall $call, $async.Future<$0.ListOptions> $request) async* {
|
||||
yield* list($call, await $request);
|
||||
}
|
||||
|
||||
$async.Stream<$0.EnvironmentFull> list(
|
||||
$grpc.ServiceCall call, $0.ListOptions request);
|
||||
}
|
||||
@@ -1,452 +0,0 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from environments/v1/environments_v1.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, prefer_relative_imports
|
||||
// ignore_for_file: unused_import
|
||||
|
||||
import 'dart:convert' as $convert;
|
||||
import 'dart:core' as $core;
|
||||
import 'dart:typed_data' as $typed_data;
|
||||
|
||||
@$core.Deprecated('Use providerDescriptor instead')
|
||||
const Provider$json = {
|
||||
'1': 'Provider',
|
||||
'2': [
|
||||
{'1': 'PROVIDER_UNSPECIFIED', '2': 0},
|
||||
{'1': 'PROVIDER_HETZNER', '2': 1},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `Provider`. Decode as a `google.protobuf.EnumDescriptorProto`.
|
||||
final $typed_data.Uint8List providerDescriptor = $convert.base64Decode(
|
||||
'CghQcm92aWRlchIYChRQUk9WSURFUl9VTlNQRUNJRklFRBAAEhQKEFBST1ZJREVSX0hFVFpORV'
|
||||
'IQAQ==');
|
||||
|
||||
@$core.Deprecated('Use serverTypeDescriptor instead')
|
||||
const ServerType$json = {
|
||||
'1': 'ServerType',
|
||||
'2': [
|
||||
{'1': 'SERVER_TYPE_UNSPECIFIED', '2': 0},
|
||||
{'1': 'SERVER_TYPE_STARTER', '2': 1},
|
||||
{'1': 'SERVER_TYPE_REGULAR', '2': 2},
|
||||
{'1': 'SERVER_TYPE_PLUS', '2': 3},
|
||||
{'1': 'SERVER_TYPE_PRO', '2': 4},
|
||||
{'1': 'SERVER_TYPE_CUSTOM', '2': 5},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `ServerType`. Decode as a `google.protobuf.EnumDescriptorProto`.
|
||||
final $typed_data.Uint8List serverTypeDescriptor = $convert.base64Decode(
|
||||
'CgpTZXJ2ZXJUeXBlEhsKF1NFUlZFUl9UWVBFX1VOU1BFQ0lGSUVEEAASFwoTU0VSVkVSX1RZUE'
|
||||
'VfU1RBUlRFUhABEhcKE1NFUlZFUl9UWVBFX1JFR1VMQVIQAhIUChBTRVJWRVJfVFlQRV9QTFVT'
|
||||
'EAMSEwoPU0VSVkVSX1RZUEVfUFJPEAQSFgoSU0VSVkVSX1RZUEVfQ1VTVE9NEAU=');
|
||||
|
||||
@$core.Deprecated('Use locationDescriptor instead')
|
||||
const Location$json = {
|
||||
'1': 'Location',
|
||||
'2': [
|
||||
{'1': 'LOCATION_UNSPECIFIED', '2': 0},
|
||||
{'1': 'LOCATION_HETZNER_NUREMBERG', '2': 1},
|
||||
{'1': 'LOCATION_HETZNER_FALKENSTEIN', '2': 2},
|
||||
{'1': 'LOCATION_HETZNER_HELSINKI', '2': 3},
|
||||
{'1': 'LOCATION_HETZNER_HILLSBORO', '2': 4},
|
||||
{'1': 'LOCATION_HETZNER_ASHBURN', '2': 5},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `Location`. Decode as a `google.protobuf.EnumDescriptorProto`.
|
||||
final $typed_data.Uint8List locationDescriptor = $convert.base64Decode(
|
||||
'CghMb2NhdGlvbhIYChRMT0NBVElPTl9VTlNQRUNJRklFRBAAEh4KGkxPQ0FUSU9OX0hFVFpORV'
|
||||
'JfTlVSRU1CRVJHEAESIAocTE9DQVRJT05fSEVUWk5FUl9GQUxLRU5TVEVJThACEh0KGUxPQ0FU'
|
||||
'SU9OX0hFVFpORVJfSEVMU0lOS0kQAxIeChpMT0NBVElPTl9IRVRaTkVSX0hJTExTQk9STxAEEh'
|
||||
'wKGExPQ0FUSU9OX0hFVFpORVJfQVNIQlVSThAF');
|
||||
|
||||
@$core.Deprecated('Use kubernetesDescriptor instead')
|
||||
const Kubernetes$json = {
|
||||
'1': 'Kubernetes',
|
||||
'2': [
|
||||
{'1': 'KUBERNETES_UNSPECIFIED', '2': 0},
|
||||
{'1': 'KUBERNETES_K3S', '2': 1},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `Kubernetes`. Decode as a `google.protobuf.EnumDescriptorProto`.
|
||||
final $typed_data.Uint8List kubernetesDescriptor = $convert.base64Decode(
|
||||
'CgpLdWJlcm5ldGVzEhoKFktVQkVSTkVURVNfVU5TUEVDSUZJRUQQABISCg5LVUJFUk5FVEVTX0'
|
||||
'szUxAB');
|
||||
|
||||
@$core.Deprecated('Use ownerIdDescriptor instead')
|
||||
const OwnerId$json = {
|
||||
'1': 'OwnerId',
|
||||
'2': [
|
||||
{'1': 'uuid', '3': 1, '4': 1, '5': 9, '10': 'uuid'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `OwnerId`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List ownerIdDescriptor =
|
||||
$convert.base64Decode('CgdPd25lcklkEhIKBHV1aWQYASABKAlSBHV1aWQ=');
|
||||
|
||||
@$core.Deprecated('Use tokenDescriptor instead')
|
||||
const Token$json = {
|
||||
'1': 'Token',
|
||||
'2': [
|
||||
{'1': 'token', '3': 1, '4': 1, '5': 9, '10': 'token'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `Token`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List tokenDescriptor =
|
||||
$convert.base64Decode('CgVUb2tlbhIUCgV0b2tlbhgBIAEoCVIFdG9rZW4=');
|
||||
|
||||
@$core.Deprecated('Use createOptionsDescriptor instead')
|
||||
const CreateOptions$json = {
|
||||
'1': 'CreateOptions',
|
||||
'2': [
|
||||
{
|
||||
'1': 'metadata',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.environments.EnvironmentMetadata',
|
||||
'10': 'metadata'
|
||||
},
|
||||
{
|
||||
'1': 'spec',
|
||||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.environments.EnvironmentSpec',
|
||||
'10': 'spec'
|
||||
},
|
||||
{
|
||||
'1': 'owner_id',
|
||||
'3': 3,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.environments.OwnerId',
|
||||
'10': 'ownerId'
|
||||
},
|
||||
{
|
||||
'1': 'token',
|
||||
'3': 4,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.environments.Token',
|
||||
'10': 'token'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `CreateOptions`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List createOptionsDescriptor = $convert.base64Decode(
|
||||
'Cg1DcmVhdGVPcHRpb25zEj0KCG1ldGFkYXRhGAEgASgLMiEuZW52aXJvbm1lbnRzLkVudmlyb2'
|
||||
'5tZW50TWV0YWRhdGFSCG1ldGFkYXRhEjEKBHNwZWMYAiABKAsyHS5lbnZpcm9ubWVudHMuRW52'
|
||||
'aXJvbm1lbnRTcGVjUgRzcGVjEjAKCG93bmVyX2lkGAMgASgLMhUuZW52aXJvbm1lbnRzLk93bm'
|
||||
'VySWRSB293bmVySWQSKQoFdG9rZW4YBCABKAsyEy5lbnZpcm9ubWVudHMuVG9rZW5SBXRva2Vu');
|
||||
|
||||
@$core.Deprecated('Use updateOptionsDescriptor instead')
|
||||
const UpdateOptions$json = {
|
||||
'1': 'UpdateOptions',
|
||||
'2': [
|
||||
{
|
||||
'1': 'id',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.environments.EnvironmentId',
|
||||
'10': 'id'
|
||||
},
|
||||
{
|
||||
'1': 'metadata',
|
||||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.environments.EnvironmentMetadata',
|
||||
'10': 'metadata'
|
||||
},
|
||||
{
|
||||
'1': 'spec',
|
||||
'3': 3,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.environments.EnvironmentSpec',
|
||||
'10': 'spec'
|
||||
},
|
||||
{
|
||||
'1': 'owner_id',
|
||||
'3': 4,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.environments.OwnerId',
|
||||
'10': 'ownerId'
|
||||
},
|
||||
{
|
||||
'1': 'token',
|
||||
'3': 5,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.environments.Token',
|
||||
'10': 'token'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `UpdateOptions`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List updateOptionsDescriptor = $convert.base64Decode(
|
||||
'Cg1VcGRhdGVPcHRpb25zEisKAmlkGAEgASgLMhsuZW52aXJvbm1lbnRzLkVudmlyb25tZW50SW'
|
||||
'RSAmlkEj0KCG1ldGFkYXRhGAIgASgLMiEuZW52aXJvbm1lbnRzLkVudmlyb25tZW50TWV0YWRh'
|
||||
'dGFSCG1ldGFkYXRhEjEKBHNwZWMYAyABKAsyHS5lbnZpcm9ubWVudHMuRW52aXJvbm1lbnRTcG'
|
||||
'VjUgRzcGVjEjAKCG93bmVyX2lkGAQgASgLMhUuZW52aXJvbm1lbnRzLk93bmVySWRSB293bmVy'
|
||||
'SWQSKQoFdG9rZW4YBSABKAsyEy5lbnZpcm9ubWVudHMuVG9rZW5SBXRva2Vu');
|
||||
|
||||
@$core.Deprecated('Use deleteOptionsDescriptor instead')
|
||||
const DeleteOptions$json = {
|
||||
'1': 'DeleteOptions',
|
||||
'2': [
|
||||
{
|
||||
'1': 'id',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.environments.EnvironmentId',
|
||||
'10': 'id'
|
||||
},
|
||||
{
|
||||
'1': 'metadata',
|
||||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.environments.EnvironmentMetadata',
|
||||
'10': 'metadata'
|
||||
},
|
||||
{
|
||||
'1': 'owner_id',
|
||||
'3': 3,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.environments.OwnerId',
|
||||
'10': 'ownerId'
|
||||
},
|
||||
{
|
||||
'1': 'token',
|
||||
'3': 4,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.environments.Token',
|
||||
'10': 'token'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `DeleteOptions`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List deleteOptionsDescriptor = $convert.base64Decode(
|
||||
'Cg1EZWxldGVPcHRpb25zEisKAmlkGAEgASgLMhsuZW52aXJvbm1lbnRzLkVudmlyb25tZW50SW'
|
||||
'RSAmlkEj0KCG1ldGFkYXRhGAIgASgLMiEuZW52aXJvbm1lbnRzLkVudmlyb25tZW50TWV0YWRh'
|
||||
'dGFSCG1ldGFkYXRhEjAKCG93bmVyX2lkGAMgASgLMhUuZW52aXJvbm1lbnRzLk93bmVySWRSB2'
|
||||
'93bmVySWQSKQoFdG9rZW4YBCABKAsyEy5lbnZpcm9ubWVudHMuVG9rZW5SBXRva2Vu');
|
||||
|
||||
@$core.Deprecated('Use getOptionsDescriptor instead')
|
||||
const GetOptions$json = {
|
||||
'1': 'GetOptions',
|
||||
'2': [
|
||||
{
|
||||
'1': 'id',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.environments.EnvironmentId',
|
||||
'10': 'id'
|
||||
},
|
||||
{
|
||||
'1': 'metadata',
|
||||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.environments.EnvironmentMetadata',
|
||||
'10': 'metadata'
|
||||
},
|
||||
{
|
||||
'1': 'owner_id',
|
||||
'3': 3,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.environments.OwnerId',
|
||||
'10': 'ownerId'
|
||||
},
|
||||
{
|
||||
'1': 'token',
|
||||
'3': 4,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.environments.Token',
|
||||
'10': 'token'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `GetOptions`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List getOptionsDescriptor = $convert.base64Decode(
|
||||
'CgpHZXRPcHRpb25zEisKAmlkGAEgASgLMhsuZW52aXJvbm1lbnRzLkVudmlyb25tZW50SWRSAm'
|
||||
'lkEj0KCG1ldGFkYXRhGAIgASgLMiEuZW52aXJvbm1lbnRzLkVudmlyb25tZW50TWV0YWRhdGFS'
|
||||
'CG1ldGFkYXRhEjAKCG93bmVyX2lkGAMgASgLMhUuZW52aXJvbm1lbnRzLk93bmVySWRSB293bm'
|
||||
'VySWQSKQoFdG9rZW4YBCABKAsyEy5lbnZpcm9ubWVudHMuVG9rZW5SBXRva2Vu');
|
||||
|
||||
@$core.Deprecated('Use listOptionsDescriptor instead')
|
||||
const ListOptions$json = {
|
||||
'1': 'ListOptions',
|
||||
'2': [
|
||||
{
|
||||
'1': 'metadata',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.environments.EnvironmentMetadata',
|
||||
'10': 'metadata'
|
||||
},
|
||||
{'1': 'search_string', '3': 2, '4': 1, '5': 9, '10': 'searchString'},
|
||||
{
|
||||
'1': 'owner_id',
|
||||
'3': 3,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.environments.OwnerId',
|
||||
'10': 'ownerId'
|
||||
},
|
||||
{
|
||||
'1': 'token',
|
||||
'3': 4,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.environments.Token',
|
||||
'10': 'token'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `ListOptions`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List listOptionsDescriptor = $convert.base64Decode(
|
||||
'CgtMaXN0T3B0aW9ucxI9CghtZXRhZGF0YRgBIAEoCzIhLmVudmlyb25tZW50cy5FbnZpcm9ubW'
|
||||
'VudE1ldGFkYXRhUghtZXRhZGF0YRIjCg1zZWFyY2hfc3RyaW5nGAIgASgJUgxzZWFyY2hTdHJp'
|
||||
'bmcSMAoIb3duZXJfaWQYAyABKAsyFS5lbnZpcm9ubWVudHMuT3duZXJJZFIHb3duZXJJZBIpCg'
|
||||
'V0b2tlbhgEIAEoCzITLmVudmlyb25tZW50cy5Ub2tlblIFdG9rZW4=');
|
||||
|
||||
@$core.Deprecated('Use environmentIdDescriptor instead')
|
||||
const EnvironmentId$json = {
|
||||
'1': 'EnvironmentId',
|
||||
'2': [
|
||||
{'1': 'uuid', '3': 1, '4': 1, '5': 9, '10': 'uuid'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `EnvironmentId`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List environmentIdDescriptor =
|
||||
$convert.base64Decode('Cg1FbnZpcm9ubWVudElkEhIKBHV1aWQYASABKAlSBHV1aWQ=');
|
||||
|
||||
@$core.Deprecated('Use environmentMetadataDescriptor instead')
|
||||
const EnvironmentMetadata$json = {
|
||||
'1': 'EnvironmentMetadata',
|
||||
'2': [
|
||||
{'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'},
|
||||
{'1': 'description', '3': 2, '4': 1, '5': 9, '10': 'description'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `EnvironmentMetadata`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List environmentMetadataDescriptor = $convert.base64Decode(
|
||||
'ChNFbnZpcm9ubWVudE1ldGFkYXRhEhIKBG5hbWUYASABKAlSBG5hbWUSIAoLZGVzY3JpcHRpb2'
|
||||
'4YAiABKAlSC2Rlc2NyaXB0aW9u');
|
||||
|
||||
@$core.Deprecated('Use environmentSpecDescriptor instead')
|
||||
const EnvironmentSpec$json = {
|
||||
'1': 'EnvironmentSpec',
|
||||
'2': [
|
||||
{
|
||||
'1': 'provider',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 14,
|
||||
'6': '.environments.Provider',
|
||||
'10': 'provider'
|
||||
},
|
||||
{
|
||||
'1': 'kubernetes',
|
||||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 14,
|
||||
'6': '.environments.Kubernetes',
|
||||
'10': 'kubernetes'
|
||||
},
|
||||
{
|
||||
'1': 'server_type',
|
||||
'3': 3,
|
||||
'4': 1,
|
||||
'5': 14,
|
||||
'6': '.environments.ServerType',
|
||||
'10': 'serverType'
|
||||
},
|
||||
{
|
||||
'1': 'server_location',
|
||||
'3': 4,
|
||||
'4': 1,
|
||||
'5': 14,
|
||||
'6': '.environments.Location',
|
||||
'10': 'serverLocation'
|
||||
},
|
||||
{'1': 'disk_size', '3': 5, '4': 1, '5': 5, '10': 'diskSize'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `EnvironmentSpec`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List environmentSpecDescriptor = $convert.base64Decode(
|
||||
'Cg9FbnZpcm9ubWVudFNwZWMSMgoIcHJvdmlkZXIYASABKA4yFi5lbnZpcm9ubWVudHMuUHJvdm'
|
||||
'lkZXJSCHByb3ZpZGVyEjgKCmt1YmVybmV0ZXMYAiABKA4yGC5lbnZpcm9ubWVudHMuS3ViZXJu'
|
||||
'ZXRlc1IKa3ViZXJuZXRlcxI5CgtzZXJ2ZXJfdHlwZRgDIAEoDjIYLmVudmlyb25tZW50cy5TZX'
|
||||
'J2ZXJUeXBlUgpzZXJ2ZXJUeXBlEj8KD3NlcnZlcl9sb2NhdGlvbhgEIAEoDjIWLmVudmlyb25t'
|
||||
'ZW50cy5Mb2NhdGlvblIOc2VydmVyTG9jYXRpb24SGwoJZGlza19zaXplGAUgASgFUghkaXNrU2'
|
||||
'l6ZQ==');
|
||||
|
||||
@$core.Deprecated('Use environmentFullDescriptor instead')
|
||||
const EnvironmentFull$json = {
|
||||
'1': 'EnvironmentFull',
|
||||
'2': [
|
||||
{
|
||||
'1': 'metadata',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.environments.EnvironmentMetadata',
|
||||
'10': 'metadata'
|
||||
},
|
||||
{
|
||||
'1': 'spec',
|
||||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.environments.EnvironmentSpec',
|
||||
'10': 'spec'
|
||||
},
|
||||
{
|
||||
'1': 'id',
|
||||
'3': 3,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.environments.EnvironmentId',
|
||||
'10': 'id'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `EnvironmentFull`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List environmentFullDescriptor = $convert.base64Decode(
|
||||
'Cg9FbnZpcm9ubWVudEZ1bGwSPQoIbWV0YWRhdGEYASABKAsyIS5lbnZpcm9ubWVudHMuRW52aX'
|
||||
'Jvbm1lbnRNZXRhZGF0YVIIbWV0YWRhdGESMQoEc3BlYxgCIAEoCzIdLmVudmlyb25tZW50cy5F'
|
||||
'bnZpcm9ubWVudFNwZWNSBHNwZWMSKwoCaWQYAyABKAsyGy5lbnZpcm9ubWVudHMuRW52aXJvbm'
|
||||
'1lbnRJZFICaWQ=');
|
||||
326
lib/src/projects/v1/projects_v1.pb.dart
Normal file
326
lib/src/projects/v1/projects_v1.pb.dart
Normal file
@@ -0,0 +1,326 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from projects/v1/projects_v1.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, prefer_relative_imports
|
||||
|
||||
import 'dart:core' as $core;
|
||||
|
||||
import 'package:protobuf/protobuf.dart' as $pb;
|
||||
|
||||
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
||||
|
||||
class CreateProjectRequest extends $pb.GeneratedMessage {
|
||||
factory CreateProjectRequest() => create();
|
||||
|
||||
CreateProjectRequest._();
|
||||
|
||||
factory CreateProjectRequest.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory CreateProjectRequest.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'CreateProjectRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'projects.v1'),
|
||||
createEmptyInstance: create)
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
CreateProjectRequest clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
CreateProjectRequest copyWith(void Function(CreateProjectRequest) updates) =>
|
||||
super.copyWith((message) => updates(message as CreateProjectRequest))
|
||||
as CreateProjectRequest;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static CreateProjectRequest create() => CreateProjectRequest._();
|
||||
@$core.override
|
||||
CreateProjectRequest createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static CreateProjectRequest getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<CreateProjectRequest>(create);
|
||||
static CreateProjectRequest? _defaultInstance;
|
||||
}
|
||||
|
||||
class CreateProjectResponse extends $pb.GeneratedMessage {
|
||||
factory CreateProjectResponse() => create();
|
||||
|
||||
CreateProjectResponse._();
|
||||
|
||||
factory CreateProjectResponse.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory CreateProjectResponse.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'CreateProjectResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'projects.v1'),
|
||||
createEmptyInstance: create)
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
CreateProjectResponse clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
CreateProjectResponse copyWith(
|
||||
void Function(CreateProjectResponse) updates) =>
|
||||
super.copyWith((message) => updates(message as CreateProjectResponse))
|
||||
as CreateProjectResponse;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static CreateProjectResponse create() => CreateProjectResponse._();
|
||||
@$core.override
|
||||
CreateProjectResponse createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static CreateProjectResponse getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<CreateProjectResponse>(create);
|
||||
static CreateProjectResponse? _defaultInstance;
|
||||
}
|
||||
|
||||
class GetProjectRequest extends $pb.GeneratedMessage {
|
||||
factory GetProjectRequest() => create();
|
||||
|
||||
GetProjectRequest._();
|
||||
|
||||
factory GetProjectRequest.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory GetProjectRequest.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'GetProjectRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'projects.v1'),
|
||||
createEmptyInstance: create)
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
GetProjectRequest clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
GetProjectRequest copyWith(void Function(GetProjectRequest) updates) =>
|
||||
super.copyWith((message) => updates(message as GetProjectRequest))
|
||||
as GetProjectRequest;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static GetProjectRequest create() => GetProjectRequest._();
|
||||
@$core.override
|
||||
GetProjectRequest createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static GetProjectRequest getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<GetProjectRequest>(create);
|
||||
static GetProjectRequest? _defaultInstance;
|
||||
}
|
||||
|
||||
class GetProjectResponse extends $pb.GeneratedMessage {
|
||||
factory GetProjectResponse() => create();
|
||||
|
||||
GetProjectResponse._();
|
||||
|
||||
factory GetProjectResponse.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory GetProjectResponse.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'GetProjectResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'projects.v1'),
|
||||
createEmptyInstance: create)
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
GetProjectResponse clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
GetProjectResponse copyWith(void Function(GetProjectResponse) updates) =>
|
||||
super.copyWith((message) => updates(message as GetProjectResponse))
|
||||
as GetProjectResponse;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static GetProjectResponse create() => GetProjectResponse._();
|
||||
@$core.override
|
||||
GetProjectResponse createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static GetProjectResponse getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<GetProjectResponse>(create);
|
||||
static GetProjectResponse? _defaultInstance;
|
||||
}
|
||||
|
||||
class ListProjectsRequest extends $pb.GeneratedMessage {
|
||||
factory ListProjectsRequest() => create();
|
||||
|
||||
ListProjectsRequest._();
|
||||
|
||||
factory ListProjectsRequest.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory ListProjectsRequest.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'ListProjectsRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'projects.v1'),
|
||||
createEmptyInstance: create)
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ListProjectsRequest clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ListProjectsRequest copyWith(void Function(ListProjectsRequest) updates) =>
|
||||
super.copyWith((message) => updates(message as ListProjectsRequest))
|
||||
as ListProjectsRequest;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ListProjectsRequest create() => ListProjectsRequest._();
|
||||
@$core.override
|
||||
ListProjectsRequest createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ListProjectsRequest getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<ListProjectsRequest>(create);
|
||||
static ListProjectsRequest? _defaultInstance;
|
||||
}
|
||||
|
||||
class ListProjectsResponse extends $pb.GeneratedMessage {
|
||||
factory ListProjectsResponse() => create();
|
||||
|
||||
ListProjectsResponse._();
|
||||
|
||||
factory ListProjectsResponse.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory ListProjectsResponse.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'ListProjectsResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'projects.v1'),
|
||||
createEmptyInstance: create)
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ListProjectsResponse clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ListProjectsResponse copyWith(void Function(ListProjectsResponse) updates) =>
|
||||
super.copyWith((message) => updates(message as ListProjectsResponse))
|
||||
as ListProjectsResponse;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ListProjectsResponse create() => ListProjectsResponse._();
|
||||
@$core.override
|
||||
ListProjectsResponse createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ListProjectsResponse getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<ListProjectsResponse>(create);
|
||||
static ListProjectsResponse? _defaultInstance;
|
||||
}
|
||||
|
||||
class UpdateProjectRequest extends $pb.GeneratedMessage {
|
||||
factory UpdateProjectRequest() => create();
|
||||
|
||||
UpdateProjectRequest._();
|
||||
|
||||
factory UpdateProjectRequest.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory UpdateProjectRequest.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'UpdateProjectRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'projects.v1'),
|
||||
createEmptyInstance: create)
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
UpdateProjectRequest clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
UpdateProjectRequest copyWith(void Function(UpdateProjectRequest) updates) =>
|
||||
super.copyWith((message) => updates(message as UpdateProjectRequest))
|
||||
as UpdateProjectRequest;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static UpdateProjectRequest create() => UpdateProjectRequest._();
|
||||
@$core.override
|
||||
UpdateProjectRequest createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static UpdateProjectRequest getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<UpdateProjectRequest>(create);
|
||||
static UpdateProjectRequest? _defaultInstance;
|
||||
}
|
||||
|
||||
class UpdateProjectResponse extends $pb.GeneratedMessage {
|
||||
factory UpdateProjectResponse() => create();
|
||||
|
||||
UpdateProjectResponse._();
|
||||
|
||||
factory UpdateProjectResponse.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory UpdateProjectResponse.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'UpdateProjectResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'projects.v1'),
|
||||
createEmptyInstance: create)
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
UpdateProjectResponse clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
UpdateProjectResponse copyWith(
|
||||
void Function(UpdateProjectResponse) updates) =>
|
||||
super.copyWith((message) => updates(message as UpdateProjectResponse))
|
||||
as UpdateProjectResponse;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static UpdateProjectResponse create() => UpdateProjectResponse._();
|
||||
@$core.override
|
||||
UpdateProjectResponse createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static UpdateProjectResponse getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<UpdateProjectResponse>(create);
|
||||
static UpdateProjectResponse? _defaultInstance;
|
||||
}
|
||||
|
||||
const $core.bool _omitMessageNames =
|
||||
$core.bool.fromEnvironment('protobuf.omit_message_names');
|
||||
@@ -1,6 +1,6 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from applications/v1/applications_v1.proto.
|
||||
// Generated from projects/v1/projects_v1.proto.
|
||||
|
||||
// @dart = 3.3
|
||||
|
||||
164
lib/src/projects/v1/projects_v1.pbgrpc.dart
Normal file
164
lib/src/projects/v1/projects_v1.pbgrpc.dart
Normal file
@@ -0,0 +1,164 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from projects/v1/projects_v1.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, prefer_relative_imports
|
||||
|
||||
import 'dart:async' as $async;
|
||||
import 'dart:core' as $core;
|
||||
|
||||
import 'package:grpc/service_api.dart' as $grpc;
|
||||
import 'package:protobuf/protobuf.dart' as $pb;
|
||||
|
||||
import 'projects_v1.pb.dart' as $0;
|
||||
|
||||
export 'projects_v1.pb.dart';
|
||||
|
||||
@$pb.GrpcServiceName('projects.v1.ProjectsService')
|
||||
class ProjectsServiceClient extends $grpc.Client {
|
||||
/// The hostname for this service.
|
||||
static const $core.String defaultHost = '';
|
||||
|
||||
/// OAuth scopes needed for the client.
|
||||
static const $core.List<$core.String> oauthScopes = [
|
||||
'',
|
||||
];
|
||||
|
||||
ProjectsServiceClient(super.channel, {super.options, super.interceptors});
|
||||
|
||||
$grpc.ResponseFuture<$0.CreateProjectResponse> createProject(
|
||||
$0.CreateProjectRequest request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$createProject, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$0.GetProjectResponse> getProject(
|
||||
$0.GetProjectRequest request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$getProject, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseStream<$0.ListProjectsResponse> listProjects(
|
||||
$0.ListProjectsRequest request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createStreamingCall(
|
||||
_$listProjects, $async.Stream.fromIterable([request]),
|
||||
options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$0.UpdateProjectResponse> updateProject(
|
||||
$0.UpdateProjectRequest request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$updateProject, request, options: options);
|
||||
}
|
||||
|
||||
// method descriptors
|
||||
|
||||
static final _$createProject =
|
||||
$grpc.ClientMethod<$0.CreateProjectRequest, $0.CreateProjectResponse>(
|
||||
'/projects.v1.ProjectsService/CreateProject',
|
||||
($0.CreateProjectRequest value) => value.writeToBuffer(),
|
||||
$0.CreateProjectResponse.fromBuffer);
|
||||
static final _$getProject =
|
||||
$grpc.ClientMethod<$0.GetProjectRequest, $0.GetProjectResponse>(
|
||||
'/projects.v1.ProjectsService/GetProject',
|
||||
($0.GetProjectRequest value) => value.writeToBuffer(),
|
||||
$0.GetProjectResponse.fromBuffer);
|
||||
static final _$listProjects =
|
||||
$grpc.ClientMethod<$0.ListProjectsRequest, $0.ListProjectsResponse>(
|
||||
'/projects.v1.ProjectsService/ListProjects',
|
||||
($0.ListProjectsRequest value) => value.writeToBuffer(),
|
||||
$0.ListProjectsResponse.fromBuffer);
|
||||
static final _$updateProject =
|
||||
$grpc.ClientMethod<$0.UpdateProjectRequest, $0.UpdateProjectResponse>(
|
||||
'/projects.v1.ProjectsService/UpdateProject',
|
||||
($0.UpdateProjectRequest value) => value.writeToBuffer(),
|
||||
$0.UpdateProjectResponse.fromBuffer);
|
||||
}
|
||||
|
||||
@$pb.GrpcServiceName('projects.v1.ProjectsService')
|
||||
abstract class ProjectsServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'projects.v1.ProjectsService';
|
||||
|
||||
ProjectsServiceBase() {
|
||||
$addMethod(
|
||||
$grpc.ServiceMethod<$0.CreateProjectRequest, $0.CreateProjectResponse>(
|
||||
'CreateProject',
|
||||
createProject_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) =>
|
||||
$0.CreateProjectRequest.fromBuffer(value),
|
||||
($0.CreateProjectResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.GetProjectRequest, $0.GetProjectResponse>(
|
||||
'GetProject',
|
||||
getProject_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.GetProjectRequest.fromBuffer(value),
|
||||
($0.GetProjectResponse value) => value.writeToBuffer()));
|
||||
$addMethod(
|
||||
$grpc.ServiceMethod<$0.ListProjectsRequest, $0.ListProjectsResponse>(
|
||||
'ListProjects',
|
||||
listProjects_Pre,
|
||||
false,
|
||||
true,
|
||||
($core.List<$core.int> value) =>
|
||||
$0.ListProjectsRequest.fromBuffer(value),
|
||||
($0.ListProjectsResponse value) => value.writeToBuffer()));
|
||||
$addMethod(
|
||||
$grpc.ServiceMethod<$0.UpdateProjectRequest, $0.UpdateProjectResponse>(
|
||||
'UpdateProject',
|
||||
updateProject_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) =>
|
||||
$0.UpdateProjectRequest.fromBuffer(value),
|
||||
($0.UpdateProjectResponse value) => value.writeToBuffer()));
|
||||
}
|
||||
|
||||
$async.Future<$0.CreateProjectResponse> createProject_Pre(
|
||||
$grpc.ServiceCall $call,
|
||||
$async.Future<$0.CreateProjectRequest> $request) async {
|
||||
return createProject($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$0.CreateProjectResponse> createProject(
|
||||
$grpc.ServiceCall call, $0.CreateProjectRequest request);
|
||||
|
||||
$async.Future<$0.GetProjectResponse> getProject_Pre($grpc.ServiceCall $call,
|
||||
$async.Future<$0.GetProjectRequest> $request) async {
|
||||
return getProject($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$0.GetProjectResponse> getProject(
|
||||
$grpc.ServiceCall call, $0.GetProjectRequest request);
|
||||
|
||||
$async.Stream<$0.ListProjectsResponse> listProjects_Pre(
|
||||
$grpc.ServiceCall $call,
|
||||
$async.Future<$0.ListProjectsRequest> $request) async* {
|
||||
yield* listProjects($call, await $request);
|
||||
}
|
||||
|
||||
$async.Stream<$0.ListProjectsResponse> listProjects(
|
||||
$grpc.ServiceCall call, $0.ListProjectsRequest request);
|
||||
|
||||
$async.Future<$0.UpdateProjectResponse> updateProject_Pre(
|
||||
$grpc.ServiceCall $call,
|
||||
$async.Future<$0.UpdateProjectRequest> $request) async {
|
||||
return updateProject($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$0.UpdateProjectResponse> updateProject(
|
||||
$grpc.ServiceCall call, $0.UpdateProjectRequest request);
|
||||
}
|
||||
88
lib/src/projects/v1/projects_v1.pbjson.dart
Normal file
88
lib/src/projects/v1/projects_v1.pbjson.dart
Normal file
@@ -0,0 +1,88 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from projects/v1/projects_v1.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, prefer_relative_imports
|
||||
// ignore_for_file: unused_import
|
||||
|
||||
import 'dart:convert' as $convert;
|
||||
import 'dart:core' as $core;
|
||||
import 'dart:typed_data' as $typed_data;
|
||||
|
||||
@$core.Deprecated('Use createProjectRequestDescriptor instead')
|
||||
const CreateProjectRequest$json = {
|
||||
'1': 'CreateProjectRequest',
|
||||
};
|
||||
|
||||
/// Descriptor for `CreateProjectRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List createProjectRequestDescriptor =
|
||||
$convert.base64Decode('ChRDcmVhdGVQcm9qZWN0UmVxdWVzdA==');
|
||||
|
||||
@$core.Deprecated('Use createProjectResponseDescriptor instead')
|
||||
const CreateProjectResponse$json = {
|
||||
'1': 'CreateProjectResponse',
|
||||
};
|
||||
|
||||
/// Descriptor for `CreateProjectResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List createProjectResponseDescriptor =
|
||||
$convert.base64Decode('ChVDcmVhdGVQcm9qZWN0UmVzcG9uc2U=');
|
||||
|
||||
@$core.Deprecated('Use getProjectRequestDescriptor instead')
|
||||
const GetProjectRequest$json = {
|
||||
'1': 'GetProjectRequest',
|
||||
};
|
||||
|
||||
/// Descriptor for `GetProjectRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List getProjectRequestDescriptor =
|
||||
$convert.base64Decode('ChFHZXRQcm9qZWN0UmVxdWVzdA==');
|
||||
|
||||
@$core.Deprecated('Use getProjectResponseDescriptor instead')
|
||||
const GetProjectResponse$json = {
|
||||
'1': 'GetProjectResponse',
|
||||
};
|
||||
|
||||
/// Descriptor for `GetProjectResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List getProjectResponseDescriptor =
|
||||
$convert.base64Decode('ChJHZXRQcm9qZWN0UmVzcG9uc2U=');
|
||||
|
||||
@$core.Deprecated('Use listProjectsRequestDescriptor instead')
|
||||
const ListProjectsRequest$json = {
|
||||
'1': 'ListProjectsRequest',
|
||||
};
|
||||
|
||||
/// Descriptor for `ListProjectsRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List listProjectsRequestDescriptor =
|
||||
$convert.base64Decode('ChNMaXN0UHJvamVjdHNSZXF1ZXN0');
|
||||
|
||||
@$core.Deprecated('Use listProjectsResponseDescriptor instead')
|
||||
const ListProjectsResponse$json = {
|
||||
'1': 'ListProjectsResponse',
|
||||
};
|
||||
|
||||
/// Descriptor for `ListProjectsResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List listProjectsResponseDescriptor =
|
||||
$convert.base64Decode('ChRMaXN0UHJvamVjdHNSZXNwb25zZQ==');
|
||||
|
||||
@$core.Deprecated('Use updateProjectRequestDescriptor instead')
|
||||
const UpdateProjectRequest$json = {
|
||||
'1': 'UpdateProjectRequest',
|
||||
};
|
||||
|
||||
/// Descriptor for `UpdateProjectRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List updateProjectRequestDescriptor =
|
||||
$convert.base64Decode('ChRVcGRhdGVQcm9qZWN0UmVxdWVzdA==');
|
||||
|
||||
@$core.Deprecated('Use updateProjectResponseDescriptor instead')
|
||||
const UpdateProjectResponse$json = {
|
||||
'1': 'UpdateProjectResponse',
|
||||
};
|
||||
|
||||
/// Descriptor for `UpdateProjectResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List updateProjectResponseDescriptor =
|
||||
$convert.base64Decode('ChVVcGRhdGVQcm9qZWN0UmVzcG9uc2U=');
|
||||
@@ -168,5 +168,115 @@ class PongResponse extends $pb.GeneratedMessage {
|
||||
static PongResponse? _defaultInstance;
|
||||
}
|
||||
|
||||
class PingStreamResponse extends $pb.GeneratedMessage {
|
||||
factory PingStreamResponse({
|
||||
$core.String? dummy,
|
||||
}) {
|
||||
final result = create();
|
||||
if (dummy != null) result.dummy = dummy;
|
||||
return result;
|
||||
}
|
||||
|
||||
PingStreamResponse._();
|
||||
|
||||
factory PingStreamResponse.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory PingStreamResponse.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'PingStreamResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'test.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'dummy')
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
PingStreamResponse clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
PingStreamResponse copyWith(void Function(PingStreamResponse) updates) =>
|
||||
super.copyWith((message) => updates(message as PingStreamResponse))
|
||||
as PingStreamResponse;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static PingStreamResponse create() => PingStreamResponse._();
|
||||
@$core.override
|
||||
PingStreamResponse createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static PingStreamResponse getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<PingStreamResponse>(create);
|
||||
static PingStreamResponse? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get dummy => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
set dummy($core.String value) => $_setString(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasDummy() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearDummy() => $_clearField(1);
|
||||
}
|
||||
|
||||
class PongStreamResponse extends $pb.GeneratedMessage {
|
||||
factory PongStreamResponse({
|
||||
$core.String? dummy,
|
||||
}) {
|
||||
final result = create();
|
||||
if (dummy != null) result.dummy = dummy;
|
||||
return result;
|
||||
}
|
||||
|
||||
PongStreamResponse._();
|
||||
|
||||
factory PongStreamResponse.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory PongStreamResponse.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'PongStreamResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'test.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'dummy')
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
PongStreamResponse clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
PongStreamResponse copyWith(void Function(PongStreamResponse) updates) =>
|
||||
super.copyWith((message) => updates(message as PongStreamResponse))
|
||||
as PongStreamResponse;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static PongStreamResponse create() => PongStreamResponse._();
|
||||
@$core.override
|
||||
PongStreamResponse createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static PongStreamResponse getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<PongStreamResponse>(create);
|
||||
static PongStreamResponse? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get dummy => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
set dummy($core.String value) => $_setString(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasDummy() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearDummy() => $_clearField(1);
|
||||
}
|
||||
|
||||
const $core.bool _omitFieldNames =
|
||||
$core.bool.fromEnvironment('protobuf.omit_field_names');
|
||||
const $core.bool _omitMessageNames =
|
||||
$core.bool.fromEnvironment('protobuf.omit_message_names');
|
||||
|
||||
@@ -15,6 +15,7 @@ import 'dart:core' as $core;
|
||||
|
||||
import 'package:grpc/service_api.dart' as $grpc;
|
||||
import 'package:protobuf/protobuf.dart' as $pb;
|
||||
import 'package:protobuf/well_known_types/google/protobuf/empty.pb.dart' as $1;
|
||||
|
||||
import 'test_v1.pb.dart' as $0;
|
||||
|
||||
@@ -22,8 +23,8 @@ export 'test_v1.pb.dart';
|
||||
|
||||
/// *
|
||||
/// Service for handling environments
|
||||
@$pb.GrpcServiceName('test.v1.TestNoAuthService')
|
||||
class TestNoAuthServiceClient extends $grpc.Client {
|
||||
@$pb.GrpcServiceName('test.v1.PublicTestService')
|
||||
class PublicTestServiceClient extends $grpc.Client {
|
||||
/// The hostname for this service.
|
||||
static const $core.String defaultHost = '';
|
||||
|
||||
@@ -32,7 +33,7 @@ class TestNoAuthServiceClient extends $grpc.Client {
|
||||
'',
|
||||
];
|
||||
|
||||
TestNoAuthServiceClient(super.channel, {super.options, super.interceptors});
|
||||
PublicTestServiceClient(super.channel, {super.options, super.interceptors});
|
||||
|
||||
$grpc.ResponseFuture<$0.PingResponse> ping(
|
||||
$0.PingRequest request, {
|
||||
@@ -41,19 +42,33 @@ class TestNoAuthServiceClient extends $grpc.Client {
|
||||
return $createUnaryCall(_$ping, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseStream<$0.PingStreamResponse> pingStream(
|
||||
$1.Empty request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createStreamingCall(
|
||||
_$pingStream, $async.Stream.fromIterable([request]),
|
||||
options: options);
|
||||
}
|
||||
|
||||
// method descriptors
|
||||
|
||||
static final _$ping = $grpc.ClientMethod<$0.PingRequest, $0.PingResponse>(
|
||||
'/test.v1.TestNoAuthService/Ping',
|
||||
'/test.v1.PublicTestService/Ping',
|
||||
($0.PingRequest value) => value.writeToBuffer(),
|
||||
$0.PingResponse.fromBuffer);
|
||||
static final _$pingStream =
|
||||
$grpc.ClientMethod<$1.Empty, $0.PingStreamResponse>(
|
||||
'/test.v1.PublicTestService/PingStream',
|
||||
($1.Empty value) => value.writeToBuffer(),
|
||||
$0.PingStreamResponse.fromBuffer);
|
||||
}
|
||||
|
||||
@$pb.GrpcServiceName('test.v1.TestNoAuthService')
|
||||
abstract class TestNoAuthServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'test.v1.TestNoAuthService';
|
||||
@$pb.GrpcServiceName('test.v1.PublicTestService')
|
||||
abstract class PublicTestServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'test.v1.PublicTestService';
|
||||
|
||||
TestNoAuthServiceBase() {
|
||||
PublicTestServiceBase() {
|
||||
$addMethod($grpc.ServiceMethod<$0.PingRequest, $0.PingResponse>(
|
||||
'Ping',
|
||||
ping_Pre,
|
||||
@@ -61,6 +76,13 @@ abstract class TestNoAuthServiceBase extends $grpc.Service {
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.PingRequest.fromBuffer(value),
|
||||
($0.PingResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$1.Empty, $0.PingStreamResponse>(
|
||||
'PingStream',
|
||||
pingStream_Pre,
|
||||
false,
|
||||
true,
|
||||
($core.List<$core.int> value) => $1.Empty.fromBuffer(value),
|
||||
($0.PingStreamResponse value) => value.writeToBuffer()));
|
||||
}
|
||||
|
||||
$async.Future<$0.PingResponse> ping_Pre(
|
||||
@@ -70,10 +92,18 @@ abstract class TestNoAuthServiceBase extends $grpc.Service {
|
||||
|
||||
$async.Future<$0.PingResponse> ping(
|
||||
$grpc.ServiceCall call, $0.PingRequest request);
|
||||
|
||||
$async.Stream<$0.PingStreamResponse> pingStream_Pre(
|
||||
$grpc.ServiceCall $call, $async.Future<$1.Empty> $request) async* {
|
||||
yield* pingStream($call, await $request);
|
||||
}
|
||||
|
||||
$async.Stream<$0.PingStreamResponse> pingStream(
|
||||
$grpc.ServiceCall call, $1.Empty request);
|
||||
}
|
||||
|
||||
@$pb.GrpcServiceName('test.v1.TestAuthService')
|
||||
class TestAuthServiceClient extends $grpc.Client {
|
||||
@$pb.GrpcServiceName('test.v1.TestService')
|
||||
class TestServiceClient extends $grpc.Client {
|
||||
/// The hostname for this service.
|
||||
static const $core.String defaultHost = '';
|
||||
|
||||
@@ -82,7 +112,7 @@ class TestAuthServiceClient extends $grpc.Client {
|
||||
'',
|
||||
];
|
||||
|
||||
TestAuthServiceClient(super.channel, {super.options, super.interceptors});
|
||||
TestServiceClient(super.channel, {super.options, super.interceptors});
|
||||
|
||||
$grpc.ResponseFuture<$0.PongResponse> pong(
|
||||
$0.PongRequest request, {
|
||||
@@ -91,19 +121,33 @@ class TestAuthServiceClient extends $grpc.Client {
|
||||
return $createUnaryCall(_$pong, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseStream<$0.PongStreamResponse> pongStream(
|
||||
$1.Empty request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createStreamingCall(
|
||||
_$pongStream, $async.Stream.fromIterable([request]),
|
||||
options: options);
|
||||
}
|
||||
|
||||
// method descriptors
|
||||
|
||||
static final _$pong = $grpc.ClientMethod<$0.PongRequest, $0.PongResponse>(
|
||||
'/test.v1.TestAuthService/Pong',
|
||||
'/test.v1.TestService/Pong',
|
||||
($0.PongRequest value) => value.writeToBuffer(),
|
||||
$0.PongResponse.fromBuffer);
|
||||
static final _$pongStream =
|
||||
$grpc.ClientMethod<$1.Empty, $0.PongStreamResponse>(
|
||||
'/test.v1.TestService/PongStream',
|
||||
($1.Empty value) => value.writeToBuffer(),
|
||||
$0.PongStreamResponse.fromBuffer);
|
||||
}
|
||||
|
||||
@$pb.GrpcServiceName('test.v1.TestAuthService')
|
||||
abstract class TestAuthServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'test.v1.TestAuthService';
|
||||
@$pb.GrpcServiceName('test.v1.TestService')
|
||||
abstract class TestServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'test.v1.TestService';
|
||||
|
||||
TestAuthServiceBase() {
|
||||
TestServiceBase() {
|
||||
$addMethod($grpc.ServiceMethod<$0.PongRequest, $0.PongResponse>(
|
||||
'Pong',
|
||||
pong_Pre,
|
||||
@@ -111,6 +155,13 @@ abstract class TestAuthServiceBase extends $grpc.Service {
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.PongRequest.fromBuffer(value),
|
||||
($0.PongResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$1.Empty, $0.PongStreamResponse>(
|
||||
'PongStream',
|
||||
pongStream_Pre,
|
||||
false,
|
||||
true,
|
||||
($core.List<$core.int> value) => $1.Empty.fromBuffer(value),
|
||||
($0.PongStreamResponse value) => value.writeToBuffer()));
|
||||
}
|
||||
|
||||
$async.Future<$0.PongResponse> pong_Pre(
|
||||
@@ -120,4 +171,12 @@ abstract class TestAuthServiceBase extends $grpc.Service {
|
||||
|
||||
$async.Future<$0.PongResponse> pong(
|
||||
$grpc.ServiceCall call, $0.PongRequest request);
|
||||
|
||||
$async.Stream<$0.PongStreamResponse> pongStream_Pre(
|
||||
$grpc.ServiceCall $call, $async.Future<$1.Empty> $request) async* {
|
||||
yield* pongStream($call, await $request);
|
||||
}
|
||||
|
||||
$async.Stream<$0.PongStreamResponse> pongStream(
|
||||
$grpc.ServiceCall call, $1.Empty request);
|
||||
}
|
||||
|
||||
@@ -50,3 +50,27 @@ const PongResponse$json = {
|
||||
/// Descriptor for `PongResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List pongResponseDescriptor =
|
||||
$convert.base64Decode('CgxQb25nUmVzcG9uc2U=');
|
||||
|
||||
@$core.Deprecated('Use pingStreamResponseDescriptor instead')
|
||||
const PingStreamResponse$json = {
|
||||
'1': 'PingStreamResponse',
|
||||
'2': [
|
||||
{'1': 'dummy', '3': 1, '4': 1, '5': 9, '10': 'dummy'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `PingStreamResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List pingStreamResponseDescriptor = $convert
|
||||
.base64Decode('ChJQaW5nU3RyZWFtUmVzcG9uc2USFAoFZHVtbXkYASABKAlSBWR1bW15');
|
||||
|
||||
@$core.Deprecated('Use pongStreamResponseDescriptor instead')
|
||||
const PongStreamResponse$json = {
|
||||
'1': 'PongStreamResponse',
|
||||
'2': [
|
||||
{'1': 'dummy', '3': 1, '4': 1, '5': 9, '10': 'dummy'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `PongStreamResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List pongStreamResponseDescriptor = $convert
|
||||
.base64Decode('ChJQb25nU3RyZWFtUmVzcG9uc2USFAoFZHVtbXkYASABKAlSBWR1bW15');
|
||||
|
||||
1227
lib/src/tokens/v1/tokens_v1.pb.dart
Normal file
1227
lib/src/tokens/v1/tokens_v1.pb.dart
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from email/v1/email_v1.proto.
|
||||
// Generated from tokens/v1/tokens_v1.proto.
|
||||
|
||||
// @dart = 3.3
|
||||
|
||||
311
lib/src/tokens/v1/tokens_v1.pbgrpc.dart
Normal file
311
lib/src/tokens/v1/tokens_v1.pbgrpc.dart
Normal file
@@ -0,0 +1,311 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from tokens/v1/tokens_v1.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, prefer_relative_imports
|
||||
|
||||
import 'dart:async' as $async;
|
||||
import 'dart:core' as $core;
|
||||
|
||||
import 'package:grpc/service_api.dart' as $grpc;
|
||||
import 'package:protobuf/protobuf.dart' as $pb;
|
||||
import 'package:protobuf/well_known_types/google/protobuf/empty.pb.dart' as $1;
|
||||
|
||||
import 'tokens_v1.pb.dart' as $0;
|
||||
|
||||
export 'tokens_v1.pb.dart';
|
||||
|
||||
/// Tokens should be used for programmatic access
|
||||
/// For example CLI or terraform modules
|
||||
@$pb.GrpcServiceName('tokens.v1.TokensService')
|
||||
class TokensServiceClient extends $grpc.Client {
|
||||
/// The hostname for this service.
|
||||
static const $core.String defaultHost = '';
|
||||
|
||||
/// OAuth scopes needed for the client.
|
||||
static const $core.List<$core.String> oauthScopes = [
|
||||
'',
|
||||
];
|
||||
|
||||
TokensServiceClient(super.channel, {super.options, super.interceptors});
|
||||
|
||||
/// Create a new token
|
||||
$grpc.ResponseFuture<$0.CreateTokenResponse> createToken(
|
||||
$0.CreateTokenRequest request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$createToken, request, options: options);
|
||||
}
|
||||
|
||||
/// Update an existing token
|
||||
$grpc.ResponseFuture<$0.UpdateTokenResponse> updateToken(
|
||||
$0.UpdateTokenRequest request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$updateToken, request, options: options);
|
||||
}
|
||||
|
||||
/// Expire an existing token
|
||||
$grpc.ResponseFuture<$1.Empty> forceTokenExpiration(
|
||||
$0.ForceTokenExpirationRequest request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$forceTokenExpiration, request, options: options);
|
||||
}
|
||||
|
||||
/// Create a new token with the same UUID
|
||||
$grpc.ResponseFuture<$0.RegenerateTokenResponse> regenerateToken(
|
||||
$0.RegenerateTokenRequest request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$regenerateToken, request, options: options);
|
||||
}
|
||||
|
||||
/// Get an existing token
|
||||
$grpc.ResponseFuture<$0.GetTokenResponse> getToken(
|
||||
$0.GetTokenRequest request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$getToken, request, options: options);
|
||||
}
|
||||
|
||||
/// List all existing tokens
|
||||
$grpc.ResponseStream<$0.ListTokensResponse> listTokens(
|
||||
$1.Empty request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createStreamingCall(
|
||||
_$listTokens, $async.Stream.fromIterable([request]),
|
||||
options: options);
|
||||
}
|
||||
|
||||
/// List all available permissions
|
||||
$grpc.ResponseStream<$0.ListPermissionsResponse> listPermissions(
|
||||
$1.Empty request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createStreamingCall(
|
||||
_$listPermissions, $async.Stream.fromIterable([request]),
|
||||
options: options);
|
||||
}
|
||||
|
||||
// method descriptors
|
||||
|
||||
static final _$createToken =
|
||||
$grpc.ClientMethod<$0.CreateTokenRequest, $0.CreateTokenResponse>(
|
||||
'/tokens.v1.TokensService/CreateToken',
|
||||
($0.CreateTokenRequest value) => value.writeToBuffer(),
|
||||
$0.CreateTokenResponse.fromBuffer);
|
||||
static final _$updateToken =
|
||||
$grpc.ClientMethod<$0.UpdateTokenRequest, $0.UpdateTokenResponse>(
|
||||
'/tokens.v1.TokensService/UpdateToken',
|
||||
($0.UpdateTokenRequest value) => value.writeToBuffer(),
|
||||
$0.UpdateTokenResponse.fromBuffer);
|
||||
static final _$forceTokenExpiration =
|
||||
$grpc.ClientMethod<$0.ForceTokenExpirationRequest, $1.Empty>(
|
||||
'/tokens.v1.TokensService/ForceTokenExpiration',
|
||||
($0.ForceTokenExpirationRequest value) => value.writeToBuffer(),
|
||||
$1.Empty.fromBuffer);
|
||||
static final _$regenerateToken =
|
||||
$grpc.ClientMethod<$0.RegenerateTokenRequest, $0.RegenerateTokenResponse>(
|
||||
'/tokens.v1.TokensService/RegenerateToken',
|
||||
($0.RegenerateTokenRequest value) => value.writeToBuffer(),
|
||||
$0.RegenerateTokenResponse.fromBuffer);
|
||||
static final _$getToken =
|
||||
$grpc.ClientMethod<$0.GetTokenRequest, $0.GetTokenResponse>(
|
||||
'/tokens.v1.TokensService/GetToken',
|
||||
($0.GetTokenRequest value) => value.writeToBuffer(),
|
||||
$0.GetTokenResponse.fromBuffer);
|
||||
static final _$listTokens =
|
||||
$grpc.ClientMethod<$1.Empty, $0.ListTokensResponse>(
|
||||
'/tokens.v1.TokensService/ListTokens',
|
||||
($1.Empty value) => value.writeToBuffer(),
|
||||
$0.ListTokensResponse.fromBuffer);
|
||||
static final _$listPermissions =
|
||||
$grpc.ClientMethod<$1.Empty, $0.ListPermissionsResponse>(
|
||||
'/tokens.v1.TokensService/ListPermissions',
|
||||
($1.Empty value) => value.writeToBuffer(),
|
||||
$0.ListPermissionsResponse.fromBuffer);
|
||||
}
|
||||
|
||||
@$pb.GrpcServiceName('tokens.v1.TokensService')
|
||||
abstract class TokensServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'tokens.v1.TokensService';
|
||||
|
||||
TokensServiceBase() {
|
||||
$addMethod(
|
||||
$grpc.ServiceMethod<$0.CreateTokenRequest, $0.CreateTokenResponse>(
|
||||
'CreateToken',
|
||||
createToken_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) =>
|
||||
$0.CreateTokenRequest.fromBuffer(value),
|
||||
($0.CreateTokenResponse value) => value.writeToBuffer()));
|
||||
$addMethod(
|
||||
$grpc.ServiceMethod<$0.UpdateTokenRequest, $0.UpdateTokenResponse>(
|
||||
'UpdateToken',
|
||||
updateToken_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) =>
|
||||
$0.UpdateTokenRequest.fromBuffer(value),
|
||||
($0.UpdateTokenResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.ForceTokenExpirationRequest, $1.Empty>(
|
||||
'ForceTokenExpiration',
|
||||
forceTokenExpiration_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) =>
|
||||
$0.ForceTokenExpirationRequest.fromBuffer(value),
|
||||
($1.Empty value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.RegenerateTokenRequest,
|
||||
$0.RegenerateTokenResponse>(
|
||||
'RegenerateToken',
|
||||
regenerateToken_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) =>
|
||||
$0.RegenerateTokenRequest.fromBuffer(value),
|
||||
($0.RegenerateTokenResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.GetTokenRequest, $0.GetTokenResponse>(
|
||||
'GetToken',
|
||||
getToken_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.GetTokenRequest.fromBuffer(value),
|
||||
($0.GetTokenResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$1.Empty, $0.ListTokensResponse>(
|
||||
'ListTokens',
|
||||
listTokens_Pre,
|
||||
false,
|
||||
true,
|
||||
($core.List<$core.int> value) => $1.Empty.fromBuffer(value),
|
||||
($0.ListTokensResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$1.Empty, $0.ListPermissionsResponse>(
|
||||
'ListPermissions',
|
||||
listPermissions_Pre,
|
||||
false,
|
||||
true,
|
||||
($core.List<$core.int> value) => $1.Empty.fromBuffer(value),
|
||||
($0.ListPermissionsResponse value) => value.writeToBuffer()));
|
||||
}
|
||||
|
||||
$async.Future<$0.CreateTokenResponse> createToken_Pre($grpc.ServiceCall $call,
|
||||
$async.Future<$0.CreateTokenRequest> $request) async {
|
||||
return createToken($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$0.CreateTokenResponse> createToken(
|
||||
$grpc.ServiceCall call, $0.CreateTokenRequest request);
|
||||
|
||||
$async.Future<$0.UpdateTokenResponse> updateToken_Pre($grpc.ServiceCall $call,
|
||||
$async.Future<$0.UpdateTokenRequest> $request) async {
|
||||
return updateToken($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$0.UpdateTokenResponse> updateToken(
|
||||
$grpc.ServiceCall call, $0.UpdateTokenRequest request);
|
||||
|
||||
$async.Future<$1.Empty> forceTokenExpiration_Pre($grpc.ServiceCall $call,
|
||||
$async.Future<$0.ForceTokenExpirationRequest> $request) async {
|
||||
return forceTokenExpiration($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$1.Empty> forceTokenExpiration(
|
||||
$grpc.ServiceCall call, $0.ForceTokenExpirationRequest request);
|
||||
|
||||
$async.Future<$0.RegenerateTokenResponse> regenerateToken_Pre(
|
||||
$grpc.ServiceCall $call,
|
||||
$async.Future<$0.RegenerateTokenRequest> $request) async {
|
||||
return regenerateToken($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$0.RegenerateTokenResponse> regenerateToken(
|
||||
$grpc.ServiceCall call, $0.RegenerateTokenRequest request);
|
||||
|
||||
$async.Future<$0.GetTokenResponse> getToken_Pre($grpc.ServiceCall $call,
|
||||
$async.Future<$0.GetTokenRequest> $request) async {
|
||||
return getToken($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$0.GetTokenResponse> getToken(
|
||||
$grpc.ServiceCall call, $0.GetTokenRequest request);
|
||||
|
||||
$async.Stream<$0.ListTokensResponse> listTokens_Pre(
|
||||
$grpc.ServiceCall $call, $async.Future<$1.Empty> $request) async* {
|
||||
yield* listTokens($call, await $request);
|
||||
}
|
||||
|
||||
$async.Stream<$0.ListTokensResponse> listTokens(
|
||||
$grpc.ServiceCall call, $1.Empty request);
|
||||
|
||||
$async.Stream<$0.ListPermissionsResponse> listPermissions_Pre(
|
||||
$grpc.ServiceCall $call, $async.Future<$1.Empty> $request) async* {
|
||||
yield* listPermissions($call, await $request);
|
||||
}
|
||||
|
||||
$async.Stream<$0.ListPermissionsResponse> listPermissions(
|
||||
$grpc.ServiceCall call, $1.Empty request);
|
||||
}
|
||||
|
||||
/// An endpoint to authenticate with a token should be here
|
||||
@$pb.GrpcServiceName('tokens.v1.PublicTokensService')
|
||||
class PublicTokensServiceClient extends $grpc.Client {
|
||||
/// The hostname for this service.
|
||||
static const $core.String defaultHost = '';
|
||||
|
||||
/// OAuth scopes needed for the client.
|
||||
static const $core.List<$core.String> oauthScopes = [
|
||||
'',
|
||||
];
|
||||
|
||||
PublicTokensServiceClient(super.channel, {super.options, super.interceptors});
|
||||
|
||||
/// Recieve a JWT access token
|
||||
/// DO NOT implement it in the web app!
|
||||
$grpc.ResponseFuture<$1.Empty> authenticateWithToken(
|
||||
$0.AuthenticateWithTokenRequest request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$authenticateWithToken, request, options: options);
|
||||
}
|
||||
|
||||
// method descriptors
|
||||
|
||||
static final _$authenticateWithToken =
|
||||
$grpc.ClientMethod<$0.AuthenticateWithTokenRequest, $1.Empty>(
|
||||
'/tokens.v1.PublicTokensService/AuthenticateWithToken',
|
||||
($0.AuthenticateWithTokenRequest value) => value.writeToBuffer(),
|
||||
$1.Empty.fromBuffer);
|
||||
}
|
||||
|
||||
@$pb.GrpcServiceName('tokens.v1.PublicTokensService')
|
||||
abstract class PublicTokensServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'tokens.v1.PublicTokensService';
|
||||
|
||||
PublicTokensServiceBase() {
|
||||
$addMethod($grpc.ServiceMethod<$0.AuthenticateWithTokenRequest, $1.Empty>(
|
||||
'AuthenticateWithToken',
|
||||
authenticateWithToken_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) =>
|
||||
$0.AuthenticateWithTokenRequest.fromBuffer(value),
|
||||
($1.Empty value) => value.writeToBuffer()));
|
||||
}
|
||||
|
||||
$async.Future<$1.Empty> authenticateWithToken_Pre($grpc.ServiceCall $call,
|
||||
$async.Future<$0.AuthenticateWithTokenRequest> $request) async {
|
||||
return authenticateWithToken($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$1.Empty> authenticateWithToken(
|
||||
$grpc.ServiceCall call, $0.AuthenticateWithTokenRequest request);
|
||||
}
|
||||
493
lib/src/tokens/v1/tokens_v1.pbjson.dart
Normal file
493
lib/src/tokens/v1/tokens_v1.pbjson.dart
Normal file
@@ -0,0 +1,493 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from tokens/v1/tokens_v1.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, prefer_relative_imports
|
||||
// ignore_for_file: unused_import
|
||||
|
||||
import 'dart:convert' as $convert;
|
||||
import 'dart:core' as $core;
|
||||
import 'dart:typed_data' as $typed_data;
|
||||
|
||||
@$core.Deprecated('Use tokenMetadataDescriptor instead')
|
||||
const TokenMetadata$json = {
|
||||
'1': 'TokenMetadata',
|
||||
'2': [
|
||||
{'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'},
|
||||
{
|
||||
'1': 'expires_at',
|
||||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.google.protobuf.Timestamp',
|
||||
'10': 'expiresAt'
|
||||
},
|
||||
{
|
||||
'1': 'last_used_at',
|
||||
'3': 3,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.google.protobuf.Timestamp',
|
||||
'10': 'lastUsedAt'
|
||||
},
|
||||
{
|
||||
'1': 'generated_at',
|
||||
'3': 4,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.google.protobuf.Timestamp',
|
||||
'10': 'generatedAt'
|
||||
},
|
||||
{
|
||||
'1': 'created_at',
|
||||
'3': 5,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.google.protobuf.Timestamp',
|
||||
'10': 'createdAt'
|
||||
},
|
||||
{
|
||||
'1': 'revoked_at',
|
||||
'3': 6,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.google.protobuf.Timestamp',
|
||||
'10': 'revokedAt'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `TokenMetadata`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List tokenMetadataDescriptor = $convert.base64Decode(
|
||||
'Cg1Ub2tlbk1ldGFkYXRhEhIKBG5hbWUYASABKAlSBG5hbWUSOQoKZXhwaXJlc19hdBgCIAEoCz'
|
||||
'IaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSCWV4cGlyZXNBdBI8CgxsYXN0X3VzZWRfYXQY'
|
||||
'AyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUgpsYXN0VXNlZEF0Ej0KDGdlbmVyYX'
|
||||
'RlZF9hdBgEIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSC2dlbmVyYXRlZEF0EjkK'
|
||||
'CmNyZWF0ZWRfYXQYBSABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUgljcmVhdGVkQX'
|
||||
'QSOQoKcmV2b2tlZF9hdBgGIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSCXJldm9r'
|
||||
'ZWRBdA==');
|
||||
|
||||
@$core.Deprecated('Use tokenUUIDDescriptor instead')
|
||||
const TokenUUID$json = {
|
||||
'1': 'TokenUUID',
|
||||
'2': [
|
||||
{'1': 'uuid', '3': 1, '4': 1, '5': 9, '10': 'uuid'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `TokenUUID`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List tokenUUIDDescriptor =
|
||||
$convert.base64Decode('CglUb2tlblVVSUQSEgoEdXVpZBgBIAEoCVIEdXVpZA==');
|
||||
|
||||
@$core.Deprecated('Use tokenValueDescriptor instead')
|
||||
const TokenValue$json = {
|
||||
'1': 'TokenValue',
|
||||
'2': [
|
||||
{'1': 'token', '3': 1, '4': 1, '5': 9, '10': 'token'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `TokenValue`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List tokenValueDescriptor =
|
||||
$convert.base64Decode('CgpUb2tlblZhbHVlEhQKBXRva2VuGAEgASgJUgV0b2tlbg==');
|
||||
|
||||
@$core.Deprecated('Use methodListDescriptor instead')
|
||||
const MethodList$json = {
|
||||
'1': 'MethodList',
|
||||
'2': [
|
||||
{'1': 'methods', '3': 1, '4': 3, '5': 9, '10': 'methods'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `MethodList`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List methodListDescriptor = $convert
|
||||
.base64Decode('CgpNZXRob2RMaXN0EhgKB21ldGhvZHMYASADKAlSB21ldGhvZHM=');
|
||||
|
||||
@$core.Deprecated('Use tokenPermissionsDescriptor instead')
|
||||
const TokenPermissions$json = {
|
||||
'1': 'TokenPermissions',
|
||||
'2': [
|
||||
{
|
||||
'1': 'permissions',
|
||||
'3': 1,
|
||||
'4': 3,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenPermissions.PermissionsEntry',
|
||||
'10': 'permissions'
|
||||
},
|
||||
],
|
||||
'3': [TokenPermissions_PermissionsEntry$json],
|
||||
};
|
||||
|
||||
@$core.Deprecated('Use tokenPermissionsDescriptor instead')
|
||||
const TokenPermissions_PermissionsEntry$json = {
|
||||
'1': 'PermissionsEntry',
|
||||
'2': [
|
||||
{'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'},
|
||||
{
|
||||
'1': 'value',
|
||||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.MethodList',
|
||||
'10': 'value'
|
||||
},
|
||||
],
|
||||
'7': {'7': true},
|
||||
};
|
||||
|
||||
/// Descriptor for `TokenPermissions`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List tokenPermissionsDescriptor = $convert.base64Decode(
|
||||
'ChBUb2tlblBlcm1pc3Npb25zEk4KC3Blcm1pc3Npb25zGAEgAygLMiwudG9rZW5zLnYxLlRva2'
|
||||
'VuUGVybWlzc2lvbnMuUGVybWlzc2lvbnNFbnRyeVILcGVybWlzc2lvbnMaVQoQUGVybWlzc2lv'
|
||||
'bnNFbnRyeRIQCgNrZXkYASABKAlSA2tleRIrCgV2YWx1ZRgCIAEoCzIVLnRva2Vucy52MS5NZX'
|
||||
'Rob2RMaXN0UgV2YWx1ZToCOAE=');
|
||||
|
||||
@$core.Deprecated('Use createTokenRequestDescriptor instead')
|
||||
const CreateTokenRequest$json = {
|
||||
'1': 'CreateTokenRequest',
|
||||
'2': [
|
||||
{
|
||||
'1': 'token_metadata',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenMetadata',
|
||||
'10': 'tokenMetadata'
|
||||
},
|
||||
{
|
||||
'1': 'token_permissions',
|
||||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenPermissions',
|
||||
'10': 'tokenPermissions'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `CreateTokenRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List createTokenRequestDescriptor = $convert.base64Decode(
|
||||
'ChJDcmVhdGVUb2tlblJlcXVlc3QSPwoOdG9rZW5fbWV0YWRhdGEYASABKAsyGC50b2tlbnMudj'
|
||||
'EuVG9rZW5NZXRhZGF0YVINdG9rZW5NZXRhZGF0YRJIChF0b2tlbl9wZXJtaXNzaW9ucxgCIAEo'
|
||||
'CzIbLnRva2Vucy52MS5Ub2tlblBlcm1pc3Npb25zUhB0b2tlblBlcm1pc3Npb25z');
|
||||
|
||||
@$core.Deprecated('Use createTokenResponseDescriptor instead')
|
||||
const CreateTokenResponse$json = {
|
||||
'1': 'CreateTokenResponse',
|
||||
'2': [
|
||||
{
|
||||
'1': 'token_uuid',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenUUID',
|
||||
'10': 'tokenUuid'
|
||||
},
|
||||
{
|
||||
'1': 'token_value',
|
||||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenValue',
|
||||
'10': 'tokenValue'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `CreateTokenResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List createTokenResponseDescriptor = $convert.base64Decode(
|
||||
'ChNDcmVhdGVUb2tlblJlc3BvbnNlEjMKCnRva2VuX3V1aWQYASABKAsyFC50b2tlbnMudjEuVG'
|
||||
'9rZW5VVUlEUgl0b2tlblV1aWQSNgoLdG9rZW5fdmFsdWUYAiABKAsyFS50b2tlbnMudjEuVG9r'
|
||||
'ZW5WYWx1ZVIKdG9rZW5WYWx1ZQ==');
|
||||
|
||||
@$core.Deprecated('Use updateTokenRequestDescriptor instead')
|
||||
const UpdateTokenRequest$json = {
|
||||
'1': 'UpdateTokenRequest',
|
||||
'2': [
|
||||
{
|
||||
'1': 'token_uuid',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenUUID',
|
||||
'10': 'tokenUuid'
|
||||
},
|
||||
{
|
||||
'1': 'token_metadata',
|
||||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenMetadata',
|
||||
'10': 'tokenMetadata'
|
||||
},
|
||||
{
|
||||
'1': 'token_permissions',
|
||||
'3': 3,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenPermissions',
|
||||
'10': 'tokenPermissions'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `UpdateTokenRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List updateTokenRequestDescriptor = $convert.base64Decode(
|
||||
'ChJVcGRhdGVUb2tlblJlcXVlc3QSMwoKdG9rZW5fdXVpZBgBIAEoCzIULnRva2Vucy52MS5Ub2'
|
||||
'tlblVVSURSCXRva2VuVXVpZBI/Cg50b2tlbl9tZXRhZGF0YRgCIAEoCzIYLnRva2Vucy52MS5U'
|
||||
'b2tlbk1ldGFkYXRhUg10b2tlbk1ldGFkYXRhEkgKEXRva2VuX3Blcm1pc3Npb25zGAMgASgLMh'
|
||||
'sudG9rZW5zLnYxLlRva2VuUGVybWlzc2lvbnNSEHRva2VuUGVybWlzc2lvbnM=');
|
||||
|
||||
@$core.Deprecated('Use updateTokenResponseDescriptor instead')
|
||||
const UpdateTokenResponse$json = {
|
||||
'1': 'UpdateTokenResponse',
|
||||
'2': [
|
||||
{
|
||||
'1': 'token_uuid',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenUUID',
|
||||
'10': 'tokenUuid'
|
||||
},
|
||||
{
|
||||
'1': 'token_metadata',
|
||||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenMetadata',
|
||||
'10': 'tokenMetadata'
|
||||
},
|
||||
{
|
||||
'1': 'token_permissions',
|
||||
'3': 3,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenPermissions',
|
||||
'10': 'tokenPermissions'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `UpdateTokenResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List updateTokenResponseDescriptor = $convert.base64Decode(
|
||||
'ChNVcGRhdGVUb2tlblJlc3BvbnNlEjMKCnRva2VuX3V1aWQYASABKAsyFC50b2tlbnMudjEuVG'
|
||||
'9rZW5VVUlEUgl0b2tlblV1aWQSPwoOdG9rZW5fbWV0YWRhdGEYAiABKAsyGC50b2tlbnMudjEu'
|
||||
'VG9rZW5NZXRhZGF0YVINdG9rZW5NZXRhZGF0YRJIChF0b2tlbl9wZXJtaXNzaW9ucxgDIAEoCz'
|
||||
'IbLnRva2Vucy52MS5Ub2tlblBlcm1pc3Npb25zUhB0b2tlblBlcm1pc3Npb25z');
|
||||
|
||||
@$core.Deprecated('Use forceTokenExpirationRequestDescriptor instead')
|
||||
const ForceTokenExpirationRequest$json = {
|
||||
'1': 'ForceTokenExpirationRequest',
|
||||
'2': [
|
||||
{
|
||||
'1': 'token_uuid',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenUUID',
|
||||
'10': 'tokenUuid'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `ForceTokenExpirationRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List forceTokenExpirationRequestDescriptor =
|
||||
$convert.base64Decode(
|
||||
'ChtGb3JjZVRva2VuRXhwaXJhdGlvblJlcXVlc3QSMwoKdG9rZW5fdXVpZBgBIAEoCzIULnRva2'
|
||||
'Vucy52MS5Ub2tlblVVSURSCXRva2VuVXVpZA==');
|
||||
|
||||
@$core.Deprecated('Use regenerateTokenRequestDescriptor instead')
|
||||
const RegenerateTokenRequest$json = {
|
||||
'1': 'RegenerateTokenRequest',
|
||||
'2': [
|
||||
{
|
||||
'1': 'token_uuid',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenUUID',
|
||||
'10': 'tokenUuid'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `RegenerateTokenRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List regenerateTokenRequestDescriptor =
|
||||
$convert.base64Decode(
|
||||
'ChZSZWdlbmVyYXRlVG9rZW5SZXF1ZXN0EjMKCnRva2VuX3V1aWQYASABKAsyFC50b2tlbnMudj'
|
||||
'EuVG9rZW5VVUlEUgl0b2tlblV1aWQ=');
|
||||
|
||||
@$core.Deprecated('Use regenerateTokenResponseDescriptor instead')
|
||||
const RegenerateTokenResponse$json = {
|
||||
'1': 'RegenerateTokenResponse',
|
||||
'2': [
|
||||
{
|
||||
'1': 'token_uuid',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenUUID',
|
||||
'10': 'tokenUuid'
|
||||
},
|
||||
{
|
||||
'1': 'token_value',
|
||||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenValue',
|
||||
'10': 'tokenValue'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `RegenerateTokenResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List regenerateTokenResponseDescriptor = $convert.base64Decode(
|
||||
'ChdSZWdlbmVyYXRlVG9rZW5SZXNwb25zZRIzCgp0b2tlbl91dWlkGAEgASgLMhQudG9rZW5zLn'
|
||||
'YxLlRva2VuVVVJRFIJdG9rZW5VdWlkEjYKC3Rva2VuX3ZhbHVlGAIgASgLMhUudG9rZW5zLnYx'
|
||||
'LlRva2VuVmFsdWVSCnRva2VuVmFsdWU=');
|
||||
|
||||
@$core.Deprecated('Use getTokenRequestDescriptor instead')
|
||||
const GetTokenRequest$json = {
|
||||
'1': 'GetTokenRequest',
|
||||
'2': [
|
||||
{
|
||||
'1': 'token_uuid',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenUUID',
|
||||
'10': 'tokenUuid'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `GetTokenRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List getTokenRequestDescriptor = $convert.base64Decode(
|
||||
'Cg9HZXRUb2tlblJlcXVlc3QSMwoKdG9rZW5fdXVpZBgBIAEoCzIULnRva2Vucy52MS5Ub2tlbl'
|
||||
'VVSURSCXRva2VuVXVpZA==');
|
||||
|
||||
@$core.Deprecated('Use getTokenResponseDescriptor instead')
|
||||
const GetTokenResponse$json = {
|
||||
'1': 'GetTokenResponse',
|
||||
'2': [
|
||||
{
|
||||
'1': 'token_uuid',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenUUID',
|
||||
'10': 'tokenUuid'
|
||||
},
|
||||
{
|
||||
'1': 'token_metadata',
|
||||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenMetadata',
|
||||
'10': 'tokenMetadata'
|
||||
},
|
||||
{
|
||||
'1': 'token_permissions',
|
||||
'3': 3,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenPermissions',
|
||||
'10': 'tokenPermissions'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `GetTokenResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List getTokenResponseDescriptor = $convert.base64Decode(
|
||||
'ChBHZXRUb2tlblJlc3BvbnNlEjMKCnRva2VuX3V1aWQYASABKAsyFC50b2tlbnMudjEuVG9rZW'
|
||||
'5VVUlEUgl0b2tlblV1aWQSPwoOdG9rZW5fbWV0YWRhdGEYAiABKAsyGC50b2tlbnMudjEuVG9r'
|
||||
'ZW5NZXRhZGF0YVINdG9rZW5NZXRhZGF0YRJIChF0b2tlbl9wZXJtaXNzaW9ucxgDIAEoCzIbLn'
|
||||
'Rva2Vucy52MS5Ub2tlblBlcm1pc3Npb25zUhB0b2tlblBlcm1pc3Npb25z');
|
||||
|
||||
@$core.Deprecated('Use listTokensResponseDescriptor instead')
|
||||
const ListTokensResponse$json = {
|
||||
'1': 'ListTokensResponse',
|
||||
'2': [
|
||||
{
|
||||
'1': 'token_uuid',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenUUID',
|
||||
'10': 'tokenUuid'
|
||||
},
|
||||
{
|
||||
'1': 'token_metadata',
|
||||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenMetadata',
|
||||
'10': 'tokenMetadata'
|
||||
},
|
||||
{
|
||||
'1': 'token_permissions',
|
||||
'3': 3,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenPermissions',
|
||||
'10': 'tokenPermissions'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `ListTokensResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List listTokensResponseDescriptor = $convert.base64Decode(
|
||||
'ChJMaXN0VG9rZW5zUmVzcG9uc2USMwoKdG9rZW5fdXVpZBgBIAEoCzIULnRva2Vucy52MS5Ub2'
|
||||
'tlblVVSURSCXRva2VuVXVpZBI/Cg50b2tlbl9tZXRhZGF0YRgCIAEoCzIYLnRva2Vucy52MS5U'
|
||||
'b2tlbk1ldGFkYXRhUg10b2tlbk1ldGFkYXRhEkgKEXRva2VuX3Blcm1pc3Npb25zGAMgASgLMh'
|
||||
'sudG9rZW5zLnYxLlRva2VuUGVybWlzc2lvbnNSEHRva2VuUGVybWlzc2lvbnM=');
|
||||
|
||||
@$core.Deprecated('Use listPermissionsResponseDescriptor instead')
|
||||
const ListPermissionsResponse$json = {
|
||||
'1': 'ListPermissionsResponse',
|
||||
'2': [
|
||||
{
|
||||
'1': 'permissions',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenPermissions',
|
||||
'10': 'permissions'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `ListPermissionsResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List listPermissionsResponseDescriptor =
|
||||
$convert.base64Decode(
|
||||
'ChdMaXN0UGVybWlzc2lvbnNSZXNwb25zZRI9CgtwZXJtaXNzaW9ucxgBIAEoCzIbLnRva2Vucy'
|
||||
'52MS5Ub2tlblBlcm1pc3Npb25zUgtwZXJtaXNzaW9ucw==');
|
||||
|
||||
@$core.Deprecated('Use authenticateWithTokenRequestDescriptor instead')
|
||||
const AuthenticateWithTokenRequest$json = {
|
||||
'1': 'AuthenticateWithTokenRequest',
|
||||
'2': [
|
||||
{
|
||||
'1': 'token_value',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenValue',
|
||||
'10': 'tokenValue'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `AuthenticateWithTokenRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List authenticateWithTokenRequestDescriptor =
|
||||
$convert.base64Decode(
|
||||
'ChxBdXRoZW50aWNhdGVXaXRoVG9rZW5SZXF1ZXN0EjYKC3Rva2VuX3ZhbHVlGAEgASgLMhUudG'
|
||||
'9rZW5zLnYxLlRva2VuVmFsdWVSCnRva2VuVmFsdWU=');
|
||||
Reference in New Issue
Block a user