// // Generated code. Do not modify. // source: rpc_create_account_info.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:fixnum/fixnum.dart' as $fixnum; import 'package:protobuf/protobuf.dart' as $pb; import 'account_info.pb.dart' as $32; import 'google/protobuf/timestamp.pb.dart' as $30; class CreateAccountInfoRequest extends $pb.GeneratedMessage { factory CreateAccountInfoRequest({ $fixnum.Int64? accountId, $core.String? firstname, $core.String? lastname, $core.String? street, $core.String? city, $core.String? zip, $core.String? country, $core.String? phone, $30.Timestamp? birthday, $core.bool? privacyAccepted, }) { final $result = create(); if (accountId != null) { $result.accountId = accountId; } if (firstname != null) { $result.firstname = firstname; } if (lastname != null) { $result.lastname = lastname; } if (street != null) { $result.street = street; } if (city != null) { $result.city = city; } if (zip != null) { $result.zip = zip; } if (country != null) { $result.country = country; } if (phone != null) { $result.phone = phone; } if (birthday != null) { $result.birthday = birthday; } if (privacyAccepted != null) { $result.privacyAccepted = privacyAccepted; } return $result; } CreateAccountInfoRequest._() : super(); factory CreateAccountInfoRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory CreateAccountInfoRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateAccountInfoRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'pb'), createEmptyInstance: create) ..a<$fixnum.Int64>(1, _omitFieldNames ? '' : 'accountId', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) ..aOS(3, _omitFieldNames ? '' : 'firstname') ..aOS(4, _omitFieldNames ? '' : 'lastname') ..aOS(5, _omitFieldNames ? '' : 'street') ..aOS(6, _omitFieldNames ? '' : 'city') ..aOS(7, _omitFieldNames ? '' : 'zip') ..aOS(8, _omitFieldNames ? '' : 'country') ..aOS(9, _omitFieldNames ? '' : 'phone') ..aOM<$30.Timestamp>(10, _omitFieldNames ? '' : 'birthday', subBuilder: $30.Timestamp.create) ..aOB(11, _omitFieldNames ? '' : 'privacyAccepted') ..hasRequiredFields = false ; @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 'Will be removed in next major version') CreateAccountInfoRequest clone() => CreateAccountInfoRequest()..mergeFromMessage(this); @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') CreateAccountInfoRequest copyWith(void Function(CreateAccountInfoRequest) updates) => super.copyWith((message) => updates(message as CreateAccountInfoRequest)) as CreateAccountInfoRequest; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static CreateAccountInfoRequest create() => CreateAccountInfoRequest._(); CreateAccountInfoRequest createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') static CreateAccountInfoRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static CreateAccountInfoRequest? _defaultInstance; @$pb.TagNumber(1) $fixnum.Int64 get accountId => $_getI64(0); @$pb.TagNumber(1) set accountId($fixnum.Int64 v) { $_setInt64(0, v); } @$pb.TagNumber(1) $core.bool hasAccountId() => $_has(0); @$pb.TagNumber(1) void clearAccountId() => clearField(1); @$pb.TagNumber(3) $core.String get firstname => $_getSZ(1); @$pb.TagNumber(3) set firstname($core.String v) { $_setString(1, v); } @$pb.TagNumber(3) $core.bool hasFirstname() => $_has(1); @$pb.TagNumber(3) void clearFirstname() => clearField(3); @$pb.TagNumber(4) $core.String get lastname => $_getSZ(2); @$pb.TagNumber(4) set lastname($core.String v) { $_setString(2, v); } @$pb.TagNumber(4) $core.bool hasLastname() => $_has(2); @$pb.TagNumber(4) void clearLastname() => clearField(4); @$pb.TagNumber(5) $core.String get street => $_getSZ(3); @$pb.TagNumber(5) set street($core.String v) { $_setString(3, v); } @$pb.TagNumber(5) $core.bool hasStreet() => $_has(3); @$pb.TagNumber(5) void clearStreet() => clearField(5); @$pb.TagNumber(6) $core.String get city => $_getSZ(4); @$pb.TagNumber(6) set city($core.String v) { $_setString(4, v); } @$pb.TagNumber(6) $core.bool hasCity() => $_has(4); @$pb.TagNumber(6) void clearCity() => clearField(6); @$pb.TagNumber(7) $core.String get zip => $_getSZ(5); @$pb.TagNumber(7) set zip($core.String v) { $_setString(5, v); } @$pb.TagNumber(7) $core.bool hasZip() => $_has(5); @$pb.TagNumber(7) void clearZip() => clearField(7); @$pb.TagNumber(8) $core.String get country => $_getSZ(6); @$pb.TagNumber(8) set country($core.String v) { $_setString(6, v); } @$pb.TagNumber(8) $core.bool hasCountry() => $_has(6); @$pb.TagNumber(8) void clearCountry() => clearField(8); @$pb.TagNumber(9) $core.String get phone => $_getSZ(7); @$pb.TagNumber(9) set phone($core.String v) { $_setString(7, v); } @$pb.TagNumber(9) $core.bool hasPhone() => $_has(7); @$pb.TagNumber(9) void clearPhone() => clearField(9); @$pb.TagNumber(10) $30.Timestamp get birthday => $_getN(8); @$pb.TagNumber(10) set birthday($30.Timestamp v) { setField(10, v); } @$pb.TagNumber(10) $core.bool hasBirthday() => $_has(8); @$pb.TagNumber(10) void clearBirthday() => clearField(10); @$pb.TagNumber(10) $30.Timestamp ensureBirthday() => $_ensure(8); @$pb.TagNumber(11) $core.bool get privacyAccepted => $_getBF(9); @$pb.TagNumber(11) set privacyAccepted($core.bool v) { $_setBool(9, v); } @$pb.TagNumber(11) $core.bool hasPrivacyAccepted() => $_has(9); @$pb.TagNumber(11) void clearPrivacyAccepted() => clearField(11); } class CreateAccountInfoResponse extends $pb.GeneratedMessage { factory CreateAccountInfoResponse({ $32.AccountInfo? accountInfo, }) { final $result = create(); if (accountInfo != null) { $result.accountInfo = accountInfo; } return $result; } CreateAccountInfoResponse._() : super(); factory CreateAccountInfoResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory CreateAccountInfoResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateAccountInfoResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'pb'), createEmptyInstance: create) ..aOM<$32.AccountInfo>(1, _omitFieldNames ? '' : 'accountInfo', subBuilder: $32.AccountInfo.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') CreateAccountInfoResponse clone() => CreateAccountInfoResponse()..mergeFromMessage(this); @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') CreateAccountInfoResponse copyWith(void Function(CreateAccountInfoResponse) updates) => super.copyWith((message) => updates(message as CreateAccountInfoResponse)) as CreateAccountInfoResponse; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static CreateAccountInfoResponse create() => CreateAccountInfoResponse._(); CreateAccountInfoResponse createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') static CreateAccountInfoResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static CreateAccountInfoResponse? _defaultInstance; @$pb.TagNumber(1) $32.AccountInfo get accountInfo => $_getN(0); @$pb.TagNumber(1) set accountInfo($32.AccountInfo v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasAccountInfo() => $_has(0); @$pb.TagNumber(1) void clearAccountInfo() => clearField(1); @$pb.TagNumber(1) $32.AccountInfo ensureAccountInfo() => $_ensure(0); } const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');