Compare commits
6 Commits
main
...
account-au
| Author | SHA1 | Date | |
|---|---|---|---|
| b454c2ed42 | |||
| b2ed7e577d | |||
|
3e742ade98
|
|||
|
3b6f659a15
|
|||
|
8da2046e95
|
|||
| 94565227f1 |
540
lib/src/accounts/v1/accounts_v1.pb.dart
Normal file
540
lib/src/accounts/v1/accounts_v1.pb.dart
Normal file
@@ -0,0 +1,540 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from accounts/v1/accounts_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 AccountPassword extends $pb.GeneratedMessage {
|
||||
factory AccountPassword({
|
||||
$core.String? password,
|
||||
}) {
|
||||
final result = create();
|
||||
if (password != null) result.password = password;
|
||||
return result;
|
||||
}
|
||||
|
||||
AccountPassword._();
|
||||
|
||||
factory AccountPassword.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory AccountPassword.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'AccountPassword',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'accounts.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'password')
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
AccountPassword clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
AccountPassword copyWith(void Function(AccountPassword) updates) =>
|
||||
super.copyWith((message) => updates(message as AccountPassword))
|
||||
as AccountPassword;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static AccountPassword create() => AccountPassword._();
|
||||
@$core.override
|
||||
AccountPassword createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static AccountPassword getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<AccountPassword>(create);
|
||||
static AccountPassword? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get password => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
set password($core.String value) => $_setString(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasPassword() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearPassword() => $_clearField(1);
|
||||
}
|
||||
|
||||
class AccountData extends $pb.GeneratedMessage {
|
||||
factory AccountData({
|
||||
$core.String? name,
|
||||
$core.String? email,
|
||||
}) {
|
||||
final result = create();
|
||||
if (name != null) result.name = name;
|
||||
if (email != null) result.email = email;
|
||||
return result;
|
||||
}
|
||||
|
||||
AccountData._();
|
||||
|
||||
factory AccountData.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory AccountData.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'AccountData',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'accounts.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'name')
|
||||
..aOS(2, _omitFieldNames ? '' : 'email')
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
AccountData clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
AccountData copyWith(void Function(AccountData) updates) =>
|
||||
super.copyWith((message) => updates(message as AccountData))
|
||||
as AccountData;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static AccountData create() => AccountData._();
|
||||
@$core.override
|
||||
AccountData createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static AccountData getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<AccountData>(create);
|
||||
static AccountData? _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 email => $_getSZ(1);
|
||||
@$pb.TagNumber(2)
|
||||
set email($core.String value) => $_setString(1, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasEmail() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearEmail() => $_clearField(2);
|
||||
}
|
||||
|
||||
class SignUpRequest extends $pb.GeneratedMessage {
|
||||
factory SignUpRequest({
|
||||
AccountData? data,
|
||||
AccountPassword? password,
|
||||
}) {
|
||||
final result = create();
|
||||
if (data != null) result.data = data;
|
||||
if (password != null) result.password = password;
|
||||
return result;
|
||||
}
|
||||
|
||||
SignUpRequest._();
|
||||
|
||||
factory SignUpRequest.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory SignUpRequest.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_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)
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
SignUpRequest clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
SignUpRequest copyWith(void Function(SignUpRequest) updates) =>
|
||||
super.copyWith((message) => updates(message as SignUpRequest))
|
||||
as SignUpRequest;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static SignUpRequest create() => SignUpRequest._();
|
||||
@$core.override
|
||||
SignUpRequest createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static SignUpRequest getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<SignUpRequest>(create);
|
||||
static SignUpRequest? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
AccountData get data => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set data(AccountData value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasData() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearData() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
AccountData ensureData() => $_ensure(0);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
AccountPassword get password => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set password(AccountPassword value) => $_setField(2, 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({
|
||||
AccountData? data,
|
||||
AccountPassword? password,
|
||||
}) {
|
||||
final result = create();
|
||||
if (data != null) result.data = data;
|
||||
if (password != null) result.password = password;
|
||||
return result;
|
||||
}
|
||||
|
||||
SignInRequest._();
|
||||
|
||||
factory SignInRequest.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory SignInRequest.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'SignInRequest',
|
||||
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)
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
SignInRequest clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
SignInRequest copyWith(void Function(SignInRequest) updates) =>
|
||||
super.copyWith((message) => updates(message as SignInRequest))
|
||||
as SignInRequest;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static SignInRequest create() => SignInRequest._();
|
||||
@$core.override
|
||||
SignInRequest createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static SignInRequest getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<SignInRequest>(create);
|
||||
static SignInRequest? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
AccountData get data => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set data(AccountData value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasData() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearData() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
AccountData ensureData() => $_ensure(0);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
AccountPassword get password => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set password(AccountPassword value) => $_setField(2, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasPassword() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearPassword() => $_clearField(2);
|
||||
@$pb.TagNumber(2)
|
||||
AccountPassword ensurePassword() => $_ensure(1);
|
||||
}
|
||||
|
||||
class ResetPasswordRequest extends $pb.GeneratedMessage {
|
||||
factory ResetPasswordRequest({
|
||||
AccountData? data,
|
||||
}) {
|
||||
final result = create();
|
||||
if (data != null) result.data = data;
|
||||
return result;
|
||||
}
|
||||
|
||||
ResetPasswordRequest._();
|
||||
|
||||
factory ResetPasswordRequest.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory ResetPasswordRequest.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'ResetPasswordRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'accounts.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOM<AccountData>(1, _omitFieldNames ? '' : 'data',
|
||||
subBuilder: AccountData.create)
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ResetPasswordRequest clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ResetPasswordRequest copyWith(void Function(ResetPasswordRequest) updates) =>
|
||||
super.copyWith((message) => updates(message as ResetPasswordRequest))
|
||||
as ResetPasswordRequest;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ResetPasswordRequest create() => ResetPasswordRequest._();
|
||||
@$core.override
|
||||
ResetPasswordRequest createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ResetPasswordRequest getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<ResetPasswordRequest>(create);
|
||||
static ResetPasswordRequest? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
AccountData get data => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set data(AccountData value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasData() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearData() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
AccountData ensureData() => $_ensure(0);
|
||||
}
|
||||
|
||||
class NewPasswordRequest extends $pb.GeneratedMessage {
|
||||
factory NewPasswordRequest({
|
||||
AccountData? data,
|
||||
AccountPassword? password,
|
||||
$core.String? code,
|
||||
}) {
|
||||
final result = create();
|
||||
if (data != null) result.data = data;
|
||||
if (password != null) result.password = password;
|
||||
if (code != null) result.code = code;
|
||||
return result;
|
||||
}
|
||||
|
||||
NewPasswordRequest._();
|
||||
|
||||
factory NewPasswordRequest.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory NewPasswordRequest.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'NewPasswordRequest',
|
||||
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(3, _omitFieldNames ? '' : 'code')
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
NewPasswordRequest clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
NewPasswordRequest copyWith(void Function(NewPasswordRequest) updates) =>
|
||||
super.copyWith((message) => updates(message as NewPasswordRequest))
|
||||
as NewPasswordRequest;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static NewPasswordRequest create() => NewPasswordRequest._();
|
||||
@$core.override
|
||||
NewPasswordRequest createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static NewPasswordRequest getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<NewPasswordRequest>(create);
|
||||
static NewPasswordRequest? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
AccountData get data => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set data(AccountData value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasData() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearData() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
AccountData ensureData() => $_ensure(0);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
AccountPassword get password => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set password(AccountPassword value) => $_setField(2, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasPassword() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearPassword() => $_clearField(2);
|
||||
@$pb.TagNumber(2)
|
||||
AccountPassword ensurePassword() => $_ensure(1);
|
||||
|
||||
@$pb.TagNumber(3)
|
||||
$core.String get code => $_getSZ(2);
|
||||
@$pb.TagNumber(3)
|
||||
set code($core.String value) => $_setString(2, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasCode() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearCode() => $_clearField(3);
|
||||
}
|
||||
|
||||
class IsEmailVerifiedRequest extends $pb.GeneratedMessage {
|
||||
factory IsEmailVerifiedRequest({
|
||||
AccountData? data,
|
||||
}) {
|
||||
final result = create();
|
||||
if (data != null) result.data = data;
|
||||
return result;
|
||||
}
|
||||
|
||||
IsEmailVerifiedRequest._();
|
||||
|
||||
factory IsEmailVerifiedRequest.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory IsEmailVerifiedRequest.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'IsEmailVerifiedRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'accounts.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOM<AccountData>(1, _omitFieldNames ? '' : 'data',
|
||||
subBuilder: AccountData.create)
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
IsEmailVerifiedRequest clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
IsEmailVerifiedRequest copyWith(
|
||||
void Function(IsEmailVerifiedRequest) updates) =>
|
||||
super.copyWith((message) => updates(message as IsEmailVerifiedRequest))
|
||||
as IsEmailVerifiedRequest;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static IsEmailVerifiedRequest create() => IsEmailVerifiedRequest._();
|
||||
@$core.override
|
||||
IsEmailVerifiedRequest createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static IsEmailVerifiedRequest getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<IsEmailVerifiedRequest>(create);
|
||||
static IsEmailVerifiedRequest? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
AccountData get data => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set data(AccountData value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasData() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearData() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
AccountData ensureData() => $_ensure(0);
|
||||
}
|
||||
|
||||
class IsEmailVerifiedResponse extends $pb.GeneratedMessage {
|
||||
factory IsEmailVerifiedResponse({
|
||||
$core.bool? verified,
|
||||
}) {
|
||||
final result = create();
|
||||
if (verified != null) result.verified = verified;
|
||||
return result;
|
||||
}
|
||||
|
||||
IsEmailVerifiedResponse._();
|
||||
|
||||
factory IsEmailVerifiedResponse.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory IsEmailVerifiedResponse.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'IsEmailVerifiedResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'accounts.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOB(1, _omitFieldNames ? '' : 'verified')
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
IsEmailVerifiedResponse clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
IsEmailVerifiedResponse copyWith(
|
||||
void Function(IsEmailVerifiedResponse) updates) =>
|
||||
super.copyWith((message) => updates(message as IsEmailVerifiedResponse))
|
||||
as IsEmailVerifiedResponse;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static IsEmailVerifiedResponse create() => IsEmailVerifiedResponse._();
|
||||
@$core.override
|
||||
IsEmailVerifiedResponse createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static IsEmailVerifiedResponse getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<IsEmailVerifiedResponse>(create);
|
||||
static IsEmailVerifiedResponse? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool get verified => $_getBF(0);
|
||||
@$pb.TagNumber(1)
|
||||
set verified($core.bool value) => $_setBool(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasVerified() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearVerified() => $_clearField(1);
|
||||
}
|
||||
|
||||
const $core.bool _omitFieldNames =
|
||||
$core.bool.fromEnvironment('protobuf.omit_field_names');
|
||||
const $core.bool _omitMessageNames =
|
||||
$core.bool.fromEnvironment('protobuf.omit_message_names');
|
||||
11
lib/src/accounts/v1/accounts_v1.pbenum.dart
Normal file
11
lib/src/accounts/v1/accounts_v1.pbenum.dart
Normal file
@@ -0,0 +1,11 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from accounts/v1/accounts_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
|
||||
248
lib/src/accounts/v1/accounts_v1.pbgrpc.dart
Normal file
248
lib/src/accounts/v1/accounts_v1.pbgrpc.dart
Normal file
@@ -0,0 +1,248 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from accounts/v1/accounts_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 'accounts_v1.pb.dart' as $0;
|
||||
|
||||
export 'accounts_v1.pb.dart';
|
||||
|
||||
/// *
|
||||
/// Service for handling accounts that do not require authentication
|
||||
@$pb.GrpcServiceName('accounts.v1.AccountsNoAuthService')
|
||||
class AccountsNoAuthServiceClient 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 = [
|
||||
'',
|
||||
];
|
||||
|
||||
AccountsNoAuthServiceClient(super.channel,
|
||||
{super.options, super.interceptors});
|
||||
|
||||
/// Create a new user
|
||||
$grpc.ResponseFuture<$1.Empty> signUp(
|
||||
$0.SignUpRequest request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$signUp, request, options: options);
|
||||
}
|
||||
|
||||
/// Sing in into an existing account
|
||||
$grpc.ResponseFuture<$1.Empty> signIn(
|
||||
$0.SignInRequest request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$signIn, request, options: options);
|
||||
}
|
||||
|
||||
/// Reset the password, if it was lost
|
||||
$grpc.ResponseFuture<$1.Empty> resetPassword(
|
||||
$0.ResetPasswordRequest request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$resetPassword, request, options: options);
|
||||
}
|
||||
|
||||
/// Set the new password after reset
|
||||
$grpc.ResponseFuture<$1.Empty> newPassword(
|
||||
$0.NewPasswordRequest request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$newPassword, request, options: options);
|
||||
}
|
||||
|
||||
/// Send the refresh token request, token should be passed in the metadata.
|
||||
/// This rpc does requier auth, but it should be handled not on the middleware level,
|
||||
/// that's why it set in the NoAuth service
|
||||
$grpc.ResponseFuture<$1.Empty> refreshToken(
|
||||
$1.Empty request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$refreshToken, request, options: options);
|
||||
}
|
||||
|
||||
// method descriptors
|
||||
|
||||
static final _$signUp = $grpc.ClientMethod<$0.SignUpRequest, $1.Empty>(
|
||||
'/accounts.v1.AccountsNoAuthService/SignUp',
|
||||
($0.SignUpRequest value) => value.writeToBuffer(),
|
||||
$1.Empty.fromBuffer);
|
||||
static final _$signIn = $grpc.ClientMethod<$0.SignInRequest, $1.Empty>(
|
||||
'/accounts.v1.AccountsNoAuthService/SignIn',
|
||||
($0.SignInRequest value) => value.writeToBuffer(),
|
||||
$1.Empty.fromBuffer);
|
||||
static final _$resetPassword =
|
||||
$grpc.ClientMethod<$0.ResetPasswordRequest, $1.Empty>(
|
||||
'/accounts.v1.AccountsNoAuthService/ResetPassword',
|
||||
($0.ResetPasswordRequest value) => value.writeToBuffer(),
|
||||
$1.Empty.fromBuffer);
|
||||
static final _$newPassword =
|
||||
$grpc.ClientMethod<$0.NewPasswordRequest, $1.Empty>(
|
||||
'/accounts.v1.AccountsNoAuthService/NewPassword',
|
||||
($0.NewPasswordRequest value) => value.writeToBuffer(),
|
||||
$1.Empty.fromBuffer);
|
||||
static final _$refreshToken = $grpc.ClientMethod<$1.Empty, $1.Empty>(
|
||||
'/accounts.v1.AccountsNoAuthService/RefreshToken',
|
||||
($1.Empty value) => value.writeToBuffer(),
|
||||
$1.Empty.fromBuffer);
|
||||
}
|
||||
|
||||
@$pb.GrpcServiceName('accounts.v1.AccountsNoAuthService')
|
||||
abstract class AccountsNoAuthServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'accounts.v1.AccountsNoAuthService';
|
||||
|
||||
AccountsNoAuthServiceBase() {
|
||||
$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()));
|
||||
$addMethod($grpc.ServiceMethod<$0.SignInRequest, $1.Empty>(
|
||||
'SignIn',
|
||||
signIn_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.SignInRequest.fromBuffer(value),
|
||||
($1.Empty value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.ResetPasswordRequest, $1.Empty>(
|
||||
'ResetPassword',
|
||||
resetPassword_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) =>
|
||||
$0.ResetPasswordRequest.fromBuffer(value),
|
||||
($1.Empty value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.NewPasswordRequest, $1.Empty>(
|
||||
'NewPassword',
|
||||
newPassword_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) =>
|
||||
$0.NewPasswordRequest.fromBuffer(value),
|
||||
($1.Empty value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$1.Empty, $1.Empty>(
|
||||
'RefreshToken',
|
||||
refreshToken_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $1.Empty.fromBuffer(value),
|
||||
($1.Empty value) => value.writeToBuffer()));
|
||||
}
|
||||
|
||||
$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);
|
||||
|
||||
$async.Future<$1.Empty> signIn_Pre(
|
||||
$grpc.ServiceCall $call, $async.Future<$0.SignInRequest> $request) async {
|
||||
return signIn($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$1.Empty> signIn(
|
||||
$grpc.ServiceCall call, $0.SignInRequest request);
|
||||
|
||||
$async.Future<$1.Empty> resetPassword_Pre($grpc.ServiceCall $call,
|
||||
$async.Future<$0.ResetPasswordRequest> $request) async {
|
||||
return resetPassword($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$1.Empty> resetPassword(
|
||||
$grpc.ServiceCall call, $0.ResetPasswordRequest request);
|
||||
|
||||
$async.Future<$1.Empty> newPassword_Pre($grpc.ServiceCall $call,
|
||||
$async.Future<$0.NewPasswordRequest> $request) async {
|
||||
return newPassword($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$1.Empty> newPassword(
|
||||
$grpc.ServiceCall call, $0.NewPasswordRequest request);
|
||||
|
||||
$async.Future<$1.Empty> refreshToken_Pre(
|
||||
$grpc.ServiceCall $call, $async.Future<$1.Empty> $request) async {
|
||||
return refreshToken($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$1.Empty> refreshToken(
|
||||
$grpc.ServiceCall call, $1.Empty 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.AccountAuthService')
|
||||
class AccountAuthServiceClient 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 = [
|
||||
'',
|
||||
];
|
||||
|
||||
AccountAuthServiceClient(super.channel, {super.options, super.interceptors});
|
||||
|
||||
/// Is email for the current account verified
|
||||
$grpc.ResponseFuture<$0.IsEmailVerifiedResponse> isEmailVerified(
|
||||
$0.IsEmailVerifiedRequest request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$isEmailVerified, request, options: options);
|
||||
}
|
||||
|
||||
// method descriptors
|
||||
|
||||
static final _$isEmailVerified =
|
||||
$grpc.ClientMethod<$0.IsEmailVerifiedRequest, $0.IsEmailVerifiedResponse>(
|
||||
'/accounts.v1.AccountAuthService/IsEmailVerified',
|
||||
($0.IsEmailVerifiedRequest value) => value.writeToBuffer(),
|
||||
$0.IsEmailVerifiedResponse.fromBuffer);
|
||||
}
|
||||
|
||||
@$pb.GrpcServiceName('accounts.v1.AccountAuthService')
|
||||
abstract class AccountAuthServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'accounts.v1.AccountAuthService';
|
||||
|
||||
AccountAuthServiceBase() {
|
||||
$addMethod($grpc.ServiceMethod<$0.IsEmailVerifiedRequest,
|
||||
$0.IsEmailVerifiedResponse>(
|
||||
'IsEmailVerified',
|
||||
isEmailVerified_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) =>
|
||||
$0.IsEmailVerifiedRequest.fromBuffer(value),
|
||||
($0.IsEmailVerifiedResponse value) => value.writeToBuffer()));
|
||||
}
|
||||
|
||||
$async.Future<$0.IsEmailVerifiedResponse> isEmailVerified_Pre(
|
||||
$grpc.ServiceCall $call,
|
||||
$async.Future<$0.IsEmailVerifiedRequest> $request) async {
|
||||
return isEmailVerified($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$0.IsEmailVerifiedResponse> isEmailVerified(
|
||||
$grpc.ServiceCall call, $0.IsEmailVerifiedRequest request);
|
||||
}
|
||||
184
lib/src/accounts/v1/accounts_v1.pbjson.dart
Normal file
184
lib/src/accounts/v1/accounts_v1.pbjson.dart
Normal file
@@ -0,0 +1,184 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from accounts/v1/accounts_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 accountPasswordDescriptor instead')
|
||||
const AccountPassword$json = {
|
||||
'1': 'AccountPassword',
|
||||
'2': [
|
||||
{'1': 'password', '3': 1, '4': 1, '5': 9, '10': 'password'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `AccountPassword`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List accountPasswordDescriptor = $convert.base64Decode(
|
||||
'Cg9BY2NvdW50UGFzc3dvcmQSGgoIcGFzc3dvcmQYASABKAlSCHBhc3N3b3Jk');
|
||||
|
||||
@$core.Deprecated('Use accountDataDescriptor instead')
|
||||
const AccountData$json = {
|
||||
'1': 'AccountData',
|
||||
'2': [
|
||||
{'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'},
|
||||
{'1': 'email', '3': 2, '4': 1, '5': 9, '10': 'email'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `AccountData`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List accountDataDescriptor = $convert.base64Decode(
|
||||
'CgtBY2NvdW50RGF0YRISCgRuYW1lGAEgASgJUgRuYW1lEhQKBWVtYWlsGAIgASgJUgVlbWFpbA'
|
||||
'==');
|
||||
|
||||
@$core.Deprecated('Use signUpRequestDescriptor instead')
|
||||
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'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `SignUpRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List signUpRequestDescriptor = $convert.base64Decode(
|
||||
'Cg1TaWduVXBSZXF1ZXN0EiwKBGRhdGEYASABKAsyGC5hY2NvdW50cy52MS5BY2NvdW50RGF0YV'
|
||||
'IEZGF0YRI4CghwYXNzd29yZBgCIAEoCzIcLmFjY291bnRzLnYxLkFjY291bnRQYXNzd29yZFII'
|
||||
'cGFzc3dvcmQ=');
|
||||
|
||||
@$core.Deprecated('Use signInRequestDescriptor instead')
|
||||
const SignInRequest$json = {
|
||||
'1': 'SignInRequest',
|
||||
'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'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `SignInRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List signInRequestDescriptor = $convert.base64Decode(
|
||||
'Cg1TaWduSW5SZXF1ZXN0EiwKBGRhdGEYASABKAsyGC5hY2NvdW50cy52MS5BY2NvdW50RGF0YV'
|
||||
'IEZGF0YRI4CghwYXNzd29yZBgCIAEoCzIcLmFjY291bnRzLnYxLkFjY291bnRQYXNzd29yZFII'
|
||||
'cGFzc3dvcmQ=');
|
||||
|
||||
@$core.Deprecated('Use resetPasswordRequestDescriptor instead')
|
||||
const ResetPasswordRequest$json = {
|
||||
'1': 'ResetPasswordRequest',
|
||||
'2': [
|
||||
{
|
||||
'1': 'data',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.accounts.v1.AccountData',
|
||||
'10': 'data'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `ResetPasswordRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List resetPasswordRequestDescriptor = $convert.base64Decode(
|
||||
'ChRSZXNldFBhc3N3b3JkUmVxdWVzdBIsCgRkYXRhGAEgASgLMhguYWNjb3VudHMudjEuQWNjb3'
|
||||
'VudERhdGFSBGRhdGE=');
|
||||
|
||||
@$core.Deprecated('Use newPasswordRequestDescriptor instead')
|
||||
const NewPasswordRequest$json = {
|
||||
'1': 'NewPasswordRequest',
|
||||
'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': 'code', '3': 3, '4': 1, '5': 9, '10': 'code'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `NewPasswordRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List newPasswordRequestDescriptor = $convert.base64Decode(
|
||||
'ChJOZXdQYXNzd29yZFJlcXVlc3QSLAoEZGF0YRgBIAEoCzIYLmFjY291bnRzLnYxLkFjY291bn'
|
||||
'REYXRhUgRkYXRhEjgKCHBhc3N3b3JkGAIgASgLMhwuYWNjb3VudHMudjEuQWNjb3VudFBhc3N3'
|
||||
'b3JkUghwYXNzd29yZBISCgRjb2RlGAMgASgJUgRjb2Rl');
|
||||
|
||||
@$core.Deprecated('Use isEmailVerifiedRequestDescriptor instead')
|
||||
const IsEmailVerifiedRequest$json = {
|
||||
'1': 'IsEmailVerifiedRequest',
|
||||
'2': [
|
||||
{
|
||||
'1': 'data',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.accounts.v1.AccountData',
|
||||
'10': 'data'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `IsEmailVerifiedRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List isEmailVerifiedRequestDescriptor =
|
||||
$convert.base64Decode(
|
||||
'ChZJc0VtYWlsVmVyaWZpZWRSZXF1ZXN0EiwKBGRhdGEYASABKAsyGC5hY2NvdW50cy52MS5BY2'
|
||||
'NvdW50RGF0YVIEZGF0YQ==');
|
||||
|
||||
@$core.Deprecated('Use isEmailVerifiedResponseDescriptor instead')
|
||||
const IsEmailVerifiedResponse$json = {
|
||||
'1': 'IsEmailVerifiedResponse',
|
||||
'2': [
|
||||
{'1': 'verified', '3': 1, '4': 1, '5': 8, '10': 'verified'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `IsEmailVerifiedResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List isEmailVerifiedResponseDescriptor =
|
||||
$convert.base64Decode(
|
||||
'ChdJc0VtYWlsVmVyaWZpZWRSZXNwb25zZRIaCgh2ZXJpZmllZBgBIAEoCFIIdmVyaWZpZWQ=');
|
||||
939
lib/src/applications/v1/applications_v1.pb.dart
Normal file
939
lib/src/applications/v1/applications_v1.pb.dart
Normal file
@@ -0,0 +1,939 @@
|
||||
// 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');
|
||||
11
lib/src/applications/v1/applications_v1.pbenum.dart
Normal file
11
lib/src/applications/v1/applications_v1.pbenum.dart
Normal file
@@ -0,0 +1,11 @@
|
||||
// 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
|
||||
181
lib/src/applications/v1/applications_v1.pbgrpc.dart
Normal file
181
lib/src/applications/v1/applications_v1.pbgrpc.dart
Normal file
@@ -0,0 +1,181 @@
|
||||
// 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);
|
||||
}
|
||||
373
lib/src/applications/v1/applications_v1.pbjson.dart
Normal file
373
lib/src/applications/v1/applications_v1.pbjson.dart
Normal file
@@ -0,0 +1,373 @@
|
||||
// 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=');
|
||||
142
lib/src/email/v1/email_v1.pb.dart
Normal file
142
lib/src/email/v1/email_v1.pb.dart
Normal file
@@ -0,0 +1,142 @@
|
||||
// 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');
|
||||
11
lib/src/email/v1/email_v1.pbenum.dart
Normal file
11
lib/src/email/v1/email_v1.pbenum.dart
Normal file
@@ -0,0 +1,11 @@
|
||||
// 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
|
||||
102
lib/src/email/v1/email_v1.pbgrpc.dart
Normal file
102
lib/src/email/v1/email_v1.pbgrpc.dart
Normal file
@@ -0,0 +1,102 @@
|
||||
// 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);
|
||||
}
|
||||
42
lib/src/email/v1/email_v1.pbjson.dart
Normal file
42
lib/src/email/v1/email_v1.pbjson.dart
Normal file
@@ -0,0 +1,42 @@
|
||||
// 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==');
|
||||
961
lib/src/environments/v1/environments_v1.pb.dart
Normal file
961
lib/src/environments/v1/environments_v1.pb.dart
Normal file
@@ -0,0 +1,961 @@
|
||||
// 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');
|
||||
120
lib/src/environments/v1/environments_v1.pbenum.dart
Normal file
120
lib/src/environments/v1/environments_v1.pbenum.dart
Normal file
@@ -0,0 +1,120 @@
|
||||
// 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');
|
||||
181
lib/src/environments/v1/environments_v1.pbgrpc.dart
Normal file
181
lib/src/environments/v1/environments_v1.pbgrpc.dart
Normal file
@@ -0,0 +1,181 @@
|
||||
// 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);
|
||||
}
|
||||
452
lib/src/environments/v1/environments_v1.pbjson.dart
Normal file
452
lib/src/environments/v1/environments_v1.pbjson.dart
Normal file
@@ -0,0 +1,452 @@
|
||||
// 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=');
|
||||
@@ -1,6 +0,0 @@
|
||||
// TODO: Put public facing types in this file.
|
||||
|
||||
/// Checks if you are awesome. Spoiler: you are.
|
||||
class Awesome {
|
||||
bool get isAwesome => true;
|
||||
}
|
||||
172
lib/src/test/v1/test_v1.pb.dart
Normal file
172
lib/src/test/v1/test_v1.pb.dart
Normal file
@@ -0,0 +1,172 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from test/v1/test_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 PingRequest extends $pb.GeneratedMessage {
|
||||
factory PingRequest() => create();
|
||||
|
||||
PingRequest._();
|
||||
|
||||
factory PingRequest.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory PingRequest.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'PingRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'test.v1'),
|
||||
createEmptyInstance: create)
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
PingRequest clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
PingRequest copyWith(void Function(PingRequest) updates) =>
|
||||
super.copyWith((message) => updates(message as PingRequest))
|
||||
as PingRequest;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static PingRequest create() => PingRequest._();
|
||||
@$core.override
|
||||
PingRequest createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static PingRequest getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<PingRequest>(create);
|
||||
static PingRequest? _defaultInstance;
|
||||
}
|
||||
|
||||
class PingResponse extends $pb.GeneratedMessage {
|
||||
factory PingResponse() => create();
|
||||
|
||||
PingResponse._();
|
||||
|
||||
factory PingResponse.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory PingResponse.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'PingResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'test.v1'),
|
||||
createEmptyInstance: create)
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
PingResponse clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
PingResponse copyWith(void Function(PingResponse) updates) =>
|
||||
super.copyWith((message) => updates(message as PingResponse))
|
||||
as PingResponse;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static PingResponse create() => PingResponse._();
|
||||
@$core.override
|
||||
PingResponse createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static PingResponse getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<PingResponse>(create);
|
||||
static PingResponse? _defaultInstance;
|
||||
}
|
||||
|
||||
class PongRequest extends $pb.GeneratedMessage {
|
||||
factory PongRequest() => create();
|
||||
|
||||
PongRequest._();
|
||||
|
||||
factory PongRequest.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory PongRequest.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'PongRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'test.v1'),
|
||||
createEmptyInstance: create)
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
PongRequest clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
PongRequest copyWith(void Function(PongRequest) updates) =>
|
||||
super.copyWith((message) => updates(message as PongRequest))
|
||||
as PongRequest;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static PongRequest create() => PongRequest._();
|
||||
@$core.override
|
||||
PongRequest createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static PongRequest getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<PongRequest>(create);
|
||||
static PongRequest? _defaultInstance;
|
||||
}
|
||||
|
||||
class PongResponse extends $pb.GeneratedMessage {
|
||||
factory PongResponse() => create();
|
||||
|
||||
PongResponse._();
|
||||
|
||||
factory PongResponse.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory PongResponse.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'PongResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'test.v1'),
|
||||
createEmptyInstance: create)
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
PongResponse clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
PongResponse copyWith(void Function(PongResponse) updates) =>
|
||||
super.copyWith((message) => updates(message as PongResponse))
|
||||
as PongResponse;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static PongResponse create() => PongResponse._();
|
||||
@$core.override
|
||||
PongResponse createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static PongResponse getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<PongResponse>(create);
|
||||
static PongResponse? _defaultInstance;
|
||||
}
|
||||
|
||||
const $core.bool _omitMessageNames =
|
||||
$core.bool.fromEnvironment('protobuf.omit_message_names');
|
||||
11
lib/src/test/v1/test_v1.pbenum.dart
Normal file
11
lib/src/test/v1/test_v1.pbenum.dart
Normal file
@@ -0,0 +1,11 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from test/v1/test_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
|
||||
123
lib/src/test/v1/test_v1.pbgrpc.dart
Normal file
123
lib/src/test/v1/test_v1.pbgrpc.dart
Normal file
@@ -0,0 +1,123 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from test/v1/test_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 'test_v1.pb.dart' as $0;
|
||||
|
||||
export 'test_v1.pb.dart';
|
||||
|
||||
/// *
|
||||
/// Service for handling environments
|
||||
@$pb.GrpcServiceName('test.v1.TestNoAuthService')
|
||||
class TestNoAuthServiceClient 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 = [
|
||||
'',
|
||||
];
|
||||
|
||||
TestNoAuthServiceClient(super.channel, {super.options, super.interceptors});
|
||||
|
||||
$grpc.ResponseFuture<$0.PingResponse> ping(
|
||||
$0.PingRequest request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$ping, request, options: options);
|
||||
}
|
||||
|
||||
// method descriptors
|
||||
|
||||
static final _$ping = $grpc.ClientMethod<$0.PingRequest, $0.PingResponse>(
|
||||
'/test.v1.TestNoAuthService/Ping',
|
||||
($0.PingRequest value) => value.writeToBuffer(),
|
||||
$0.PingResponse.fromBuffer);
|
||||
}
|
||||
|
||||
@$pb.GrpcServiceName('test.v1.TestNoAuthService')
|
||||
abstract class TestNoAuthServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'test.v1.TestNoAuthService';
|
||||
|
||||
TestNoAuthServiceBase() {
|
||||
$addMethod($grpc.ServiceMethod<$0.PingRequest, $0.PingResponse>(
|
||||
'Ping',
|
||||
ping_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.PingRequest.fromBuffer(value),
|
||||
($0.PingResponse value) => value.writeToBuffer()));
|
||||
}
|
||||
|
||||
$async.Future<$0.PingResponse> ping_Pre(
|
||||
$grpc.ServiceCall $call, $async.Future<$0.PingRequest> $request) async {
|
||||
return ping($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$0.PingResponse> ping(
|
||||
$grpc.ServiceCall call, $0.PingRequest request);
|
||||
}
|
||||
|
||||
@$pb.GrpcServiceName('test.v1.TestAuthService')
|
||||
class TestAuthServiceClient 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 = [
|
||||
'',
|
||||
];
|
||||
|
||||
TestAuthServiceClient(super.channel, {super.options, super.interceptors});
|
||||
|
||||
$grpc.ResponseFuture<$0.PongResponse> pong(
|
||||
$0.PongRequest request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$pong, request, options: options);
|
||||
}
|
||||
|
||||
// method descriptors
|
||||
|
||||
static final _$pong = $grpc.ClientMethod<$0.PongRequest, $0.PongResponse>(
|
||||
'/test.v1.TestAuthService/Pong',
|
||||
($0.PongRequest value) => value.writeToBuffer(),
|
||||
$0.PongResponse.fromBuffer);
|
||||
}
|
||||
|
||||
@$pb.GrpcServiceName('test.v1.TestAuthService')
|
||||
abstract class TestAuthServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'test.v1.TestAuthService';
|
||||
|
||||
TestAuthServiceBase() {
|
||||
$addMethod($grpc.ServiceMethod<$0.PongRequest, $0.PongResponse>(
|
||||
'Pong',
|
||||
pong_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.PongRequest.fromBuffer(value),
|
||||
($0.PongResponse value) => value.writeToBuffer()));
|
||||
}
|
||||
|
||||
$async.Future<$0.PongResponse> pong_Pre(
|
||||
$grpc.ServiceCall $call, $async.Future<$0.PongRequest> $request) async {
|
||||
return pong($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$0.PongResponse> pong(
|
||||
$grpc.ServiceCall call, $0.PongRequest request);
|
||||
}
|
||||
52
lib/src/test/v1/test_v1.pbjson.dart
Normal file
52
lib/src/test/v1/test_v1.pbjson.dart
Normal file
@@ -0,0 +1,52 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from test/v1/test_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 pingRequestDescriptor instead')
|
||||
const PingRequest$json = {
|
||||
'1': 'PingRequest',
|
||||
};
|
||||
|
||||
/// Descriptor for `PingRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List pingRequestDescriptor =
|
||||
$convert.base64Decode('CgtQaW5nUmVxdWVzdA==');
|
||||
|
||||
@$core.Deprecated('Use pingResponseDescriptor instead')
|
||||
const PingResponse$json = {
|
||||
'1': 'PingResponse',
|
||||
};
|
||||
|
||||
/// Descriptor for `PingResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List pingResponseDescriptor =
|
||||
$convert.base64Decode('CgxQaW5nUmVzcG9uc2U=');
|
||||
|
||||
@$core.Deprecated('Use pongRequestDescriptor instead')
|
||||
const PongRequest$json = {
|
||||
'1': 'PongRequest',
|
||||
};
|
||||
|
||||
/// Descriptor for `PongRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List pongRequestDescriptor =
|
||||
$convert.base64Decode('CgtQb25nUmVxdWVzdA==');
|
||||
|
||||
@$core.Deprecated('Use pongResponseDescriptor instead')
|
||||
const PongResponse$json = {
|
||||
'1': 'PongResponse',
|
||||
};
|
||||
|
||||
/// Descriptor for `PongResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List pongResponseDescriptor =
|
||||
$convert.base64Decode('CgxQb25nUmVzcG9uc2U=');
|
||||
@@ -8,6 +8,7 @@ environment:
|
||||
|
||||
# Add regular dependencies here.
|
||||
dependencies:
|
||||
protobuf: 6.0.0
|
||||
# path: ^1.9.0
|
||||
|
||||
dev_dependencies:
|
||||
|
||||
Reference in New Issue
Block a user