You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -2288,6 +2288,7 @@ enum StringRules_WellKnown {
|
||||
tzData,
|
||||
countryCodeIso3166,
|
||||
languageIso639,
|
||||
countryCodeIso3166Alpha2,
|
||||
notSet
|
||||
}
|
||||
|
||||
@@ -2326,6 +2327,7 @@ class StringRules extends $pb.GeneratedMessage {
|
||||
$core.bool? ignoreEmpty,
|
||||
$core.bool? countryCodeIso3166,
|
||||
$core.bool? languageIso639,
|
||||
$core.bool? countryCodeIso3166Alpha2,
|
||||
}) {
|
||||
final result = create();
|
||||
if (const_1 != null) result.const_1 = const_1;
|
||||
@@ -2360,6 +2362,7 @@ class StringRules extends $pb.GeneratedMessage {
|
||||
if (ignoreEmpty != null) result.ignoreEmpty = ignoreEmpty;
|
||||
if (countryCodeIso3166 != null) result.countryCodeIso3166 = countryCodeIso3166;
|
||||
if (languageIso639 != null) result.languageIso639 = languageIso639;
|
||||
if (countryCodeIso3166Alpha2 != null) result.countryCodeIso3166Alpha2 = countryCodeIso3166Alpha2;
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -2384,10 +2387,11 @@ class StringRules extends $pb.GeneratedMessage {
|
||||
28 : StringRules_WellKnown.tzData,
|
||||
31 : StringRules_WellKnown.countryCodeIso3166,
|
||||
32 : StringRules_WellKnown.languageIso639,
|
||||
33 : StringRules_WellKnown.countryCodeIso3166Alpha2,
|
||||
0 : StringRules_WellKnown.notSet
|
||||
};
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StringRules', package: const $pb.PackageName(_omitMessageNames ? '' : 'validate'), createEmptyInstance: create)
|
||||
..oo(0, [12, 13, 14, 15, 16, 17, 18, 21, 22, 24, 26, 27, 28, 31, 32])
|
||||
..oo(0, [12, 13, 14, 15, 16, 17, 18, 21, 22, 24, 26, 27, 28, 31, 32, 33])
|
||||
..aOS(1, _omitFieldNames ? '' : 'const')
|
||||
..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'minLen', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO)
|
||||
..a<$fixnum.Int64>(3, _omitFieldNames ? '' : 'maxLen', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO)
|
||||
@@ -2420,6 +2424,7 @@ class StringRules extends $pb.GeneratedMessage {
|
||||
..aOB(30, _omitFieldNames ? '' : 'ignoreEmpty')
|
||||
..aOB(31, _omitFieldNames ? '' : 'countryCodeIso3166', protoName: 'countryCodeIso3166')
|
||||
..aOB(32, _omitFieldNames ? '' : 'languageIso639', protoName: 'languageIso639')
|
||||
..aOB(33, _omitFieldNames ? '' : 'countryCodeIso3166Alpha2', protoName: 'countryCodeIso3166Alpha2')
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@@ -2787,6 +2792,17 @@ class StringRules extends $pb.GeneratedMessage {
|
||||
$core.bool hasLanguageIso639() => $_has(31);
|
||||
@$pb.TagNumber(32)
|
||||
void clearLanguageIso639() => $_clearField(32);
|
||||
|
||||
/// countryCodeIso3166Alpha2 specifes that the field must be either a valid alpha-2 country code as
|
||||
/// defined by ISO 3166
|
||||
@$pb.TagNumber(33)
|
||||
$core.bool get countryCodeIso3166Alpha2 => $_getBF(32);
|
||||
@$pb.TagNumber(33)
|
||||
set countryCodeIso3166Alpha2($core.bool value) => $_setBool(32, value);
|
||||
@$pb.TagNumber(33)
|
||||
$core.bool hasCountryCodeIso3166Alpha2() => $_has(32);
|
||||
@$pb.TagNumber(33)
|
||||
void clearCountryCodeIso3166Alpha2() => $_clearField(33);
|
||||
}
|
||||
|
||||
enum BytesRules_WellKnown {
|
||||
|
||||
Reference in New Issue
Block a user