403 lines
16 KiB
Dart
403 lines
16 KiB
Dart
//
|
|
// Generated code. Do not modify.
|
|
// source: accounts/accounts_v1.proto
|
|
//
|
|
// @dart = 2.12
|
|
|
|
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
|
|
// ignore_for_file: constant_identifier_names, library_prefixes
|
|
// ignore_for_file: non_constant_identifier_names, prefer_final_fields
|
|
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
|
|
|
|
import 'dart:core' as $core;
|
|
|
|
import 'package:protobuf/protobuf.dart' as $pb;
|
|
|
|
/// *
|
|
/// Represents a environment UUID only
|
|
class AccountId extends $pb.GeneratedMessage {
|
|
factory AccountId({
|
|
$core.String? id,
|
|
}) {
|
|
final $result = create();
|
|
if (id != null) {
|
|
$result.id = id;
|
|
}
|
|
return $result;
|
|
}
|
|
AccountId._() : super();
|
|
factory AccountId.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory AccountId.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AccountId', package: const $pb.PackageName(_omitMessageNames ? '' : 'accounts'), createEmptyInstance: create)
|
|
..aOS(1, _omitFieldNames ? '' : 'id')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated(
|
|
'Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
|
'Will be removed in next major version')
|
|
AccountId clone() => AccountId()..mergeFromMessage(this);
|
|
@$core.Deprecated(
|
|
'Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
|
'Will be removed in next major version')
|
|
AccountId copyWith(void Function(AccountId) updates) => super.copyWith((message) => updates(message as AccountId)) as AccountId;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static AccountId create() => AccountId._();
|
|
AccountId createEmptyInstance() => create();
|
|
static $pb.PbList<AccountId> createRepeated() => $pb.PbList<AccountId>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static AccountId getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AccountId>(create);
|
|
static AccountId? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$core.String get id => $_getSZ(0);
|
|
@$pb.TagNumber(1)
|
|
set id($core.String v) { $_setString(0, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasId() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearId() => clearField(1);
|
|
}
|
|
|
|
class AccountPassword extends $pb.GeneratedMessage {
|
|
factory AccountPassword({
|
|
$core.String? password,
|
|
}) {
|
|
final $result = create();
|
|
if (password != null) {
|
|
$result.password = password;
|
|
}
|
|
return $result;
|
|
}
|
|
AccountPassword._() : super();
|
|
factory AccountPassword.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory AccountPassword.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AccountPassword', package: const $pb.PackageName(_omitMessageNames ? '' : 'accounts'), createEmptyInstance: create)
|
|
..aOS(1, _omitFieldNames ? '' : 'password')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated(
|
|
'Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
|
'Will be removed in next major version')
|
|
AccountPassword clone() => AccountPassword()..mergeFromMessage(this);
|
|
@$core.Deprecated(
|
|
'Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
|
'Will be removed in next major version')
|
|
AccountPassword copyWith(void Function(AccountPassword) updates) => super.copyWith((message) => updates(message as AccountPassword)) as AccountPassword;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static AccountPassword create() => AccountPassword._();
|
|
AccountPassword createEmptyInstance() => create();
|
|
static $pb.PbList<AccountPassword> createRepeated() => $pb.PbList<AccountPassword>();
|
|
@$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 v) { $_setString(0, v); }
|
|
@$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._() : super();
|
|
factory AccountData.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory AccountData.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AccountData', package: const $pb.PackageName(_omitMessageNames ? '' : 'accounts'), createEmptyInstance: create)
|
|
..aOS(1, _omitFieldNames ? '' : 'name')
|
|
..aOS(2, _omitFieldNames ? '' : 'email')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated(
|
|
'Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
|
'Will be removed in next major version')
|
|
AccountData clone() => AccountData()..mergeFromMessage(this);
|
|
@$core.Deprecated(
|
|
'Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
|
'Will be removed in next major version')
|
|
AccountData copyWith(void Function(AccountData) updates) => super.copyWith((message) => updates(message as AccountData)) as AccountData;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static AccountData create() => AccountData._();
|
|
AccountData createEmptyInstance() => create();
|
|
static $pb.PbList<AccountData> createRepeated() => $pb.PbList<AccountData>();
|
|
@$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 v) { $_setString(0, v); }
|
|
@$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 v) { $_setString(1, v); }
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasEmail() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearEmail() => clearField(2);
|
|
}
|
|
|
|
class AccountWithPassword extends $pb.GeneratedMessage {
|
|
factory AccountWithPassword({
|
|
AccountData? data,
|
|
AccountPassword? password,
|
|
}) {
|
|
final $result = create();
|
|
if (data != null) {
|
|
$result.data = data;
|
|
}
|
|
if (password != null) {
|
|
$result.password = password;
|
|
}
|
|
return $result;
|
|
}
|
|
AccountWithPassword._() : super();
|
|
factory AccountWithPassword.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory AccountWithPassword.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AccountWithPassword', package: const $pb.PackageName(_omitMessageNames ? '' : 'accounts'), createEmptyInstance: create)
|
|
..aOM<AccountData>(1, _omitFieldNames ? '' : 'data', subBuilder: AccountData.create)
|
|
..aOM<AccountPassword>(2, _omitFieldNames ? '' : 'password', subBuilder: AccountPassword.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated(
|
|
'Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
|
'Will be removed in next major version')
|
|
AccountWithPassword clone() => AccountWithPassword()..mergeFromMessage(this);
|
|
@$core.Deprecated(
|
|
'Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
|
'Will be removed in next major version')
|
|
AccountWithPassword copyWith(void Function(AccountWithPassword) updates) => super.copyWith((message) => updates(message as AccountWithPassword)) as AccountWithPassword;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static AccountWithPassword create() => AccountWithPassword._();
|
|
AccountWithPassword createEmptyInstance() => create();
|
|
static $pb.PbList<AccountWithPassword> createRepeated() => $pb.PbList<AccountWithPassword>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static AccountWithPassword getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AccountWithPassword>(create);
|
|
static AccountWithPassword? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
AccountData get data => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set data(AccountData v) { setField(1, v); }
|
|
@$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 v) { setField(2, v); }
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasPassword() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearPassword() => clearField(2);
|
|
@$pb.TagNumber(2)
|
|
AccountPassword ensurePassword() => $_ensure(1);
|
|
}
|
|
|
|
class AccountFull extends $pb.GeneratedMessage {
|
|
factory AccountFull({
|
|
AccountId? id,
|
|
AccountData? data,
|
|
}) {
|
|
final $result = create();
|
|
if (id != null) {
|
|
$result.id = id;
|
|
}
|
|
if (data != null) {
|
|
$result.data = data;
|
|
}
|
|
return $result;
|
|
}
|
|
AccountFull._() : super();
|
|
factory AccountFull.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory AccountFull.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AccountFull', package: const $pb.PackageName(_omitMessageNames ? '' : 'accounts'), createEmptyInstance: create)
|
|
..aOM<AccountId>(1, _omitFieldNames ? '' : 'id', subBuilder: AccountId.create)
|
|
..aOM<AccountData>(2, _omitFieldNames ? '' : 'data', subBuilder: AccountData.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated(
|
|
'Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
|
'Will be removed in next major version')
|
|
AccountFull clone() => AccountFull()..mergeFromMessage(this);
|
|
@$core.Deprecated(
|
|
'Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
|
'Will be removed in next major version')
|
|
AccountFull copyWith(void Function(AccountFull) updates) => super.copyWith((message) => updates(message as AccountFull)) as AccountFull;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static AccountFull create() => AccountFull._();
|
|
AccountFull createEmptyInstance() => create();
|
|
static $pb.PbList<AccountFull> createRepeated() => $pb.PbList<AccountFull>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static AccountFull getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AccountFull>(create);
|
|
static AccountFull? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
AccountId get id => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set id(AccountId v) { setField(1, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasId() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearId() => clearField(1);
|
|
@$pb.TagNumber(1)
|
|
AccountId ensureId() => $_ensure(0);
|
|
|
|
@$pb.TagNumber(2)
|
|
AccountData get data => $_getN(1);
|
|
@$pb.TagNumber(2)
|
|
set data(AccountData v) { setField(2, v); }
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasData() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearData() => clearField(2);
|
|
@$pb.TagNumber(2)
|
|
AccountData ensureData() => $_ensure(1);
|
|
}
|
|
|
|
class AccountFullWithToken extends $pb.GeneratedMessage {
|
|
factory AccountFullWithToken({
|
|
AccountId? id,
|
|
AccountData? data,
|
|
$core.String? token,
|
|
}) {
|
|
final $result = create();
|
|
if (id != null) {
|
|
$result.id = id;
|
|
}
|
|
if (data != null) {
|
|
$result.data = data;
|
|
}
|
|
if (token != null) {
|
|
$result.token = token;
|
|
}
|
|
return $result;
|
|
}
|
|
AccountFullWithToken._() : super();
|
|
factory AccountFullWithToken.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory AccountFullWithToken.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AccountFullWithToken', package: const $pb.PackageName(_omitMessageNames ? '' : 'accounts'), createEmptyInstance: create)
|
|
..aOM<AccountId>(1, _omitFieldNames ? '' : 'id', subBuilder: AccountId.create)
|
|
..aOM<AccountData>(2, _omitFieldNames ? '' : 'data', subBuilder: AccountData.create)
|
|
..aOS(3, _omitFieldNames ? '' : 'token')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated(
|
|
'Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
|
'Will be removed in next major version')
|
|
AccountFullWithToken clone() => AccountFullWithToken()..mergeFromMessage(this);
|
|
@$core.Deprecated(
|
|
'Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
|
'Will be removed in next major version')
|
|
AccountFullWithToken copyWith(void Function(AccountFullWithToken) updates) => super.copyWith((message) => updates(message as AccountFullWithToken)) as AccountFullWithToken;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static AccountFullWithToken create() => AccountFullWithToken._();
|
|
AccountFullWithToken createEmptyInstance() => create();
|
|
static $pb.PbList<AccountFullWithToken> createRepeated() => $pb.PbList<AccountFullWithToken>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static AccountFullWithToken getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AccountFullWithToken>(create);
|
|
static AccountFullWithToken? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
AccountId get id => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set id(AccountId v) { setField(1, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasId() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearId() => clearField(1);
|
|
@$pb.TagNumber(1)
|
|
AccountId ensureId() => $_ensure(0);
|
|
|
|
@$pb.TagNumber(2)
|
|
AccountData get data => $_getN(1);
|
|
@$pb.TagNumber(2)
|
|
set data(AccountData v) { setField(2, v); }
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasData() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearData() => clearField(2);
|
|
@$pb.TagNumber(2)
|
|
AccountData ensureData() => $_ensure(1);
|
|
|
|
@$pb.TagNumber(3)
|
|
$core.String get token => $_getSZ(2);
|
|
@$pb.TagNumber(3)
|
|
set token($core.String v) { $_setString(2, v); }
|
|
@$pb.TagNumber(3)
|
|
$core.bool hasToken() => $_has(2);
|
|
@$pb.TagNumber(3)
|
|
void clearToken() => clearField(3);
|
|
}
|
|
|
|
|
|
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
|
|
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
|