Update the env proto

This commit is contained in:
Nikolai Rodionov 2024-04-29 11:43:06 +02:00
parent 39d57048c2
commit 6b6325ac4b
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD
5 changed files with 778 additions and 119 deletions

View File

@ -17,9 +17,558 @@ import 'environments_v1.pbenum.dart';
export 'environments_v1.pbenum.dart';
/// *
/// Represents a environment UUID only
/// I don't think we need it
class OwnerId extends $pb.GeneratedMessage {
factory OwnerId({
$core.String? uuid,
}) {
final $result = create();
if (uuid != null) {
$result.uuid = uuid;
}
return $result;
}
OwnerId._() : super();
factory OwnerId.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory OwnerId.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
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(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
OwnerId clone() => OwnerId()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
OwnerId copyWith(void Function(OwnerId) updates) => super.copyWith((message) => updates(message as OwnerId)) as OwnerId;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static OwnerId create() => OwnerId._();
OwnerId createEmptyInstance() => create();
static $pb.PbList<OwnerId> createRepeated() => $pb.PbList<OwnerId>();
@$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 v) { $_setString(0, v); }
@$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._() : super();
factory Token.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory Token.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
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(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
Token clone() => Token()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
Token copyWith(void Function(Token) updates) => super.copyWith((message) => updates(message as Token)) as Token;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static Token create() => Token._();
Token createEmptyInstance() => create();
static $pb.PbList<Token> createRepeated() => $pb.PbList<Token>();
@$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 v) { $_setString(0, v); }
@$pb.TagNumber(1)
$core.bool hasToken() => $_has(0);
@$pb.TagNumber(1)
void clearToken() => clearField(1);
}
class CreateOptions extends $pb.GeneratedMessage {
factory CreateOptions({
EnvironmentName? name,
EnvironmentData? data,
OwnerId? ownerId,
Token? token,
}) {
final $result = create();
if (name != null) {
$result.name = name;
}
if (data != null) {
$result.data = data;
}
if (ownerId != null) {
$result.ownerId = ownerId;
}
if (token != null) {
$result.token = token;
}
return $result;
}
CreateOptions._() : super();
factory CreateOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory CreateOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateOptions', package: const $pb.PackageName(_omitMessageNames ? '' : 'environments'), createEmptyInstance: create)
..aOM<EnvironmentName>(1, _omitFieldNames ? '' : 'name', subBuilder: EnvironmentName.create)
..aOM<EnvironmentData>(2, _omitFieldNames ? '' : 'data', subBuilder: EnvironmentData.create)
..aOM<OwnerId>(3, _omitFieldNames ? '' : 'ownerId', subBuilder: OwnerId.create)
..aOM<Token>(4, _omitFieldNames ? '' : 'token', subBuilder: Token.create)
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
CreateOptions clone() => CreateOptions()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
CreateOptions copyWith(void Function(CreateOptions) updates) => super.copyWith((message) => updates(message as CreateOptions)) as CreateOptions;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static CreateOptions create() => CreateOptions._();
CreateOptions createEmptyInstance() => create();
static $pb.PbList<CreateOptions> createRepeated() => $pb.PbList<CreateOptions>();
@$core.pragma('dart2js:noInline')
static CreateOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CreateOptions>(create);
static CreateOptions? _defaultInstance;
@$pb.TagNumber(1)
EnvironmentName get name => $_getN(0);
@$pb.TagNumber(1)
set name(EnvironmentName v) { setField(1, v); }
@$pb.TagNumber(1)
$core.bool hasName() => $_has(0);
@$pb.TagNumber(1)
void clearName() => clearField(1);
@$pb.TagNumber(1)
EnvironmentName ensureName() => $_ensure(0);
@$pb.TagNumber(2)
EnvironmentData get data => $_getN(1);
@$pb.TagNumber(2)
set data(EnvironmentData v) { setField(2, v); }
@$pb.TagNumber(2)
$core.bool hasData() => $_has(1);
@$pb.TagNumber(2)
void clearData() => clearField(2);
@$pb.TagNumber(2)
EnvironmentData ensureData() => $_ensure(1);
@$pb.TagNumber(3)
OwnerId get ownerId => $_getN(2);
@$pb.TagNumber(3)
set ownerId(OwnerId v) { setField(3, v); }
@$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 v) { setField(4, v); }
@$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({
EnvironmentName? name,
EnvironmentData? data,
OwnerId? ownerId,
Token? token,
}) {
final $result = create();
if (name != null) {
$result.name = name;
}
if (data != null) {
$result.data = data;
}
if (ownerId != null) {
$result.ownerId = ownerId;
}
if (token != null) {
$result.token = token;
}
return $result;
}
UpdateOptions._() : super();
factory UpdateOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory UpdateOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateOptions', package: const $pb.PackageName(_omitMessageNames ? '' : 'environments'), createEmptyInstance: create)
..aOM<EnvironmentName>(1, _omitFieldNames ? '' : 'name', subBuilder: EnvironmentName.create)
..aOM<EnvironmentData>(2, _omitFieldNames ? '' : 'data', subBuilder: EnvironmentData.create)
..aOM<OwnerId>(3, _omitFieldNames ? '' : 'ownerId', subBuilder: OwnerId.create)
..aOM<Token>(4, _omitFieldNames ? '' : 'token', subBuilder: Token.create)
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
UpdateOptions clone() => UpdateOptions()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
UpdateOptions copyWith(void Function(UpdateOptions) updates) => super.copyWith((message) => updates(message as UpdateOptions)) as UpdateOptions;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static UpdateOptions create() => UpdateOptions._();
UpdateOptions createEmptyInstance() => create();
static $pb.PbList<UpdateOptions> createRepeated() => $pb.PbList<UpdateOptions>();
@$core.pragma('dart2js:noInline')
static UpdateOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<UpdateOptions>(create);
static UpdateOptions? _defaultInstance;
@$pb.TagNumber(1)
EnvironmentName get name => $_getN(0);
@$pb.TagNumber(1)
set name(EnvironmentName v) { setField(1, v); }
@$pb.TagNumber(1)
$core.bool hasName() => $_has(0);
@$pb.TagNumber(1)
void clearName() => clearField(1);
@$pb.TagNumber(1)
EnvironmentName ensureName() => $_ensure(0);
@$pb.TagNumber(2)
EnvironmentData get data => $_getN(1);
@$pb.TagNumber(2)
set data(EnvironmentData v) { setField(2, v); }
@$pb.TagNumber(2)
$core.bool hasData() => $_has(1);
@$pb.TagNumber(2)
void clearData() => clearField(2);
@$pb.TagNumber(2)
EnvironmentData ensureData() => $_ensure(1);
@$pb.TagNumber(3)
OwnerId get ownerId => $_getN(2);
@$pb.TagNumber(3)
set ownerId(OwnerId v) { setField(3, v); }
@$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 v) { setField(4, v); }
@$pb.TagNumber(4)
$core.bool hasToken() => $_has(3);
@$pb.TagNumber(4)
void clearToken() => clearField(4);
@$pb.TagNumber(4)
Token ensureToken() => $_ensure(3);
}
class DeleteOptions extends $pb.GeneratedMessage {
factory DeleteOptions({
EnvironmentName? name,
OwnerId? ownerId,
Token? token,
}) {
final $result = create();
if (name != null) {
$result.name = name;
}
if (ownerId != null) {
$result.ownerId = ownerId;
}
if (token != null) {
$result.token = token;
}
return $result;
}
DeleteOptions._() : super();
factory DeleteOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory DeleteOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteOptions', package: const $pb.PackageName(_omitMessageNames ? '' : 'environments'), createEmptyInstance: create)
..aOM<EnvironmentName>(1, _omitFieldNames ? '' : 'name', subBuilder: EnvironmentName.create)
..aOM<OwnerId>(3, _omitFieldNames ? '' : 'ownerId', subBuilder: OwnerId.create)
..aOM<Token>(4, _omitFieldNames ? '' : 'token', subBuilder: Token.create)
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
DeleteOptions clone() => DeleteOptions()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
DeleteOptions copyWith(void Function(DeleteOptions) updates) => super.copyWith((message) => updates(message as DeleteOptions)) as DeleteOptions;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static DeleteOptions create() => DeleteOptions._();
DeleteOptions createEmptyInstance() => create();
static $pb.PbList<DeleteOptions> createRepeated() => $pb.PbList<DeleteOptions>();
@$core.pragma('dart2js:noInline')
static DeleteOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DeleteOptions>(create);
static DeleteOptions? _defaultInstance;
@$pb.TagNumber(1)
EnvironmentName get name => $_getN(0);
@$pb.TagNumber(1)
set name(EnvironmentName v) { setField(1, v); }
@$pb.TagNumber(1)
$core.bool hasName() => $_has(0);
@$pb.TagNumber(1)
void clearName() => clearField(1);
@$pb.TagNumber(1)
EnvironmentName ensureName() => $_ensure(0);
@$pb.TagNumber(3)
OwnerId get ownerId => $_getN(1);
@$pb.TagNumber(3)
set ownerId(OwnerId v) { setField(3, v); }
@$pb.TagNumber(3)
$core.bool hasOwnerId() => $_has(1);
@$pb.TagNumber(3)
void clearOwnerId() => clearField(3);
@$pb.TagNumber(3)
OwnerId ensureOwnerId() => $_ensure(1);
@$pb.TagNumber(4)
Token get token => $_getN(2);
@$pb.TagNumber(4)
set token(Token v) { setField(4, v); }
@$pb.TagNumber(4)
$core.bool hasToken() => $_has(2);
@$pb.TagNumber(4)
void clearToken() => clearField(4);
@$pb.TagNumber(4)
Token ensureToken() => $_ensure(2);
}
class GetOptions extends $pb.GeneratedMessage {
factory GetOptions({
EnvironmentName? name,
OwnerId? ownerId,
Token? token,
}) {
final $result = create();
if (name != null) {
$result.name = name;
}
if (ownerId != null) {
$result.ownerId = ownerId;
}
if (token != null) {
$result.token = token;
}
return $result;
}
GetOptions._() : super();
factory GetOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory GetOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOptions', package: const $pb.PackageName(_omitMessageNames ? '' : 'environments'), createEmptyInstance: create)
..aOM<EnvironmentName>(1, _omitFieldNames ? '' : 'name', subBuilder: EnvironmentName.create)
..aOM<OwnerId>(3, _omitFieldNames ? '' : 'ownerId', subBuilder: OwnerId.create)
..aOM<Token>(4, _omitFieldNames ? '' : 'token', subBuilder: Token.create)
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
GetOptions clone() => GetOptions()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
GetOptions copyWith(void Function(GetOptions) updates) => super.copyWith((message) => updates(message as GetOptions)) as GetOptions;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static GetOptions create() => GetOptions._();
GetOptions createEmptyInstance() => create();
static $pb.PbList<GetOptions> createRepeated() => $pb.PbList<GetOptions>();
@$core.pragma('dart2js:noInline')
static GetOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetOptions>(create);
static GetOptions? _defaultInstance;
@$pb.TagNumber(1)
EnvironmentName get name => $_getN(0);
@$pb.TagNumber(1)
set name(EnvironmentName v) { setField(1, v); }
@$pb.TagNumber(1)
$core.bool hasName() => $_has(0);
@$pb.TagNumber(1)
void clearName() => clearField(1);
@$pb.TagNumber(1)
EnvironmentName ensureName() => $_ensure(0);
@$pb.TagNumber(3)
OwnerId get ownerId => $_getN(1);
@$pb.TagNumber(3)
set ownerId(OwnerId v) { setField(3, v); }
@$pb.TagNumber(3)
$core.bool hasOwnerId() => $_has(1);
@$pb.TagNumber(3)
void clearOwnerId() => clearField(3);
@$pb.TagNumber(3)
OwnerId ensureOwnerId() => $_ensure(1);
@$pb.TagNumber(4)
Token get token => $_getN(2);
@$pb.TagNumber(4)
set token(Token v) { setField(4, v); }
@$pb.TagNumber(4)
$core.bool hasToken() => $_has(2);
@$pb.TagNumber(4)
void clearToken() => clearField(4);
@$pb.TagNumber(4)
Token ensureToken() => $_ensure(2);
}
class ListOptions extends $pb.GeneratedMessage {
factory ListOptions({
EnvironmentName? name,
OwnerId? ownerId,
Token? token,
}) {
final $result = create();
if (name != null) {
$result.name = name;
}
if (ownerId != null) {
$result.ownerId = ownerId;
}
if (token != null) {
$result.token = token;
}
return $result;
}
ListOptions._() : super();
factory ListOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory ListOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListOptions', package: const $pb.PackageName(_omitMessageNames ? '' : 'environments'), createEmptyInstance: create)
..aOM<EnvironmentName>(1, _omitFieldNames ? '' : 'name', subBuilder: EnvironmentName.create)
..aOM<OwnerId>(3, _omitFieldNames ? '' : 'ownerId', subBuilder: OwnerId.create)
..aOM<Token>(4, _omitFieldNames ? '' : 'token', subBuilder: Token.create)
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
ListOptions clone() => ListOptions()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
ListOptions copyWith(void Function(ListOptions) updates) => super.copyWith((message) => updates(message as ListOptions)) as ListOptions;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static ListOptions create() => ListOptions._();
ListOptions createEmptyInstance() => create();
static $pb.PbList<ListOptions> createRepeated() => $pb.PbList<ListOptions>();
@$core.pragma('dart2js:noInline')
static ListOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ListOptions>(create);
static ListOptions? _defaultInstance;
@$pb.TagNumber(1)
EnvironmentName get name => $_getN(0);
@$pb.TagNumber(1)
set name(EnvironmentName v) { setField(1, v); }
@$pb.TagNumber(1)
$core.bool hasName() => $_has(0);
@$pb.TagNumber(1)
void clearName() => clearField(1);
@$pb.TagNumber(1)
EnvironmentName ensureName() => $_ensure(0);
@$pb.TagNumber(3)
OwnerId get ownerId => $_getN(1);
@$pb.TagNumber(3)
set ownerId(OwnerId v) { setField(3, v); }
@$pb.TagNumber(3)
$core.bool hasOwnerId() => $_has(1);
@$pb.TagNumber(3)
void clearOwnerId() => clearField(3);
@$pb.TagNumber(3)
OwnerId ensureOwnerId() => $_ensure(1);
@$pb.TagNumber(4)
Token get token => $_getN(2);
@$pb.TagNumber(4)
set token(Token v) { setField(4, v); }
@$pb.TagNumber(4)
$core.bool hasToken() => $_has(2);
@$pb.TagNumber(4)
void clearToken() => clearField(4);
@$pb.TagNumber(4)
Token ensureToken() => $_ensure(2);
}
class EnvironmentName extends $pb.GeneratedMessage {
factory EnvironmentName({
$core.String? name,
@ -150,70 +699,6 @@ class EnvironmentData extends $pb.GeneratedMessage {
HetznerOptions ensureHetznerOptions() => $_ensure(2);
}
class HetznerOptions extends $pb.GeneratedMessage {
factory HetznerOptions({
$core.String? serverType,
$core.String? serverLocation,
}) {
final $result = create();
if (serverType != null) {
$result.serverType = serverType;
}
if (serverLocation != null) {
$result.serverLocation = serverLocation;
}
return $result;
}
HetznerOptions._() : super();
factory HetznerOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory HetznerOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'HetznerOptions', package: const $pb.PackageName(_omitMessageNames ? '' : 'environments'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'serverType')
..aOS(2, _omitFieldNames ? '' : 'serverLocation')
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
HetznerOptions clone() => HetznerOptions()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
HetznerOptions copyWith(void Function(HetznerOptions) updates) => super.copyWith((message) => updates(message as HetznerOptions)) as HetznerOptions;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static HetznerOptions create() => HetznerOptions._();
HetznerOptions createEmptyInstance() => create();
static $pb.PbList<HetznerOptions> createRepeated() => $pb.PbList<HetznerOptions>();
@$core.pragma('dart2js:noInline')
static HetznerOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<HetznerOptions>(create);
static HetznerOptions? _defaultInstance;
@$pb.TagNumber(1)
$core.String get serverType => $_getSZ(0);
@$pb.TagNumber(1)
set serverType($core.String v) { $_setString(0, v); }
@$pb.TagNumber(1)
$core.bool hasServerType() => $_has(0);
@$pb.TagNumber(1)
void clearServerType() => clearField(1);
@$pb.TagNumber(2)
$core.String get serverLocation => $_getSZ(1);
@$pb.TagNumber(2)
set serverLocation($core.String v) { $_setString(1, v); }
@$pb.TagNumber(2)
$core.bool hasServerLocation() => $_has(1);
@$pb.TagNumber(2)
void clearServerLocation() => clearField(2);
}
class EnvironmentFull extends $pb.GeneratedMessage {
factory EnvironmentFull({
EnvironmentName? name,
@ -282,6 +767,70 @@ class EnvironmentFull extends $pb.GeneratedMessage {
EnvironmentData ensureData() => $_ensure(1);
}
class HetznerOptions extends $pb.GeneratedMessage {
factory HetznerOptions({
$core.String? serverType,
$core.String? serverLocation,
}) {
final $result = create();
if (serverType != null) {
$result.serverType = serverType;
}
if (serverLocation != null) {
$result.serverLocation = serverLocation;
}
return $result;
}
HetznerOptions._() : super();
factory HetznerOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory HetznerOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'HetznerOptions', package: const $pb.PackageName(_omitMessageNames ? '' : 'environments'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'serverType')
..aOS(2, _omitFieldNames ? '' : 'serverLocation')
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
HetznerOptions clone() => HetznerOptions()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
HetznerOptions copyWith(void Function(HetznerOptions) updates) => super.copyWith((message) => updates(message as HetznerOptions)) as HetznerOptions;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static HetznerOptions create() => HetznerOptions._();
HetznerOptions createEmptyInstance() => create();
static $pb.PbList<HetznerOptions> createRepeated() => $pb.PbList<HetznerOptions>();
@$core.pragma('dart2js:noInline')
static HetznerOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<HetznerOptions>(create);
static HetznerOptions? _defaultInstance;
@$pb.TagNumber(1)
$core.String get serverType => $_getSZ(0);
@$pb.TagNumber(1)
set serverType($core.String v) { $_setString(0, v); }
@$pb.TagNumber(1)
$core.bool hasServerType() => $_has(0);
@$pb.TagNumber(1)
void clearServerType() => clearField(1);
@$pb.TagNumber(2)
$core.String get serverLocation => $_getSZ(1);
@$pb.TagNumber(2)
set serverLocation($core.String v) { $_setString(1, v); }
@$pb.TagNumber(2)
$core.bool hasServerLocation() => $_has(1);
@$pb.TagNumber(2)
void clearServerLocation() => clearField(2);
}
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');

View File

@ -13,6 +13,8 @@ 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');

View File

@ -22,26 +22,26 @@ export 'environments_v1.pb.dart';
@$pb.GrpcServiceName('environments.Environments')
class EnvironmentsClient extends $grpc.Client {
static final _$create = $grpc.ClientMethod<$2.EnvironmentData, $2.EnvironmentFull>(
static final _$create = $grpc.ClientMethod<$2.CreateOptions, $2.EnvironmentFull>(
'/environments.Environments/Create',
($2.EnvironmentData value) => value.writeToBuffer(),
($2.CreateOptions value) => value.writeToBuffer(),
($core.List<$core.int> value) => $2.EnvironmentFull.fromBuffer(value));
static final _$update = $grpc.ClientMethod<$2.EnvironmentFull, $2.EnvironmentFull>(
static final _$update = $grpc.ClientMethod<$2.UpdateOptions, $2.EnvironmentFull>(
'/environments.Environments/Update',
($2.EnvironmentFull value) => value.writeToBuffer(),
($2.UpdateOptions value) => value.writeToBuffer(),
($core.List<$core.int> value) => $2.EnvironmentFull.fromBuffer(value));
static final _$delete = $grpc.ClientMethod<$2.EnvironmentFull, $1.Empty>(
static final _$delete = $grpc.ClientMethod<$2.DeleteOptions, $1.Empty>(
'/environments.Environments/Delete',
($2.EnvironmentFull value) => value.writeToBuffer(),
($2.DeleteOptions value) => value.writeToBuffer(),
($core.List<$core.int> value) => $1.Empty.fromBuffer(value));
static final _$get = $grpc.ClientMethod<$2.EnvironmentName, $2.EnvironmentFull>(
static final _$get = $grpc.ClientMethod<$2.GetOptions, $2.EnvironmentFull>(
'/environments.Environments/Get',
($2.EnvironmentName value) => value.writeToBuffer(),
($2.GetOptions value) => value.writeToBuffer(),
($core.List<$core.int> value) => $2.EnvironmentFull.fromBuffer(value));
static final _$list = $grpc.ClientMethod<$1.Empty, $2.EnvironmentName>(
static final _$list = $grpc.ClientMethod<$2.ListOptions, $2.EnvironmentFull>(
'/environments.Environments/List',
($1.Empty value) => value.writeToBuffer(),
($core.List<$core.int> value) => $2.EnvironmentName.fromBuffer(value));
($2.ListOptions value) => value.writeToBuffer(),
($core.List<$core.int> value) => $2.EnvironmentFull.fromBuffer(value));
EnvironmentsClient($grpc.ClientChannel channel,
{$grpc.CallOptions? options,
@ -49,23 +49,23 @@ class EnvironmentsClient extends $grpc.Client {
: super(channel, options: options,
interceptors: interceptors);
$grpc.ResponseFuture<$2.EnvironmentFull> create($2.EnvironmentData request, {$grpc.CallOptions? options}) {
$grpc.ResponseFuture<$2.EnvironmentFull> create($2.CreateOptions request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$create, request, options: options);
}
$grpc.ResponseFuture<$2.EnvironmentFull> update($2.EnvironmentFull request, {$grpc.CallOptions? options}) {
$grpc.ResponseFuture<$2.EnvironmentFull> update($2.UpdateOptions request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$update, request, options: options);
}
$grpc.ResponseFuture<$1.Empty> delete($2.EnvironmentFull request, {$grpc.CallOptions? options}) {
$grpc.ResponseFuture<$1.Empty> delete($2.DeleteOptions request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$delete, request, options: options);
}
$grpc.ResponseFuture<$2.EnvironmentFull> get($2.EnvironmentName request, {$grpc.CallOptions? options}) {
$grpc.ResponseFuture<$2.EnvironmentFull> get($2.GetOptions request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$get, request, options: options);
}
$grpc.ResponseStream<$2.EnvironmentName> list($1.Empty request, {$grpc.CallOptions? options}) {
$grpc.ResponseStream<$2.EnvironmentFull> list($2.ListOptions request, {$grpc.CallOptions? options}) {
return $createStreamingCall(_$list, $async.Stream.fromIterable([request]), options: options);
}
}
@ -75,66 +75,66 @@ abstract class EnvironmentsServiceBase extends $grpc.Service {
$core.String get $name => 'environments.Environments';
EnvironmentsServiceBase() {
$addMethod($grpc.ServiceMethod<$2.EnvironmentData, $2.EnvironmentFull>(
$addMethod($grpc.ServiceMethod<$2.CreateOptions, $2.EnvironmentFull>(
'Create',
create_Pre,
false,
false,
($core.List<$core.int> value) => $2.EnvironmentData.fromBuffer(value),
($core.List<$core.int> value) => $2.CreateOptions.fromBuffer(value),
($2.EnvironmentFull value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$2.EnvironmentFull, $2.EnvironmentFull>(
$addMethod($grpc.ServiceMethod<$2.UpdateOptions, $2.EnvironmentFull>(
'Update',
update_Pre,
false,
false,
($core.List<$core.int> value) => $2.EnvironmentFull.fromBuffer(value),
($core.List<$core.int> value) => $2.UpdateOptions.fromBuffer(value),
($2.EnvironmentFull value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$2.EnvironmentFull, $1.Empty>(
$addMethod($grpc.ServiceMethod<$2.DeleteOptions, $1.Empty>(
'Delete',
delete_Pre,
false,
false,
($core.List<$core.int> value) => $2.EnvironmentFull.fromBuffer(value),
($core.List<$core.int> value) => $2.DeleteOptions.fromBuffer(value),
($1.Empty value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$2.EnvironmentName, $2.EnvironmentFull>(
$addMethod($grpc.ServiceMethod<$2.GetOptions, $2.EnvironmentFull>(
'Get',
get_Pre,
false,
false,
($core.List<$core.int> value) => $2.EnvironmentName.fromBuffer(value),
($core.List<$core.int> value) => $2.GetOptions.fromBuffer(value),
($2.EnvironmentFull value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.Empty, $2.EnvironmentName>(
$addMethod($grpc.ServiceMethod<$2.ListOptions, $2.EnvironmentFull>(
'List',
list_Pre,
false,
true,
($core.List<$core.int> value) => $1.Empty.fromBuffer(value),
($2.EnvironmentName value) => value.writeToBuffer()));
($core.List<$core.int> value) => $2.ListOptions.fromBuffer(value),
($2.EnvironmentFull value) => value.writeToBuffer()));
}
$async.Future<$2.EnvironmentFull> create_Pre($grpc.ServiceCall call, $async.Future<$2.EnvironmentData> request) async {
$async.Future<$2.EnvironmentFull> create_Pre($grpc.ServiceCall call, $async.Future<$2.CreateOptions> request) async {
return create(call, await request);
}
$async.Future<$2.EnvironmentFull> update_Pre($grpc.ServiceCall call, $async.Future<$2.EnvironmentFull> request) async {
$async.Future<$2.EnvironmentFull> update_Pre($grpc.ServiceCall call, $async.Future<$2.UpdateOptions> request) async {
return update(call, await request);
}
$async.Future<$1.Empty> delete_Pre($grpc.ServiceCall call, $async.Future<$2.EnvironmentFull> request) async {
$async.Future<$1.Empty> delete_Pre($grpc.ServiceCall call, $async.Future<$2.DeleteOptions> request) async {
return delete(call, await request);
}
$async.Future<$2.EnvironmentFull> get_Pre($grpc.ServiceCall call, $async.Future<$2.EnvironmentName> request) async {
$async.Future<$2.EnvironmentFull> get_Pre($grpc.ServiceCall call, $async.Future<$2.GetOptions> request) async {
return get(call, await request);
}
$async.Stream<$2.EnvironmentName> list_Pre($grpc.ServiceCall call, $async.Future<$1.Empty> request) async* {
$async.Stream<$2.EnvironmentFull> list_Pre($grpc.ServiceCall call, $async.Future<$2.ListOptions> request) async* {
yield* list(call, await request);
}
$async.Future<$2.EnvironmentFull> create($grpc.ServiceCall call, $2.EnvironmentData request);
$async.Future<$2.EnvironmentFull> update($grpc.ServiceCall call, $2.EnvironmentFull request);
$async.Future<$1.Empty> delete($grpc.ServiceCall call, $2.EnvironmentFull request);
$async.Future<$2.EnvironmentFull> get($grpc.ServiceCall call, $2.EnvironmentName request);
$async.Stream<$2.EnvironmentName> list($grpc.ServiceCall call, $1.Empty request);
$async.Future<$2.EnvironmentFull> create($grpc.ServiceCall call, $2.CreateOptions request);
$async.Future<$2.EnvironmentFull> update($grpc.ServiceCall call, $2.UpdateOptions request);
$async.Future<$1.Empty> delete($grpc.ServiceCall call, $2.DeleteOptions request);
$async.Future<$2.EnvironmentFull> get($grpc.ServiceCall call, $2.GetOptions request);
$async.Stream<$2.EnvironmentFull> list($grpc.ServiceCall call, $2.ListOptions request);
}

View File

@ -41,6 +41,114 @@ 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': 'name', '3': 1, '4': 1, '5': 11, '6': '.environments.EnvironmentName', '10': 'name'},
{'1': 'data', '3': 2, '4': 1, '5': 11, '6': '.environments.EnvironmentData', '10': 'data'},
{'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(
'Cg1DcmVhdGVPcHRpb25zEjEKBG5hbWUYASABKAsyHS5lbnZpcm9ubWVudHMuRW52aXJvbm1lbn'
'ROYW1lUgRuYW1lEjEKBGRhdGEYAiABKAsyHS5lbnZpcm9ubWVudHMuRW52aXJvbm1lbnREYXRh'
'UgRkYXRhEjAKCG93bmVyX2lkGAMgASgLMhUuZW52aXJvbm1lbnRzLk93bmVySWRSB293bmVySW'
'QSKQoFdG9rZW4YBCABKAsyEy5lbnZpcm9ubWVudHMuVG9rZW5SBXRva2Vu');
@$core.Deprecated('Use updateOptionsDescriptor instead')
const UpdateOptions$json = {
'1': 'UpdateOptions',
'2': [
{'1': 'name', '3': 1, '4': 1, '5': 11, '6': '.environments.EnvironmentName', '10': 'name'},
{'1': 'data', '3': 2, '4': 1, '5': 11, '6': '.environments.EnvironmentData', '10': 'data'},
{'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 `UpdateOptions`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List updateOptionsDescriptor = $convert.base64Decode(
'Cg1VcGRhdGVPcHRpb25zEjEKBG5hbWUYASABKAsyHS5lbnZpcm9ubWVudHMuRW52aXJvbm1lbn'
'ROYW1lUgRuYW1lEjEKBGRhdGEYAiABKAsyHS5lbnZpcm9ubWVudHMuRW52aXJvbm1lbnREYXRh'
'UgRkYXRhEjAKCG93bmVyX2lkGAMgASgLMhUuZW52aXJvbm1lbnRzLk93bmVySWRSB293bmVySW'
'QSKQoFdG9rZW4YBCABKAsyEy5lbnZpcm9ubWVudHMuVG9rZW5SBXRva2Vu');
@$core.Deprecated('Use deleteOptionsDescriptor instead')
const DeleteOptions$json = {
'1': 'DeleteOptions',
'2': [
{'1': 'name', '3': 1, '4': 1, '5': 11, '6': '.environments.EnvironmentName', '10': 'name'},
{'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(
'Cg1EZWxldGVPcHRpb25zEjEKBG5hbWUYASABKAsyHS5lbnZpcm9ubWVudHMuRW52aXJvbm1lbn'
'ROYW1lUgRuYW1lEjAKCG93bmVyX2lkGAMgASgLMhUuZW52aXJvbm1lbnRzLk93bmVySWRSB293'
'bmVySWQSKQoFdG9rZW4YBCABKAsyEy5lbnZpcm9ubWVudHMuVG9rZW5SBXRva2Vu');
@$core.Deprecated('Use getOptionsDescriptor instead')
const GetOptions$json = {
'1': 'GetOptions',
'2': [
{'1': 'name', '3': 1, '4': 1, '5': 11, '6': '.environments.EnvironmentName', '10': 'name'},
{'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(
'CgpHZXRPcHRpb25zEjEKBG5hbWUYASABKAsyHS5lbnZpcm9ubWVudHMuRW52aXJvbm1lbnROYW'
'1lUgRuYW1lEjAKCG93bmVyX2lkGAMgASgLMhUuZW52aXJvbm1lbnRzLk93bmVySWRSB293bmVy'
'SWQSKQoFdG9rZW4YBCABKAsyEy5lbnZpcm9ubWVudHMuVG9rZW5SBXRva2Vu');
@$core.Deprecated('Use listOptionsDescriptor instead')
const ListOptions$json = {
'1': 'ListOptions',
'2': [
{'1': 'name', '3': 1, '4': 1, '5': 11, '6': '.environments.EnvironmentName', '10': 'name'},
{'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(
'CgtMaXN0T3B0aW9ucxIxCgRuYW1lGAEgASgLMh0uZW52aXJvbm1lbnRzLkVudmlyb25tZW50Tm'
'FtZVIEbmFtZRIwCghvd25lcl9pZBgDIAEoCzIVLmVudmlyb25tZW50cy5Pd25lcklkUgdvd25l'
'cklkEikKBXRva2VuGAQgASgLMhMuZW52aXJvbm1lbnRzLlRva2VuUgV0b2tlbg==');
@$core.Deprecated('Use environmentNameDescriptor instead')
const EnvironmentName$json = {
'1': 'EnvironmentName',
@ -70,20 +178,6 @@ final $typed_data.Uint8List environmentDataDescriptor = $convert.base64Decode(
'ZXRlc1IKa3ViZXJuZXRlcxJFCg9oZXR6bmVyX29wdGlvbnMYBCABKAsyHC5lbnZpcm9ubWVudH'
'MuSGV0em5lck9wdGlvbnNSDmhldHpuZXJPcHRpb25z');
@$core.Deprecated('Use hetznerOptionsDescriptor instead')
const HetznerOptions$json = {
'1': 'HetznerOptions',
'2': [
{'1': 'server_type', '3': 1, '4': 1, '5': 9, '10': 'serverType'},
{'1': 'server_location', '3': 2, '4': 1, '5': 9, '10': 'serverLocation'},
],
};
/// Descriptor for `HetznerOptions`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List hetznerOptionsDescriptor = $convert.base64Decode(
'Cg5IZXR6bmVyT3B0aW9ucxIfCgtzZXJ2ZXJfdHlwZRgBIAEoCVIKc2VydmVyVHlwZRInCg9zZX'
'J2ZXJfbG9jYXRpb24YAiABKAlSDnNlcnZlckxvY2F0aW9u');
@$core.Deprecated('Use environmentFullDescriptor instead')
const EnvironmentFull$json = {
'1': 'EnvironmentFull',
@ -99,3 +193,17 @@ final $typed_data.Uint8List environmentFullDescriptor = $convert.base64Decode(
'VudE5hbWVSBG5hbWUSMQoEZGF0YRgCIAEoCzIdLmVudmlyb25tZW50cy5FbnZpcm9ubWVudERh'
'dGFSBGRhdGE=');
@$core.Deprecated('Use hetznerOptionsDescriptor instead')
const HetznerOptions$json = {
'1': 'HetznerOptions',
'2': [
{'1': 'server_type', '3': 1, '4': 1, '5': 9, '10': 'serverType'},
{'1': 'server_location', '3': 2, '4': 1, '5': 9, '10': 'serverLocation'},
],
};
/// Descriptor for `HetznerOptions`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List hetznerOptionsDescriptor = $convert.base64Decode(
'Cg5IZXR6bmVyT3B0aW9ucxIfCgtzZXJ2ZXJfdHlwZRgBIAEoCVIKc2VydmVyVHlwZRInCg9zZX'
'J2ZXJfbG9jYXRpb24YAiABKAlSDnNlcnZlckxvY2F0aW9u');

2
proto

@ -1 +1 @@
Subproject commit a71f2b7cb57ff0e1dfa81aee4a8732c9316a5509
Subproject commit 1c1bb4672b6e32510c419498c721e552443d9418