133 lines
5.3 KiB
Dart
133 lines
5.3 KiB
Dart
//
|
|
// Generated code. Do not modify.
|
|
// source: email/email_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;
|
|
|
|
class RequestValidation extends $pb.GeneratedMessage {
|
|
factory RequestValidation({
|
|
$core.String? userId,
|
|
}) {
|
|
final $result = create();
|
|
if (userId != null) {
|
|
$result.userId = userId;
|
|
}
|
|
return $result;
|
|
}
|
|
RequestValidation._() : super();
|
|
factory RequestValidation.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory RequestValidation.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RequestValidation', package: const $pb.PackageName(_omitMessageNames ? '' : 'email'), createEmptyInstance: create)
|
|
..aOS(1, _omitFieldNames ? '' : 'userId')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated(
|
|
'Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
|
'Will be removed in next major version')
|
|
RequestValidation clone() => RequestValidation()..mergeFromMessage(this);
|
|
@$core.Deprecated(
|
|
'Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
|
'Will be removed in next major version')
|
|
RequestValidation copyWith(void Function(RequestValidation) updates) => super.copyWith((message) => updates(message as RequestValidation)) as RequestValidation;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static RequestValidation create() => RequestValidation._();
|
|
RequestValidation createEmptyInstance() => create();
|
|
static $pb.PbList<RequestValidation> createRepeated() => $pb.PbList<RequestValidation>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static RequestValidation getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<RequestValidation>(create);
|
|
static RequestValidation? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$core.String get userId => $_getSZ(0);
|
|
@$pb.TagNumber(1)
|
|
set userId($core.String v) { $_setString(0, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasUserId() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearUserId() => clearField(1);
|
|
}
|
|
|
|
class ConfirmValidation extends $pb.GeneratedMessage {
|
|
factory ConfirmValidation({
|
|
$core.String? userId,
|
|
$core.int? code,
|
|
}) {
|
|
final $result = create();
|
|
if (userId != null) {
|
|
$result.userId = userId;
|
|
}
|
|
if (code != null) {
|
|
$result.code = code;
|
|
}
|
|
return $result;
|
|
}
|
|
ConfirmValidation._() : super();
|
|
factory ConfirmValidation.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
|
factory ConfirmValidation.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ConfirmValidation', package: const $pb.PackageName(_omitMessageNames ? '' : 'email'), createEmptyInstance: create)
|
|
..aOS(1, _omitFieldNames ? '' : 'userId')
|
|
..a<$core.int>(2, _omitFieldNames ? '' : 'code', $pb.PbFieldType.O3)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated(
|
|
'Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
|
|
'Will be removed in next major version')
|
|
ConfirmValidation clone() => ConfirmValidation()..mergeFromMessage(this);
|
|
@$core.Deprecated(
|
|
'Using this can add significant overhead to your binary. '
|
|
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
|
|
'Will be removed in next major version')
|
|
ConfirmValidation copyWith(void Function(ConfirmValidation) updates) => super.copyWith((message) => updates(message as ConfirmValidation)) as ConfirmValidation;
|
|
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static ConfirmValidation create() => ConfirmValidation._();
|
|
ConfirmValidation createEmptyInstance() => create();
|
|
static $pb.PbList<ConfirmValidation> createRepeated() => $pb.PbList<ConfirmValidation>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static ConfirmValidation getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ConfirmValidation>(create);
|
|
static ConfirmValidation? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$core.String get userId => $_getSZ(0);
|
|
@$pb.TagNumber(1)
|
|
set userId($core.String v) { $_setString(0, v); }
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasUserId() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearUserId() => clearField(1);
|
|
|
|
@$pb.TagNumber(2)
|
|
$core.int get code => $_getIZ(1);
|
|
@$pb.TagNumber(2)
|
|
set code($core.int v) { $_setSignedInt32(1, v); }
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasCode() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearCode() => clearField(2);
|
|
}
|
|
|
|
|
|
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
|
|
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
|