Compare commits
24 Commits
account-au
...
renovate/f
| Author | SHA1 | Date | |
|---|---|---|---|
| 2f4fc312ca | |||
| fdcc82b4ec | |||
| 9902f11b40 | |||
| 425622d06f | |||
| 92a56dce80 | |||
| efeeab2d79 | |||
| 9637059f77 | |||
| 59f3ce90ec | |||
| 01439e1694 | |||
| 57ac5cdab3 | |||
| 725bfb9cd9 | |||
| 884f7a3399 | |||
| a9a7f05332 | |||
| e236986b51 | |||
| c0b33d7839 | |||
| b4be0eab10 | |||
| df76bd858d | |||
| ac16669d96 | |||
| 9d3b881d40 | |||
| e7aa4f1bad | |||
| c0111b8f66 | |||
| d7bdb92492 | |||
| e6128f1f97 | |||
| 743c0a79dd |
@@ -1 +1 @@
|
||||
flutter 3.41.7-stable
|
||||
flutter 3.44.0-stable
|
||||
|
||||
663
lib/src/accounts/v1/accounts_v1.pb.dart
Normal file
663
lib/src/accounts/v1/accounts_v1.pb.dart
Normal file
@@ -0,0 +1,663 @@
|
||||
// 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 PersonalData extends $pb.GeneratedMessage {
|
||||
factory PersonalData({
|
||||
$core.String? name,
|
||||
$core.String? surname,
|
||||
}) {
|
||||
final result = create();
|
||||
if (name != null) result.name = name;
|
||||
if (surname != null) result.surname = surname;
|
||||
return result;
|
||||
}
|
||||
|
||||
PersonalData._();
|
||||
|
||||
factory PersonalData.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory PersonalData.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'PersonalData',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'accounts.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'name')
|
||||
..aOS(2, _omitFieldNames ? '' : 'surname')
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
PersonalData clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
PersonalData copyWith(void Function(PersonalData) updates) =>
|
||||
super.copyWith((message) => updates(message as PersonalData))
|
||||
as PersonalData;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static PersonalData create() => PersonalData._();
|
||||
@$core.override
|
||||
PersonalData createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static PersonalData getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<PersonalData>(create);
|
||||
static PersonalData? _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 surname => $_getSZ(1);
|
||||
@$pb.TagNumber(2)
|
||||
set surname($core.String value) => $_setString(1, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasSurname() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearSurname() => $_clearField(2);
|
||||
}
|
||||
|
||||
class SignUpRequest extends $pb.GeneratedMessage {
|
||||
factory SignUpRequest({
|
||||
$core.String? email,
|
||||
$core.String? password,
|
||||
PersonalData? personalData,
|
||||
}) {
|
||||
final result = create();
|
||||
if (email != null) result.email = email;
|
||||
if (password != null) result.password = password;
|
||||
if (personalData != null) result.personalData = personalData;
|
||||
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)
|
||||
..aOS(1, _omitFieldNames ? '' : 'email')
|
||||
..aOS(2, _omitFieldNames ? '' : 'password')
|
||||
..aOM<PersonalData>(3, _omitFieldNames ? '' : 'personalData',
|
||||
subBuilder: PersonalData.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)
|
||||
$core.String get email => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
set email($core.String value) => $_setString(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasEmail() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearEmail() => $_clearField(1);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$core.String get password => $_getSZ(1);
|
||||
@$pb.TagNumber(2)
|
||||
set password($core.String value) => $_setString(1, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasPassword() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearPassword() => $_clearField(2);
|
||||
|
||||
@$pb.TagNumber(3)
|
||||
PersonalData get personalData => $_getN(2);
|
||||
@$pb.TagNumber(3)
|
||||
set personalData(PersonalData value) => $_setField(3, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasPersonalData() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearPersonalData() => $_clearField(3);
|
||||
@$pb.TagNumber(3)
|
||||
PersonalData ensurePersonalData() => $_ensure(2);
|
||||
}
|
||||
|
||||
class SignInRequest extends $pb.GeneratedMessage {
|
||||
factory SignInRequest({
|
||||
$core.String? email,
|
||||
$core.String? password,
|
||||
}) {
|
||||
final result = create();
|
||||
if (email != null) result.email = email;
|
||||
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)
|
||||
..aOS(1, _omitFieldNames ? '' : 'email')
|
||||
..aOS(2, _omitFieldNames ? '' : 'password')
|
||||
..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)
|
||||
$core.String get email => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
set email($core.String value) => $_setString(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasEmail() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearEmail() => $_clearField(1);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$core.String get password => $_getSZ(1);
|
||||
@$pb.TagNumber(2)
|
||||
set password($core.String value) => $_setString(1, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasPassword() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearPassword() => $_clearField(2);
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
class RefreshTokenRequest extends $pb.GeneratedMessage {
|
||||
factory RefreshTokenRequest({
|
||||
$core.String? sessionId,
|
||||
}) {
|
||||
final result = create();
|
||||
if (sessionId != null) result.sessionId = sessionId;
|
||||
return result;
|
||||
}
|
||||
|
||||
RefreshTokenRequest._();
|
||||
|
||||
factory RefreshTokenRequest.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory RefreshTokenRequest.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'RefreshTokenRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'accounts.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'sessionId')
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
RefreshTokenRequest clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
RefreshTokenRequest copyWith(void Function(RefreshTokenRequest) updates) =>
|
||||
super.copyWith((message) => updates(message as RefreshTokenRequest))
|
||||
as RefreshTokenRequest;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static RefreshTokenRequest create() => RefreshTokenRequest._();
|
||||
@$core.override
|
||||
RefreshTokenRequest createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static RefreshTokenRequest getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<RefreshTokenRequest>(create);
|
||||
static RefreshTokenRequest? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get sessionId => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
set sessionId($core.String value) => $_setString(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasSessionId() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearSessionId() => $_clearField(1);
|
||||
}
|
||||
|
||||
const $core.bool _omitFieldNames =
|
||||
$core.bool.fromEnvironment('protobuf.omit_field_names');
|
||||
const $core.bool _omitMessageNames =
|
||||
$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
|
||||
211
lib/src/accounts/v1/accounts_v1.pbgrpc.dart
Normal file
211
lib/src/accounts/v1/accounts_v1.pbgrpc.dart
Normal file
@@ -0,0 +1,211 @@
|
||||
// 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.PublicAccountsService')
|
||||
class PublicAccountsServiceClient 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 = [
|
||||
'',
|
||||
];
|
||||
|
||||
PublicAccountsServiceClient(super.channel,
|
||||
{super.options, super.interceptors});
|
||||
|
||||
/// Sing in into an existing account
|
||||
$grpc.ResponseFuture<$1.Empty> signIn(
|
||||
$0.SignInRequest request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$signIn, request, options: options);
|
||||
}
|
||||
|
||||
/// Create a new account
|
||||
$grpc.ResponseFuture<$1.Empty> signUp(
|
||||
$0.SignUpRequest request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$signUp, request, options: options);
|
||||
}
|
||||
|
||||
// method descriptors
|
||||
|
||||
static final _$signIn = $grpc.ClientMethod<$0.SignInRequest, $1.Empty>(
|
||||
'/accounts.v1.PublicAccountsService/SignIn',
|
||||
($0.SignInRequest value) => value.writeToBuffer(),
|
||||
$1.Empty.fromBuffer);
|
||||
static final _$signUp = $grpc.ClientMethod<$0.SignUpRequest, $1.Empty>(
|
||||
'/accounts.v1.PublicAccountsService/SignUp',
|
||||
($0.SignUpRequest value) => value.writeToBuffer(),
|
||||
$1.Empty.fromBuffer);
|
||||
}
|
||||
|
||||
@$pb.GrpcServiceName('accounts.v1.PublicAccountsService')
|
||||
abstract class PublicAccountsServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'accounts.v1.PublicAccountsService';
|
||||
|
||||
PublicAccountsServiceBase() {
|
||||
$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.SignUpRequest, $1.Empty>(
|
||||
'SignUp',
|
||||
signUp_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.SignUpRequest.fromBuffer(value),
|
||||
($1.Empty value) => value.writeToBuffer()));
|
||||
}
|
||||
|
||||
$async.Future<$1.Empty> signIn_Pre(
|
||||
$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> 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);
|
||||
}
|
||||
|
||||
@$pb.GrpcServiceName('accounts.v1.AccountsService')
|
||||
class AccountsServiceClient 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 = [
|
||||
'',
|
||||
];
|
||||
|
||||
AccountsServiceClient(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);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$1.Empty> refreshSession(
|
||||
$1.Empty request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$refreshSession, request, options: options);
|
||||
}
|
||||
|
||||
/// Authorize using long living tokens
|
||||
$grpc.ResponseFuture<$1.Empty> tokenAuthorization(
|
||||
$1.Empty request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$tokenAuthorization, request, options: options);
|
||||
}
|
||||
|
||||
// method descriptors
|
||||
|
||||
static final _$isEmailVerified =
|
||||
$grpc.ClientMethod<$0.IsEmailVerifiedRequest, $0.IsEmailVerifiedResponse>(
|
||||
'/accounts.v1.AccountsService/IsEmailVerified',
|
||||
($0.IsEmailVerifiedRequest value) => value.writeToBuffer(),
|
||||
$0.IsEmailVerifiedResponse.fromBuffer);
|
||||
static final _$refreshSession = $grpc.ClientMethod<$1.Empty, $1.Empty>(
|
||||
'/accounts.v1.AccountsService/RefreshSession',
|
||||
($1.Empty value) => value.writeToBuffer(),
|
||||
$1.Empty.fromBuffer);
|
||||
static final _$tokenAuthorization = $grpc.ClientMethod<$1.Empty, $1.Empty>(
|
||||
'/accounts.v1.AccountsService/TokenAuthorization',
|
||||
($1.Empty value) => value.writeToBuffer(),
|
||||
$1.Empty.fromBuffer);
|
||||
}
|
||||
|
||||
@$pb.GrpcServiceName('accounts.v1.AccountsService')
|
||||
abstract class AccountsServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'accounts.v1.AccountsService';
|
||||
|
||||
AccountsServiceBase() {
|
||||
$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()));
|
||||
$addMethod($grpc.ServiceMethod<$1.Empty, $1.Empty>(
|
||||
'RefreshSession',
|
||||
refreshSession_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $1.Empty.fromBuffer(value),
|
||||
($1.Empty value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$1.Empty, $1.Empty>(
|
||||
'TokenAuthorization',
|
||||
tokenAuthorization_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $1.Empty.fromBuffer(value),
|
||||
($1.Empty 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);
|
||||
|
||||
$async.Future<$1.Empty> refreshSession_Pre(
|
||||
$grpc.ServiceCall $call, $async.Future<$1.Empty> $request) async {
|
||||
return refreshSession($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$1.Empty> refreshSession(
|
||||
$grpc.ServiceCall call, $1.Empty request);
|
||||
|
||||
$async.Future<$1.Empty> tokenAuthorization_Pre(
|
||||
$grpc.ServiceCall $call, $async.Future<$1.Empty> $request) async {
|
||||
return tokenAuthorization($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$1.Empty> tokenAuthorization(
|
||||
$grpc.ServiceCall call, $1.Empty request);
|
||||
}
|
||||
189
lib/src/accounts/v1/accounts_v1.pbjson.dart
Normal file
189
lib/src/accounts/v1/accounts_v1.pbjson.dart
Normal file
@@ -0,0 +1,189 @@
|
||||
// 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 personalDataDescriptor instead')
|
||||
const PersonalData$json = {
|
||||
'1': 'PersonalData',
|
||||
'2': [
|
||||
{'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'},
|
||||
{'1': 'surname', '3': 2, '4': 1, '5': 9, '10': 'surname'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `PersonalData`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List personalDataDescriptor = $convert.base64Decode(
|
||||
'CgxQZXJzb25hbERhdGESEgoEbmFtZRgBIAEoCVIEbmFtZRIYCgdzdXJuYW1lGAIgASgJUgdzdX'
|
||||
'JuYW1l');
|
||||
|
||||
@$core.Deprecated('Use signUpRequestDescriptor instead')
|
||||
const SignUpRequest$json = {
|
||||
'1': 'SignUpRequest',
|
||||
'2': [
|
||||
{'1': 'email', '3': 1, '4': 1, '5': 9, '10': 'email'},
|
||||
{'1': 'password', '3': 2, '4': 1, '5': 9, '10': 'password'},
|
||||
{
|
||||
'1': 'personal_data',
|
||||
'3': 3,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.accounts.v1.PersonalData',
|
||||
'10': 'personalData'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `SignUpRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List signUpRequestDescriptor = $convert.base64Decode(
|
||||
'Cg1TaWduVXBSZXF1ZXN0EhQKBWVtYWlsGAEgASgJUgVlbWFpbBIaCghwYXNzd29yZBgCIAEoCV'
|
||||
'IIcGFzc3dvcmQSPgoNcGVyc29uYWxfZGF0YRgDIAEoCzIZLmFjY291bnRzLnYxLlBlcnNvbmFs'
|
||||
'RGF0YVIMcGVyc29uYWxEYXRh');
|
||||
|
||||
@$core.Deprecated('Use signInRequestDescriptor instead')
|
||||
const SignInRequest$json = {
|
||||
'1': 'SignInRequest',
|
||||
'2': [
|
||||
{'1': 'email', '3': 1, '4': 1, '5': 9, '10': 'email'},
|
||||
{'1': 'password', '3': 2, '4': 1, '5': 9, '10': 'password'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `SignInRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List signInRequestDescriptor = $convert.base64Decode(
|
||||
'Cg1TaWduSW5SZXF1ZXN0EhQKBWVtYWlsGAEgASgJUgVlbWFpbBIaCghwYXNzd29yZBgCIAEoCV'
|
||||
'IIcGFzc3dvcmQ=');
|
||||
|
||||
@$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=');
|
||||
|
||||
@$core.Deprecated('Use refreshTokenRequestDescriptor instead')
|
||||
const RefreshTokenRequest$json = {
|
||||
'1': 'RefreshTokenRequest',
|
||||
'2': [
|
||||
{'1': 'session_id', '3': 1, '4': 1, '5': 9, '10': 'sessionId'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `RefreshTokenRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List refreshTokenRequestDescriptor = $convert.base64Decode(
|
||||
'ChNSZWZyZXNoVG9rZW5SZXF1ZXN0Eh0KCnNlc3Npb25faWQYASABKAlSCXNlc3Npb25JZA==');
|
||||
326
lib/src/projects/v1/projects_v1.pb.dart
Normal file
326
lib/src/projects/v1/projects_v1.pb.dart
Normal file
@@ -0,0 +1,326 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from projects/v1/projects_v1.proto.
|
||||
|
||||
// @dart = 3.3
|
||||
|
||||
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
|
||||
// ignore_for_file: constant_identifier_names
|
||||
// ignore_for_file: curly_braces_in_flow_control_structures
|
||||
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
|
||||
// ignore_for_file: non_constant_identifier_names, prefer_relative_imports
|
||||
|
||||
import 'dart:core' as $core;
|
||||
|
||||
import 'package:protobuf/protobuf.dart' as $pb;
|
||||
|
||||
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
||||
|
||||
class CreateProjectRequest extends $pb.GeneratedMessage {
|
||||
factory CreateProjectRequest() => create();
|
||||
|
||||
CreateProjectRequest._();
|
||||
|
||||
factory CreateProjectRequest.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory CreateProjectRequest.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'CreateProjectRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'projects.v1'),
|
||||
createEmptyInstance: create)
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
CreateProjectRequest clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
CreateProjectRequest copyWith(void Function(CreateProjectRequest) updates) =>
|
||||
super.copyWith((message) => updates(message as CreateProjectRequest))
|
||||
as CreateProjectRequest;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static CreateProjectRequest create() => CreateProjectRequest._();
|
||||
@$core.override
|
||||
CreateProjectRequest createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static CreateProjectRequest getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<CreateProjectRequest>(create);
|
||||
static CreateProjectRequest? _defaultInstance;
|
||||
}
|
||||
|
||||
class CreateProjectResponse extends $pb.GeneratedMessage {
|
||||
factory CreateProjectResponse() => create();
|
||||
|
||||
CreateProjectResponse._();
|
||||
|
||||
factory CreateProjectResponse.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory CreateProjectResponse.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'CreateProjectResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'projects.v1'),
|
||||
createEmptyInstance: create)
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
CreateProjectResponse clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
CreateProjectResponse copyWith(
|
||||
void Function(CreateProjectResponse) updates) =>
|
||||
super.copyWith((message) => updates(message as CreateProjectResponse))
|
||||
as CreateProjectResponse;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static CreateProjectResponse create() => CreateProjectResponse._();
|
||||
@$core.override
|
||||
CreateProjectResponse createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static CreateProjectResponse getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<CreateProjectResponse>(create);
|
||||
static CreateProjectResponse? _defaultInstance;
|
||||
}
|
||||
|
||||
class GetProjectRequest extends $pb.GeneratedMessage {
|
||||
factory GetProjectRequest() => create();
|
||||
|
||||
GetProjectRequest._();
|
||||
|
||||
factory GetProjectRequest.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory GetProjectRequest.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'GetProjectRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'projects.v1'),
|
||||
createEmptyInstance: create)
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
GetProjectRequest clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
GetProjectRequest copyWith(void Function(GetProjectRequest) updates) =>
|
||||
super.copyWith((message) => updates(message as GetProjectRequest))
|
||||
as GetProjectRequest;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static GetProjectRequest create() => GetProjectRequest._();
|
||||
@$core.override
|
||||
GetProjectRequest createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static GetProjectRequest getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<GetProjectRequest>(create);
|
||||
static GetProjectRequest? _defaultInstance;
|
||||
}
|
||||
|
||||
class GetProjectResponse extends $pb.GeneratedMessage {
|
||||
factory GetProjectResponse() => create();
|
||||
|
||||
GetProjectResponse._();
|
||||
|
||||
factory GetProjectResponse.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory GetProjectResponse.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'GetProjectResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'projects.v1'),
|
||||
createEmptyInstance: create)
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
GetProjectResponse clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
GetProjectResponse copyWith(void Function(GetProjectResponse) updates) =>
|
||||
super.copyWith((message) => updates(message as GetProjectResponse))
|
||||
as GetProjectResponse;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static GetProjectResponse create() => GetProjectResponse._();
|
||||
@$core.override
|
||||
GetProjectResponse createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static GetProjectResponse getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<GetProjectResponse>(create);
|
||||
static GetProjectResponse? _defaultInstance;
|
||||
}
|
||||
|
||||
class ListProjectsRequest extends $pb.GeneratedMessage {
|
||||
factory ListProjectsRequest() => create();
|
||||
|
||||
ListProjectsRequest._();
|
||||
|
||||
factory ListProjectsRequest.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory ListProjectsRequest.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'ListProjectsRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'projects.v1'),
|
||||
createEmptyInstance: create)
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ListProjectsRequest clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ListProjectsRequest copyWith(void Function(ListProjectsRequest) updates) =>
|
||||
super.copyWith((message) => updates(message as ListProjectsRequest))
|
||||
as ListProjectsRequest;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ListProjectsRequest create() => ListProjectsRequest._();
|
||||
@$core.override
|
||||
ListProjectsRequest createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ListProjectsRequest getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<ListProjectsRequest>(create);
|
||||
static ListProjectsRequest? _defaultInstance;
|
||||
}
|
||||
|
||||
class ListProjectsResponse extends $pb.GeneratedMessage {
|
||||
factory ListProjectsResponse() => create();
|
||||
|
||||
ListProjectsResponse._();
|
||||
|
||||
factory ListProjectsResponse.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory ListProjectsResponse.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'ListProjectsResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'projects.v1'),
|
||||
createEmptyInstance: create)
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ListProjectsResponse clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ListProjectsResponse copyWith(void Function(ListProjectsResponse) updates) =>
|
||||
super.copyWith((message) => updates(message as ListProjectsResponse))
|
||||
as ListProjectsResponse;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ListProjectsResponse create() => ListProjectsResponse._();
|
||||
@$core.override
|
||||
ListProjectsResponse createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ListProjectsResponse getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<ListProjectsResponse>(create);
|
||||
static ListProjectsResponse? _defaultInstance;
|
||||
}
|
||||
|
||||
class UpdateProjectRequest extends $pb.GeneratedMessage {
|
||||
factory UpdateProjectRequest() => create();
|
||||
|
||||
UpdateProjectRequest._();
|
||||
|
||||
factory UpdateProjectRequest.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory UpdateProjectRequest.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'UpdateProjectRequest',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'projects.v1'),
|
||||
createEmptyInstance: create)
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
UpdateProjectRequest clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
UpdateProjectRequest copyWith(void Function(UpdateProjectRequest) updates) =>
|
||||
super.copyWith((message) => updates(message as UpdateProjectRequest))
|
||||
as UpdateProjectRequest;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static UpdateProjectRequest create() => UpdateProjectRequest._();
|
||||
@$core.override
|
||||
UpdateProjectRequest createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static UpdateProjectRequest getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<UpdateProjectRequest>(create);
|
||||
static UpdateProjectRequest? _defaultInstance;
|
||||
}
|
||||
|
||||
class UpdateProjectResponse extends $pb.GeneratedMessage {
|
||||
factory UpdateProjectResponse() => create();
|
||||
|
||||
UpdateProjectResponse._();
|
||||
|
||||
factory UpdateProjectResponse.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory UpdateProjectResponse.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'UpdateProjectResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'projects.v1'),
|
||||
createEmptyInstance: create)
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
UpdateProjectResponse clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
UpdateProjectResponse copyWith(
|
||||
void Function(UpdateProjectResponse) updates) =>
|
||||
super.copyWith((message) => updates(message as UpdateProjectResponse))
|
||||
as UpdateProjectResponse;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static UpdateProjectResponse create() => UpdateProjectResponse._();
|
||||
@$core.override
|
||||
UpdateProjectResponse createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static UpdateProjectResponse getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<UpdateProjectResponse>(create);
|
||||
static UpdateProjectResponse? _defaultInstance;
|
||||
}
|
||||
|
||||
const $core.bool _omitMessageNames =
|
||||
$core.bool.fromEnvironment('protobuf.omit_message_names');
|
||||
11
lib/src/projects/v1/projects_v1.pbenum.dart
Normal file
11
lib/src/projects/v1/projects_v1.pbenum.dart
Normal file
@@ -0,0 +1,11 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from projects/v1/projects_v1.proto.
|
||||
|
||||
// @dart = 3.3
|
||||
|
||||
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
|
||||
// ignore_for_file: constant_identifier_names
|
||||
// ignore_for_file: curly_braces_in_flow_control_structures
|
||||
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
|
||||
// ignore_for_file: non_constant_identifier_names, prefer_relative_imports
|
||||
164
lib/src/projects/v1/projects_v1.pbgrpc.dart
Normal file
164
lib/src/projects/v1/projects_v1.pbgrpc.dart
Normal file
@@ -0,0 +1,164 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from projects/v1/projects_v1.proto.
|
||||
|
||||
// @dart = 3.3
|
||||
|
||||
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
|
||||
// ignore_for_file: constant_identifier_names
|
||||
// ignore_for_file: curly_braces_in_flow_control_structures
|
||||
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
|
||||
// ignore_for_file: non_constant_identifier_names, prefer_relative_imports
|
||||
|
||||
import 'dart:async' as $async;
|
||||
import 'dart:core' as $core;
|
||||
|
||||
import 'package:grpc/service_api.dart' as $grpc;
|
||||
import 'package:protobuf/protobuf.dart' as $pb;
|
||||
|
||||
import 'projects_v1.pb.dart' as $0;
|
||||
|
||||
export 'projects_v1.pb.dart';
|
||||
|
||||
@$pb.GrpcServiceName('projects.v1.ProjectsService')
|
||||
class ProjectsServiceClient extends $grpc.Client {
|
||||
/// The hostname for this service.
|
||||
static const $core.String defaultHost = '';
|
||||
|
||||
/// OAuth scopes needed for the client.
|
||||
static const $core.List<$core.String> oauthScopes = [
|
||||
'',
|
||||
];
|
||||
|
||||
ProjectsServiceClient(super.channel, {super.options, super.interceptors});
|
||||
|
||||
$grpc.ResponseFuture<$0.CreateProjectResponse> createProject(
|
||||
$0.CreateProjectRequest request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$createProject, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$0.GetProjectResponse> getProject(
|
||||
$0.GetProjectRequest request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$getProject, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseStream<$0.ListProjectsResponse> listProjects(
|
||||
$0.ListProjectsRequest request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createStreamingCall(
|
||||
_$listProjects, $async.Stream.fromIterable([request]),
|
||||
options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$0.UpdateProjectResponse> updateProject(
|
||||
$0.UpdateProjectRequest request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$updateProject, request, options: options);
|
||||
}
|
||||
|
||||
// method descriptors
|
||||
|
||||
static final _$createProject =
|
||||
$grpc.ClientMethod<$0.CreateProjectRequest, $0.CreateProjectResponse>(
|
||||
'/projects.v1.ProjectsService/CreateProject',
|
||||
($0.CreateProjectRequest value) => value.writeToBuffer(),
|
||||
$0.CreateProjectResponse.fromBuffer);
|
||||
static final _$getProject =
|
||||
$grpc.ClientMethod<$0.GetProjectRequest, $0.GetProjectResponse>(
|
||||
'/projects.v1.ProjectsService/GetProject',
|
||||
($0.GetProjectRequest value) => value.writeToBuffer(),
|
||||
$0.GetProjectResponse.fromBuffer);
|
||||
static final _$listProjects =
|
||||
$grpc.ClientMethod<$0.ListProjectsRequest, $0.ListProjectsResponse>(
|
||||
'/projects.v1.ProjectsService/ListProjects',
|
||||
($0.ListProjectsRequest value) => value.writeToBuffer(),
|
||||
$0.ListProjectsResponse.fromBuffer);
|
||||
static final _$updateProject =
|
||||
$grpc.ClientMethod<$0.UpdateProjectRequest, $0.UpdateProjectResponse>(
|
||||
'/projects.v1.ProjectsService/UpdateProject',
|
||||
($0.UpdateProjectRequest value) => value.writeToBuffer(),
|
||||
$0.UpdateProjectResponse.fromBuffer);
|
||||
}
|
||||
|
||||
@$pb.GrpcServiceName('projects.v1.ProjectsService')
|
||||
abstract class ProjectsServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'projects.v1.ProjectsService';
|
||||
|
||||
ProjectsServiceBase() {
|
||||
$addMethod(
|
||||
$grpc.ServiceMethod<$0.CreateProjectRequest, $0.CreateProjectResponse>(
|
||||
'CreateProject',
|
||||
createProject_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) =>
|
||||
$0.CreateProjectRequest.fromBuffer(value),
|
||||
($0.CreateProjectResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.GetProjectRequest, $0.GetProjectResponse>(
|
||||
'GetProject',
|
||||
getProject_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.GetProjectRequest.fromBuffer(value),
|
||||
($0.GetProjectResponse value) => value.writeToBuffer()));
|
||||
$addMethod(
|
||||
$grpc.ServiceMethod<$0.ListProjectsRequest, $0.ListProjectsResponse>(
|
||||
'ListProjects',
|
||||
listProjects_Pre,
|
||||
false,
|
||||
true,
|
||||
($core.List<$core.int> value) =>
|
||||
$0.ListProjectsRequest.fromBuffer(value),
|
||||
($0.ListProjectsResponse value) => value.writeToBuffer()));
|
||||
$addMethod(
|
||||
$grpc.ServiceMethod<$0.UpdateProjectRequest, $0.UpdateProjectResponse>(
|
||||
'UpdateProject',
|
||||
updateProject_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) =>
|
||||
$0.UpdateProjectRequest.fromBuffer(value),
|
||||
($0.UpdateProjectResponse value) => value.writeToBuffer()));
|
||||
}
|
||||
|
||||
$async.Future<$0.CreateProjectResponse> createProject_Pre(
|
||||
$grpc.ServiceCall $call,
|
||||
$async.Future<$0.CreateProjectRequest> $request) async {
|
||||
return createProject($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$0.CreateProjectResponse> createProject(
|
||||
$grpc.ServiceCall call, $0.CreateProjectRequest request);
|
||||
|
||||
$async.Future<$0.GetProjectResponse> getProject_Pre($grpc.ServiceCall $call,
|
||||
$async.Future<$0.GetProjectRequest> $request) async {
|
||||
return getProject($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$0.GetProjectResponse> getProject(
|
||||
$grpc.ServiceCall call, $0.GetProjectRequest request);
|
||||
|
||||
$async.Stream<$0.ListProjectsResponse> listProjects_Pre(
|
||||
$grpc.ServiceCall $call,
|
||||
$async.Future<$0.ListProjectsRequest> $request) async* {
|
||||
yield* listProjects($call, await $request);
|
||||
}
|
||||
|
||||
$async.Stream<$0.ListProjectsResponse> listProjects(
|
||||
$grpc.ServiceCall call, $0.ListProjectsRequest request);
|
||||
|
||||
$async.Future<$0.UpdateProjectResponse> updateProject_Pre(
|
||||
$grpc.ServiceCall $call,
|
||||
$async.Future<$0.UpdateProjectRequest> $request) async {
|
||||
return updateProject($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$0.UpdateProjectResponse> updateProject(
|
||||
$grpc.ServiceCall call, $0.UpdateProjectRequest request);
|
||||
}
|
||||
88
lib/src/projects/v1/projects_v1.pbjson.dart
Normal file
88
lib/src/projects/v1/projects_v1.pbjson.dart
Normal file
@@ -0,0 +1,88 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from projects/v1/projects_v1.proto.
|
||||
|
||||
// @dart = 3.3
|
||||
|
||||
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
|
||||
// ignore_for_file: constant_identifier_names
|
||||
// ignore_for_file: curly_braces_in_flow_control_structures
|
||||
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
|
||||
// ignore_for_file: non_constant_identifier_names, prefer_relative_imports
|
||||
// ignore_for_file: unused_import
|
||||
|
||||
import 'dart:convert' as $convert;
|
||||
import 'dart:core' as $core;
|
||||
import 'dart:typed_data' as $typed_data;
|
||||
|
||||
@$core.Deprecated('Use createProjectRequestDescriptor instead')
|
||||
const CreateProjectRequest$json = {
|
||||
'1': 'CreateProjectRequest',
|
||||
};
|
||||
|
||||
/// Descriptor for `CreateProjectRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List createProjectRequestDescriptor =
|
||||
$convert.base64Decode('ChRDcmVhdGVQcm9qZWN0UmVxdWVzdA==');
|
||||
|
||||
@$core.Deprecated('Use createProjectResponseDescriptor instead')
|
||||
const CreateProjectResponse$json = {
|
||||
'1': 'CreateProjectResponse',
|
||||
};
|
||||
|
||||
/// Descriptor for `CreateProjectResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List createProjectResponseDescriptor =
|
||||
$convert.base64Decode('ChVDcmVhdGVQcm9qZWN0UmVzcG9uc2U=');
|
||||
|
||||
@$core.Deprecated('Use getProjectRequestDescriptor instead')
|
||||
const GetProjectRequest$json = {
|
||||
'1': 'GetProjectRequest',
|
||||
};
|
||||
|
||||
/// Descriptor for `GetProjectRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List getProjectRequestDescriptor =
|
||||
$convert.base64Decode('ChFHZXRQcm9qZWN0UmVxdWVzdA==');
|
||||
|
||||
@$core.Deprecated('Use getProjectResponseDescriptor instead')
|
||||
const GetProjectResponse$json = {
|
||||
'1': 'GetProjectResponse',
|
||||
};
|
||||
|
||||
/// Descriptor for `GetProjectResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List getProjectResponseDescriptor =
|
||||
$convert.base64Decode('ChJHZXRQcm9qZWN0UmVzcG9uc2U=');
|
||||
|
||||
@$core.Deprecated('Use listProjectsRequestDescriptor instead')
|
||||
const ListProjectsRequest$json = {
|
||||
'1': 'ListProjectsRequest',
|
||||
};
|
||||
|
||||
/// Descriptor for `ListProjectsRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List listProjectsRequestDescriptor =
|
||||
$convert.base64Decode('ChNMaXN0UHJvamVjdHNSZXF1ZXN0');
|
||||
|
||||
@$core.Deprecated('Use listProjectsResponseDescriptor instead')
|
||||
const ListProjectsResponse$json = {
|
||||
'1': 'ListProjectsResponse',
|
||||
};
|
||||
|
||||
/// Descriptor for `ListProjectsResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List listProjectsResponseDescriptor =
|
||||
$convert.base64Decode('ChRMaXN0UHJvamVjdHNSZXNwb25zZQ==');
|
||||
|
||||
@$core.Deprecated('Use updateProjectRequestDescriptor instead')
|
||||
const UpdateProjectRequest$json = {
|
||||
'1': 'UpdateProjectRequest',
|
||||
};
|
||||
|
||||
/// Descriptor for `UpdateProjectRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List updateProjectRequestDescriptor =
|
||||
$convert.base64Decode('ChRVcGRhdGVQcm9qZWN0UmVxdWVzdA==');
|
||||
|
||||
@$core.Deprecated('Use updateProjectResponseDescriptor instead')
|
||||
const UpdateProjectResponse$json = {
|
||||
'1': 'UpdateProjectResponse',
|
||||
};
|
||||
|
||||
/// Descriptor for `UpdateProjectResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List updateProjectResponseDescriptor =
|
||||
$convert.base64Decode('ChVVcGRhdGVQcm9qZWN0UmVzcG9uc2U=');
|
||||
@@ -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;
|
||||
}
|
||||
282
lib/src/test/v1/test_v1.pb.dart
Normal file
282
lib/src/test/v1/test_v1.pb.dart
Normal file
@@ -0,0 +1,282 @@
|
||||
// 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;
|
||||
}
|
||||
|
||||
class PingStreamResponse extends $pb.GeneratedMessage {
|
||||
factory PingStreamResponse({
|
||||
$core.String? dummy,
|
||||
}) {
|
||||
final result = create();
|
||||
if (dummy != null) result.dummy = dummy;
|
||||
return result;
|
||||
}
|
||||
|
||||
PingStreamResponse._();
|
||||
|
||||
factory PingStreamResponse.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory PingStreamResponse.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'PingStreamResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'test.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'dummy')
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
PingStreamResponse clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
PingStreamResponse copyWith(void Function(PingStreamResponse) updates) =>
|
||||
super.copyWith((message) => updates(message as PingStreamResponse))
|
||||
as PingStreamResponse;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static PingStreamResponse create() => PingStreamResponse._();
|
||||
@$core.override
|
||||
PingStreamResponse createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static PingStreamResponse getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<PingStreamResponse>(create);
|
||||
static PingStreamResponse? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get dummy => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
set dummy($core.String value) => $_setString(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasDummy() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearDummy() => $_clearField(1);
|
||||
}
|
||||
|
||||
class PongStreamResponse extends $pb.GeneratedMessage {
|
||||
factory PongStreamResponse({
|
||||
$core.String? dummy,
|
||||
}) {
|
||||
final result = create();
|
||||
if (dummy != null) result.dummy = dummy;
|
||||
return result;
|
||||
}
|
||||
|
||||
PongStreamResponse._();
|
||||
|
||||
factory PongStreamResponse.fromBuffer($core.List<$core.int> data,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromBuffer(data, registry);
|
||||
factory PongStreamResponse.fromJson($core.String json,
|
||||
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
|
||||
create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
|
||||
_omitMessageNames ? '' : 'PongStreamResponse',
|
||||
package: const $pb.PackageName(_omitMessageNames ? '' : 'test.v1'),
|
||||
createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'dummy')
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
PongStreamResponse clone() => deepCopy();
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
PongStreamResponse copyWith(void Function(PongStreamResponse) updates) =>
|
||||
super.copyWith((message) => updates(message as PongStreamResponse))
|
||||
as PongStreamResponse;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static PongStreamResponse create() => PongStreamResponse._();
|
||||
@$core.override
|
||||
PongStreamResponse createEmptyInstance() => create();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static PongStreamResponse getDefault() => _defaultInstance ??=
|
||||
$pb.GeneratedMessage.$_defaultFor<PongStreamResponse>(create);
|
||||
static PongStreamResponse? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get dummy => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
set dummy($core.String value) => $_setString(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasDummy() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearDummy() => $_clearField(1);
|
||||
}
|
||||
|
||||
const $core.bool _omitFieldNames =
|
||||
$core.bool.fromEnvironment('protobuf.omit_field_names');
|
||||
const $core.bool _omitMessageNames =
|
||||
$core.bool.fromEnvironment('protobuf.omit_message_names');
|
||||
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
|
||||
182
lib/src/test/v1/test_v1.pbgrpc.dart
Normal file
182
lib/src/test/v1/test_v1.pbgrpc.dart
Normal file
@@ -0,0 +1,182 @@
|
||||
// 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 'package:protobuf/well_known_types/google/protobuf/empty.pb.dart' as $1;
|
||||
|
||||
import 'test_v1.pb.dart' as $0;
|
||||
|
||||
export 'test_v1.pb.dart';
|
||||
|
||||
/// *
|
||||
/// Service for handling environments
|
||||
@$pb.GrpcServiceName('test.v1.PublicTestService')
|
||||
class PublicTestServiceClient 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 = [
|
||||
'',
|
||||
];
|
||||
|
||||
PublicTestServiceClient(super.channel, {super.options, super.interceptors});
|
||||
|
||||
$grpc.ResponseFuture<$0.PingResponse> ping(
|
||||
$0.PingRequest request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$ping, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseStream<$0.PingStreamResponse> pingStream(
|
||||
$1.Empty request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createStreamingCall(
|
||||
_$pingStream, $async.Stream.fromIterable([request]),
|
||||
options: options);
|
||||
}
|
||||
|
||||
// method descriptors
|
||||
|
||||
static final _$ping = $grpc.ClientMethod<$0.PingRequest, $0.PingResponse>(
|
||||
'/test.v1.PublicTestService/Ping',
|
||||
($0.PingRequest value) => value.writeToBuffer(),
|
||||
$0.PingResponse.fromBuffer);
|
||||
static final _$pingStream =
|
||||
$grpc.ClientMethod<$1.Empty, $0.PingStreamResponse>(
|
||||
'/test.v1.PublicTestService/PingStream',
|
||||
($1.Empty value) => value.writeToBuffer(),
|
||||
$0.PingStreamResponse.fromBuffer);
|
||||
}
|
||||
|
||||
@$pb.GrpcServiceName('test.v1.PublicTestService')
|
||||
abstract class PublicTestServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'test.v1.PublicTestService';
|
||||
|
||||
PublicTestServiceBase() {
|
||||
$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()));
|
||||
$addMethod($grpc.ServiceMethod<$1.Empty, $0.PingStreamResponse>(
|
||||
'PingStream',
|
||||
pingStream_Pre,
|
||||
false,
|
||||
true,
|
||||
($core.List<$core.int> value) => $1.Empty.fromBuffer(value),
|
||||
($0.PingStreamResponse value) => value.writeToBuffer()));
|
||||
}
|
||||
|
||||
$async.Future<$0.PingResponse> ping_Pre(
|
||||
$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);
|
||||
|
||||
$async.Stream<$0.PingStreamResponse> pingStream_Pre(
|
||||
$grpc.ServiceCall $call, $async.Future<$1.Empty> $request) async* {
|
||||
yield* pingStream($call, await $request);
|
||||
}
|
||||
|
||||
$async.Stream<$0.PingStreamResponse> pingStream(
|
||||
$grpc.ServiceCall call, $1.Empty request);
|
||||
}
|
||||
|
||||
@$pb.GrpcServiceName('test.v1.TestService')
|
||||
class TestServiceClient 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 = [
|
||||
'',
|
||||
];
|
||||
|
||||
TestServiceClient(super.channel, {super.options, super.interceptors});
|
||||
|
||||
$grpc.ResponseFuture<$0.PongResponse> pong(
|
||||
$0.PongRequest request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$pong, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseStream<$0.PongStreamResponse> pongStream(
|
||||
$1.Empty request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createStreamingCall(
|
||||
_$pongStream, $async.Stream.fromIterable([request]),
|
||||
options: options);
|
||||
}
|
||||
|
||||
// method descriptors
|
||||
|
||||
static final _$pong = $grpc.ClientMethod<$0.PongRequest, $0.PongResponse>(
|
||||
'/test.v1.TestService/Pong',
|
||||
($0.PongRequest value) => value.writeToBuffer(),
|
||||
$0.PongResponse.fromBuffer);
|
||||
static final _$pongStream =
|
||||
$grpc.ClientMethod<$1.Empty, $0.PongStreamResponse>(
|
||||
'/test.v1.TestService/PongStream',
|
||||
($1.Empty value) => value.writeToBuffer(),
|
||||
$0.PongStreamResponse.fromBuffer);
|
||||
}
|
||||
|
||||
@$pb.GrpcServiceName('test.v1.TestService')
|
||||
abstract class TestServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'test.v1.TestService';
|
||||
|
||||
TestServiceBase() {
|
||||
$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()));
|
||||
$addMethod($grpc.ServiceMethod<$1.Empty, $0.PongStreamResponse>(
|
||||
'PongStream',
|
||||
pongStream_Pre,
|
||||
false,
|
||||
true,
|
||||
($core.List<$core.int> value) => $1.Empty.fromBuffer(value),
|
||||
($0.PongStreamResponse value) => value.writeToBuffer()));
|
||||
}
|
||||
|
||||
$async.Future<$0.PongResponse> pong_Pre(
|
||||
$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);
|
||||
|
||||
$async.Stream<$0.PongStreamResponse> pongStream_Pre(
|
||||
$grpc.ServiceCall $call, $async.Future<$1.Empty> $request) async* {
|
||||
yield* pongStream($call, await $request);
|
||||
}
|
||||
|
||||
$async.Stream<$0.PongStreamResponse> pongStream(
|
||||
$grpc.ServiceCall call, $1.Empty request);
|
||||
}
|
||||
76
lib/src/test/v1/test_v1.pbjson.dart
Normal file
76
lib/src/test/v1/test_v1.pbjson.dart
Normal file
@@ -0,0 +1,76 @@
|
||||
// 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=');
|
||||
|
||||
@$core.Deprecated('Use pingStreamResponseDescriptor instead')
|
||||
const PingStreamResponse$json = {
|
||||
'1': 'PingStreamResponse',
|
||||
'2': [
|
||||
{'1': 'dummy', '3': 1, '4': 1, '5': 9, '10': 'dummy'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `PingStreamResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List pingStreamResponseDescriptor = $convert
|
||||
.base64Decode('ChJQaW5nU3RyZWFtUmVzcG9uc2USFAoFZHVtbXkYASABKAlSBWR1bW15');
|
||||
|
||||
@$core.Deprecated('Use pongStreamResponseDescriptor instead')
|
||||
const PongStreamResponse$json = {
|
||||
'1': 'PongStreamResponse',
|
||||
'2': [
|
||||
{'1': 'dummy', '3': 1, '4': 1, '5': 9, '10': 'dummy'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `PongStreamResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List pongStreamResponseDescriptor = $convert
|
||||
.base64Decode('ChJQb25nU3RyZWFtUmVzcG9uc2USFAoFZHVtbXkYASABKAlSBWR1bW15');
|
||||
1227
lib/src/tokens/v1/tokens_v1.pb.dart
Normal file
1227
lib/src/tokens/v1/tokens_v1.pb.dart
Normal file
File diff suppressed because it is too large
Load Diff
11
lib/src/tokens/v1/tokens_v1.pbenum.dart
Normal file
11
lib/src/tokens/v1/tokens_v1.pbenum.dart
Normal file
@@ -0,0 +1,11 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from tokens/v1/tokens_v1.proto.
|
||||
|
||||
// @dart = 3.3
|
||||
|
||||
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
|
||||
// ignore_for_file: constant_identifier_names
|
||||
// ignore_for_file: curly_braces_in_flow_control_structures
|
||||
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
|
||||
// ignore_for_file: non_constant_identifier_names, prefer_relative_imports
|
||||
311
lib/src/tokens/v1/tokens_v1.pbgrpc.dart
Normal file
311
lib/src/tokens/v1/tokens_v1.pbgrpc.dart
Normal file
@@ -0,0 +1,311 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from tokens/v1/tokens_v1.proto.
|
||||
|
||||
// @dart = 3.3
|
||||
|
||||
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
|
||||
// ignore_for_file: constant_identifier_names
|
||||
// ignore_for_file: curly_braces_in_flow_control_structures
|
||||
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
|
||||
// ignore_for_file: non_constant_identifier_names, prefer_relative_imports
|
||||
|
||||
import 'dart:async' as $async;
|
||||
import 'dart:core' as $core;
|
||||
|
||||
import 'package:grpc/service_api.dart' as $grpc;
|
||||
import 'package:protobuf/protobuf.dart' as $pb;
|
||||
import 'package:protobuf/well_known_types/google/protobuf/empty.pb.dart' as $1;
|
||||
|
||||
import 'tokens_v1.pb.dart' as $0;
|
||||
|
||||
export 'tokens_v1.pb.dart';
|
||||
|
||||
/// Tokens should be used for programmatic access
|
||||
/// For example CLI or terraform modules
|
||||
@$pb.GrpcServiceName('tokens.v1.TokensService')
|
||||
class TokensServiceClient extends $grpc.Client {
|
||||
/// The hostname for this service.
|
||||
static const $core.String defaultHost = '';
|
||||
|
||||
/// OAuth scopes needed for the client.
|
||||
static const $core.List<$core.String> oauthScopes = [
|
||||
'',
|
||||
];
|
||||
|
||||
TokensServiceClient(super.channel, {super.options, super.interceptors});
|
||||
|
||||
/// Create a new token
|
||||
$grpc.ResponseFuture<$0.CreateTokenResponse> createToken(
|
||||
$0.CreateTokenRequest request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$createToken, request, options: options);
|
||||
}
|
||||
|
||||
/// Update an existing token
|
||||
$grpc.ResponseFuture<$0.UpdateTokenResponse> updateToken(
|
||||
$0.UpdateTokenRequest request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$updateToken, request, options: options);
|
||||
}
|
||||
|
||||
/// Expire an existing token
|
||||
$grpc.ResponseFuture<$1.Empty> forceTokenExpiration(
|
||||
$0.ForceTokenExpirationRequest request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$forceTokenExpiration, request, options: options);
|
||||
}
|
||||
|
||||
/// Create a new token with the same UUID
|
||||
$grpc.ResponseFuture<$0.RegenerateTokenResponse> regenerateToken(
|
||||
$0.RegenerateTokenRequest request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$regenerateToken, request, options: options);
|
||||
}
|
||||
|
||||
/// Get an existing token
|
||||
$grpc.ResponseFuture<$0.GetTokenResponse> getToken(
|
||||
$0.GetTokenRequest request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$getToken, request, options: options);
|
||||
}
|
||||
|
||||
/// List all existing tokens
|
||||
$grpc.ResponseStream<$0.ListTokensResponse> listTokens(
|
||||
$1.Empty request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createStreamingCall(
|
||||
_$listTokens, $async.Stream.fromIterable([request]),
|
||||
options: options);
|
||||
}
|
||||
|
||||
/// List all available permissions
|
||||
$grpc.ResponseStream<$0.ListPermissionsResponse> listPermissions(
|
||||
$1.Empty request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createStreamingCall(
|
||||
_$listPermissions, $async.Stream.fromIterable([request]),
|
||||
options: options);
|
||||
}
|
||||
|
||||
// method descriptors
|
||||
|
||||
static final _$createToken =
|
||||
$grpc.ClientMethod<$0.CreateTokenRequest, $0.CreateTokenResponse>(
|
||||
'/tokens.v1.TokensService/CreateToken',
|
||||
($0.CreateTokenRequest value) => value.writeToBuffer(),
|
||||
$0.CreateTokenResponse.fromBuffer);
|
||||
static final _$updateToken =
|
||||
$grpc.ClientMethod<$0.UpdateTokenRequest, $0.UpdateTokenResponse>(
|
||||
'/tokens.v1.TokensService/UpdateToken',
|
||||
($0.UpdateTokenRequest value) => value.writeToBuffer(),
|
||||
$0.UpdateTokenResponse.fromBuffer);
|
||||
static final _$forceTokenExpiration =
|
||||
$grpc.ClientMethod<$0.ForceTokenExpirationRequest, $1.Empty>(
|
||||
'/tokens.v1.TokensService/ForceTokenExpiration',
|
||||
($0.ForceTokenExpirationRequest value) => value.writeToBuffer(),
|
||||
$1.Empty.fromBuffer);
|
||||
static final _$regenerateToken =
|
||||
$grpc.ClientMethod<$0.RegenerateTokenRequest, $0.RegenerateTokenResponse>(
|
||||
'/tokens.v1.TokensService/RegenerateToken',
|
||||
($0.RegenerateTokenRequest value) => value.writeToBuffer(),
|
||||
$0.RegenerateTokenResponse.fromBuffer);
|
||||
static final _$getToken =
|
||||
$grpc.ClientMethod<$0.GetTokenRequest, $0.GetTokenResponse>(
|
||||
'/tokens.v1.TokensService/GetToken',
|
||||
($0.GetTokenRequest value) => value.writeToBuffer(),
|
||||
$0.GetTokenResponse.fromBuffer);
|
||||
static final _$listTokens =
|
||||
$grpc.ClientMethod<$1.Empty, $0.ListTokensResponse>(
|
||||
'/tokens.v1.TokensService/ListTokens',
|
||||
($1.Empty value) => value.writeToBuffer(),
|
||||
$0.ListTokensResponse.fromBuffer);
|
||||
static final _$listPermissions =
|
||||
$grpc.ClientMethod<$1.Empty, $0.ListPermissionsResponse>(
|
||||
'/tokens.v1.TokensService/ListPermissions',
|
||||
($1.Empty value) => value.writeToBuffer(),
|
||||
$0.ListPermissionsResponse.fromBuffer);
|
||||
}
|
||||
|
||||
@$pb.GrpcServiceName('tokens.v1.TokensService')
|
||||
abstract class TokensServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'tokens.v1.TokensService';
|
||||
|
||||
TokensServiceBase() {
|
||||
$addMethod(
|
||||
$grpc.ServiceMethod<$0.CreateTokenRequest, $0.CreateTokenResponse>(
|
||||
'CreateToken',
|
||||
createToken_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) =>
|
||||
$0.CreateTokenRequest.fromBuffer(value),
|
||||
($0.CreateTokenResponse value) => value.writeToBuffer()));
|
||||
$addMethod(
|
||||
$grpc.ServiceMethod<$0.UpdateTokenRequest, $0.UpdateTokenResponse>(
|
||||
'UpdateToken',
|
||||
updateToken_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) =>
|
||||
$0.UpdateTokenRequest.fromBuffer(value),
|
||||
($0.UpdateTokenResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.ForceTokenExpirationRequest, $1.Empty>(
|
||||
'ForceTokenExpiration',
|
||||
forceTokenExpiration_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) =>
|
||||
$0.ForceTokenExpirationRequest.fromBuffer(value),
|
||||
($1.Empty value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.RegenerateTokenRequest,
|
||||
$0.RegenerateTokenResponse>(
|
||||
'RegenerateToken',
|
||||
regenerateToken_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) =>
|
||||
$0.RegenerateTokenRequest.fromBuffer(value),
|
||||
($0.RegenerateTokenResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.GetTokenRequest, $0.GetTokenResponse>(
|
||||
'GetToken',
|
||||
getToken_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.GetTokenRequest.fromBuffer(value),
|
||||
($0.GetTokenResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$1.Empty, $0.ListTokensResponse>(
|
||||
'ListTokens',
|
||||
listTokens_Pre,
|
||||
false,
|
||||
true,
|
||||
($core.List<$core.int> value) => $1.Empty.fromBuffer(value),
|
||||
($0.ListTokensResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$1.Empty, $0.ListPermissionsResponse>(
|
||||
'ListPermissions',
|
||||
listPermissions_Pre,
|
||||
false,
|
||||
true,
|
||||
($core.List<$core.int> value) => $1.Empty.fromBuffer(value),
|
||||
($0.ListPermissionsResponse value) => value.writeToBuffer()));
|
||||
}
|
||||
|
||||
$async.Future<$0.CreateTokenResponse> createToken_Pre($grpc.ServiceCall $call,
|
||||
$async.Future<$0.CreateTokenRequest> $request) async {
|
||||
return createToken($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$0.CreateTokenResponse> createToken(
|
||||
$grpc.ServiceCall call, $0.CreateTokenRequest request);
|
||||
|
||||
$async.Future<$0.UpdateTokenResponse> updateToken_Pre($grpc.ServiceCall $call,
|
||||
$async.Future<$0.UpdateTokenRequest> $request) async {
|
||||
return updateToken($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$0.UpdateTokenResponse> updateToken(
|
||||
$grpc.ServiceCall call, $0.UpdateTokenRequest request);
|
||||
|
||||
$async.Future<$1.Empty> forceTokenExpiration_Pre($grpc.ServiceCall $call,
|
||||
$async.Future<$0.ForceTokenExpirationRequest> $request) async {
|
||||
return forceTokenExpiration($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$1.Empty> forceTokenExpiration(
|
||||
$grpc.ServiceCall call, $0.ForceTokenExpirationRequest request);
|
||||
|
||||
$async.Future<$0.RegenerateTokenResponse> regenerateToken_Pre(
|
||||
$grpc.ServiceCall $call,
|
||||
$async.Future<$0.RegenerateTokenRequest> $request) async {
|
||||
return regenerateToken($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$0.RegenerateTokenResponse> regenerateToken(
|
||||
$grpc.ServiceCall call, $0.RegenerateTokenRequest request);
|
||||
|
||||
$async.Future<$0.GetTokenResponse> getToken_Pre($grpc.ServiceCall $call,
|
||||
$async.Future<$0.GetTokenRequest> $request) async {
|
||||
return getToken($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$0.GetTokenResponse> getToken(
|
||||
$grpc.ServiceCall call, $0.GetTokenRequest request);
|
||||
|
||||
$async.Stream<$0.ListTokensResponse> listTokens_Pre(
|
||||
$grpc.ServiceCall $call, $async.Future<$1.Empty> $request) async* {
|
||||
yield* listTokens($call, await $request);
|
||||
}
|
||||
|
||||
$async.Stream<$0.ListTokensResponse> listTokens(
|
||||
$grpc.ServiceCall call, $1.Empty request);
|
||||
|
||||
$async.Stream<$0.ListPermissionsResponse> listPermissions_Pre(
|
||||
$grpc.ServiceCall $call, $async.Future<$1.Empty> $request) async* {
|
||||
yield* listPermissions($call, await $request);
|
||||
}
|
||||
|
||||
$async.Stream<$0.ListPermissionsResponse> listPermissions(
|
||||
$grpc.ServiceCall call, $1.Empty request);
|
||||
}
|
||||
|
||||
/// An endpoint to authenticate with a token should be here
|
||||
@$pb.GrpcServiceName('tokens.v1.PublicTokensService')
|
||||
class PublicTokensServiceClient extends $grpc.Client {
|
||||
/// The hostname for this service.
|
||||
static const $core.String defaultHost = '';
|
||||
|
||||
/// OAuth scopes needed for the client.
|
||||
static const $core.List<$core.String> oauthScopes = [
|
||||
'',
|
||||
];
|
||||
|
||||
PublicTokensServiceClient(super.channel, {super.options, super.interceptors});
|
||||
|
||||
/// Recieve a JWT access token
|
||||
/// DO NOT implement it in the web app!
|
||||
$grpc.ResponseFuture<$1.Empty> authenticateWithToken(
|
||||
$0.AuthenticateWithTokenRequest request, {
|
||||
$grpc.CallOptions? options,
|
||||
}) {
|
||||
return $createUnaryCall(_$authenticateWithToken, request, options: options);
|
||||
}
|
||||
|
||||
// method descriptors
|
||||
|
||||
static final _$authenticateWithToken =
|
||||
$grpc.ClientMethod<$0.AuthenticateWithTokenRequest, $1.Empty>(
|
||||
'/tokens.v1.PublicTokensService/AuthenticateWithToken',
|
||||
($0.AuthenticateWithTokenRequest value) => value.writeToBuffer(),
|
||||
$1.Empty.fromBuffer);
|
||||
}
|
||||
|
||||
@$pb.GrpcServiceName('tokens.v1.PublicTokensService')
|
||||
abstract class PublicTokensServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'tokens.v1.PublicTokensService';
|
||||
|
||||
PublicTokensServiceBase() {
|
||||
$addMethod($grpc.ServiceMethod<$0.AuthenticateWithTokenRequest, $1.Empty>(
|
||||
'AuthenticateWithToken',
|
||||
authenticateWithToken_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) =>
|
||||
$0.AuthenticateWithTokenRequest.fromBuffer(value),
|
||||
($1.Empty value) => value.writeToBuffer()));
|
||||
}
|
||||
|
||||
$async.Future<$1.Empty> authenticateWithToken_Pre($grpc.ServiceCall $call,
|
||||
$async.Future<$0.AuthenticateWithTokenRequest> $request) async {
|
||||
return authenticateWithToken($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$1.Empty> authenticateWithToken(
|
||||
$grpc.ServiceCall call, $0.AuthenticateWithTokenRequest request);
|
||||
}
|
||||
493
lib/src/tokens/v1/tokens_v1.pbjson.dart
Normal file
493
lib/src/tokens/v1/tokens_v1.pbjson.dart
Normal file
@@ -0,0 +1,493 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from tokens/v1/tokens_v1.proto.
|
||||
|
||||
// @dart = 3.3
|
||||
|
||||
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
|
||||
// ignore_for_file: constant_identifier_names
|
||||
// ignore_for_file: curly_braces_in_flow_control_structures
|
||||
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
|
||||
// ignore_for_file: non_constant_identifier_names, prefer_relative_imports
|
||||
// ignore_for_file: unused_import
|
||||
|
||||
import 'dart:convert' as $convert;
|
||||
import 'dart:core' as $core;
|
||||
import 'dart:typed_data' as $typed_data;
|
||||
|
||||
@$core.Deprecated('Use tokenMetadataDescriptor instead')
|
||||
const TokenMetadata$json = {
|
||||
'1': 'TokenMetadata',
|
||||
'2': [
|
||||
{'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'},
|
||||
{
|
||||
'1': 'expires_at',
|
||||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.google.protobuf.Timestamp',
|
||||
'10': 'expiresAt'
|
||||
},
|
||||
{
|
||||
'1': 'last_used_at',
|
||||
'3': 3,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.google.protobuf.Timestamp',
|
||||
'10': 'lastUsedAt'
|
||||
},
|
||||
{
|
||||
'1': 'generated_at',
|
||||
'3': 4,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.google.protobuf.Timestamp',
|
||||
'10': 'generatedAt'
|
||||
},
|
||||
{
|
||||
'1': 'created_at',
|
||||
'3': 5,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.google.protobuf.Timestamp',
|
||||
'10': 'createdAt'
|
||||
},
|
||||
{
|
||||
'1': 'revoked_at',
|
||||
'3': 6,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.google.protobuf.Timestamp',
|
||||
'10': 'revokedAt'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `TokenMetadata`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List tokenMetadataDescriptor = $convert.base64Decode(
|
||||
'Cg1Ub2tlbk1ldGFkYXRhEhIKBG5hbWUYASABKAlSBG5hbWUSOQoKZXhwaXJlc19hdBgCIAEoCz'
|
||||
'IaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSCWV4cGlyZXNBdBI8CgxsYXN0X3VzZWRfYXQY'
|
||||
'AyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUgpsYXN0VXNlZEF0Ej0KDGdlbmVyYX'
|
||||
'RlZF9hdBgEIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSC2dlbmVyYXRlZEF0EjkK'
|
||||
'CmNyZWF0ZWRfYXQYBSABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUgljcmVhdGVkQX'
|
||||
'QSOQoKcmV2b2tlZF9hdBgGIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSCXJldm9r'
|
||||
'ZWRBdA==');
|
||||
|
||||
@$core.Deprecated('Use tokenUUIDDescriptor instead')
|
||||
const TokenUUID$json = {
|
||||
'1': 'TokenUUID',
|
||||
'2': [
|
||||
{'1': 'uuid', '3': 1, '4': 1, '5': 9, '10': 'uuid'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `TokenUUID`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List tokenUUIDDescriptor =
|
||||
$convert.base64Decode('CglUb2tlblVVSUQSEgoEdXVpZBgBIAEoCVIEdXVpZA==');
|
||||
|
||||
@$core.Deprecated('Use tokenValueDescriptor instead')
|
||||
const TokenValue$json = {
|
||||
'1': 'TokenValue',
|
||||
'2': [
|
||||
{'1': 'token', '3': 1, '4': 1, '5': 9, '10': 'token'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `TokenValue`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List tokenValueDescriptor =
|
||||
$convert.base64Decode('CgpUb2tlblZhbHVlEhQKBXRva2VuGAEgASgJUgV0b2tlbg==');
|
||||
|
||||
@$core.Deprecated('Use methodListDescriptor instead')
|
||||
const MethodList$json = {
|
||||
'1': 'MethodList',
|
||||
'2': [
|
||||
{'1': 'methods', '3': 1, '4': 3, '5': 9, '10': 'methods'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `MethodList`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List methodListDescriptor = $convert
|
||||
.base64Decode('CgpNZXRob2RMaXN0EhgKB21ldGhvZHMYASADKAlSB21ldGhvZHM=');
|
||||
|
||||
@$core.Deprecated('Use tokenPermissionsDescriptor instead')
|
||||
const TokenPermissions$json = {
|
||||
'1': 'TokenPermissions',
|
||||
'2': [
|
||||
{
|
||||
'1': 'permissions',
|
||||
'3': 1,
|
||||
'4': 3,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenPermissions.PermissionsEntry',
|
||||
'10': 'permissions'
|
||||
},
|
||||
],
|
||||
'3': [TokenPermissions_PermissionsEntry$json],
|
||||
};
|
||||
|
||||
@$core.Deprecated('Use tokenPermissionsDescriptor instead')
|
||||
const TokenPermissions_PermissionsEntry$json = {
|
||||
'1': 'PermissionsEntry',
|
||||
'2': [
|
||||
{'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'},
|
||||
{
|
||||
'1': 'value',
|
||||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.MethodList',
|
||||
'10': 'value'
|
||||
},
|
||||
],
|
||||
'7': {'7': true},
|
||||
};
|
||||
|
||||
/// Descriptor for `TokenPermissions`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List tokenPermissionsDescriptor = $convert.base64Decode(
|
||||
'ChBUb2tlblBlcm1pc3Npb25zEk4KC3Blcm1pc3Npb25zGAEgAygLMiwudG9rZW5zLnYxLlRva2'
|
||||
'VuUGVybWlzc2lvbnMuUGVybWlzc2lvbnNFbnRyeVILcGVybWlzc2lvbnMaVQoQUGVybWlzc2lv'
|
||||
'bnNFbnRyeRIQCgNrZXkYASABKAlSA2tleRIrCgV2YWx1ZRgCIAEoCzIVLnRva2Vucy52MS5NZX'
|
||||
'Rob2RMaXN0UgV2YWx1ZToCOAE=');
|
||||
|
||||
@$core.Deprecated('Use createTokenRequestDescriptor instead')
|
||||
const CreateTokenRequest$json = {
|
||||
'1': 'CreateTokenRequest',
|
||||
'2': [
|
||||
{
|
||||
'1': 'token_metadata',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenMetadata',
|
||||
'10': 'tokenMetadata'
|
||||
},
|
||||
{
|
||||
'1': 'token_permissions',
|
||||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenPermissions',
|
||||
'10': 'tokenPermissions'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `CreateTokenRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List createTokenRequestDescriptor = $convert.base64Decode(
|
||||
'ChJDcmVhdGVUb2tlblJlcXVlc3QSPwoOdG9rZW5fbWV0YWRhdGEYASABKAsyGC50b2tlbnMudj'
|
||||
'EuVG9rZW5NZXRhZGF0YVINdG9rZW5NZXRhZGF0YRJIChF0b2tlbl9wZXJtaXNzaW9ucxgCIAEo'
|
||||
'CzIbLnRva2Vucy52MS5Ub2tlblBlcm1pc3Npb25zUhB0b2tlblBlcm1pc3Npb25z');
|
||||
|
||||
@$core.Deprecated('Use createTokenResponseDescriptor instead')
|
||||
const CreateTokenResponse$json = {
|
||||
'1': 'CreateTokenResponse',
|
||||
'2': [
|
||||
{
|
||||
'1': 'token_uuid',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenUUID',
|
||||
'10': 'tokenUuid'
|
||||
},
|
||||
{
|
||||
'1': 'token_value',
|
||||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenValue',
|
||||
'10': 'tokenValue'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `CreateTokenResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List createTokenResponseDescriptor = $convert.base64Decode(
|
||||
'ChNDcmVhdGVUb2tlblJlc3BvbnNlEjMKCnRva2VuX3V1aWQYASABKAsyFC50b2tlbnMudjEuVG'
|
||||
'9rZW5VVUlEUgl0b2tlblV1aWQSNgoLdG9rZW5fdmFsdWUYAiABKAsyFS50b2tlbnMudjEuVG9r'
|
||||
'ZW5WYWx1ZVIKdG9rZW5WYWx1ZQ==');
|
||||
|
||||
@$core.Deprecated('Use updateTokenRequestDescriptor instead')
|
||||
const UpdateTokenRequest$json = {
|
||||
'1': 'UpdateTokenRequest',
|
||||
'2': [
|
||||
{
|
||||
'1': 'token_uuid',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenUUID',
|
||||
'10': 'tokenUuid'
|
||||
},
|
||||
{
|
||||
'1': 'token_metadata',
|
||||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenMetadata',
|
||||
'10': 'tokenMetadata'
|
||||
},
|
||||
{
|
||||
'1': 'token_permissions',
|
||||
'3': 3,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenPermissions',
|
||||
'10': 'tokenPermissions'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `UpdateTokenRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List updateTokenRequestDescriptor = $convert.base64Decode(
|
||||
'ChJVcGRhdGVUb2tlblJlcXVlc3QSMwoKdG9rZW5fdXVpZBgBIAEoCzIULnRva2Vucy52MS5Ub2'
|
||||
'tlblVVSURSCXRva2VuVXVpZBI/Cg50b2tlbl9tZXRhZGF0YRgCIAEoCzIYLnRva2Vucy52MS5U'
|
||||
'b2tlbk1ldGFkYXRhUg10b2tlbk1ldGFkYXRhEkgKEXRva2VuX3Blcm1pc3Npb25zGAMgASgLMh'
|
||||
'sudG9rZW5zLnYxLlRva2VuUGVybWlzc2lvbnNSEHRva2VuUGVybWlzc2lvbnM=');
|
||||
|
||||
@$core.Deprecated('Use updateTokenResponseDescriptor instead')
|
||||
const UpdateTokenResponse$json = {
|
||||
'1': 'UpdateTokenResponse',
|
||||
'2': [
|
||||
{
|
||||
'1': 'token_uuid',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenUUID',
|
||||
'10': 'tokenUuid'
|
||||
},
|
||||
{
|
||||
'1': 'token_metadata',
|
||||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenMetadata',
|
||||
'10': 'tokenMetadata'
|
||||
},
|
||||
{
|
||||
'1': 'token_permissions',
|
||||
'3': 3,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenPermissions',
|
||||
'10': 'tokenPermissions'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `UpdateTokenResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List updateTokenResponseDescriptor = $convert.base64Decode(
|
||||
'ChNVcGRhdGVUb2tlblJlc3BvbnNlEjMKCnRva2VuX3V1aWQYASABKAsyFC50b2tlbnMudjEuVG'
|
||||
'9rZW5VVUlEUgl0b2tlblV1aWQSPwoOdG9rZW5fbWV0YWRhdGEYAiABKAsyGC50b2tlbnMudjEu'
|
||||
'VG9rZW5NZXRhZGF0YVINdG9rZW5NZXRhZGF0YRJIChF0b2tlbl9wZXJtaXNzaW9ucxgDIAEoCz'
|
||||
'IbLnRva2Vucy52MS5Ub2tlblBlcm1pc3Npb25zUhB0b2tlblBlcm1pc3Npb25z');
|
||||
|
||||
@$core.Deprecated('Use forceTokenExpirationRequestDescriptor instead')
|
||||
const ForceTokenExpirationRequest$json = {
|
||||
'1': 'ForceTokenExpirationRequest',
|
||||
'2': [
|
||||
{
|
||||
'1': 'token_uuid',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenUUID',
|
||||
'10': 'tokenUuid'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `ForceTokenExpirationRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List forceTokenExpirationRequestDescriptor =
|
||||
$convert.base64Decode(
|
||||
'ChtGb3JjZVRva2VuRXhwaXJhdGlvblJlcXVlc3QSMwoKdG9rZW5fdXVpZBgBIAEoCzIULnRva2'
|
||||
'Vucy52MS5Ub2tlblVVSURSCXRva2VuVXVpZA==');
|
||||
|
||||
@$core.Deprecated('Use regenerateTokenRequestDescriptor instead')
|
||||
const RegenerateTokenRequest$json = {
|
||||
'1': 'RegenerateTokenRequest',
|
||||
'2': [
|
||||
{
|
||||
'1': 'token_uuid',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenUUID',
|
||||
'10': 'tokenUuid'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `RegenerateTokenRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List regenerateTokenRequestDescriptor =
|
||||
$convert.base64Decode(
|
||||
'ChZSZWdlbmVyYXRlVG9rZW5SZXF1ZXN0EjMKCnRva2VuX3V1aWQYASABKAsyFC50b2tlbnMudj'
|
||||
'EuVG9rZW5VVUlEUgl0b2tlblV1aWQ=');
|
||||
|
||||
@$core.Deprecated('Use regenerateTokenResponseDescriptor instead')
|
||||
const RegenerateTokenResponse$json = {
|
||||
'1': 'RegenerateTokenResponse',
|
||||
'2': [
|
||||
{
|
||||
'1': 'token_uuid',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenUUID',
|
||||
'10': 'tokenUuid'
|
||||
},
|
||||
{
|
||||
'1': 'token_value',
|
||||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenValue',
|
||||
'10': 'tokenValue'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `RegenerateTokenResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List regenerateTokenResponseDescriptor = $convert.base64Decode(
|
||||
'ChdSZWdlbmVyYXRlVG9rZW5SZXNwb25zZRIzCgp0b2tlbl91dWlkGAEgASgLMhQudG9rZW5zLn'
|
||||
'YxLlRva2VuVVVJRFIJdG9rZW5VdWlkEjYKC3Rva2VuX3ZhbHVlGAIgASgLMhUudG9rZW5zLnYx'
|
||||
'LlRva2VuVmFsdWVSCnRva2VuVmFsdWU=');
|
||||
|
||||
@$core.Deprecated('Use getTokenRequestDescriptor instead')
|
||||
const GetTokenRequest$json = {
|
||||
'1': 'GetTokenRequest',
|
||||
'2': [
|
||||
{
|
||||
'1': 'token_uuid',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenUUID',
|
||||
'10': 'tokenUuid'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `GetTokenRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List getTokenRequestDescriptor = $convert.base64Decode(
|
||||
'Cg9HZXRUb2tlblJlcXVlc3QSMwoKdG9rZW5fdXVpZBgBIAEoCzIULnRva2Vucy52MS5Ub2tlbl'
|
||||
'VVSURSCXRva2VuVXVpZA==');
|
||||
|
||||
@$core.Deprecated('Use getTokenResponseDescriptor instead')
|
||||
const GetTokenResponse$json = {
|
||||
'1': 'GetTokenResponse',
|
||||
'2': [
|
||||
{
|
||||
'1': 'token_uuid',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenUUID',
|
||||
'10': 'tokenUuid'
|
||||
},
|
||||
{
|
||||
'1': 'token_metadata',
|
||||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenMetadata',
|
||||
'10': 'tokenMetadata'
|
||||
},
|
||||
{
|
||||
'1': 'token_permissions',
|
||||
'3': 3,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenPermissions',
|
||||
'10': 'tokenPermissions'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `GetTokenResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List getTokenResponseDescriptor = $convert.base64Decode(
|
||||
'ChBHZXRUb2tlblJlc3BvbnNlEjMKCnRva2VuX3V1aWQYASABKAsyFC50b2tlbnMudjEuVG9rZW'
|
||||
'5VVUlEUgl0b2tlblV1aWQSPwoOdG9rZW5fbWV0YWRhdGEYAiABKAsyGC50b2tlbnMudjEuVG9r'
|
||||
'ZW5NZXRhZGF0YVINdG9rZW5NZXRhZGF0YRJIChF0b2tlbl9wZXJtaXNzaW9ucxgDIAEoCzIbLn'
|
||||
'Rva2Vucy52MS5Ub2tlblBlcm1pc3Npb25zUhB0b2tlblBlcm1pc3Npb25z');
|
||||
|
||||
@$core.Deprecated('Use listTokensResponseDescriptor instead')
|
||||
const ListTokensResponse$json = {
|
||||
'1': 'ListTokensResponse',
|
||||
'2': [
|
||||
{
|
||||
'1': 'token_uuid',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenUUID',
|
||||
'10': 'tokenUuid'
|
||||
},
|
||||
{
|
||||
'1': 'token_metadata',
|
||||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenMetadata',
|
||||
'10': 'tokenMetadata'
|
||||
},
|
||||
{
|
||||
'1': 'token_permissions',
|
||||
'3': 3,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenPermissions',
|
||||
'10': 'tokenPermissions'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `ListTokensResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List listTokensResponseDescriptor = $convert.base64Decode(
|
||||
'ChJMaXN0VG9rZW5zUmVzcG9uc2USMwoKdG9rZW5fdXVpZBgBIAEoCzIULnRva2Vucy52MS5Ub2'
|
||||
'tlblVVSURSCXRva2VuVXVpZBI/Cg50b2tlbl9tZXRhZGF0YRgCIAEoCzIYLnRva2Vucy52MS5U'
|
||||
'b2tlbk1ldGFkYXRhUg10b2tlbk1ldGFkYXRhEkgKEXRva2VuX3Blcm1pc3Npb25zGAMgASgLMh'
|
||||
'sudG9rZW5zLnYxLlRva2VuUGVybWlzc2lvbnNSEHRva2VuUGVybWlzc2lvbnM=');
|
||||
|
||||
@$core.Deprecated('Use listPermissionsResponseDescriptor instead')
|
||||
const ListPermissionsResponse$json = {
|
||||
'1': 'ListPermissionsResponse',
|
||||
'2': [
|
||||
{
|
||||
'1': 'permissions',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenPermissions',
|
||||
'10': 'permissions'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `ListPermissionsResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List listPermissionsResponseDescriptor =
|
||||
$convert.base64Decode(
|
||||
'ChdMaXN0UGVybWlzc2lvbnNSZXNwb25zZRI9CgtwZXJtaXNzaW9ucxgBIAEoCzIbLnRva2Vucy'
|
||||
'52MS5Ub2tlblBlcm1pc3Npb25zUgtwZXJtaXNzaW9ucw==');
|
||||
|
||||
@$core.Deprecated('Use authenticateWithTokenRequestDescriptor instead')
|
||||
const AuthenticateWithTokenRequest$json = {
|
||||
'1': 'AuthenticateWithTokenRequest',
|
||||
'2': [
|
||||
{
|
||||
'1': 'token_value',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 11,
|
||||
'6': '.tokens.v1.TokenValue',
|
||||
'10': 'tokenValue'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `AuthenticateWithTokenRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List authenticateWithTokenRequestDescriptor =
|
||||
$convert.base64Decode(
|
||||
'ChxBdXRoZW50aWNhdGVXaXRoVG9rZW5SZXF1ZXN0EjYKC3Rva2VuX3ZhbHVlGAEgASgLMhUudG'
|
||||
'9rZW5zLnYxLlRva2VuVmFsdWVSCnRva2VuVmFsdWU=');
|
||||
3
renovate.json
Normal file
3
renovate.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
|
||||
}
|
||||
Reference in New Issue
Block a user