// // Generated code. Do not modify. // source: validate.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 'google/protobuf/duration.pb.dart' as $13; import 'google/protobuf/timestamp.pb.dart' as $14; import 'validate.pbenum.dart'; export 'validate.pbenum.dart'; enum FieldRules_Type { float, double_2, int32, int64, uint32, uint64, sint32, sint64, fixed32, fixed64, sfixed32, sfixed64, bool_13, string, bytes, enum_16, repeated, map, any, duration, timestamp, notSet } /// FieldRules encapsulates the rules for each type of field. Depending on the /// field, the correct set should be used to ensure proper validations. class FieldRules extends $pb.GeneratedMessage { factory FieldRules({ FloatRules? float, DoubleRules? double_2, Int32Rules? int32, Int64Rules? int64, UInt32Rules? uint32, UInt64Rules? uint64, SInt32Rules? sint32, SInt64Rules? sint64, Fixed32Rules? fixed32, Fixed64Rules? fixed64, SFixed32Rules? sfixed32, SFixed64Rules? sfixed64, BoolRules? bool_13, StringRules? string, BytesRules? bytes, EnumRules? enum_16, MessageRules? message, RepeatedRules? repeated, MapRules? map, AnyRules? any, DurationRules? duration, TimestampRules? timestamp, }) { final $result = create(); if (float != null) { $result.float = float; } if (double_2 != null) { $result.double_2 = double_2; } if (int32 != null) { $result.int32 = int32; } if (int64 != null) { $result.int64 = int64; } if (uint32 != null) { $result.uint32 = uint32; } if (uint64 != null) { $result.uint64 = uint64; } if (sint32 != null) { $result.sint32 = sint32; } if (sint64 != null) { $result.sint64 = sint64; } if (fixed32 != null) { $result.fixed32 = fixed32; } if (fixed64 != null) { $result.fixed64 = fixed64; } if (sfixed32 != null) { $result.sfixed32 = sfixed32; } if (sfixed64 != null) { $result.sfixed64 = sfixed64; } if (bool_13 != null) { $result.bool_13 = bool_13; } if (string != null) { $result.string = string; } if (bytes != null) { $result.bytes = bytes; } if (enum_16 != null) { $result.enum_16 = enum_16; } if (message != null) { $result.message = message; } if (repeated != null) { $result.repeated = repeated; } if (map != null) { $result.map = map; } if (any != null) { $result.any = any; } if (duration != null) { $result.duration = duration; } if (timestamp != null) { $result.timestamp = timestamp; } return $result; } FieldRules._() : super(); factory FieldRules.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory FieldRules.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static const $core.Map<$core.int, FieldRules_Type> _FieldRules_TypeByTag = { 1 : FieldRules_Type.float, 2 : FieldRules_Type.double_2, 3 : FieldRules_Type.int32, 4 : FieldRules_Type.int64, 5 : FieldRules_Type.uint32, 6 : FieldRules_Type.uint64, 7 : FieldRules_Type.sint32, 8 : FieldRules_Type.sint64, 9 : FieldRules_Type.fixed32, 10 : FieldRules_Type.fixed64, 11 : FieldRules_Type.sfixed32, 12 : FieldRules_Type.sfixed64, 13 : FieldRules_Type.bool_13, 14 : FieldRules_Type.string, 15 : FieldRules_Type.bytes, 16 : FieldRules_Type.enum_16, 18 : FieldRules_Type.repeated, 19 : FieldRules_Type.map, 20 : FieldRules_Type.any, 21 : FieldRules_Type.duration, 22 : FieldRules_Type.timestamp, 0 : FieldRules_Type.notSet }; static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FieldRules', package: const $pb.PackageName(_omitMessageNames ? '' : 'validate'), createEmptyInstance: create) ..oo(0, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 20, 21, 22]) ..aOM(1, _omitFieldNames ? '' : 'float', subBuilder: FloatRules.create) ..aOM(2, _omitFieldNames ? '' : 'double', subBuilder: DoubleRules.create) ..aOM(3, _omitFieldNames ? '' : 'int32', subBuilder: Int32Rules.create) ..aOM(4, _omitFieldNames ? '' : 'int64', subBuilder: Int64Rules.create) ..aOM(5, _omitFieldNames ? '' : 'uint32', subBuilder: UInt32Rules.create) ..aOM(6, _omitFieldNames ? '' : 'uint64', subBuilder: UInt64Rules.create) ..aOM(7, _omitFieldNames ? '' : 'sint32', subBuilder: SInt32Rules.create) ..aOM(8, _omitFieldNames ? '' : 'sint64', subBuilder: SInt64Rules.create) ..aOM(9, _omitFieldNames ? '' : 'fixed32', subBuilder: Fixed32Rules.create) ..aOM(10, _omitFieldNames ? '' : 'fixed64', subBuilder: Fixed64Rules.create) ..aOM(11, _omitFieldNames ? '' : 'sfixed32', subBuilder: SFixed32Rules.create) ..aOM(12, _omitFieldNames ? '' : 'sfixed64', subBuilder: SFixed64Rules.create) ..aOM(13, _omitFieldNames ? '' : 'bool', subBuilder: BoolRules.create) ..aOM(14, _omitFieldNames ? '' : 'string', subBuilder: StringRules.create) ..aOM(15, _omitFieldNames ? '' : 'bytes', subBuilder: BytesRules.create) ..aOM(16, _omitFieldNames ? '' : 'enum', subBuilder: EnumRules.create) ..aOM(17, _omitFieldNames ? '' : 'message', subBuilder: MessageRules.create) ..aOM(18, _omitFieldNames ? '' : 'repeated', subBuilder: RepeatedRules.create) ..aOM(19, _omitFieldNames ? '' : 'map', subBuilder: MapRules.create) ..aOM(20, _omitFieldNames ? '' : 'any', subBuilder: AnyRules.create) ..aOM(21, _omitFieldNames ? '' : 'duration', subBuilder: DurationRules.create) ..aOM(22, _omitFieldNames ? '' : 'timestamp', subBuilder: TimestampRules.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') FieldRules clone() => FieldRules()..mergeFromMessage(this); @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') FieldRules copyWith(void Function(FieldRules) updates) => super.copyWith((message) => updates(message as FieldRules)) as FieldRules; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static FieldRules create() => FieldRules._(); FieldRules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') static FieldRules getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static FieldRules? _defaultInstance; FieldRules_Type whichType() => _FieldRules_TypeByTag[$_whichOneof(0)]!; void clearType() => clearField($_whichOneof(0)); /// Scalar Field Types @$pb.TagNumber(1) FloatRules get float => $_getN(0); @$pb.TagNumber(1) set float(FloatRules v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasFloat() => $_has(0); @$pb.TagNumber(1) void clearFloat() => clearField(1); @$pb.TagNumber(1) FloatRules ensureFloat() => $_ensure(0); @$pb.TagNumber(2) DoubleRules get double_2 => $_getN(1); @$pb.TagNumber(2) set double_2(DoubleRules v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasDouble_2() => $_has(1); @$pb.TagNumber(2) void clearDouble_2() => clearField(2); @$pb.TagNumber(2) DoubleRules ensureDouble_2() => $_ensure(1); @$pb.TagNumber(3) Int32Rules get int32 => $_getN(2); @$pb.TagNumber(3) set int32(Int32Rules v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasInt32() => $_has(2); @$pb.TagNumber(3) void clearInt32() => clearField(3); @$pb.TagNumber(3) Int32Rules ensureInt32() => $_ensure(2); @$pb.TagNumber(4) Int64Rules get int64 => $_getN(3); @$pb.TagNumber(4) set int64(Int64Rules v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasInt64() => $_has(3); @$pb.TagNumber(4) void clearInt64() => clearField(4); @$pb.TagNumber(4) Int64Rules ensureInt64() => $_ensure(3); @$pb.TagNumber(5) UInt32Rules get uint32 => $_getN(4); @$pb.TagNumber(5) set uint32(UInt32Rules v) { setField(5, v); } @$pb.TagNumber(5) $core.bool hasUint32() => $_has(4); @$pb.TagNumber(5) void clearUint32() => clearField(5); @$pb.TagNumber(5) UInt32Rules ensureUint32() => $_ensure(4); @$pb.TagNumber(6) UInt64Rules get uint64 => $_getN(5); @$pb.TagNumber(6) set uint64(UInt64Rules v) { setField(6, v); } @$pb.TagNumber(6) $core.bool hasUint64() => $_has(5); @$pb.TagNumber(6) void clearUint64() => clearField(6); @$pb.TagNumber(6) UInt64Rules ensureUint64() => $_ensure(5); @$pb.TagNumber(7) SInt32Rules get sint32 => $_getN(6); @$pb.TagNumber(7) set sint32(SInt32Rules v) { setField(7, v); } @$pb.TagNumber(7) $core.bool hasSint32() => $_has(6); @$pb.TagNumber(7) void clearSint32() => clearField(7); @$pb.TagNumber(7) SInt32Rules ensureSint32() => $_ensure(6); @$pb.TagNumber(8) SInt64Rules get sint64 => $_getN(7); @$pb.TagNumber(8) set sint64(SInt64Rules v) { setField(8, v); } @$pb.TagNumber(8) $core.bool hasSint64() => $_has(7); @$pb.TagNumber(8) void clearSint64() => clearField(8); @$pb.TagNumber(8) SInt64Rules ensureSint64() => $_ensure(7); @$pb.TagNumber(9) Fixed32Rules get fixed32 => $_getN(8); @$pb.TagNumber(9) set fixed32(Fixed32Rules v) { setField(9, v); } @$pb.TagNumber(9) $core.bool hasFixed32() => $_has(8); @$pb.TagNumber(9) void clearFixed32() => clearField(9); @$pb.TagNumber(9) Fixed32Rules ensureFixed32() => $_ensure(8); @$pb.TagNumber(10) Fixed64Rules get fixed64 => $_getN(9); @$pb.TagNumber(10) set fixed64(Fixed64Rules v) { setField(10, v); } @$pb.TagNumber(10) $core.bool hasFixed64() => $_has(9); @$pb.TagNumber(10) void clearFixed64() => clearField(10); @$pb.TagNumber(10) Fixed64Rules ensureFixed64() => $_ensure(9); @$pb.TagNumber(11) SFixed32Rules get sfixed32 => $_getN(10); @$pb.TagNumber(11) set sfixed32(SFixed32Rules v) { setField(11, v); } @$pb.TagNumber(11) $core.bool hasSfixed32() => $_has(10); @$pb.TagNumber(11) void clearSfixed32() => clearField(11); @$pb.TagNumber(11) SFixed32Rules ensureSfixed32() => $_ensure(10); @$pb.TagNumber(12) SFixed64Rules get sfixed64 => $_getN(11); @$pb.TagNumber(12) set sfixed64(SFixed64Rules v) { setField(12, v); } @$pb.TagNumber(12) $core.bool hasSfixed64() => $_has(11); @$pb.TagNumber(12) void clearSfixed64() => clearField(12); @$pb.TagNumber(12) SFixed64Rules ensureSfixed64() => $_ensure(11); @$pb.TagNumber(13) BoolRules get bool_13 => $_getN(12); @$pb.TagNumber(13) set bool_13(BoolRules v) { setField(13, v); } @$pb.TagNumber(13) $core.bool hasBool_13() => $_has(12); @$pb.TagNumber(13) void clearBool_13() => clearField(13); @$pb.TagNumber(13) BoolRules ensureBool_13() => $_ensure(12); @$pb.TagNumber(14) StringRules get string => $_getN(13); @$pb.TagNumber(14) set string(StringRules v) { setField(14, v); } @$pb.TagNumber(14) $core.bool hasString() => $_has(13); @$pb.TagNumber(14) void clearString() => clearField(14); @$pb.TagNumber(14) StringRules ensureString() => $_ensure(13); @$pb.TagNumber(15) BytesRules get bytes => $_getN(14); @$pb.TagNumber(15) set bytes(BytesRules v) { setField(15, v); } @$pb.TagNumber(15) $core.bool hasBytes() => $_has(14); @$pb.TagNumber(15) void clearBytes() => clearField(15); @$pb.TagNumber(15) BytesRules ensureBytes() => $_ensure(14); /// Complex Field Types @$pb.TagNumber(16) EnumRules get enum_16 => $_getN(15); @$pb.TagNumber(16) set enum_16(EnumRules v) { setField(16, v); } @$pb.TagNumber(16) $core.bool hasEnum_16() => $_has(15); @$pb.TagNumber(16) void clearEnum_16() => clearField(16); @$pb.TagNumber(16) EnumRules ensureEnum_16() => $_ensure(15); @$pb.TagNumber(17) MessageRules get message => $_getN(16); @$pb.TagNumber(17) set message(MessageRules v) { setField(17, v); } @$pb.TagNumber(17) $core.bool hasMessage() => $_has(16); @$pb.TagNumber(17) void clearMessage() => clearField(17); @$pb.TagNumber(17) MessageRules ensureMessage() => $_ensure(16); @$pb.TagNumber(18) RepeatedRules get repeated => $_getN(17); @$pb.TagNumber(18) set repeated(RepeatedRules v) { setField(18, v); } @$pb.TagNumber(18) $core.bool hasRepeated() => $_has(17); @$pb.TagNumber(18) void clearRepeated() => clearField(18); @$pb.TagNumber(18) RepeatedRules ensureRepeated() => $_ensure(17); @$pb.TagNumber(19) MapRules get map => $_getN(18); @$pb.TagNumber(19) set map(MapRules v) { setField(19, v); } @$pb.TagNumber(19) $core.bool hasMap() => $_has(18); @$pb.TagNumber(19) void clearMap() => clearField(19); @$pb.TagNumber(19) MapRules ensureMap() => $_ensure(18); /// Well-Known Field Types @$pb.TagNumber(20) AnyRules get any => $_getN(19); @$pb.TagNumber(20) set any(AnyRules v) { setField(20, v); } @$pb.TagNumber(20) $core.bool hasAny() => $_has(19); @$pb.TagNumber(20) void clearAny() => clearField(20); @$pb.TagNumber(20) AnyRules ensureAny() => $_ensure(19); @$pb.TagNumber(21) DurationRules get duration => $_getN(20); @$pb.TagNumber(21) set duration(DurationRules v) { setField(21, v); } @$pb.TagNumber(21) $core.bool hasDuration() => $_has(20); @$pb.TagNumber(21) void clearDuration() => clearField(21); @$pb.TagNumber(21) DurationRules ensureDuration() => $_ensure(20); @$pb.TagNumber(22) TimestampRules get timestamp => $_getN(21); @$pb.TagNumber(22) set timestamp(TimestampRules v) { setField(22, v); } @$pb.TagNumber(22) $core.bool hasTimestamp() => $_has(21); @$pb.TagNumber(22) void clearTimestamp() => clearField(22); @$pb.TagNumber(22) TimestampRules ensureTimestamp() => $_ensure(21); } /// FloatRules describes the constraints applied to `float` values class FloatRules extends $pb.GeneratedMessage { factory FloatRules({ $core.double? const_1, $core.double? lt, $core.double? lte, $core.double? gt, $core.double? gte, $core.Iterable<$core.double>? in_6, $core.Iterable<$core.double>? notIn, $core.bool? unauthorized, $core.bool? ignoreEmpty, }) { final $result = create(); if (const_1 != null) { $result.const_1 = const_1; } if (lt != null) { $result.lt = lt; } if (lte != null) { $result.lte = lte; } if (gt != null) { $result.gt = gt; } if (gte != null) { $result.gte = gte; } if (in_6 != null) { $result.in_6.addAll(in_6); } if (notIn != null) { $result.notIn.addAll(notIn); } if (unauthorized != null) { $result.unauthorized = unauthorized; } if (ignoreEmpty != null) { $result.ignoreEmpty = ignoreEmpty; } return $result; } FloatRules._() : super(); factory FloatRules.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory FloatRules.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FloatRules', package: const $pb.PackageName(_omitMessageNames ? '' : 'validate'), createEmptyInstance: create) ..a<$core.double>(1, _omitFieldNames ? '' : 'const', $pb.PbFieldType.OF) ..a<$core.double>(2, _omitFieldNames ? '' : 'lt', $pb.PbFieldType.OF) ..a<$core.double>(3, _omitFieldNames ? '' : 'lte', $pb.PbFieldType.OF) ..a<$core.double>(4, _omitFieldNames ? '' : 'gt', $pb.PbFieldType.OF) ..a<$core.double>(5, _omitFieldNames ? '' : 'gte', $pb.PbFieldType.OF) ..p<$core.double>(6, _omitFieldNames ? '' : 'in', $pb.PbFieldType.PF) ..p<$core.double>(7, _omitFieldNames ? '' : 'notIn', $pb.PbFieldType.PF) ..aOB(8, _omitFieldNames ? '' : 'unauthorized') ..aOB(9, _omitFieldNames ? '' : 'ignoreEmpty') ..hasRequiredFields = false ; @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 'Will be removed in next major version') FloatRules clone() => FloatRules()..mergeFromMessage(this); @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') FloatRules copyWith(void Function(FloatRules) updates) => super.copyWith((message) => updates(message as FloatRules)) as FloatRules; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static FloatRules create() => FloatRules._(); FloatRules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') static FloatRules getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static FloatRules? _defaultInstance; /// Const specifies that this field must be exactly the specified value @$pb.TagNumber(1) $core.double get const_1 => $_getN(0); @$pb.TagNumber(1) set const_1($core.double v) { $_setFloat(0, v); } @$pb.TagNumber(1) $core.bool hasConst_1() => $_has(0); @$pb.TagNumber(1) void clearConst_1() => clearField(1); /// Lt specifies that this field must be less than the specified value, /// exclusive @$pb.TagNumber(2) $core.double get lt => $_getN(1); @$pb.TagNumber(2) set lt($core.double v) { $_setFloat(1, v); } @$pb.TagNumber(2) $core.bool hasLt() => $_has(1); @$pb.TagNumber(2) void clearLt() => clearField(2); /// Lte specifies that this field must be less than or equal to the /// specified value, inclusive @$pb.TagNumber(3) $core.double get lte => $_getN(2); @$pb.TagNumber(3) set lte($core.double v) { $_setFloat(2, v); } @$pb.TagNumber(3) $core.bool hasLte() => $_has(2); @$pb.TagNumber(3) void clearLte() => clearField(3); /// Gt specifies that this field must be greater than the specified value, /// exclusive. If the value of Gt is larger than a specified Lt or Lte, the /// range is reversed. @$pb.TagNumber(4) $core.double get gt => $_getN(3); @$pb.TagNumber(4) set gt($core.double v) { $_setFloat(3, v); } @$pb.TagNumber(4) $core.bool hasGt() => $_has(3); @$pb.TagNumber(4) void clearGt() => clearField(4); /// Gte specifies that this field must be greater than or equal to the /// specified value, inclusive. If the value of Gte is larger than a /// specified Lt or Lte, the range is reversed. @$pb.TagNumber(5) $core.double get gte => $_getN(4); @$pb.TagNumber(5) set gte($core.double v) { $_setFloat(4, v); } @$pb.TagNumber(5) $core.bool hasGte() => $_has(4); @$pb.TagNumber(5) void clearGte() => clearField(5); /// In specifies that this field must be equal to one of the specified /// values @$pb.TagNumber(6) $core.List<$core.double> get in_6 => $_getList(5); /// NotIn specifies that this field cannot be equal to one of the specified /// values @$pb.TagNumber(7) $core.List<$core.double> get notIn => $_getList(6); /// unauthorized specifies that this field cannot be written. @$pb.TagNumber(8) $core.bool get unauthorized => $_getBF(7); @$pb.TagNumber(8) set unauthorized($core.bool v) { $_setBool(7, v); } @$pb.TagNumber(8) $core.bool hasUnauthorized() => $_has(7); @$pb.TagNumber(8) void clearUnauthorized() => clearField(8); /// IgnoreEmpty specifies that the validation rules of this field should be /// evaluated only if the field is not empty @$pb.TagNumber(9) $core.bool get ignoreEmpty => $_getBF(8); @$pb.TagNumber(9) set ignoreEmpty($core.bool v) { $_setBool(8, v); } @$pb.TagNumber(9) $core.bool hasIgnoreEmpty() => $_has(8); @$pb.TagNumber(9) void clearIgnoreEmpty() => clearField(9); } /// DoubleRules describes the constraints applied to `double` values class DoubleRules extends $pb.GeneratedMessage { factory DoubleRules({ $core.double? const_1, $core.double? lt, $core.double? lte, $core.double? gt, $core.double? gte, $core.Iterable<$core.double>? in_6, $core.Iterable<$core.double>? notIn, $core.bool? unauthorized, $core.bool? ignoreEmpty, }) { final $result = create(); if (const_1 != null) { $result.const_1 = const_1; } if (lt != null) { $result.lt = lt; } if (lte != null) { $result.lte = lte; } if (gt != null) { $result.gt = gt; } if (gte != null) { $result.gte = gte; } if (in_6 != null) { $result.in_6.addAll(in_6); } if (notIn != null) { $result.notIn.addAll(notIn); } if (unauthorized != null) { $result.unauthorized = unauthorized; } if (ignoreEmpty != null) { $result.ignoreEmpty = ignoreEmpty; } return $result; } DoubleRules._() : super(); factory DoubleRules.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory DoubleRules.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DoubleRules', package: const $pb.PackageName(_omitMessageNames ? '' : 'validate'), createEmptyInstance: create) ..a<$core.double>(1, _omitFieldNames ? '' : 'const', $pb.PbFieldType.OD) ..a<$core.double>(2, _omitFieldNames ? '' : 'lt', $pb.PbFieldType.OD) ..a<$core.double>(3, _omitFieldNames ? '' : 'lte', $pb.PbFieldType.OD) ..a<$core.double>(4, _omitFieldNames ? '' : 'gt', $pb.PbFieldType.OD) ..a<$core.double>(5, _omitFieldNames ? '' : 'gte', $pb.PbFieldType.OD) ..p<$core.double>(6, _omitFieldNames ? '' : 'in', $pb.PbFieldType.PD) ..p<$core.double>(7, _omitFieldNames ? '' : 'notIn', $pb.PbFieldType.PD) ..aOB(8, _omitFieldNames ? '' : 'unauthorized') ..aOB(9, _omitFieldNames ? '' : 'ignoreEmpty') ..hasRequiredFields = false ; @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 'Will be removed in next major version') DoubleRules clone() => DoubleRules()..mergeFromMessage(this); @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') DoubleRules copyWith(void Function(DoubleRules) updates) => super.copyWith((message) => updates(message as DoubleRules)) as DoubleRules; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static DoubleRules create() => DoubleRules._(); DoubleRules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') static DoubleRules getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static DoubleRules? _defaultInstance; /// Const specifies that this field must be exactly the specified value @$pb.TagNumber(1) $core.double get const_1 => $_getN(0); @$pb.TagNumber(1) set const_1($core.double v) { $_setDouble(0, v); } @$pb.TagNumber(1) $core.bool hasConst_1() => $_has(0); @$pb.TagNumber(1) void clearConst_1() => clearField(1); /// Lt specifies that this field must be less than the specified value, /// exclusive @$pb.TagNumber(2) $core.double get lt => $_getN(1); @$pb.TagNumber(2) set lt($core.double v) { $_setDouble(1, v); } @$pb.TagNumber(2) $core.bool hasLt() => $_has(1); @$pb.TagNumber(2) void clearLt() => clearField(2); /// Lte specifies that this field must be less than or equal to the /// specified value, inclusive @$pb.TagNumber(3) $core.double get lte => $_getN(2); @$pb.TagNumber(3) set lte($core.double v) { $_setDouble(2, v); } @$pb.TagNumber(3) $core.bool hasLte() => $_has(2); @$pb.TagNumber(3) void clearLte() => clearField(3); /// Gt specifies that this field must be greater than the specified value, /// exclusive. If the value of Gt is larger than a specified Lt or Lte, the /// range is reversed. @$pb.TagNumber(4) $core.double get gt => $_getN(3); @$pb.TagNumber(4) set gt($core.double v) { $_setDouble(3, v); } @$pb.TagNumber(4) $core.bool hasGt() => $_has(3); @$pb.TagNumber(4) void clearGt() => clearField(4); /// Gte specifies that this field must be greater than or equal to the /// specified value, inclusive. If the value of Gte is larger than a /// specified Lt or Lte, the range is reversed. @$pb.TagNumber(5) $core.double get gte => $_getN(4); @$pb.TagNumber(5) set gte($core.double v) { $_setDouble(4, v); } @$pb.TagNumber(5) $core.bool hasGte() => $_has(4); @$pb.TagNumber(5) void clearGte() => clearField(5); /// In specifies that this field must be equal to one of the specified /// values @$pb.TagNumber(6) $core.List<$core.double> get in_6 => $_getList(5); /// NotIn specifies that this field cannot be equal to one of the specified /// values @$pb.TagNumber(7) $core.List<$core.double> get notIn => $_getList(6); /// unauthorized specifies that this field cannot be written. @$pb.TagNumber(8) $core.bool get unauthorized => $_getBF(7); @$pb.TagNumber(8) set unauthorized($core.bool v) { $_setBool(7, v); } @$pb.TagNumber(8) $core.bool hasUnauthorized() => $_has(7); @$pb.TagNumber(8) void clearUnauthorized() => clearField(8); /// IgnoreEmpty specifies that the validation rules of this field should be /// evaluated only if the field is not empty @$pb.TagNumber(9) $core.bool get ignoreEmpty => $_getBF(8); @$pb.TagNumber(9) set ignoreEmpty($core.bool v) { $_setBool(8, v); } @$pb.TagNumber(9) $core.bool hasIgnoreEmpty() => $_has(8); @$pb.TagNumber(9) void clearIgnoreEmpty() => clearField(9); } /// Int32Rules describes the constraints applied to `int32` values class Int32Rules extends $pb.GeneratedMessage { factory Int32Rules({ $core.int? const_1, $core.int? lt, $core.int? lte, $core.int? gt, $core.int? gte, $core.Iterable<$core.int>? in_6, $core.Iterable<$core.int>? notIn, $core.bool? unauthorized, $core.bool? ignoreEmpty, }) { final $result = create(); if (const_1 != null) { $result.const_1 = const_1; } if (lt != null) { $result.lt = lt; } if (lte != null) { $result.lte = lte; } if (gt != null) { $result.gt = gt; } if (gte != null) { $result.gte = gte; } if (in_6 != null) { $result.in_6.addAll(in_6); } if (notIn != null) { $result.notIn.addAll(notIn); } if (unauthorized != null) { $result.unauthorized = unauthorized; } if (ignoreEmpty != null) { $result.ignoreEmpty = ignoreEmpty; } return $result; } Int32Rules._() : super(); factory Int32Rules.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory Int32Rules.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Int32Rules', package: const $pb.PackageName(_omitMessageNames ? '' : 'validate'), createEmptyInstance: create) ..a<$core.int>(1, _omitFieldNames ? '' : 'const', $pb.PbFieldType.O3) ..a<$core.int>(2, _omitFieldNames ? '' : 'lt', $pb.PbFieldType.O3) ..a<$core.int>(3, _omitFieldNames ? '' : 'lte', $pb.PbFieldType.O3) ..a<$core.int>(4, _omitFieldNames ? '' : 'gt', $pb.PbFieldType.O3) ..a<$core.int>(5, _omitFieldNames ? '' : 'gte', $pb.PbFieldType.O3) ..p<$core.int>(6, _omitFieldNames ? '' : 'in', $pb.PbFieldType.P3) ..p<$core.int>(7, _omitFieldNames ? '' : 'notIn', $pb.PbFieldType.P3) ..aOB(8, _omitFieldNames ? '' : 'unauthorized') ..aOB(9, _omitFieldNames ? '' : 'ignoreEmpty') ..hasRequiredFields = false ; @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 'Will be removed in next major version') Int32Rules clone() => Int32Rules()..mergeFromMessage(this); @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') Int32Rules copyWith(void Function(Int32Rules) updates) => super.copyWith((message) => updates(message as Int32Rules)) as Int32Rules; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static Int32Rules create() => Int32Rules._(); Int32Rules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') static Int32Rules getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static Int32Rules? _defaultInstance; /// Const specifies that this field must be exactly the specified value @$pb.TagNumber(1) $core.int get const_1 => $_getIZ(0); @$pb.TagNumber(1) set const_1($core.int v) { $_setSignedInt32(0, v); } @$pb.TagNumber(1) $core.bool hasConst_1() => $_has(0); @$pb.TagNumber(1) void clearConst_1() => clearField(1); /// Lt specifies that this field must be less than the specified value, /// exclusive @$pb.TagNumber(2) $core.int get lt => $_getIZ(1); @$pb.TagNumber(2) set lt($core.int v) { $_setSignedInt32(1, v); } @$pb.TagNumber(2) $core.bool hasLt() => $_has(1); @$pb.TagNumber(2) void clearLt() => clearField(2); /// Lte specifies that this field must be less than or equal to the /// specified value, inclusive @$pb.TagNumber(3) $core.int get lte => $_getIZ(2); @$pb.TagNumber(3) set lte($core.int v) { $_setSignedInt32(2, v); } @$pb.TagNumber(3) $core.bool hasLte() => $_has(2); @$pb.TagNumber(3) void clearLte() => clearField(3); /// Gt specifies that this field must be greater than the specified value, /// exclusive. If the value of Gt is larger than a specified Lt or Lte, the /// range is reversed. @$pb.TagNumber(4) $core.int get gt => $_getIZ(3); @$pb.TagNumber(4) set gt($core.int v) { $_setSignedInt32(3, v); } @$pb.TagNumber(4) $core.bool hasGt() => $_has(3); @$pb.TagNumber(4) void clearGt() => clearField(4); /// Gte specifies that this field must be greater than or equal to the /// specified value, inclusive. If the value of Gte is larger than a /// specified Lt or Lte, the range is reversed. @$pb.TagNumber(5) $core.int get gte => $_getIZ(4); @$pb.TagNumber(5) set gte($core.int v) { $_setSignedInt32(4, v); } @$pb.TagNumber(5) $core.bool hasGte() => $_has(4); @$pb.TagNumber(5) void clearGte() => clearField(5); /// In specifies that this field must be equal to one of the specified /// values @$pb.TagNumber(6) $core.List<$core.int> get in_6 => $_getList(5); /// NotIn specifies that this field cannot be equal to one of the specified /// values @$pb.TagNumber(7) $core.List<$core.int> get notIn => $_getList(6); /// unauthorized specifies that this field cannot be written. @$pb.TagNumber(8) $core.bool get unauthorized => $_getBF(7); @$pb.TagNumber(8) set unauthorized($core.bool v) { $_setBool(7, v); } @$pb.TagNumber(8) $core.bool hasUnauthorized() => $_has(7); @$pb.TagNumber(8) void clearUnauthorized() => clearField(8); /// IgnoreEmpty specifies that the validation rules of this field should be /// evaluated only if the field is not empty @$pb.TagNumber(9) $core.bool get ignoreEmpty => $_getBF(8); @$pb.TagNumber(9) set ignoreEmpty($core.bool v) { $_setBool(8, v); } @$pb.TagNumber(9) $core.bool hasIgnoreEmpty() => $_has(8); @$pb.TagNumber(9) void clearIgnoreEmpty() => clearField(9); } /// Int64Rules describes the constraints applied to `int64` values class Int64Rules extends $pb.GeneratedMessage { factory Int64Rules({ $fixnum.Int64? const_1, $fixnum.Int64? lt, $fixnum.Int64? lte, $fixnum.Int64? gt, $fixnum.Int64? gte, $core.Iterable<$fixnum.Int64>? in_6, $core.Iterable<$fixnum.Int64>? notIn, $core.bool? unauthorized, $core.bool? ignoreEmpty, }) { final $result = create(); if (const_1 != null) { $result.const_1 = const_1; } if (lt != null) { $result.lt = lt; } if (lte != null) { $result.lte = lte; } if (gt != null) { $result.gt = gt; } if (gte != null) { $result.gte = gte; } if (in_6 != null) { $result.in_6.addAll(in_6); } if (notIn != null) { $result.notIn.addAll(notIn); } if (unauthorized != null) { $result.unauthorized = unauthorized; } if (ignoreEmpty != null) { $result.ignoreEmpty = ignoreEmpty; } return $result; } Int64Rules._() : super(); factory Int64Rules.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory Int64Rules.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Int64Rules', package: const $pb.PackageName(_omitMessageNames ? '' : 'validate'), createEmptyInstance: create) ..aInt64(1, _omitFieldNames ? '' : 'const') ..aInt64(2, _omitFieldNames ? '' : 'lt') ..aInt64(3, _omitFieldNames ? '' : 'lte') ..aInt64(4, _omitFieldNames ? '' : 'gt') ..aInt64(5, _omitFieldNames ? '' : 'gte') ..p<$fixnum.Int64>(6, _omitFieldNames ? '' : 'in', $pb.PbFieldType.P6) ..p<$fixnum.Int64>(7, _omitFieldNames ? '' : 'notIn', $pb.PbFieldType.P6) ..aOB(8, _omitFieldNames ? '' : 'unauthorized') ..aOB(9, _omitFieldNames ? '' : 'ignoreEmpty') ..hasRequiredFields = false ; @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 'Will be removed in next major version') Int64Rules clone() => Int64Rules()..mergeFromMessage(this); @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') Int64Rules copyWith(void Function(Int64Rules) updates) => super.copyWith((message) => updates(message as Int64Rules)) as Int64Rules; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static Int64Rules create() => Int64Rules._(); Int64Rules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') static Int64Rules getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static Int64Rules? _defaultInstance; /// Const specifies that this field must be exactly the specified value @$pb.TagNumber(1) $fixnum.Int64 get const_1 => $_getI64(0); @$pb.TagNumber(1) set const_1($fixnum.Int64 v) { $_setInt64(0, v); } @$pb.TagNumber(1) $core.bool hasConst_1() => $_has(0); @$pb.TagNumber(1) void clearConst_1() => clearField(1); /// Lt specifies that this field must be less than the specified value, /// exclusive @$pb.TagNumber(2) $fixnum.Int64 get lt => $_getI64(1); @$pb.TagNumber(2) set lt($fixnum.Int64 v) { $_setInt64(1, v); } @$pb.TagNumber(2) $core.bool hasLt() => $_has(1); @$pb.TagNumber(2) void clearLt() => clearField(2); /// Lte specifies that this field must be less than or equal to the /// specified value, inclusive @$pb.TagNumber(3) $fixnum.Int64 get lte => $_getI64(2); @$pb.TagNumber(3) set lte($fixnum.Int64 v) { $_setInt64(2, v); } @$pb.TagNumber(3) $core.bool hasLte() => $_has(2); @$pb.TagNumber(3) void clearLte() => clearField(3); /// Gt specifies that this field must be greater than the specified value, /// exclusive. If the value of Gt is larger than a specified Lt or Lte, the /// range is reversed. @$pb.TagNumber(4) $fixnum.Int64 get gt => $_getI64(3); @$pb.TagNumber(4) set gt($fixnum.Int64 v) { $_setInt64(3, v); } @$pb.TagNumber(4) $core.bool hasGt() => $_has(3); @$pb.TagNumber(4) void clearGt() => clearField(4); /// Gte specifies that this field must be greater than or equal to the /// specified value, inclusive. If the value of Gte is larger than a /// specified Lt or Lte, the range is reversed. @$pb.TagNumber(5) $fixnum.Int64 get gte => $_getI64(4); @$pb.TagNumber(5) set gte($fixnum.Int64 v) { $_setInt64(4, v); } @$pb.TagNumber(5) $core.bool hasGte() => $_has(4); @$pb.TagNumber(5) void clearGte() => clearField(5); /// In specifies that this field must be equal to one of the specified /// values @$pb.TagNumber(6) $core.List<$fixnum.Int64> get in_6 => $_getList(5); /// NotIn specifies that this field cannot be equal to one of the specified /// values @$pb.TagNumber(7) $core.List<$fixnum.Int64> get notIn => $_getList(6); /// unauthorized specifies that this field cannot be written. @$pb.TagNumber(8) $core.bool get unauthorized => $_getBF(7); @$pb.TagNumber(8) set unauthorized($core.bool v) { $_setBool(7, v); } @$pb.TagNumber(8) $core.bool hasUnauthorized() => $_has(7); @$pb.TagNumber(8) void clearUnauthorized() => clearField(8); /// IgnoreEmpty specifies that the validation rules of this field should be /// evaluated only if the field is not empty @$pb.TagNumber(9) $core.bool get ignoreEmpty => $_getBF(8); @$pb.TagNumber(9) set ignoreEmpty($core.bool v) { $_setBool(8, v); } @$pb.TagNumber(9) $core.bool hasIgnoreEmpty() => $_has(8); @$pb.TagNumber(9) void clearIgnoreEmpty() => clearField(9); } /// UInt32Rules describes the constraints applied to `uint32` values class UInt32Rules extends $pb.GeneratedMessage { factory UInt32Rules({ $core.int? const_1, $core.int? lt, $core.int? lte, $core.int? gt, $core.int? gte, $core.Iterable<$core.int>? in_6, $core.Iterable<$core.int>? notIn, $core.bool? unauthorized, $core.bool? ignoreEmpty, }) { final $result = create(); if (const_1 != null) { $result.const_1 = const_1; } if (lt != null) { $result.lt = lt; } if (lte != null) { $result.lte = lte; } if (gt != null) { $result.gt = gt; } if (gte != null) { $result.gte = gte; } if (in_6 != null) { $result.in_6.addAll(in_6); } if (notIn != null) { $result.notIn.addAll(notIn); } if (unauthorized != null) { $result.unauthorized = unauthorized; } if (ignoreEmpty != null) { $result.ignoreEmpty = ignoreEmpty; } return $result; } UInt32Rules._() : super(); factory UInt32Rules.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UInt32Rules.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UInt32Rules', package: const $pb.PackageName(_omitMessageNames ? '' : 'validate'), createEmptyInstance: create) ..a<$core.int>(1, _omitFieldNames ? '' : 'const', $pb.PbFieldType.OU3) ..a<$core.int>(2, _omitFieldNames ? '' : 'lt', $pb.PbFieldType.OU3) ..a<$core.int>(3, _omitFieldNames ? '' : 'lte', $pb.PbFieldType.OU3) ..a<$core.int>(4, _omitFieldNames ? '' : 'gt', $pb.PbFieldType.OU3) ..a<$core.int>(5, _omitFieldNames ? '' : 'gte', $pb.PbFieldType.OU3) ..p<$core.int>(6, _omitFieldNames ? '' : 'in', $pb.PbFieldType.PU3) ..p<$core.int>(7, _omitFieldNames ? '' : 'notIn', $pb.PbFieldType.PU3) ..aOB(8, _omitFieldNames ? '' : 'unauthorized') ..aOB(9, _omitFieldNames ? '' : 'ignoreEmpty') ..hasRequiredFields = false ; @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 'Will be removed in next major version') UInt32Rules clone() => UInt32Rules()..mergeFromMessage(this); @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') UInt32Rules copyWith(void Function(UInt32Rules) updates) => super.copyWith((message) => updates(message as UInt32Rules)) as UInt32Rules; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static UInt32Rules create() => UInt32Rules._(); UInt32Rules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') static UInt32Rules getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static UInt32Rules? _defaultInstance; /// Const specifies that this field must be exactly the specified value @$pb.TagNumber(1) $core.int get const_1 => $_getIZ(0); @$pb.TagNumber(1) set const_1($core.int v) { $_setUnsignedInt32(0, v); } @$pb.TagNumber(1) $core.bool hasConst_1() => $_has(0); @$pb.TagNumber(1) void clearConst_1() => clearField(1); /// Lt specifies that this field must be less than the specified value, /// exclusive @$pb.TagNumber(2) $core.int get lt => $_getIZ(1); @$pb.TagNumber(2) set lt($core.int v) { $_setUnsignedInt32(1, v); } @$pb.TagNumber(2) $core.bool hasLt() => $_has(1); @$pb.TagNumber(2) void clearLt() => clearField(2); /// Lte specifies that this field must be less than or equal to the /// specified value, inclusive @$pb.TagNumber(3) $core.int get lte => $_getIZ(2); @$pb.TagNumber(3) set lte($core.int v) { $_setUnsignedInt32(2, v); } @$pb.TagNumber(3) $core.bool hasLte() => $_has(2); @$pb.TagNumber(3) void clearLte() => clearField(3); /// Gt specifies that this field must be greater than the specified value, /// exclusive. If the value of Gt is larger than a specified Lt or Lte, the /// range is reversed. @$pb.TagNumber(4) $core.int get gt => $_getIZ(3); @$pb.TagNumber(4) set gt($core.int v) { $_setUnsignedInt32(3, v); } @$pb.TagNumber(4) $core.bool hasGt() => $_has(3); @$pb.TagNumber(4) void clearGt() => clearField(4); /// Gte specifies that this field must be greater than or equal to the /// specified value, inclusive. If the value of Gte is larger than a /// specified Lt or Lte, the range is reversed. @$pb.TagNumber(5) $core.int get gte => $_getIZ(4); @$pb.TagNumber(5) set gte($core.int v) { $_setUnsignedInt32(4, v); } @$pb.TagNumber(5) $core.bool hasGte() => $_has(4); @$pb.TagNumber(5) void clearGte() => clearField(5); /// In specifies that this field must be equal to one of the specified /// values @$pb.TagNumber(6) $core.List<$core.int> get in_6 => $_getList(5); /// NotIn specifies that this field cannot be equal to one of the specified /// values @$pb.TagNumber(7) $core.List<$core.int> get notIn => $_getList(6); /// unauthorized specifies that this field cannot be written. @$pb.TagNumber(8) $core.bool get unauthorized => $_getBF(7); @$pb.TagNumber(8) set unauthorized($core.bool v) { $_setBool(7, v); } @$pb.TagNumber(8) $core.bool hasUnauthorized() => $_has(7); @$pb.TagNumber(8) void clearUnauthorized() => clearField(8); /// IgnoreEmpty specifies that the validation rules of this field should be /// evaluated only if the field is not empty @$pb.TagNumber(9) $core.bool get ignoreEmpty => $_getBF(8); @$pb.TagNumber(9) set ignoreEmpty($core.bool v) { $_setBool(8, v); } @$pb.TagNumber(9) $core.bool hasIgnoreEmpty() => $_has(8); @$pb.TagNumber(9) void clearIgnoreEmpty() => clearField(9); } /// UInt64Rules describes the constraints applied to `uint64` values class UInt64Rules extends $pb.GeneratedMessage { factory UInt64Rules({ $fixnum.Int64? const_1, $fixnum.Int64? lt, $fixnum.Int64? lte, $fixnum.Int64? gt, $fixnum.Int64? gte, $core.Iterable<$fixnum.Int64>? in_6, $core.Iterable<$fixnum.Int64>? notIn, $core.bool? unauthorized, $core.bool? ignoreEmpty, }) { final $result = create(); if (const_1 != null) { $result.const_1 = const_1; } if (lt != null) { $result.lt = lt; } if (lte != null) { $result.lte = lte; } if (gt != null) { $result.gt = gt; } if (gte != null) { $result.gte = gte; } if (in_6 != null) { $result.in_6.addAll(in_6); } if (notIn != null) { $result.notIn.addAll(notIn); } if (unauthorized != null) { $result.unauthorized = unauthorized; } if (ignoreEmpty != null) { $result.ignoreEmpty = ignoreEmpty; } return $result; } UInt64Rules._() : super(); factory UInt64Rules.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory UInt64Rules.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UInt64Rules', package: const $pb.PackageName(_omitMessageNames ? '' : 'validate'), createEmptyInstance: create) ..a<$fixnum.Int64>(1, _omitFieldNames ? '' : 'const', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) ..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'lt', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) ..a<$fixnum.Int64>(3, _omitFieldNames ? '' : 'lte', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) ..a<$fixnum.Int64>(4, _omitFieldNames ? '' : 'gt', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) ..a<$fixnum.Int64>(5, _omitFieldNames ? '' : 'gte', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) ..p<$fixnum.Int64>(6, _omitFieldNames ? '' : 'in', $pb.PbFieldType.PU6) ..p<$fixnum.Int64>(7, _omitFieldNames ? '' : 'notIn', $pb.PbFieldType.PU6) ..aOB(8, _omitFieldNames ? '' : 'unauthorized') ..aOB(9, _omitFieldNames ? '' : 'ignoreEmpty') ..hasRequiredFields = false ; @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 'Will be removed in next major version') UInt64Rules clone() => UInt64Rules()..mergeFromMessage(this); @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') UInt64Rules copyWith(void Function(UInt64Rules) updates) => super.copyWith((message) => updates(message as UInt64Rules)) as UInt64Rules; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static UInt64Rules create() => UInt64Rules._(); UInt64Rules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') static UInt64Rules getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static UInt64Rules? _defaultInstance; /// Const specifies that this field must be exactly the specified value @$pb.TagNumber(1) $fixnum.Int64 get const_1 => $_getI64(0); @$pb.TagNumber(1) set const_1($fixnum.Int64 v) { $_setInt64(0, v); } @$pb.TagNumber(1) $core.bool hasConst_1() => $_has(0); @$pb.TagNumber(1) void clearConst_1() => clearField(1); /// Lt specifies that this field must be less than the specified value, /// exclusive @$pb.TagNumber(2) $fixnum.Int64 get lt => $_getI64(1); @$pb.TagNumber(2) set lt($fixnum.Int64 v) { $_setInt64(1, v); } @$pb.TagNumber(2) $core.bool hasLt() => $_has(1); @$pb.TagNumber(2) void clearLt() => clearField(2); /// Lte specifies that this field must be less than or equal to the /// specified value, inclusive @$pb.TagNumber(3) $fixnum.Int64 get lte => $_getI64(2); @$pb.TagNumber(3) set lte($fixnum.Int64 v) { $_setInt64(2, v); } @$pb.TagNumber(3) $core.bool hasLte() => $_has(2); @$pb.TagNumber(3) void clearLte() => clearField(3); /// Gt specifies that this field must be greater than the specified value, /// exclusive. If the value of Gt is larger than a specified Lt or Lte, the /// range is reversed. @$pb.TagNumber(4) $fixnum.Int64 get gt => $_getI64(3); @$pb.TagNumber(4) set gt($fixnum.Int64 v) { $_setInt64(3, v); } @$pb.TagNumber(4) $core.bool hasGt() => $_has(3); @$pb.TagNumber(4) void clearGt() => clearField(4); /// Gte specifies that this field must be greater than or equal to the /// specified value, inclusive. If the value of Gte is larger than a /// specified Lt or Lte, the range is reversed. @$pb.TagNumber(5) $fixnum.Int64 get gte => $_getI64(4); @$pb.TagNumber(5) set gte($fixnum.Int64 v) { $_setInt64(4, v); } @$pb.TagNumber(5) $core.bool hasGte() => $_has(4); @$pb.TagNumber(5) void clearGte() => clearField(5); /// In specifies that this field must be equal to one of the specified /// values @$pb.TagNumber(6) $core.List<$fixnum.Int64> get in_6 => $_getList(5); /// NotIn specifies that this field cannot be equal to one of the specified /// values @$pb.TagNumber(7) $core.List<$fixnum.Int64> get notIn => $_getList(6); /// unauthorized specifies that this field cannot be written. @$pb.TagNumber(8) $core.bool get unauthorized => $_getBF(7); @$pb.TagNumber(8) set unauthorized($core.bool v) { $_setBool(7, v); } @$pb.TagNumber(8) $core.bool hasUnauthorized() => $_has(7); @$pb.TagNumber(8) void clearUnauthorized() => clearField(8); /// IgnoreEmpty specifies that the validation rules of this field should be /// evaluated only if the field is not empty @$pb.TagNumber(9) $core.bool get ignoreEmpty => $_getBF(8); @$pb.TagNumber(9) set ignoreEmpty($core.bool v) { $_setBool(8, v); } @$pb.TagNumber(9) $core.bool hasIgnoreEmpty() => $_has(8); @$pb.TagNumber(9) void clearIgnoreEmpty() => clearField(9); } /// SInt32Rules describes the constraints applied to `sint32` values class SInt32Rules extends $pb.GeneratedMessage { factory SInt32Rules({ $core.int? const_1, $core.int? lt, $core.int? lte, $core.int? gt, $core.int? gte, $core.Iterable<$core.int>? in_6, $core.Iterable<$core.int>? notIn, $core.bool? unauthorized, $core.bool? ignoreEmpty, }) { final $result = create(); if (const_1 != null) { $result.const_1 = const_1; } if (lt != null) { $result.lt = lt; } if (lte != null) { $result.lte = lte; } if (gt != null) { $result.gt = gt; } if (gte != null) { $result.gte = gte; } if (in_6 != null) { $result.in_6.addAll(in_6); } if (notIn != null) { $result.notIn.addAll(notIn); } if (unauthorized != null) { $result.unauthorized = unauthorized; } if (ignoreEmpty != null) { $result.ignoreEmpty = ignoreEmpty; } return $result; } SInt32Rules._() : super(); factory SInt32Rules.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory SInt32Rules.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SInt32Rules', package: const $pb.PackageName(_omitMessageNames ? '' : 'validate'), createEmptyInstance: create) ..a<$core.int>(1, _omitFieldNames ? '' : 'const', $pb.PbFieldType.OS3) ..a<$core.int>(2, _omitFieldNames ? '' : 'lt', $pb.PbFieldType.OS3) ..a<$core.int>(3, _omitFieldNames ? '' : 'lte', $pb.PbFieldType.OS3) ..a<$core.int>(4, _omitFieldNames ? '' : 'gt', $pb.PbFieldType.OS3) ..a<$core.int>(5, _omitFieldNames ? '' : 'gte', $pb.PbFieldType.OS3) ..p<$core.int>(6, _omitFieldNames ? '' : 'in', $pb.PbFieldType.PS3) ..p<$core.int>(7, _omitFieldNames ? '' : 'notIn', $pb.PbFieldType.PS3) ..aOB(8, _omitFieldNames ? '' : 'unauthorized') ..aOB(9, _omitFieldNames ? '' : 'ignoreEmpty') ..hasRequiredFields = false ; @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 'Will be removed in next major version') SInt32Rules clone() => SInt32Rules()..mergeFromMessage(this); @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') SInt32Rules copyWith(void Function(SInt32Rules) updates) => super.copyWith((message) => updates(message as SInt32Rules)) as SInt32Rules; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static SInt32Rules create() => SInt32Rules._(); SInt32Rules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') static SInt32Rules getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static SInt32Rules? _defaultInstance; /// Const specifies that this field must be exactly the specified value @$pb.TagNumber(1) $core.int get const_1 => $_getIZ(0); @$pb.TagNumber(1) set const_1($core.int v) { $_setSignedInt32(0, v); } @$pb.TagNumber(1) $core.bool hasConst_1() => $_has(0); @$pb.TagNumber(1) void clearConst_1() => clearField(1); /// Lt specifies that this field must be less than the specified value, /// exclusive @$pb.TagNumber(2) $core.int get lt => $_getIZ(1); @$pb.TagNumber(2) set lt($core.int v) { $_setSignedInt32(1, v); } @$pb.TagNumber(2) $core.bool hasLt() => $_has(1); @$pb.TagNumber(2) void clearLt() => clearField(2); /// Lte specifies that this field must be less than or equal to the /// specified value, inclusive @$pb.TagNumber(3) $core.int get lte => $_getIZ(2); @$pb.TagNumber(3) set lte($core.int v) { $_setSignedInt32(2, v); } @$pb.TagNumber(3) $core.bool hasLte() => $_has(2); @$pb.TagNumber(3) void clearLte() => clearField(3); /// Gt specifies that this field must be greater than the specified value, /// exclusive. If the value of Gt is larger than a specified Lt or Lte, the /// range is reversed. @$pb.TagNumber(4) $core.int get gt => $_getIZ(3); @$pb.TagNumber(4) set gt($core.int v) { $_setSignedInt32(3, v); } @$pb.TagNumber(4) $core.bool hasGt() => $_has(3); @$pb.TagNumber(4) void clearGt() => clearField(4); /// Gte specifies that this field must be greater than or equal to the /// specified value, inclusive. If the value of Gte is larger than a /// specified Lt or Lte, the range is reversed. @$pb.TagNumber(5) $core.int get gte => $_getIZ(4); @$pb.TagNumber(5) set gte($core.int v) { $_setSignedInt32(4, v); } @$pb.TagNumber(5) $core.bool hasGte() => $_has(4); @$pb.TagNumber(5) void clearGte() => clearField(5); /// In specifies that this field must be equal to one of the specified /// values @$pb.TagNumber(6) $core.List<$core.int> get in_6 => $_getList(5); /// NotIn specifies that this field cannot be equal to one of the specified /// values @$pb.TagNumber(7) $core.List<$core.int> get notIn => $_getList(6); /// unauthorized specifies that this field cannot be written. @$pb.TagNumber(8) $core.bool get unauthorized => $_getBF(7); @$pb.TagNumber(8) set unauthorized($core.bool v) { $_setBool(7, v); } @$pb.TagNumber(8) $core.bool hasUnauthorized() => $_has(7); @$pb.TagNumber(8) void clearUnauthorized() => clearField(8); /// IgnoreEmpty specifies that the validation rules of this field should be /// evaluated only if the field is not empty @$pb.TagNumber(9) $core.bool get ignoreEmpty => $_getBF(8); @$pb.TagNumber(9) set ignoreEmpty($core.bool v) { $_setBool(8, v); } @$pb.TagNumber(9) $core.bool hasIgnoreEmpty() => $_has(8); @$pb.TagNumber(9) void clearIgnoreEmpty() => clearField(9); } /// SInt64Rules describes the constraints applied to `sint64` values class SInt64Rules extends $pb.GeneratedMessage { factory SInt64Rules({ $fixnum.Int64? const_1, $fixnum.Int64? lt, $fixnum.Int64? lte, $fixnum.Int64? gt, $fixnum.Int64? gte, $core.Iterable<$fixnum.Int64>? in_6, $core.Iterable<$fixnum.Int64>? notIn, $core.bool? unauthorized, $core.bool? ignoreEmpty, }) { final $result = create(); if (const_1 != null) { $result.const_1 = const_1; } if (lt != null) { $result.lt = lt; } if (lte != null) { $result.lte = lte; } if (gt != null) { $result.gt = gt; } if (gte != null) { $result.gte = gte; } if (in_6 != null) { $result.in_6.addAll(in_6); } if (notIn != null) { $result.notIn.addAll(notIn); } if (unauthorized != null) { $result.unauthorized = unauthorized; } if (ignoreEmpty != null) { $result.ignoreEmpty = ignoreEmpty; } return $result; } SInt64Rules._() : super(); factory SInt64Rules.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory SInt64Rules.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SInt64Rules', package: const $pb.PackageName(_omitMessageNames ? '' : 'validate'), createEmptyInstance: create) ..a<$fixnum.Int64>(1, _omitFieldNames ? '' : 'const', $pb.PbFieldType.OS6, defaultOrMaker: $fixnum.Int64.ZERO) ..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'lt', $pb.PbFieldType.OS6, defaultOrMaker: $fixnum.Int64.ZERO) ..a<$fixnum.Int64>(3, _omitFieldNames ? '' : 'lte', $pb.PbFieldType.OS6, defaultOrMaker: $fixnum.Int64.ZERO) ..a<$fixnum.Int64>(4, _omitFieldNames ? '' : 'gt', $pb.PbFieldType.OS6, defaultOrMaker: $fixnum.Int64.ZERO) ..a<$fixnum.Int64>(5, _omitFieldNames ? '' : 'gte', $pb.PbFieldType.OS6, defaultOrMaker: $fixnum.Int64.ZERO) ..p<$fixnum.Int64>(6, _omitFieldNames ? '' : 'in', $pb.PbFieldType.PS6) ..p<$fixnum.Int64>(7, _omitFieldNames ? '' : 'notIn', $pb.PbFieldType.PS6) ..aOB(8, _omitFieldNames ? '' : 'unauthorized') ..aOB(9, _omitFieldNames ? '' : 'ignoreEmpty') ..hasRequiredFields = false ; @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 'Will be removed in next major version') SInt64Rules clone() => SInt64Rules()..mergeFromMessage(this); @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') SInt64Rules copyWith(void Function(SInt64Rules) updates) => super.copyWith((message) => updates(message as SInt64Rules)) as SInt64Rules; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static SInt64Rules create() => SInt64Rules._(); SInt64Rules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') static SInt64Rules getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static SInt64Rules? _defaultInstance; /// Const specifies that this field must be exactly the specified value @$pb.TagNumber(1) $fixnum.Int64 get const_1 => $_getI64(0); @$pb.TagNumber(1) set const_1($fixnum.Int64 v) { $_setInt64(0, v); } @$pb.TagNumber(1) $core.bool hasConst_1() => $_has(0); @$pb.TagNumber(1) void clearConst_1() => clearField(1); /// Lt specifies that this field must be less than the specified value, /// exclusive @$pb.TagNumber(2) $fixnum.Int64 get lt => $_getI64(1); @$pb.TagNumber(2) set lt($fixnum.Int64 v) { $_setInt64(1, v); } @$pb.TagNumber(2) $core.bool hasLt() => $_has(1); @$pb.TagNumber(2) void clearLt() => clearField(2); /// Lte specifies that this field must be less than or equal to the /// specified value, inclusive @$pb.TagNumber(3) $fixnum.Int64 get lte => $_getI64(2); @$pb.TagNumber(3) set lte($fixnum.Int64 v) { $_setInt64(2, v); } @$pb.TagNumber(3) $core.bool hasLte() => $_has(2); @$pb.TagNumber(3) void clearLte() => clearField(3); /// Gt specifies that this field must be greater than the specified value, /// exclusive. If the value of Gt is larger than a specified Lt or Lte, the /// range is reversed. @$pb.TagNumber(4) $fixnum.Int64 get gt => $_getI64(3); @$pb.TagNumber(4) set gt($fixnum.Int64 v) { $_setInt64(3, v); } @$pb.TagNumber(4) $core.bool hasGt() => $_has(3); @$pb.TagNumber(4) void clearGt() => clearField(4); /// Gte specifies that this field must be greater than or equal to the /// specified value, inclusive. If the value of Gte is larger than a /// specified Lt or Lte, the range is reversed. @$pb.TagNumber(5) $fixnum.Int64 get gte => $_getI64(4); @$pb.TagNumber(5) set gte($fixnum.Int64 v) { $_setInt64(4, v); } @$pb.TagNumber(5) $core.bool hasGte() => $_has(4); @$pb.TagNumber(5) void clearGte() => clearField(5); /// In specifies that this field must be equal to one of the specified /// values @$pb.TagNumber(6) $core.List<$fixnum.Int64> get in_6 => $_getList(5); /// NotIn specifies that this field cannot be equal to one of the specified /// values @$pb.TagNumber(7) $core.List<$fixnum.Int64> get notIn => $_getList(6); /// unauthorized specifies that this field cannot be written. @$pb.TagNumber(8) $core.bool get unauthorized => $_getBF(7); @$pb.TagNumber(8) set unauthorized($core.bool v) { $_setBool(7, v); } @$pb.TagNumber(8) $core.bool hasUnauthorized() => $_has(7); @$pb.TagNumber(8) void clearUnauthorized() => clearField(8); /// IgnoreEmpty specifies that the validation rules of this field should be /// evaluated only if the field is not empty @$pb.TagNumber(9) $core.bool get ignoreEmpty => $_getBF(8); @$pb.TagNumber(9) set ignoreEmpty($core.bool v) { $_setBool(8, v); } @$pb.TagNumber(9) $core.bool hasIgnoreEmpty() => $_has(8); @$pb.TagNumber(9) void clearIgnoreEmpty() => clearField(9); } /// Fixed32Rules describes the constraints applied to `fixed32` values class Fixed32Rules extends $pb.GeneratedMessage { factory Fixed32Rules({ $core.int? const_1, $core.int? lt, $core.int? lte, $core.int? gt, $core.int? gte, $core.Iterable<$core.int>? in_6, $core.Iterable<$core.int>? notIn, $core.bool? unauthorized, $core.bool? ignoreEmpty, }) { final $result = create(); if (const_1 != null) { $result.const_1 = const_1; } if (lt != null) { $result.lt = lt; } if (lte != null) { $result.lte = lte; } if (gt != null) { $result.gt = gt; } if (gte != null) { $result.gte = gte; } if (in_6 != null) { $result.in_6.addAll(in_6); } if (notIn != null) { $result.notIn.addAll(notIn); } if (unauthorized != null) { $result.unauthorized = unauthorized; } if (ignoreEmpty != null) { $result.ignoreEmpty = ignoreEmpty; } return $result; } Fixed32Rules._() : super(); factory Fixed32Rules.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory Fixed32Rules.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Fixed32Rules', package: const $pb.PackageName(_omitMessageNames ? '' : 'validate'), createEmptyInstance: create) ..a<$core.int>(1, _omitFieldNames ? '' : 'const', $pb.PbFieldType.OF3) ..a<$core.int>(2, _omitFieldNames ? '' : 'lt', $pb.PbFieldType.OF3) ..a<$core.int>(3, _omitFieldNames ? '' : 'lte', $pb.PbFieldType.OF3) ..a<$core.int>(4, _omitFieldNames ? '' : 'gt', $pb.PbFieldType.OF3) ..a<$core.int>(5, _omitFieldNames ? '' : 'gte', $pb.PbFieldType.OF3) ..p<$core.int>(6, _omitFieldNames ? '' : 'in', $pb.PbFieldType.PF3) ..p<$core.int>(7, _omitFieldNames ? '' : 'notIn', $pb.PbFieldType.PF3) ..aOB(8, _omitFieldNames ? '' : 'unauthorized') ..aOB(9, _omitFieldNames ? '' : 'ignoreEmpty') ..hasRequiredFields = false ; @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 'Will be removed in next major version') Fixed32Rules clone() => Fixed32Rules()..mergeFromMessage(this); @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') Fixed32Rules copyWith(void Function(Fixed32Rules) updates) => super.copyWith((message) => updates(message as Fixed32Rules)) as Fixed32Rules; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static Fixed32Rules create() => Fixed32Rules._(); Fixed32Rules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') static Fixed32Rules getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static Fixed32Rules? _defaultInstance; /// Const specifies that this field must be exactly the specified value @$pb.TagNumber(1) $core.int get const_1 => $_getIZ(0); @$pb.TagNumber(1) set const_1($core.int v) { $_setUnsignedInt32(0, v); } @$pb.TagNumber(1) $core.bool hasConst_1() => $_has(0); @$pb.TagNumber(1) void clearConst_1() => clearField(1); /// Lt specifies that this field must be less than the specified value, /// exclusive @$pb.TagNumber(2) $core.int get lt => $_getIZ(1); @$pb.TagNumber(2) set lt($core.int v) { $_setUnsignedInt32(1, v); } @$pb.TagNumber(2) $core.bool hasLt() => $_has(1); @$pb.TagNumber(2) void clearLt() => clearField(2); /// Lte specifies that this field must be less than or equal to the /// specified value, inclusive @$pb.TagNumber(3) $core.int get lte => $_getIZ(2); @$pb.TagNumber(3) set lte($core.int v) { $_setUnsignedInt32(2, v); } @$pb.TagNumber(3) $core.bool hasLte() => $_has(2); @$pb.TagNumber(3) void clearLte() => clearField(3); /// Gt specifies that this field must be greater than the specified value, /// exclusive. If the value of Gt is larger than a specified Lt or Lte, the /// range is reversed. @$pb.TagNumber(4) $core.int get gt => $_getIZ(3); @$pb.TagNumber(4) set gt($core.int v) { $_setUnsignedInt32(3, v); } @$pb.TagNumber(4) $core.bool hasGt() => $_has(3); @$pb.TagNumber(4) void clearGt() => clearField(4); /// Gte specifies that this field must be greater than or equal to the /// specified value, inclusive. If the value of Gte is larger than a /// specified Lt or Lte, the range is reversed. @$pb.TagNumber(5) $core.int get gte => $_getIZ(4); @$pb.TagNumber(5) set gte($core.int v) { $_setUnsignedInt32(4, v); } @$pb.TagNumber(5) $core.bool hasGte() => $_has(4); @$pb.TagNumber(5) void clearGte() => clearField(5); /// In specifies that this field must be equal to one of the specified /// values @$pb.TagNumber(6) $core.List<$core.int> get in_6 => $_getList(5); /// NotIn specifies that this field cannot be equal to one of the specified /// values @$pb.TagNumber(7) $core.List<$core.int> get notIn => $_getList(6); /// unauthorized specifies that this field cannot be written. @$pb.TagNumber(8) $core.bool get unauthorized => $_getBF(7); @$pb.TagNumber(8) set unauthorized($core.bool v) { $_setBool(7, v); } @$pb.TagNumber(8) $core.bool hasUnauthorized() => $_has(7); @$pb.TagNumber(8) void clearUnauthorized() => clearField(8); /// IgnoreEmpty specifies that the validation rules of this field should be /// evaluated only if the field is not empty @$pb.TagNumber(9) $core.bool get ignoreEmpty => $_getBF(8); @$pb.TagNumber(9) set ignoreEmpty($core.bool v) { $_setBool(8, v); } @$pb.TagNumber(9) $core.bool hasIgnoreEmpty() => $_has(8); @$pb.TagNumber(9) void clearIgnoreEmpty() => clearField(9); } /// Fixed64Rules describes the constraints applied to `fixed64` values class Fixed64Rules extends $pb.GeneratedMessage { factory Fixed64Rules({ $fixnum.Int64? const_1, $fixnum.Int64? lt, $fixnum.Int64? lte, $fixnum.Int64? gt, $fixnum.Int64? gte, $core.Iterable<$fixnum.Int64>? in_6, $core.Iterable<$fixnum.Int64>? notIn, $core.bool? unauthorized, $core.bool? ignoreEmpty, }) { final $result = create(); if (const_1 != null) { $result.const_1 = const_1; } if (lt != null) { $result.lt = lt; } if (lte != null) { $result.lte = lte; } if (gt != null) { $result.gt = gt; } if (gte != null) { $result.gte = gte; } if (in_6 != null) { $result.in_6.addAll(in_6); } if (notIn != null) { $result.notIn.addAll(notIn); } if (unauthorized != null) { $result.unauthorized = unauthorized; } if (ignoreEmpty != null) { $result.ignoreEmpty = ignoreEmpty; } return $result; } Fixed64Rules._() : super(); factory Fixed64Rules.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory Fixed64Rules.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Fixed64Rules', package: const $pb.PackageName(_omitMessageNames ? '' : 'validate'), createEmptyInstance: create) ..a<$fixnum.Int64>(1, _omitFieldNames ? '' : 'const', $pb.PbFieldType.OF6, defaultOrMaker: $fixnum.Int64.ZERO) ..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'lt', $pb.PbFieldType.OF6, defaultOrMaker: $fixnum.Int64.ZERO) ..a<$fixnum.Int64>(3, _omitFieldNames ? '' : 'lte', $pb.PbFieldType.OF6, defaultOrMaker: $fixnum.Int64.ZERO) ..a<$fixnum.Int64>(4, _omitFieldNames ? '' : 'gt', $pb.PbFieldType.OF6, defaultOrMaker: $fixnum.Int64.ZERO) ..a<$fixnum.Int64>(5, _omitFieldNames ? '' : 'gte', $pb.PbFieldType.OF6, defaultOrMaker: $fixnum.Int64.ZERO) ..p<$fixnum.Int64>(6, _omitFieldNames ? '' : 'in', $pb.PbFieldType.PF6) ..p<$fixnum.Int64>(7, _omitFieldNames ? '' : 'notIn', $pb.PbFieldType.PF6) ..aOB(8, _omitFieldNames ? '' : 'unauthorized') ..aOB(9, _omitFieldNames ? '' : 'ignoreEmpty') ..hasRequiredFields = false ; @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 'Will be removed in next major version') Fixed64Rules clone() => Fixed64Rules()..mergeFromMessage(this); @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') Fixed64Rules copyWith(void Function(Fixed64Rules) updates) => super.copyWith((message) => updates(message as Fixed64Rules)) as Fixed64Rules; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static Fixed64Rules create() => Fixed64Rules._(); Fixed64Rules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') static Fixed64Rules getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static Fixed64Rules? _defaultInstance; /// Const specifies that this field must be exactly the specified value @$pb.TagNumber(1) $fixnum.Int64 get const_1 => $_getI64(0); @$pb.TagNumber(1) set const_1($fixnum.Int64 v) { $_setInt64(0, v); } @$pb.TagNumber(1) $core.bool hasConst_1() => $_has(0); @$pb.TagNumber(1) void clearConst_1() => clearField(1); /// Lt specifies that this field must be less than the specified value, /// exclusive @$pb.TagNumber(2) $fixnum.Int64 get lt => $_getI64(1); @$pb.TagNumber(2) set lt($fixnum.Int64 v) { $_setInt64(1, v); } @$pb.TagNumber(2) $core.bool hasLt() => $_has(1); @$pb.TagNumber(2) void clearLt() => clearField(2); /// Lte specifies that this field must be less than or equal to the /// specified value, inclusive @$pb.TagNumber(3) $fixnum.Int64 get lte => $_getI64(2); @$pb.TagNumber(3) set lte($fixnum.Int64 v) { $_setInt64(2, v); } @$pb.TagNumber(3) $core.bool hasLte() => $_has(2); @$pb.TagNumber(3) void clearLte() => clearField(3); /// Gt specifies that this field must be greater than the specified value, /// exclusive. If the value of Gt is larger than a specified Lt or Lte, the /// range is reversed. @$pb.TagNumber(4) $fixnum.Int64 get gt => $_getI64(3); @$pb.TagNumber(4) set gt($fixnum.Int64 v) { $_setInt64(3, v); } @$pb.TagNumber(4) $core.bool hasGt() => $_has(3); @$pb.TagNumber(4) void clearGt() => clearField(4); /// Gte specifies that this field must be greater than or equal to the /// specified value, inclusive. If the value of Gte is larger than a /// specified Lt or Lte, the range is reversed. @$pb.TagNumber(5) $fixnum.Int64 get gte => $_getI64(4); @$pb.TagNumber(5) set gte($fixnum.Int64 v) { $_setInt64(4, v); } @$pb.TagNumber(5) $core.bool hasGte() => $_has(4); @$pb.TagNumber(5) void clearGte() => clearField(5); /// In specifies that this field must be equal to one of the specified /// values @$pb.TagNumber(6) $core.List<$fixnum.Int64> get in_6 => $_getList(5); /// NotIn specifies that this field cannot be equal to one of the specified /// values @$pb.TagNumber(7) $core.List<$fixnum.Int64> get notIn => $_getList(6); /// unauthorized specifies that this field cannot be written. @$pb.TagNumber(8) $core.bool get unauthorized => $_getBF(7); @$pb.TagNumber(8) set unauthorized($core.bool v) { $_setBool(7, v); } @$pb.TagNumber(8) $core.bool hasUnauthorized() => $_has(7); @$pb.TagNumber(8) void clearUnauthorized() => clearField(8); /// IgnoreEmpty specifies that the validation rules of this field should be /// evaluated only if the field is not empty @$pb.TagNumber(9) $core.bool get ignoreEmpty => $_getBF(8); @$pb.TagNumber(9) set ignoreEmpty($core.bool v) { $_setBool(8, v); } @$pb.TagNumber(9) $core.bool hasIgnoreEmpty() => $_has(8); @$pb.TagNumber(9) void clearIgnoreEmpty() => clearField(9); } /// SFixed32Rules describes the constraints applied to `sfixed32` values class SFixed32Rules extends $pb.GeneratedMessage { factory SFixed32Rules({ $core.int? const_1, $core.int? lt, $core.int? lte, $core.int? gt, $core.int? gte, $core.Iterable<$core.int>? in_6, $core.Iterable<$core.int>? notIn, $core.bool? unauthorized, $core.bool? ignoreEmpty, }) { final $result = create(); if (const_1 != null) { $result.const_1 = const_1; } if (lt != null) { $result.lt = lt; } if (lte != null) { $result.lte = lte; } if (gt != null) { $result.gt = gt; } if (gte != null) { $result.gte = gte; } if (in_6 != null) { $result.in_6.addAll(in_6); } if (notIn != null) { $result.notIn.addAll(notIn); } if (unauthorized != null) { $result.unauthorized = unauthorized; } if (ignoreEmpty != null) { $result.ignoreEmpty = ignoreEmpty; } return $result; } SFixed32Rules._() : super(); factory SFixed32Rules.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory SFixed32Rules.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SFixed32Rules', package: const $pb.PackageName(_omitMessageNames ? '' : 'validate'), createEmptyInstance: create) ..a<$core.int>(1, _omitFieldNames ? '' : 'const', $pb.PbFieldType.OSF3) ..a<$core.int>(2, _omitFieldNames ? '' : 'lt', $pb.PbFieldType.OSF3) ..a<$core.int>(3, _omitFieldNames ? '' : 'lte', $pb.PbFieldType.OSF3) ..a<$core.int>(4, _omitFieldNames ? '' : 'gt', $pb.PbFieldType.OSF3) ..a<$core.int>(5, _omitFieldNames ? '' : 'gte', $pb.PbFieldType.OSF3) ..p<$core.int>(6, _omitFieldNames ? '' : 'in', $pb.PbFieldType.PSF3) ..p<$core.int>(7, _omitFieldNames ? '' : 'notIn', $pb.PbFieldType.PSF3) ..aOB(8, _omitFieldNames ? '' : 'unauthorized') ..aOB(9, _omitFieldNames ? '' : 'ignoreEmpty') ..hasRequiredFields = false ; @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 'Will be removed in next major version') SFixed32Rules clone() => SFixed32Rules()..mergeFromMessage(this); @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') SFixed32Rules copyWith(void Function(SFixed32Rules) updates) => super.copyWith((message) => updates(message as SFixed32Rules)) as SFixed32Rules; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static SFixed32Rules create() => SFixed32Rules._(); SFixed32Rules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') static SFixed32Rules getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static SFixed32Rules? _defaultInstance; /// Const specifies that this field must be exactly the specified value @$pb.TagNumber(1) $core.int get const_1 => $_getIZ(0); @$pb.TagNumber(1) set const_1($core.int v) { $_setSignedInt32(0, v); } @$pb.TagNumber(1) $core.bool hasConst_1() => $_has(0); @$pb.TagNumber(1) void clearConst_1() => clearField(1); /// Lt specifies that this field must be less than the specified value, /// exclusive @$pb.TagNumber(2) $core.int get lt => $_getIZ(1); @$pb.TagNumber(2) set lt($core.int v) { $_setSignedInt32(1, v); } @$pb.TagNumber(2) $core.bool hasLt() => $_has(1); @$pb.TagNumber(2) void clearLt() => clearField(2); /// Lte specifies that this field must be less than or equal to the /// specified value, inclusive @$pb.TagNumber(3) $core.int get lte => $_getIZ(2); @$pb.TagNumber(3) set lte($core.int v) { $_setSignedInt32(2, v); } @$pb.TagNumber(3) $core.bool hasLte() => $_has(2); @$pb.TagNumber(3) void clearLte() => clearField(3); /// Gt specifies that this field must be greater than the specified value, /// exclusive. If the value of Gt is larger than a specified Lt or Lte, the /// range is reversed. @$pb.TagNumber(4) $core.int get gt => $_getIZ(3); @$pb.TagNumber(4) set gt($core.int v) { $_setSignedInt32(3, v); } @$pb.TagNumber(4) $core.bool hasGt() => $_has(3); @$pb.TagNumber(4) void clearGt() => clearField(4); /// Gte specifies that this field must be greater than or equal to the /// specified value, inclusive. If the value of Gte is larger than a /// specified Lt or Lte, the range is reversed. @$pb.TagNumber(5) $core.int get gte => $_getIZ(4); @$pb.TagNumber(5) set gte($core.int v) { $_setSignedInt32(4, v); } @$pb.TagNumber(5) $core.bool hasGte() => $_has(4); @$pb.TagNumber(5) void clearGte() => clearField(5); /// In specifies that this field must be equal to one of the specified /// values @$pb.TagNumber(6) $core.List<$core.int> get in_6 => $_getList(5); /// NotIn specifies that this field cannot be equal to one of the specified /// values @$pb.TagNumber(7) $core.List<$core.int> get notIn => $_getList(6); /// unauthorized specifies that this field cannot be written. @$pb.TagNumber(8) $core.bool get unauthorized => $_getBF(7); @$pb.TagNumber(8) set unauthorized($core.bool v) { $_setBool(7, v); } @$pb.TagNumber(8) $core.bool hasUnauthorized() => $_has(7); @$pb.TagNumber(8) void clearUnauthorized() => clearField(8); /// IgnoreEmpty specifies that the validation rules of this field should be /// evaluated only if the field is not empty @$pb.TagNumber(9) $core.bool get ignoreEmpty => $_getBF(8); @$pb.TagNumber(9) set ignoreEmpty($core.bool v) { $_setBool(8, v); } @$pb.TagNumber(9) $core.bool hasIgnoreEmpty() => $_has(8); @$pb.TagNumber(9) void clearIgnoreEmpty() => clearField(9); } /// SFixed64Rules describes the constraints applied to `sfixed64` values class SFixed64Rules extends $pb.GeneratedMessage { factory SFixed64Rules({ $fixnum.Int64? const_1, $fixnum.Int64? lt, $fixnum.Int64? lte, $fixnum.Int64? gt, $fixnum.Int64? gte, $core.Iterable<$fixnum.Int64>? in_6, $core.Iterable<$fixnum.Int64>? notIn, $core.bool? unauthorized, $core.bool? ignoreEmpty, }) { final $result = create(); if (const_1 != null) { $result.const_1 = const_1; } if (lt != null) { $result.lt = lt; } if (lte != null) { $result.lte = lte; } if (gt != null) { $result.gt = gt; } if (gte != null) { $result.gte = gte; } if (in_6 != null) { $result.in_6.addAll(in_6); } if (notIn != null) { $result.notIn.addAll(notIn); } if (unauthorized != null) { $result.unauthorized = unauthorized; } if (ignoreEmpty != null) { $result.ignoreEmpty = ignoreEmpty; } return $result; } SFixed64Rules._() : super(); factory SFixed64Rules.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory SFixed64Rules.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SFixed64Rules', package: const $pb.PackageName(_omitMessageNames ? '' : 'validate'), createEmptyInstance: create) ..a<$fixnum.Int64>(1, _omitFieldNames ? '' : 'const', $pb.PbFieldType.OSF6, defaultOrMaker: $fixnum.Int64.ZERO) ..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'lt', $pb.PbFieldType.OSF6, defaultOrMaker: $fixnum.Int64.ZERO) ..a<$fixnum.Int64>(3, _omitFieldNames ? '' : 'lte', $pb.PbFieldType.OSF6, defaultOrMaker: $fixnum.Int64.ZERO) ..a<$fixnum.Int64>(4, _omitFieldNames ? '' : 'gt', $pb.PbFieldType.OSF6, defaultOrMaker: $fixnum.Int64.ZERO) ..a<$fixnum.Int64>(5, _omitFieldNames ? '' : 'gte', $pb.PbFieldType.OSF6, defaultOrMaker: $fixnum.Int64.ZERO) ..p<$fixnum.Int64>(6, _omitFieldNames ? '' : 'in', $pb.PbFieldType.PSF6) ..p<$fixnum.Int64>(7, _omitFieldNames ? '' : 'notIn', $pb.PbFieldType.PSF6) ..aOB(8, _omitFieldNames ? '' : 'unauthorized') ..aOB(9, _omitFieldNames ? '' : 'ignoreEmpty') ..hasRequiredFields = false ; @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 'Will be removed in next major version') SFixed64Rules clone() => SFixed64Rules()..mergeFromMessage(this); @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') SFixed64Rules copyWith(void Function(SFixed64Rules) updates) => super.copyWith((message) => updates(message as SFixed64Rules)) as SFixed64Rules; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static SFixed64Rules create() => SFixed64Rules._(); SFixed64Rules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') static SFixed64Rules getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static SFixed64Rules? _defaultInstance; /// Const specifies that this field must be exactly the specified value @$pb.TagNumber(1) $fixnum.Int64 get const_1 => $_getI64(0); @$pb.TagNumber(1) set const_1($fixnum.Int64 v) { $_setInt64(0, v); } @$pb.TagNumber(1) $core.bool hasConst_1() => $_has(0); @$pb.TagNumber(1) void clearConst_1() => clearField(1); /// Lt specifies that this field must be less than the specified value, /// exclusive @$pb.TagNumber(2) $fixnum.Int64 get lt => $_getI64(1); @$pb.TagNumber(2) set lt($fixnum.Int64 v) { $_setInt64(1, v); } @$pb.TagNumber(2) $core.bool hasLt() => $_has(1); @$pb.TagNumber(2) void clearLt() => clearField(2); /// Lte specifies that this field must be less than or equal to the /// specified value, inclusive @$pb.TagNumber(3) $fixnum.Int64 get lte => $_getI64(2); @$pb.TagNumber(3) set lte($fixnum.Int64 v) { $_setInt64(2, v); } @$pb.TagNumber(3) $core.bool hasLte() => $_has(2); @$pb.TagNumber(3) void clearLte() => clearField(3); /// Gt specifies that this field must be greater than the specified value, /// exclusive. If the value of Gt is larger than a specified Lt or Lte, the /// range is reversed. @$pb.TagNumber(4) $fixnum.Int64 get gt => $_getI64(3); @$pb.TagNumber(4) set gt($fixnum.Int64 v) { $_setInt64(3, v); } @$pb.TagNumber(4) $core.bool hasGt() => $_has(3); @$pb.TagNumber(4) void clearGt() => clearField(4); /// Gte specifies that this field must be greater than or equal to the /// specified value, inclusive. If the value of Gte is larger than a /// specified Lt or Lte, the range is reversed. @$pb.TagNumber(5) $fixnum.Int64 get gte => $_getI64(4); @$pb.TagNumber(5) set gte($fixnum.Int64 v) { $_setInt64(4, v); } @$pb.TagNumber(5) $core.bool hasGte() => $_has(4); @$pb.TagNumber(5) void clearGte() => clearField(5); /// In specifies that this field must be equal to one of the specified /// values @$pb.TagNumber(6) $core.List<$fixnum.Int64> get in_6 => $_getList(5); /// NotIn specifies that this field cannot be equal to one of the specified /// values @$pb.TagNumber(7) $core.List<$fixnum.Int64> get notIn => $_getList(6); /// unauthorized specifies that this field cannot be written. @$pb.TagNumber(8) $core.bool get unauthorized => $_getBF(7); @$pb.TagNumber(8) set unauthorized($core.bool v) { $_setBool(7, v); } @$pb.TagNumber(8) $core.bool hasUnauthorized() => $_has(7); @$pb.TagNumber(8) void clearUnauthorized() => clearField(8); /// IgnoreEmpty specifies that the validation rules of this field should be /// evaluated only if the field is not empty @$pb.TagNumber(9) $core.bool get ignoreEmpty => $_getBF(8); @$pb.TagNumber(9) set ignoreEmpty($core.bool v) { $_setBool(8, v); } @$pb.TagNumber(9) $core.bool hasIgnoreEmpty() => $_has(8); @$pb.TagNumber(9) void clearIgnoreEmpty() => clearField(9); } /// BoolRules describes the constraints applied to `bool` values class BoolRules extends $pb.GeneratedMessage { factory BoolRules({ $core.bool? const_1, $core.bool? unauthorized, }) { final $result = create(); if (const_1 != null) { $result.const_1 = const_1; } if (unauthorized != null) { $result.unauthorized = unauthorized; } return $result; } BoolRules._() : super(); factory BoolRules.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory BoolRules.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BoolRules', package: const $pb.PackageName(_omitMessageNames ? '' : 'validate'), createEmptyInstance: create) ..aOB(1, _omitFieldNames ? '' : 'const') ..aOB(2, _omitFieldNames ? '' : 'unauthorized') ..hasRequiredFields = false ; @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 'Will be removed in next major version') BoolRules clone() => BoolRules()..mergeFromMessage(this); @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') BoolRules copyWith(void Function(BoolRules) updates) => super.copyWith((message) => updates(message as BoolRules)) as BoolRules; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static BoolRules create() => BoolRules._(); BoolRules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') static BoolRules getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static BoolRules? _defaultInstance; /// Const specifies that this field must be exactly the specified value @$pb.TagNumber(1) $core.bool get const_1 => $_getBF(0); @$pb.TagNumber(1) set const_1($core.bool v) { $_setBool(0, v); } @$pb.TagNumber(1) $core.bool hasConst_1() => $_has(0); @$pb.TagNumber(1) void clearConst_1() => clearField(1); /// unauthorized specifies that this field cannot be written. @$pb.TagNumber(2) $core.bool get unauthorized => $_getBF(1); @$pb.TagNumber(2) set unauthorized($core.bool v) { $_setBool(1, v); } @$pb.TagNumber(2) $core.bool hasUnauthorized() => $_has(1); @$pb.TagNumber(2) void clearUnauthorized() => clearField(2); } enum StringRules_WellKnown { email, hostname, ip, ipv4, ipv6, uri, uriRef, address, uuid, wellKnownRegex, dateIso8601, languageIso6391, tzData, notSet } /// StringRules describe the constraints applied to `string` values class StringRules extends $pb.GeneratedMessage { factory StringRules({ $core.String? const_1, $fixnum.Int64? minLen, $fixnum.Int64? maxLen, $fixnum.Int64? minBytes, $fixnum.Int64? maxBytes, $core.String? pattern, $core.String? prefix, $core.String? suffix, $core.String? contains, $core.Iterable<$core.String>? in_10, $core.Iterable<$core.String>? notIn, $core.bool? email, $core.bool? hostname, $core.bool? ip, $core.bool? ipv4, $core.bool? ipv6, $core.bool? uri, $core.bool? uriRef, $fixnum.Int64? len, $fixnum.Int64? lenBytes, $core.bool? address, $core.bool? uuid, $core.String? notContains, KnownRegex? wellKnownRegex, $core.bool? strict, $core.bool? dateIso8601, $core.bool? languageIso6391, $core.bool? tzData, $core.bool? unauthorized, $core.bool? ignoreEmpty, }) { final $result = create(); if (const_1 != null) { $result.const_1 = const_1; } if (minLen != null) { $result.minLen = minLen; } if (maxLen != null) { $result.maxLen = maxLen; } if (minBytes != null) { $result.minBytes = minBytes; } if (maxBytes != null) { $result.maxBytes = maxBytes; } if (pattern != null) { $result.pattern = pattern; } if (prefix != null) { $result.prefix = prefix; } if (suffix != null) { $result.suffix = suffix; } if (contains != null) { $result.contains = contains; } if (in_10 != null) { $result.in_10.addAll(in_10); } if (notIn != null) { $result.notIn.addAll(notIn); } if (email != null) { $result.email = email; } if (hostname != null) { $result.hostname = hostname; } if (ip != null) { $result.ip = ip; } if (ipv4 != null) { $result.ipv4 = ipv4; } if (ipv6 != null) { $result.ipv6 = ipv6; } if (uri != null) { $result.uri = uri; } if (uriRef != null) { $result.uriRef = uriRef; } if (len != null) { $result.len = len; } if (lenBytes != null) { $result.lenBytes = lenBytes; } if (address != null) { $result.address = address; } if (uuid != null) { $result.uuid = uuid; } if (notContains != null) { $result.notContains = notContains; } if (wellKnownRegex != null) { $result.wellKnownRegex = wellKnownRegex; } if (strict != null) { $result.strict = strict; } if (dateIso8601 != null) { $result.dateIso8601 = dateIso8601; } if (languageIso6391 != null) { $result.languageIso6391 = languageIso6391; } if (tzData != null) { $result.tzData = tzData; } if (unauthorized != null) { $result.unauthorized = unauthorized; } if (ignoreEmpty != null) { $result.ignoreEmpty = ignoreEmpty; } return $result; } StringRules._() : super(); factory StringRules.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory StringRules.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static const $core.Map<$core.int, StringRules_WellKnown> _StringRules_WellKnownByTag = { 12 : StringRules_WellKnown.email, 13 : StringRules_WellKnown.hostname, 14 : StringRules_WellKnown.ip, 15 : StringRules_WellKnown.ipv4, 16 : StringRules_WellKnown.ipv6, 17 : StringRules_WellKnown.uri, 18 : StringRules_WellKnown.uriRef, 21 : StringRules_WellKnown.address, 22 : StringRules_WellKnown.uuid, 24 : StringRules_WellKnown.wellKnownRegex, 26 : StringRules_WellKnown.dateIso8601, 27 : StringRules_WellKnown.languageIso6391, 28 : StringRules_WellKnown.tzData, 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]) ..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) ..a<$fixnum.Int64>(4, _omitFieldNames ? '' : 'minBytes', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) ..a<$fixnum.Int64>(5, _omitFieldNames ? '' : 'maxBytes', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) ..aOS(6, _omitFieldNames ? '' : 'pattern') ..aOS(7, _omitFieldNames ? '' : 'prefix') ..aOS(8, _omitFieldNames ? '' : 'suffix') ..aOS(9, _omitFieldNames ? '' : 'contains') ..pPS(10, _omitFieldNames ? '' : 'in') ..pPS(11, _omitFieldNames ? '' : 'notIn') ..aOB(12, _omitFieldNames ? '' : 'email') ..aOB(13, _omitFieldNames ? '' : 'hostname') ..aOB(14, _omitFieldNames ? '' : 'ip') ..aOB(15, _omitFieldNames ? '' : 'ipv4') ..aOB(16, _omitFieldNames ? '' : 'ipv6') ..aOB(17, _omitFieldNames ? '' : 'uri') ..aOB(18, _omitFieldNames ? '' : 'uriRef') ..a<$fixnum.Int64>(19, _omitFieldNames ? '' : 'len', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) ..a<$fixnum.Int64>(20, _omitFieldNames ? '' : 'lenBytes', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) ..aOB(21, _omitFieldNames ? '' : 'address') ..aOB(22, _omitFieldNames ? '' : 'uuid') ..aOS(23, _omitFieldNames ? '' : 'notContains') ..e(24, _omitFieldNames ? '' : 'wellKnownRegex', $pb.PbFieldType.OE, defaultOrMaker: KnownRegex.UNKNOWN, valueOf: KnownRegex.valueOf, enumValues: KnownRegex.values) ..a<$core.bool>(25, _omitFieldNames ? '' : 'strict', $pb.PbFieldType.OB, defaultOrMaker: true) ..aOB(26, _omitFieldNames ? '' : 'dateIso8601', protoName: 'dateIso8601') ..aOB(27, _omitFieldNames ? '' : 'languageIso6391', protoName: 'languageIso6391') ..aOB(28, _omitFieldNames ? '' : 'tzData', protoName: 'tzData') ..aOB(29, _omitFieldNames ? '' : 'unauthorized') ..aOB(30, _omitFieldNames ? '' : 'ignoreEmpty') ..hasRequiredFields = false ; @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 'Will be removed in next major version') StringRules clone() => StringRules()..mergeFromMessage(this); @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') StringRules copyWith(void Function(StringRules) updates) => super.copyWith((message) => updates(message as StringRules)) as StringRules; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static StringRules create() => StringRules._(); StringRules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') static StringRules getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static StringRules? _defaultInstance; StringRules_WellKnown whichWellKnown() => _StringRules_WellKnownByTag[$_whichOneof(0)]!; void clearWellKnown() => clearField($_whichOneof(0)); /// Const specifies that this field must be exactly the specified value @$pb.TagNumber(1) $core.String get const_1 => $_getSZ(0); @$pb.TagNumber(1) set const_1($core.String v) { $_setString(0, v); } @$pb.TagNumber(1) $core.bool hasConst_1() => $_has(0); @$pb.TagNumber(1) void clearConst_1() => clearField(1); /// MinLen specifies that this field must be the specified number of /// characters (Unicode code points) at a minimum. Note that the number of /// characters may differ from the number of bytes in the string. @$pb.TagNumber(2) $fixnum.Int64 get minLen => $_getI64(1); @$pb.TagNumber(2) set minLen($fixnum.Int64 v) { $_setInt64(1, v); } @$pb.TagNumber(2) $core.bool hasMinLen() => $_has(1); @$pb.TagNumber(2) void clearMinLen() => clearField(2); /// MaxLen specifies that this field must be the specified number of /// characters (Unicode code points) at a maximum. Note that the number of /// characters may differ from the number of bytes in the string. @$pb.TagNumber(3) $fixnum.Int64 get maxLen => $_getI64(2); @$pb.TagNumber(3) set maxLen($fixnum.Int64 v) { $_setInt64(2, v); } @$pb.TagNumber(3) $core.bool hasMaxLen() => $_has(2); @$pb.TagNumber(3) void clearMaxLen() => clearField(3); /// MinBytes specifies that this field must be the specified number of bytes /// at a minimum @$pb.TagNumber(4) $fixnum.Int64 get minBytes => $_getI64(3); @$pb.TagNumber(4) set minBytes($fixnum.Int64 v) { $_setInt64(3, v); } @$pb.TagNumber(4) $core.bool hasMinBytes() => $_has(3); @$pb.TagNumber(4) void clearMinBytes() => clearField(4); /// MaxBytes specifies that this field must be the specified number of bytes /// at a maximum @$pb.TagNumber(5) $fixnum.Int64 get maxBytes => $_getI64(4); @$pb.TagNumber(5) set maxBytes($fixnum.Int64 v) { $_setInt64(4, v); } @$pb.TagNumber(5) $core.bool hasMaxBytes() => $_has(4); @$pb.TagNumber(5) void clearMaxBytes() => clearField(5); /// Pattern specifes that this field must match against the specified /// regular expression (RE2 syntax). The included expression should elide /// any delimiters. @$pb.TagNumber(6) $core.String get pattern => $_getSZ(5); @$pb.TagNumber(6) set pattern($core.String v) { $_setString(5, v); } @$pb.TagNumber(6) $core.bool hasPattern() => $_has(5); @$pb.TagNumber(6) void clearPattern() => clearField(6); /// Prefix specifies that this field must have the specified substring at /// the beginning of the string. @$pb.TagNumber(7) $core.String get prefix => $_getSZ(6); @$pb.TagNumber(7) set prefix($core.String v) { $_setString(6, v); } @$pb.TagNumber(7) $core.bool hasPrefix() => $_has(6); @$pb.TagNumber(7) void clearPrefix() => clearField(7); /// Suffix specifies that this field must have the specified substring at /// the end of the string. @$pb.TagNumber(8) $core.String get suffix => $_getSZ(7); @$pb.TagNumber(8) set suffix($core.String v) { $_setString(7, v); } @$pb.TagNumber(8) $core.bool hasSuffix() => $_has(7); @$pb.TagNumber(8) void clearSuffix() => clearField(8); /// Contains specifies that this field must have the specified substring /// anywhere in the string. @$pb.TagNumber(9) $core.String get contains => $_getSZ(8); @$pb.TagNumber(9) set contains($core.String v) { $_setString(8, v); } @$pb.TagNumber(9) $core.bool hasContains() => $_has(8); @$pb.TagNumber(9) void clearContains() => clearField(9); /// In specifies that this field must be equal to one of the specified /// values @$pb.TagNumber(10) $core.List<$core.String> get in_10 => $_getList(9); /// NotIn specifies that this field cannot be equal to one of the specified /// values @$pb.TagNumber(11) $core.List<$core.String> get notIn => $_getList(10); /// Email specifies that the field must be a valid email address as /// defined by RFC 5322 @$pb.TagNumber(12) $core.bool get email => $_getBF(11); @$pb.TagNumber(12) set email($core.bool v) { $_setBool(11, v); } @$pb.TagNumber(12) $core.bool hasEmail() => $_has(11); @$pb.TagNumber(12) void clearEmail() => clearField(12); /// Hostname specifies that the field must be a valid hostname as /// defined by RFC 1034. This constraint does not support /// internationalized domain names (IDNs). @$pb.TagNumber(13) $core.bool get hostname => $_getBF(12); @$pb.TagNumber(13) set hostname($core.bool v) { $_setBool(12, v); } @$pb.TagNumber(13) $core.bool hasHostname() => $_has(12); @$pb.TagNumber(13) void clearHostname() => clearField(13); /// Ip specifies that the field must be a valid IP (v4 or v6) address. /// Valid IPv6 addresses should not include surrounding square brackets. @$pb.TagNumber(14) $core.bool get ip => $_getBF(13); @$pb.TagNumber(14) set ip($core.bool v) { $_setBool(13, v); } @$pb.TagNumber(14) $core.bool hasIp() => $_has(13); @$pb.TagNumber(14) void clearIp() => clearField(14); /// Ipv4 specifies that the field must be a valid IPv4 address. @$pb.TagNumber(15) $core.bool get ipv4 => $_getBF(14); @$pb.TagNumber(15) set ipv4($core.bool v) { $_setBool(14, v); } @$pb.TagNumber(15) $core.bool hasIpv4() => $_has(14); @$pb.TagNumber(15) void clearIpv4() => clearField(15); /// Ipv6 specifies that the field must be a valid IPv6 address. Valid /// IPv6 addresses should not include surrounding square brackets. @$pb.TagNumber(16) $core.bool get ipv6 => $_getBF(15); @$pb.TagNumber(16) set ipv6($core.bool v) { $_setBool(15, v); } @$pb.TagNumber(16) $core.bool hasIpv6() => $_has(15); @$pb.TagNumber(16) void clearIpv6() => clearField(16); /// Uri specifies that the field must be a valid, absolute URI as defined /// by RFC 3986 @$pb.TagNumber(17) $core.bool get uri => $_getBF(16); @$pb.TagNumber(17) set uri($core.bool v) { $_setBool(16, v); } @$pb.TagNumber(17) $core.bool hasUri() => $_has(16); @$pb.TagNumber(17) void clearUri() => clearField(17); /// UriRef specifies that the field must be a valid URI as defined by RFC /// 3986 and may be relative or absolute. @$pb.TagNumber(18) $core.bool get uriRef => $_getBF(17); @$pb.TagNumber(18) set uriRef($core.bool v) { $_setBool(17, v); } @$pb.TagNumber(18) $core.bool hasUriRef() => $_has(17); @$pb.TagNumber(18) void clearUriRef() => clearField(18); /// Len specifies that this field must be the specified number of /// characters (Unicode code points). Note that the number of /// characters may differ from the number of bytes in the string. @$pb.TagNumber(19) $fixnum.Int64 get len => $_getI64(18); @$pb.TagNumber(19) set len($fixnum.Int64 v) { $_setInt64(18, v); } @$pb.TagNumber(19) $core.bool hasLen() => $_has(18); @$pb.TagNumber(19) void clearLen() => clearField(19); /// LenBytes specifies that this field must be the specified number of bytes /// at a minimum @$pb.TagNumber(20) $fixnum.Int64 get lenBytes => $_getI64(19); @$pb.TagNumber(20) set lenBytes($fixnum.Int64 v) { $_setInt64(19, v); } @$pb.TagNumber(20) $core.bool hasLenBytes() => $_has(19); @$pb.TagNumber(20) void clearLenBytes() => clearField(20); /// Address specifies that the field must be either a valid hostname as /// defined by RFC 1034 (which does not support internationalized domain /// names or IDNs), or it can be a valid IP (v4 or v6). @$pb.TagNumber(21) $core.bool get address => $_getBF(20); @$pb.TagNumber(21) set address($core.bool v) { $_setBool(20, v); } @$pb.TagNumber(21) $core.bool hasAddress() => $_has(20); @$pb.TagNumber(21) void clearAddress() => clearField(21); /// Uuid specifies that the field must be a valid UUID as defined by /// RFC 4122 @$pb.TagNumber(22) $core.bool get uuid => $_getBF(21); @$pb.TagNumber(22) set uuid($core.bool v) { $_setBool(21, v); } @$pb.TagNumber(22) $core.bool hasUuid() => $_has(21); @$pb.TagNumber(22) void clearUuid() => clearField(22); /// NotContains specifies that this field cannot have the specified substring /// anywhere in the string. @$pb.TagNumber(23) $core.String get notContains => $_getSZ(22); @$pb.TagNumber(23) set notContains($core.String v) { $_setString(22, v); } @$pb.TagNumber(23) $core.bool hasNotContains() => $_has(22); @$pb.TagNumber(23) void clearNotContains() => clearField(23); /// WellKnownRegex specifies a common well known pattern defined as a regex. @$pb.TagNumber(24) KnownRegex get wellKnownRegex => $_getN(23); @$pb.TagNumber(24) set wellKnownRegex(KnownRegex v) { setField(24, v); } @$pb.TagNumber(24) $core.bool hasWellKnownRegex() => $_has(23); @$pb.TagNumber(24) void clearWellKnownRegex() => clearField(24); /// This applies to regexes HTTP_HEADER_NAME and HTTP_HEADER_VALUE to enable /// strict header validation. /// By default, this is true, and HTTP header validations are RFC-compliant. /// Setting to false will enable a looser validations that only disallows /// \r\n\0 characters, which can be used to bypass header matching rules. @$pb.TagNumber(25) $core.bool get strict => $_getB(24, true); @$pb.TagNumber(25) set strict($core.bool v) { $_setBool(24, v); } @$pb.TagNumber(25) $core.bool hasStrict() => $_has(24); @$pb.TagNumber(25) void clearStrict() => clearField(25); /// dateIso8601 specifes that the field must be either a valid date as /// defined by ISO 8601 @$pb.TagNumber(26) $core.bool get dateIso8601 => $_getBF(25); @$pb.TagNumber(26) set dateIso8601($core.bool v) { $_setBool(25, v); } @$pb.TagNumber(26) $core.bool hasDateIso8601() => $_has(25); @$pb.TagNumber(26) void clearDateIso8601() => clearField(26); /// languageIso639 specifes that the field must be either a valid language name as /// defined by ISO 639-1 @$pb.TagNumber(27) $core.bool get languageIso6391 => $_getBF(26); @$pb.TagNumber(27) set languageIso6391($core.bool v) { $_setBool(26, v); } @$pb.TagNumber(27) $core.bool hasLanguageIso6391() => $_has(26); @$pb.TagNumber(27) void clearLanguageIso6391() => clearField(27); /// tzData specifes that the field must be location name /// corresponding to a file in the IANA Time Zone database, such as "America/New_York" @$pb.TagNumber(28) $core.bool get tzData => $_getBF(27); @$pb.TagNumber(28) set tzData($core.bool v) { $_setBool(27, v); } @$pb.TagNumber(28) $core.bool hasTzData() => $_has(27); @$pb.TagNumber(28) void clearTzData() => clearField(28); /// unauthorized specifies that this field cannot be written. @$pb.TagNumber(29) $core.bool get unauthorized => $_getBF(28); @$pb.TagNumber(29) set unauthorized($core.bool v) { $_setBool(28, v); } @$pb.TagNumber(29) $core.bool hasUnauthorized() => $_has(28); @$pb.TagNumber(29) void clearUnauthorized() => clearField(29); /// IgnoreEmpty specifies that the validation rules of this field should be /// evaluated only if the field is not empty @$pb.TagNumber(30) $core.bool get ignoreEmpty => $_getBF(29); @$pb.TagNumber(30) set ignoreEmpty($core.bool v) { $_setBool(29, v); } @$pb.TagNumber(30) $core.bool hasIgnoreEmpty() => $_has(29); @$pb.TagNumber(30) void clearIgnoreEmpty() => clearField(30); } enum BytesRules_WellKnown { ip, ipv4, ipv6, notSet } /// BytesRules describe the constraints applied to `bytes` values class BytesRules extends $pb.GeneratedMessage { factory BytesRules({ $core.List<$core.int>? const_1, $fixnum.Int64? minLen, $fixnum.Int64? maxLen, $core.String? pattern, $core.List<$core.int>? prefix, $core.List<$core.int>? suffix, $core.List<$core.int>? contains, $core.Iterable<$core.List<$core.int>>? in_8, $core.Iterable<$core.List<$core.int>>? notIn, $core.bool? ip, $core.bool? ipv4, $core.bool? ipv6, $fixnum.Int64? len, $core.bool? ignoreEmpty, }) { final $result = create(); if (const_1 != null) { $result.const_1 = const_1; } if (minLen != null) { $result.minLen = minLen; } if (maxLen != null) { $result.maxLen = maxLen; } if (pattern != null) { $result.pattern = pattern; } if (prefix != null) { $result.prefix = prefix; } if (suffix != null) { $result.suffix = suffix; } if (contains != null) { $result.contains = contains; } if (in_8 != null) { $result.in_8.addAll(in_8); } if (notIn != null) { $result.notIn.addAll(notIn); } if (ip != null) { $result.ip = ip; } if (ipv4 != null) { $result.ipv4 = ipv4; } if (ipv6 != null) { $result.ipv6 = ipv6; } if (len != null) { $result.len = len; } if (ignoreEmpty != null) { $result.ignoreEmpty = ignoreEmpty; } return $result; } BytesRules._() : super(); factory BytesRules.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory BytesRules.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static const $core.Map<$core.int, BytesRules_WellKnown> _BytesRules_WellKnownByTag = { 10 : BytesRules_WellKnown.ip, 11 : BytesRules_WellKnown.ipv4, 12 : BytesRules_WellKnown.ipv6, 0 : BytesRules_WellKnown.notSet }; static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BytesRules', package: const $pb.PackageName(_omitMessageNames ? '' : 'validate'), createEmptyInstance: create) ..oo(0, [10, 11, 12]) ..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'const', $pb.PbFieldType.OY) ..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) ..aOS(4, _omitFieldNames ? '' : 'pattern') ..a<$core.List<$core.int>>(5, _omitFieldNames ? '' : 'prefix', $pb.PbFieldType.OY) ..a<$core.List<$core.int>>(6, _omitFieldNames ? '' : 'suffix', $pb.PbFieldType.OY) ..a<$core.List<$core.int>>(7, _omitFieldNames ? '' : 'contains', $pb.PbFieldType.OY) ..p<$core.List<$core.int>>(8, _omitFieldNames ? '' : 'in', $pb.PbFieldType.PY) ..p<$core.List<$core.int>>(9, _omitFieldNames ? '' : 'notIn', $pb.PbFieldType.PY) ..aOB(10, _omitFieldNames ? '' : 'ip') ..aOB(11, _omitFieldNames ? '' : 'ipv4') ..aOB(12, _omitFieldNames ? '' : 'ipv6') ..a<$fixnum.Int64>(13, _omitFieldNames ? '' : 'len', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) ..aOB(14, _omitFieldNames ? '' : 'ignoreEmpty') ..hasRequiredFields = false ; @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 'Will be removed in next major version') BytesRules clone() => BytesRules()..mergeFromMessage(this); @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') BytesRules copyWith(void Function(BytesRules) updates) => super.copyWith((message) => updates(message as BytesRules)) as BytesRules; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static BytesRules create() => BytesRules._(); BytesRules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') static BytesRules getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static BytesRules? _defaultInstance; BytesRules_WellKnown whichWellKnown() => _BytesRules_WellKnownByTag[$_whichOneof(0)]!; void clearWellKnown() => clearField($_whichOneof(0)); /// Const specifies that this field must be exactly the specified value @$pb.TagNumber(1) $core.List<$core.int> get const_1 => $_getN(0); @$pb.TagNumber(1) set const_1($core.List<$core.int> v) { $_setBytes(0, v); } @$pb.TagNumber(1) $core.bool hasConst_1() => $_has(0); @$pb.TagNumber(1) void clearConst_1() => clearField(1); /// MinLen specifies that this field must be the specified number of bytes /// at a minimum @$pb.TagNumber(2) $fixnum.Int64 get minLen => $_getI64(1); @$pb.TagNumber(2) set minLen($fixnum.Int64 v) { $_setInt64(1, v); } @$pb.TagNumber(2) $core.bool hasMinLen() => $_has(1); @$pb.TagNumber(2) void clearMinLen() => clearField(2); /// MaxLen specifies that this field must be the specified number of bytes /// at a maximum @$pb.TagNumber(3) $fixnum.Int64 get maxLen => $_getI64(2); @$pb.TagNumber(3) set maxLen($fixnum.Int64 v) { $_setInt64(2, v); } @$pb.TagNumber(3) $core.bool hasMaxLen() => $_has(2); @$pb.TagNumber(3) void clearMaxLen() => clearField(3); /// Pattern specifes that this field must match against the specified /// regular expression (RE2 syntax). The included expression should elide /// any delimiters. @$pb.TagNumber(4) $core.String get pattern => $_getSZ(3); @$pb.TagNumber(4) set pattern($core.String v) { $_setString(3, v); } @$pb.TagNumber(4) $core.bool hasPattern() => $_has(3); @$pb.TagNumber(4) void clearPattern() => clearField(4); /// Prefix specifies that this field must have the specified bytes at the /// beginning of the string. @$pb.TagNumber(5) $core.List<$core.int> get prefix => $_getN(4); @$pb.TagNumber(5) set prefix($core.List<$core.int> v) { $_setBytes(4, v); } @$pb.TagNumber(5) $core.bool hasPrefix() => $_has(4); @$pb.TagNumber(5) void clearPrefix() => clearField(5); /// Suffix specifies that this field must have the specified bytes at the /// end of the string. @$pb.TagNumber(6) $core.List<$core.int> get suffix => $_getN(5); @$pb.TagNumber(6) set suffix($core.List<$core.int> v) { $_setBytes(5, v); } @$pb.TagNumber(6) $core.bool hasSuffix() => $_has(5); @$pb.TagNumber(6) void clearSuffix() => clearField(6); /// Contains specifies that this field must have the specified bytes /// anywhere in the string. @$pb.TagNumber(7) $core.List<$core.int> get contains => $_getN(6); @$pb.TagNumber(7) set contains($core.List<$core.int> v) { $_setBytes(6, v); } @$pb.TagNumber(7) $core.bool hasContains() => $_has(6); @$pb.TagNumber(7) void clearContains() => clearField(7); /// In specifies that this field must be equal to one of the specified /// values @$pb.TagNumber(8) $core.List<$core.List<$core.int>> get in_8 => $_getList(7); /// NotIn specifies that this field cannot be equal to one of the specified /// values @$pb.TagNumber(9) $core.List<$core.List<$core.int>> get notIn => $_getList(8); /// Ip specifies that the field must be a valid IP (v4 or v6) address in /// byte format @$pb.TagNumber(10) $core.bool get ip => $_getBF(9); @$pb.TagNumber(10) set ip($core.bool v) { $_setBool(9, v); } @$pb.TagNumber(10) $core.bool hasIp() => $_has(9); @$pb.TagNumber(10) void clearIp() => clearField(10); /// Ipv4 specifies that the field must be a valid IPv4 address in byte /// format @$pb.TagNumber(11) $core.bool get ipv4 => $_getBF(10); @$pb.TagNumber(11) set ipv4($core.bool v) { $_setBool(10, v); } @$pb.TagNumber(11) $core.bool hasIpv4() => $_has(10); @$pb.TagNumber(11) void clearIpv4() => clearField(11); /// Ipv6 specifies that the field must be a valid IPv6 address in byte /// format @$pb.TagNumber(12) $core.bool get ipv6 => $_getBF(11); @$pb.TagNumber(12) set ipv6($core.bool v) { $_setBool(11, v); } @$pb.TagNumber(12) $core.bool hasIpv6() => $_has(11); @$pb.TagNumber(12) void clearIpv6() => clearField(12); /// Len specifies that this field must be the specified number of bytes @$pb.TagNumber(13) $fixnum.Int64 get len => $_getI64(12); @$pb.TagNumber(13) set len($fixnum.Int64 v) { $_setInt64(12, v); } @$pb.TagNumber(13) $core.bool hasLen() => $_has(12); @$pb.TagNumber(13) void clearLen() => clearField(13); /// IgnoreEmpty specifies that the validation rules of this field should be /// evaluated only if the field is not empty @$pb.TagNumber(14) $core.bool get ignoreEmpty => $_getBF(13); @$pb.TagNumber(14) set ignoreEmpty($core.bool v) { $_setBool(13, v); } @$pb.TagNumber(14) $core.bool hasIgnoreEmpty() => $_has(13); @$pb.TagNumber(14) void clearIgnoreEmpty() => clearField(14); } /// EnumRules describe the constraints applied to enum values class EnumRules extends $pb.GeneratedMessage { factory EnumRules({ $core.int? const_1, $core.bool? definedOnly, $core.Iterable<$core.int>? in_3, $core.Iterable<$core.int>? notIn, $core.bool? unauthorized, $core.bool? ignoreEmpty, }) { final $result = create(); if (const_1 != null) { $result.const_1 = const_1; } if (definedOnly != null) { $result.definedOnly = definedOnly; } if (in_3 != null) { $result.in_3.addAll(in_3); } if (notIn != null) { $result.notIn.addAll(notIn); } if (unauthorized != null) { $result.unauthorized = unauthorized; } if (ignoreEmpty != null) { $result.ignoreEmpty = ignoreEmpty; } return $result; } EnumRules._() : super(); factory EnumRules.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory EnumRules.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EnumRules', package: const $pb.PackageName(_omitMessageNames ? '' : 'validate'), createEmptyInstance: create) ..a<$core.int>(1, _omitFieldNames ? '' : 'const', $pb.PbFieldType.O3) ..aOB(2, _omitFieldNames ? '' : 'definedOnly') ..p<$core.int>(3, _omitFieldNames ? '' : 'in', $pb.PbFieldType.P3) ..p<$core.int>(4, _omitFieldNames ? '' : 'notIn', $pb.PbFieldType.P3) ..aOB(5, _omitFieldNames ? '' : 'unauthorized') ..aOB(6, _omitFieldNames ? '' : 'ignoreEmpty') ..hasRequiredFields = false ; @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 'Will be removed in next major version') EnumRules clone() => EnumRules()..mergeFromMessage(this); @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') EnumRules copyWith(void Function(EnumRules) updates) => super.copyWith((message) => updates(message as EnumRules)) as EnumRules; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static EnumRules create() => EnumRules._(); EnumRules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') static EnumRules getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static EnumRules? _defaultInstance; /// Const specifies that this field must be exactly the specified value @$pb.TagNumber(1) $core.int get const_1 => $_getIZ(0); @$pb.TagNumber(1) set const_1($core.int v) { $_setSignedInt32(0, v); } @$pb.TagNumber(1) $core.bool hasConst_1() => $_has(0); @$pb.TagNumber(1) void clearConst_1() => clearField(1); /// DefinedOnly specifies that this field must be only one of the defined /// values for this enum, failing on any undefined value. @$pb.TagNumber(2) $core.bool get definedOnly => $_getBF(1); @$pb.TagNumber(2) set definedOnly($core.bool v) { $_setBool(1, v); } @$pb.TagNumber(2) $core.bool hasDefinedOnly() => $_has(1); @$pb.TagNumber(2) void clearDefinedOnly() => clearField(2); /// In specifies that this field must be equal to one of the specified /// values @$pb.TagNumber(3) $core.List<$core.int> get in_3 => $_getList(2); /// NotIn specifies that this field cannot be equal to one of the specified /// values @$pb.TagNumber(4) $core.List<$core.int> get notIn => $_getList(3); /// unauthorized specifies that this field cannot be written. @$pb.TagNumber(5) $core.bool get unauthorized => $_getBF(4); @$pb.TagNumber(5) set unauthorized($core.bool v) { $_setBool(4, v); } @$pb.TagNumber(5) $core.bool hasUnauthorized() => $_has(4); @$pb.TagNumber(5) void clearUnauthorized() => clearField(5); /// IgnoreEmpty specifies that the validation rules of this field should be /// evaluated only if the field is not empty @$pb.TagNumber(6) $core.bool get ignoreEmpty => $_getBF(5); @$pb.TagNumber(6) set ignoreEmpty($core.bool v) { $_setBool(5, v); } @$pb.TagNumber(6) $core.bool hasIgnoreEmpty() => $_has(5); @$pb.TagNumber(6) void clearIgnoreEmpty() => clearField(6); } /// MessageRules describe the constraints applied to embedded message values. /// For message-type fields, validation is performed recursively. class MessageRules extends $pb.GeneratedMessage { factory MessageRules({ $core.bool? skip, $core.bool? required, $core.bool? unauthorized, }) { final $result = create(); if (skip != null) { $result.skip = skip; } if (required != null) { $result.required = required; } if (unauthorized != null) { $result.unauthorized = unauthorized; } return $result; } MessageRules._() : super(); factory MessageRules.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory MessageRules.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MessageRules', package: const $pb.PackageName(_omitMessageNames ? '' : 'validate'), createEmptyInstance: create) ..aOB(1, _omitFieldNames ? '' : 'skip') ..aOB(2, _omitFieldNames ? '' : 'required') ..aOB(3, _omitFieldNames ? '' : 'unauthorized') ..hasRequiredFields = false ; @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 'Will be removed in next major version') MessageRules clone() => MessageRules()..mergeFromMessage(this); @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') MessageRules copyWith(void Function(MessageRules) updates) => super.copyWith((message) => updates(message as MessageRules)) as MessageRules; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static MessageRules create() => MessageRules._(); MessageRules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') static MessageRules getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static MessageRules? _defaultInstance; /// Skip specifies that the validation rules of this field should not be /// evaluated @$pb.TagNumber(1) $core.bool get skip => $_getBF(0); @$pb.TagNumber(1) set skip($core.bool v) { $_setBool(0, v); } @$pb.TagNumber(1) $core.bool hasSkip() => $_has(0); @$pb.TagNumber(1) void clearSkip() => clearField(1); /// Required specifies that this field must be set @$pb.TagNumber(2) $core.bool get required => $_getBF(1); @$pb.TagNumber(2) set required($core.bool v) { $_setBool(1, v); } @$pb.TagNumber(2) $core.bool hasRequired() => $_has(1); @$pb.TagNumber(2) void clearRequired() => clearField(2); /// unauthorized specifies that this field cannot be written. @$pb.TagNumber(3) $core.bool get unauthorized => $_getBF(2); @$pb.TagNumber(3) set unauthorized($core.bool v) { $_setBool(2, v); } @$pb.TagNumber(3) $core.bool hasUnauthorized() => $_has(2); @$pb.TagNumber(3) void clearUnauthorized() => clearField(3); } /// RepeatedRules describe the constraints applied to `repeated` values class RepeatedRules extends $pb.GeneratedMessage { factory RepeatedRules({ $fixnum.Int64? minItems, $fixnum.Int64? maxItems, $core.bool? unique, FieldRules? items, $core.bool? uniqueBaseLV, $core.bool? knownRefLV, $core.bool? ignoreEmpty, }) { final $result = create(); if (minItems != null) { $result.minItems = minItems; } if (maxItems != null) { $result.maxItems = maxItems; } if (unique != null) { $result.unique = unique; } if (items != null) { $result.items = items; } if (uniqueBaseLV != null) { $result.uniqueBaseLV = uniqueBaseLV; } if (knownRefLV != null) { $result.knownRefLV = knownRefLV; } if (ignoreEmpty != null) { $result.ignoreEmpty = ignoreEmpty; } return $result; } RepeatedRules._() : super(); factory RepeatedRules.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory RepeatedRules.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RepeatedRules', package: const $pb.PackageName(_omitMessageNames ? '' : 'validate'), createEmptyInstance: create) ..a<$fixnum.Int64>(1, _omitFieldNames ? '' : 'minItems', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) ..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'maxItems', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) ..aOB(3, _omitFieldNames ? '' : 'unique') ..aOM(4, _omitFieldNames ? '' : 'items', subBuilder: FieldRules.create) ..aOB(5, _omitFieldNames ? '' : 'uniqueBaseLV', protoName: 'uniqueBaseLV') ..aOB(6, _omitFieldNames ? '' : 'knownRefLV', protoName: 'knownRefLV') ..aOB(7, _omitFieldNames ? '' : 'ignoreEmpty') ..hasRequiredFields = false ; @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 'Will be removed in next major version') RepeatedRules clone() => RepeatedRules()..mergeFromMessage(this); @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') RepeatedRules copyWith(void Function(RepeatedRules) updates) => super.copyWith((message) => updates(message as RepeatedRules)) as RepeatedRules; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static RepeatedRules create() => RepeatedRules._(); RepeatedRules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') static RepeatedRules getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static RepeatedRules? _defaultInstance; /// MinItems specifies that this field must have the specified number of /// items at a minimum @$pb.TagNumber(1) $fixnum.Int64 get minItems => $_getI64(0); @$pb.TagNumber(1) set minItems($fixnum.Int64 v) { $_setInt64(0, v); } @$pb.TagNumber(1) $core.bool hasMinItems() => $_has(0); @$pb.TagNumber(1) void clearMinItems() => clearField(1); /// MaxItems specifies that this field must have the specified number of /// items at a maximum @$pb.TagNumber(2) $fixnum.Int64 get maxItems => $_getI64(1); @$pb.TagNumber(2) set maxItems($fixnum.Int64 v) { $_setInt64(1, v); } @$pb.TagNumber(2) $core.bool hasMaxItems() => $_has(1); @$pb.TagNumber(2) void clearMaxItems() => clearField(2); /// Unique specifies that all elements in this field must be unique. This /// contraint is only applicable to scalar and enum types (messages are not /// supported). @$pb.TagNumber(3) $core.bool get unique => $_getBF(2); @$pb.TagNumber(3) set unique($core.bool v) { $_setBool(2, v); } @$pb.TagNumber(3) $core.bool hasUnique() => $_has(2); @$pb.TagNumber(3) void clearUnique() => clearField(3); /// Items specifies the contraints to be applied to each item in the field. /// Repeated message fields will still execute validation against each item /// unless skip is specified here. @$pb.TagNumber(4) FieldRules get items => $_getN(3); @$pb.TagNumber(4) set items(FieldRules v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasItems() => $_has(3); @$pb.TagNumber(4) void clearItems() => clearField(4); @$pb.TagNumber(4) FieldRules ensureItems() => $_ensure(3); /// uniqueBaseLV specifies the business rule contraints to the IsBaseLogisticVariant nested field of the LogisticVariant item in the list. /// An item can only have one base LV. /// Contraint is only applicable to the LogisticVariant field. @$pb.TagNumber(5) $core.bool get uniqueBaseLV => $_getBF(4); @$pb.TagNumber(5) set uniqueBaseLV($core.bool v) { $_setBool(4, v); } @$pb.TagNumber(5) $core.bool hasUniqueBaseLV() => $_has(4); @$pb.TagNumber(5) void clearUniqueBaseLV() => clearField(5); /// knownRefLV specifies the business rule contraints to the IsBaseLogisticVariant nested field of the LogisticVariant item in the list. /// A VL can only refer (RefLV) to a base LV known on this article. /// Contraint is only applicable to the LogisticVariant field. @$pb.TagNumber(6) $core.bool get knownRefLV => $_getBF(5); @$pb.TagNumber(6) set knownRefLV($core.bool v) { $_setBool(5, v); } @$pb.TagNumber(6) $core.bool hasKnownRefLV() => $_has(5); @$pb.TagNumber(6) void clearKnownRefLV() => clearField(6); /// IgnoreEmpty specifies that the validation rules of this field should be /// evaluated only if the field is not empty @$pb.TagNumber(7) $core.bool get ignoreEmpty => $_getBF(6); @$pb.TagNumber(7) set ignoreEmpty($core.bool v) { $_setBool(6, v); } @$pb.TagNumber(7) $core.bool hasIgnoreEmpty() => $_has(6); @$pb.TagNumber(7) void clearIgnoreEmpty() => clearField(7); } /// MapRules describe the constraints applied to `map` values class MapRules extends $pb.GeneratedMessage { factory MapRules({ $fixnum.Int64? minPairs, $fixnum.Int64? maxPairs, $core.bool? noSparse, FieldRules? keys, FieldRules? values, $core.bool? ignoreEmpty, }) { final $result = create(); if (minPairs != null) { $result.minPairs = minPairs; } if (maxPairs != null) { $result.maxPairs = maxPairs; } if (noSparse != null) { $result.noSparse = noSparse; } if (keys != null) { $result.keys = keys; } if (values != null) { $result.values = values; } if (ignoreEmpty != null) { $result.ignoreEmpty = ignoreEmpty; } return $result; } MapRules._() : super(); factory MapRules.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory MapRules.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MapRules', package: const $pb.PackageName(_omitMessageNames ? '' : 'validate'), createEmptyInstance: create) ..a<$fixnum.Int64>(1, _omitFieldNames ? '' : 'minPairs', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) ..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'maxPairs', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) ..aOB(3, _omitFieldNames ? '' : 'noSparse') ..aOM(4, _omitFieldNames ? '' : 'keys', subBuilder: FieldRules.create) ..aOM(5, _omitFieldNames ? '' : 'values', subBuilder: FieldRules.create) ..aOB(6, _omitFieldNames ? '' : 'ignoreEmpty') ..hasRequiredFields = false ; @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 'Will be removed in next major version') MapRules clone() => MapRules()..mergeFromMessage(this); @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') MapRules copyWith(void Function(MapRules) updates) => super.copyWith((message) => updates(message as MapRules)) as MapRules; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static MapRules create() => MapRules._(); MapRules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') static MapRules getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static MapRules? _defaultInstance; /// MinPairs specifies that this field must have the specified number of /// KVs at a minimum @$pb.TagNumber(1) $fixnum.Int64 get minPairs => $_getI64(0); @$pb.TagNumber(1) set minPairs($fixnum.Int64 v) { $_setInt64(0, v); } @$pb.TagNumber(1) $core.bool hasMinPairs() => $_has(0); @$pb.TagNumber(1) void clearMinPairs() => clearField(1); /// MaxPairs specifies that this field must have the specified number of /// KVs at a maximum @$pb.TagNumber(2) $fixnum.Int64 get maxPairs => $_getI64(1); @$pb.TagNumber(2) set maxPairs($fixnum.Int64 v) { $_setInt64(1, v); } @$pb.TagNumber(2) $core.bool hasMaxPairs() => $_has(1); @$pb.TagNumber(2) void clearMaxPairs() => clearField(2); /// NoSparse specifies values in this field cannot be unset. This only /// applies to map's with message value types. @$pb.TagNumber(3) $core.bool get noSparse => $_getBF(2); @$pb.TagNumber(3) set noSparse($core.bool v) { $_setBool(2, v); } @$pb.TagNumber(3) $core.bool hasNoSparse() => $_has(2); @$pb.TagNumber(3) void clearNoSparse() => clearField(3); /// Keys specifies the constraints to be applied to each key in the field. @$pb.TagNumber(4) FieldRules get keys => $_getN(3); @$pb.TagNumber(4) set keys(FieldRules v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasKeys() => $_has(3); @$pb.TagNumber(4) void clearKeys() => clearField(4); @$pb.TagNumber(4) FieldRules ensureKeys() => $_ensure(3); /// Values specifies the constraints to be applied to the value of each key /// in the field. Message values will still have their validations evaluated /// unless skip is specified here. @$pb.TagNumber(5) FieldRules get values => $_getN(4); @$pb.TagNumber(5) set values(FieldRules v) { setField(5, v); } @$pb.TagNumber(5) $core.bool hasValues() => $_has(4); @$pb.TagNumber(5) void clearValues() => clearField(5); @$pb.TagNumber(5) FieldRules ensureValues() => $_ensure(4); /// IgnoreEmpty specifies that the validation rules of this field should be /// evaluated only if the field is not empty @$pb.TagNumber(6) $core.bool get ignoreEmpty => $_getBF(5); @$pb.TagNumber(6) set ignoreEmpty($core.bool v) { $_setBool(5, v); } @$pb.TagNumber(6) $core.bool hasIgnoreEmpty() => $_has(5); @$pb.TagNumber(6) void clearIgnoreEmpty() => clearField(6); } /// AnyRules describe constraints applied exclusively to the /// `google.protobuf.Any` well-known type class AnyRules extends $pb.GeneratedMessage { factory AnyRules({ $core.bool? required, $core.Iterable<$core.String>? in_2, $core.Iterable<$core.String>? notIn, }) { final $result = create(); if (required != null) { $result.required = required; } if (in_2 != null) { $result.in_2.addAll(in_2); } if (notIn != null) { $result.notIn.addAll(notIn); } return $result; } AnyRules._() : super(); factory AnyRules.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory AnyRules.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AnyRules', package: const $pb.PackageName(_omitMessageNames ? '' : 'validate'), createEmptyInstance: create) ..aOB(1, _omitFieldNames ? '' : 'required') ..pPS(2, _omitFieldNames ? '' : 'in') ..pPS(3, _omitFieldNames ? '' : 'notIn') ..hasRequiredFields = false ; @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 'Will be removed in next major version') AnyRules clone() => AnyRules()..mergeFromMessage(this); @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') AnyRules copyWith(void Function(AnyRules) updates) => super.copyWith((message) => updates(message as AnyRules)) as AnyRules; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static AnyRules create() => AnyRules._(); AnyRules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') static AnyRules getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static AnyRules? _defaultInstance; /// Required specifies that this field must be set @$pb.TagNumber(1) $core.bool get required => $_getBF(0); @$pb.TagNumber(1) set required($core.bool v) { $_setBool(0, v); } @$pb.TagNumber(1) $core.bool hasRequired() => $_has(0); @$pb.TagNumber(1) void clearRequired() => clearField(1); /// In specifies that this field's `type_url` must be equal to one of the /// specified values. @$pb.TagNumber(2) $core.List<$core.String> get in_2 => $_getList(1); /// NotIn specifies that this field's `type_url` must not be equal to any of /// the specified values. @$pb.TagNumber(3) $core.List<$core.String> get notIn => $_getList(2); } /// DurationRules describe the constraints applied exclusively to the /// `google.protobuf.Duration` well-known type class DurationRules extends $pb.GeneratedMessage { factory DurationRules({ $core.bool? required, $13.Duration? const_2, $13.Duration? lt, $13.Duration? lte, $13.Duration? gt, $13.Duration? gte, $core.Iterable<$13.Duration>? in_7, $core.Iterable<$13.Duration>? notIn, }) { final $result = create(); if (required != null) { $result.required = required; } if (const_2 != null) { $result.const_2 = const_2; } if (lt != null) { $result.lt = lt; } if (lte != null) { $result.lte = lte; } if (gt != null) { $result.gt = gt; } if (gte != null) { $result.gte = gte; } if (in_7 != null) { $result.in_7.addAll(in_7); } if (notIn != null) { $result.notIn.addAll(notIn); } return $result; } DurationRules._() : super(); factory DurationRules.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory DurationRules.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DurationRules', package: const $pb.PackageName(_omitMessageNames ? '' : 'validate'), createEmptyInstance: create) ..aOB(1, _omitFieldNames ? '' : 'required') ..aOM<$13.Duration>(2, _omitFieldNames ? '' : 'const', subBuilder: $13.Duration.create) ..aOM<$13.Duration>(3, _omitFieldNames ? '' : 'lt', subBuilder: $13.Duration.create) ..aOM<$13.Duration>(4, _omitFieldNames ? '' : 'lte', subBuilder: $13.Duration.create) ..aOM<$13.Duration>(5, _omitFieldNames ? '' : 'gt', subBuilder: $13.Duration.create) ..aOM<$13.Duration>(6, _omitFieldNames ? '' : 'gte', subBuilder: $13.Duration.create) ..pc<$13.Duration>(7, _omitFieldNames ? '' : 'in', $pb.PbFieldType.PM, subBuilder: $13.Duration.create) ..pc<$13.Duration>(8, _omitFieldNames ? '' : 'notIn', $pb.PbFieldType.PM, subBuilder: $13.Duration.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') DurationRules clone() => DurationRules()..mergeFromMessage(this); @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') DurationRules copyWith(void Function(DurationRules) updates) => super.copyWith((message) => updates(message as DurationRules)) as DurationRules; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static DurationRules create() => DurationRules._(); DurationRules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') static DurationRules getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static DurationRules? _defaultInstance; /// Required specifies that this field must be set @$pb.TagNumber(1) $core.bool get required => $_getBF(0); @$pb.TagNumber(1) set required($core.bool v) { $_setBool(0, v); } @$pb.TagNumber(1) $core.bool hasRequired() => $_has(0); @$pb.TagNumber(1) void clearRequired() => clearField(1); /// Const specifies that this field must be exactly the specified value @$pb.TagNumber(2) $13.Duration get const_2 => $_getN(1); @$pb.TagNumber(2) set const_2($13.Duration v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasConst_2() => $_has(1); @$pb.TagNumber(2) void clearConst_2() => clearField(2); @$pb.TagNumber(2) $13.Duration ensureConst_2() => $_ensure(1); /// Lt specifies that this field must be less than the specified value, /// exclusive @$pb.TagNumber(3) $13.Duration get lt => $_getN(2); @$pb.TagNumber(3) set lt($13.Duration v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasLt() => $_has(2); @$pb.TagNumber(3) void clearLt() => clearField(3); @$pb.TagNumber(3) $13.Duration ensureLt() => $_ensure(2); /// Lt specifies that this field must be less than the specified value, /// inclusive @$pb.TagNumber(4) $13.Duration get lte => $_getN(3); @$pb.TagNumber(4) set lte($13.Duration v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasLte() => $_has(3); @$pb.TagNumber(4) void clearLte() => clearField(4); @$pb.TagNumber(4) $13.Duration ensureLte() => $_ensure(3); /// Gt specifies that this field must be greater than the specified value, /// exclusive @$pb.TagNumber(5) $13.Duration get gt => $_getN(4); @$pb.TagNumber(5) set gt($13.Duration v) { setField(5, v); } @$pb.TagNumber(5) $core.bool hasGt() => $_has(4); @$pb.TagNumber(5) void clearGt() => clearField(5); @$pb.TagNumber(5) $13.Duration ensureGt() => $_ensure(4); /// Gte specifies that this field must be greater than the specified value, /// inclusive @$pb.TagNumber(6) $13.Duration get gte => $_getN(5); @$pb.TagNumber(6) set gte($13.Duration v) { setField(6, v); } @$pb.TagNumber(6) $core.bool hasGte() => $_has(5); @$pb.TagNumber(6) void clearGte() => clearField(6); @$pb.TagNumber(6) $13.Duration ensureGte() => $_ensure(5); /// In specifies that this field must be equal to one of the specified /// values @$pb.TagNumber(7) $core.List<$13.Duration> get in_7 => $_getList(6); /// NotIn specifies that this field cannot be equal to one of the specified /// values @$pb.TagNumber(8) $core.List<$13.Duration> get notIn => $_getList(7); } /// TimestampRules describe the constraints applied exclusively to the /// `google.protobuf.Timestamp` well-known type class TimestampRules extends $pb.GeneratedMessage { factory TimestampRules({ $core.bool? required, $14.Timestamp? const_2, $14.Timestamp? lt, $14.Timestamp? lte, $14.Timestamp? gt, $14.Timestamp? gte, $core.bool? ltNow, $core.bool? gtNow, $13.Duration? within, }) { final $result = create(); if (required != null) { $result.required = required; } if (const_2 != null) { $result.const_2 = const_2; } if (lt != null) { $result.lt = lt; } if (lte != null) { $result.lte = lte; } if (gt != null) { $result.gt = gt; } if (gte != null) { $result.gte = gte; } if (ltNow != null) { $result.ltNow = ltNow; } if (gtNow != null) { $result.gtNow = gtNow; } if (within != null) { $result.within = within; } return $result; } TimestampRules._() : super(); factory TimestampRules.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); factory TimestampRules.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TimestampRules', package: const $pb.PackageName(_omitMessageNames ? '' : 'validate'), createEmptyInstance: create) ..aOB(1, _omitFieldNames ? '' : 'required') ..aOM<$14.Timestamp>(2, _omitFieldNames ? '' : 'const', subBuilder: $14.Timestamp.create) ..aOM<$14.Timestamp>(3, _omitFieldNames ? '' : 'lt', subBuilder: $14.Timestamp.create) ..aOM<$14.Timestamp>(4, _omitFieldNames ? '' : 'lte', subBuilder: $14.Timestamp.create) ..aOM<$14.Timestamp>(5, _omitFieldNames ? '' : 'gt', subBuilder: $14.Timestamp.create) ..aOM<$14.Timestamp>(6, _omitFieldNames ? '' : 'gte', subBuilder: $14.Timestamp.create) ..aOB(7, _omitFieldNames ? '' : 'ltNow') ..aOB(8, _omitFieldNames ? '' : 'gtNow') ..aOM<$13.Duration>(9, _omitFieldNames ? '' : 'within', subBuilder: $13.Duration.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') TimestampRules clone() => TimestampRules()..mergeFromMessage(this); @$core.Deprecated( 'Using this can add significant overhead to your binary. ' 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 'Will be removed in next major version') TimestampRules copyWith(void Function(TimestampRules) updates) => super.copyWith((message) => updates(message as TimestampRules)) as TimestampRules; $pb.BuilderInfo get info_ => _i; @$core.pragma('dart2js:noInline') static TimestampRules create() => TimestampRules._(); TimestampRules createEmptyInstance() => create(); static $pb.PbList createRepeated() => $pb.PbList(); @$core.pragma('dart2js:noInline') static TimestampRules getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); static TimestampRules? _defaultInstance; /// Required specifies that this field must be set @$pb.TagNumber(1) $core.bool get required => $_getBF(0); @$pb.TagNumber(1) set required($core.bool v) { $_setBool(0, v); } @$pb.TagNumber(1) $core.bool hasRequired() => $_has(0); @$pb.TagNumber(1) void clearRequired() => clearField(1); /// Const specifies that this field must be exactly the specified value @$pb.TagNumber(2) $14.Timestamp get const_2 => $_getN(1); @$pb.TagNumber(2) set const_2($14.Timestamp v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasConst_2() => $_has(1); @$pb.TagNumber(2) void clearConst_2() => clearField(2); @$pb.TagNumber(2) $14.Timestamp ensureConst_2() => $_ensure(1); /// Lt specifies that this field must be less than the specified value, /// exclusive @$pb.TagNumber(3) $14.Timestamp get lt => $_getN(2); @$pb.TagNumber(3) set lt($14.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasLt() => $_has(2); @$pb.TagNumber(3) void clearLt() => clearField(3); @$pb.TagNumber(3) $14.Timestamp ensureLt() => $_ensure(2); /// Lte specifies that this field must be less than the specified value, /// inclusive @$pb.TagNumber(4) $14.Timestamp get lte => $_getN(3); @$pb.TagNumber(4) set lte($14.Timestamp v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasLte() => $_has(3); @$pb.TagNumber(4) void clearLte() => clearField(4); @$pb.TagNumber(4) $14.Timestamp ensureLte() => $_ensure(3); /// Gt specifies that this field must be greater than the specified value, /// exclusive @$pb.TagNumber(5) $14.Timestamp get gt => $_getN(4); @$pb.TagNumber(5) set gt($14.Timestamp v) { setField(5, v); } @$pb.TagNumber(5) $core.bool hasGt() => $_has(4); @$pb.TagNumber(5) void clearGt() => clearField(5); @$pb.TagNumber(5) $14.Timestamp ensureGt() => $_ensure(4); /// Gte specifies that this field must be greater than the specified value, /// inclusive @$pb.TagNumber(6) $14.Timestamp get gte => $_getN(5); @$pb.TagNumber(6) set gte($14.Timestamp v) { setField(6, v); } @$pb.TagNumber(6) $core.bool hasGte() => $_has(5); @$pb.TagNumber(6) void clearGte() => clearField(6); @$pb.TagNumber(6) $14.Timestamp ensureGte() => $_ensure(5); /// LtNow specifies that this must be less than the current time. LtNow /// can only be used with the Within rule. @$pb.TagNumber(7) $core.bool get ltNow => $_getBF(6); @$pb.TagNumber(7) set ltNow($core.bool v) { $_setBool(6, v); } @$pb.TagNumber(7) $core.bool hasLtNow() => $_has(6); @$pb.TagNumber(7) void clearLtNow() => clearField(7); /// GtNow specifies that this must be greater than the current time. GtNow /// can only be used with the Within rule. @$pb.TagNumber(8) $core.bool get gtNow => $_getBF(7); @$pb.TagNumber(8) set gtNow($core.bool v) { $_setBool(7, v); } @$pb.TagNumber(8) $core.bool hasGtNow() => $_has(7); @$pb.TagNumber(8) void clearGtNow() => clearField(8); /// Within specifies that this field must be within this duration of the /// current time. This constraint can be used alone or with the LtNow and /// GtNow rules. @$pb.TagNumber(9) $13.Duration get within => $_getN(8); @$pb.TagNumber(9) set within($13.Duration v) { setField(9, v); } @$pb.TagNumber(9) $core.bool hasWithin() => $_has(8); @$pb.TagNumber(9) void clearWithin() => clearField(9); @$pb.TagNumber(9) $13.Duration ensureWithin() => $_ensure(8); } class Validate { static final disabled = $pb.Extension<$core.bool>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'disabled', 1071, $pb.PbFieldType.OB); static final ignored = $pb.Extension<$core.bool>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'ignored', 1072, $pb.PbFieldType.OB); static final required = $pb.Extension<$core.bool>(_omitMessageNames ? '' : 'google.protobuf.OneofOptions', _omitFieldNames ? '' : 'required', 1071, $pb.PbFieldType.OB); static final rules = $pb.Extension(_omitMessageNames ? '' : 'google.protobuf.FieldOptions', _omitFieldNames ? '' : 'rules', 1071, $pb.PbFieldType.OM, defaultOrMaker: FieldRules.getDefault, subBuilder: FieldRules.create); static void registerAllExtensions($pb.ExtensionRegistry registry) { registry.add(disabled); registry.add(ignored); registry.add(required); registry.add(rules); } } const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');