Versions in this module Expand all Collapse all v1 v1.0.2 Aug 1, 2023 Changes in this version + const Default_StringRules_Strict + var E_Disabled = &file_validate_validate_proto_extTypes[0] + var E_Ignored = &file_validate_validate_proto_extTypes[1] + var E_Required = &file_validate_validate_proto_extTypes[2] + var E_Rules = &file_validate_validate_proto_extTypes[3] + var File_validate_validate_proto protoreflect.FileDescriptor + var KnownRegex_name = map[int32]string + var KnownRegex_value = map[string]int32 + type AnyRules struct + In []string + NotIn []string + Required *bool + func (*AnyRules) Descriptor() ([]byte, []int) + func (*AnyRules) ProtoMessage() + func (m *AnyRules) Validate() error + func (x *AnyRules) GetIn() []string + func (x *AnyRules) GetNotIn() []string + func (x *AnyRules) GetRequired() bool + func (x *AnyRules) ProtoReflect() protoreflect.Message + func (x *AnyRules) Reset() + func (x *AnyRules) String() string + type AnyRulesValidationError struct + func (e AnyRulesValidationError) Cause() error + func (e AnyRulesValidationError) Error() string + func (e AnyRulesValidationError) ErrorName() string + func (e AnyRulesValidationError) Field() string + func (e AnyRulesValidationError) Key() bool + func (e AnyRulesValidationError) Reason() string + type BoolRules struct + Const *bool + func (*BoolRules) Descriptor() ([]byte, []int) + func (*BoolRules) ProtoMessage() + func (m *BoolRules) Validate() error + func (x *BoolRules) GetConst() bool + func (x *BoolRules) ProtoReflect() protoreflect.Message + func (x *BoolRules) Reset() + func (x *BoolRules) String() string + type BoolRulesValidationError struct + func (e BoolRulesValidationError) Cause() error + func (e BoolRulesValidationError) Error() string + func (e BoolRulesValidationError) ErrorName() string + func (e BoolRulesValidationError) Field() string + func (e BoolRulesValidationError) Key() bool + func (e BoolRulesValidationError) Reason() string + type BytesRules struct + Const []byte + Contains []byte + IgnoreEmpty *bool + In [][]byte + Len *uint64 + MaxLen *uint64 + MinLen *uint64 + NotIn [][]byte + Pattern *string + Prefix []byte + Suffix []byte + WellKnown isBytesRules_WellKnown + func (*BytesRules) Descriptor() ([]byte, []int) + func (*BytesRules) ProtoMessage() + func (m *BytesRules) GetWellKnown() isBytesRules_WellKnown + func (m *BytesRules) Validate() error + func (x *BytesRules) GetConst() []byte + func (x *BytesRules) GetContains() []byte + func (x *BytesRules) GetIgnoreEmpty() bool + func (x *BytesRules) GetIn() [][]byte + func (x *BytesRules) GetIp() bool + func (x *BytesRules) GetIpv4() bool + func (x *BytesRules) GetIpv6() bool + func (x *BytesRules) GetLen() uint64 + func (x *BytesRules) GetMaxLen() uint64 + func (x *BytesRules) GetMinLen() uint64 + func (x *BytesRules) GetNotIn() [][]byte + func (x *BytesRules) GetPattern() string + func (x *BytesRules) GetPrefix() []byte + func (x *BytesRules) GetSuffix() []byte + func (x *BytesRules) ProtoReflect() protoreflect.Message + func (x *BytesRules) Reset() + func (x *BytesRules) String() string + type BytesRulesValidationError struct + func (e BytesRulesValidationError) Cause() error + func (e BytesRulesValidationError) Error() string + func (e BytesRulesValidationError) ErrorName() string + func (e BytesRulesValidationError) Field() string + func (e BytesRulesValidationError) Key() bool + func (e BytesRulesValidationError) Reason() string + type BytesRules_Ip struct + Ip bool + type BytesRules_Ipv4 struct + Ipv4 bool + type BytesRules_Ipv6 struct + Ipv6 bool + type DoubleRules struct + Const *float64 + Gt *float64 + Gte *float64 + IgnoreEmpty *bool + In []float64 + Lt *float64 + Lte *float64 + NotIn []float64 + func (*DoubleRules) Descriptor() ([]byte, []int) + func (*DoubleRules) ProtoMessage() + func (m *DoubleRules) Validate() error + func (x *DoubleRules) GetConst() float64 + func (x *DoubleRules) GetGt() float64 + func (x *DoubleRules) GetGte() float64 + func (x *DoubleRules) GetIgnoreEmpty() bool + func (x *DoubleRules) GetIn() []float64 + func (x *DoubleRules) GetLt() float64 + func (x *DoubleRules) GetLte() float64 + func (x *DoubleRules) GetNotIn() []float64 + func (x *DoubleRules) ProtoReflect() protoreflect.Message + func (x *DoubleRules) Reset() + func (x *DoubleRules) String() string + type DoubleRulesValidationError struct + func (e DoubleRulesValidationError) Cause() error + func (e DoubleRulesValidationError) Error() string + func (e DoubleRulesValidationError) ErrorName() string + func (e DoubleRulesValidationError) Field() string + func (e DoubleRulesValidationError) Key() bool + func (e DoubleRulesValidationError) Reason() string + type DurationRules struct + Const *durationpb.Duration + Gt *durationpb.Duration + Gte *durationpb.Duration + In []*durationpb.Duration + Lt *durationpb.Duration + Lte *durationpb.Duration + NotIn []*durationpb.Duration + Required *bool + func (*DurationRules) Descriptor() ([]byte, []int) + func (*DurationRules) ProtoMessage() + func (m *DurationRules) Validate() error + func (x *DurationRules) GetConst() *durationpb.Duration + func (x *DurationRules) GetGt() *durationpb.Duration + func (x *DurationRules) GetGte() *durationpb.Duration + func (x *DurationRules) GetIn() []*durationpb.Duration + func (x *DurationRules) GetLt() *durationpb.Duration + func (x *DurationRules) GetLte() *durationpb.Duration + func (x *DurationRules) GetNotIn() []*durationpb.Duration + func (x *DurationRules) GetRequired() bool + func (x *DurationRules) ProtoReflect() protoreflect.Message + func (x *DurationRules) Reset() + func (x *DurationRules) String() string + type DurationRulesValidationError struct + func (e DurationRulesValidationError) Cause() error + func (e DurationRulesValidationError) Error() string + func (e DurationRulesValidationError) ErrorName() string + func (e DurationRulesValidationError) Field() string + func (e DurationRulesValidationError) Key() bool + func (e DurationRulesValidationError) Reason() string + type EnumRules struct + Const *int32 + DefinedOnly *bool + In []int32 + NotIn []int32 + func (*EnumRules) Descriptor() ([]byte, []int) + func (*EnumRules) ProtoMessage() + func (m *EnumRules) Validate() error + func (x *EnumRules) GetConst() int32 + func (x *EnumRules) GetDefinedOnly() bool + func (x *EnumRules) GetIn() []int32 + func (x *EnumRules) GetNotIn() []int32 + func (x *EnumRules) ProtoReflect() protoreflect.Message + func (x *EnumRules) Reset() + func (x *EnumRules) String() string + type EnumRulesValidationError struct + func (e EnumRulesValidationError) Cause() error + func (e EnumRulesValidationError) Error() string + func (e EnumRulesValidationError) ErrorName() string + func (e EnumRulesValidationError) Field() string + func (e EnumRulesValidationError) Key() bool + func (e EnumRulesValidationError) Reason() string + type FieldRules struct + Message *MessageRules + Type isFieldRules_Type + func (*FieldRules) Descriptor() ([]byte, []int) + func (*FieldRules) ProtoMessage() + func (m *FieldRules) GetType() isFieldRules_Type + func (m *FieldRules) Validate() error + func (x *FieldRules) GetAny() *AnyRules + func (x *FieldRules) GetBool() *BoolRules + func (x *FieldRules) GetBytes() *BytesRules + func (x *FieldRules) GetDouble() *DoubleRules + func (x *FieldRules) GetDuration() *DurationRules + func (x *FieldRules) GetEnum() *EnumRules + func (x *FieldRules) GetFixed32() *Fixed32Rules + func (x *FieldRules) GetFixed64() *Fixed64Rules + func (x *FieldRules) GetFloat() *FloatRules + func (x *FieldRules) GetInt32() *Int32Rules + func (x *FieldRules) GetInt64() *Int64Rules + func (x *FieldRules) GetMap() *MapRules + func (x *FieldRules) GetMessage() *MessageRules + func (x *FieldRules) GetRepeated() *RepeatedRules + func (x *FieldRules) GetSfixed32() *SFixed32Rules + func (x *FieldRules) GetSfixed64() *SFixed64Rules + func (x *FieldRules) GetSint32() *SInt32Rules + func (x *FieldRules) GetSint64() *SInt64Rules + func (x *FieldRules) GetString_() *StringRules + func (x *FieldRules) GetTimestamp() *TimestampRules + func (x *FieldRules) GetUint32() *UInt32Rules + func (x *FieldRules) GetUint64() *UInt64Rules + func (x *FieldRules) ProtoReflect() protoreflect.Message + func (x *FieldRules) Reset() + func (x *FieldRules) String() string + type FieldRulesValidationError struct + func (e FieldRulesValidationError) Cause() error + func (e FieldRulesValidationError) Error() string + func (e FieldRulesValidationError) ErrorName() string + func (e FieldRulesValidationError) Field() string + func (e FieldRulesValidationError) Key() bool + func (e FieldRulesValidationError) Reason() string + type FieldRules_Any struct + Any *AnyRules + type FieldRules_Bool struct + Bool *BoolRules + type FieldRules_Bytes struct + Bytes *BytesRules + type FieldRules_Double struct + Double *DoubleRules + type FieldRules_Duration struct + Duration *DurationRules + type FieldRules_Enum struct + Enum *EnumRules + type FieldRules_Fixed32 struct + Fixed32 *Fixed32Rules + type FieldRules_Fixed64 struct + Fixed64 *Fixed64Rules + type FieldRules_Float struct + Float *FloatRules + type FieldRules_Int32 struct + Int32 *Int32Rules + type FieldRules_Int64 struct + Int64 *Int64Rules + type FieldRules_Map struct + Map *MapRules + type FieldRules_Repeated struct + Repeated *RepeatedRules + type FieldRules_Sfixed32 struct + Sfixed32 *SFixed32Rules + type FieldRules_Sfixed64 struct + Sfixed64 *SFixed64Rules + type FieldRules_Sint32 struct + Sint32 *SInt32Rules + type FieldRules_Sint64 struct + Sint64 *SInt64Rules + type FieldRules_String_ struct + String_ *StringRules + type FieldRules_Timestamp struct + Timestamp *TimestampRules + type FieldRules_Uint32 struct + Uint32 *UInt32Rules + type FieldRules_Uint64 struct + Uint64 *UInt64Rules + type Fixed32Rules struct + Const *uint32 + Gt *uint32 + Gte *uint32 + IgnoreEmpty *bool + In []uint32 + Lt *uint32 + Lte *uint32 + NotIn []uint32 + func (*Fixed32Rules) Descriptor() ([]byte, []int) + func (*Fixed32Rules) ProtoMessage() + func (m *Fixed32Rules) Validate() error + func (x *Fixed32Rules) GetConst() uint32 + func (x *Fixed32Rules) GetGt() uint32 + func (x *Fixed32Rules) GetGte() uint32 + func (x *Fixed32Rules) GetIgnoreEmpty() bool + func (x *Fixed32Rules) GetIn() []uint32 + func (x *Fixed32Rules) GetLt() uint32 + func (x *Fixed32Rules) GetLte() uint32 + func (x *Fixed32Rules) GetNotIn() []uint32 + func (x *Fixed32Rules) ProtoReflect() protoreflect.Message + func (x *Fixed32Rules) Reset() + func (x *Fixed32Rules) String() string + type Fixed32RulesValidationError struct + func (e Fixed32RulesValidationError) Cause() error + func (e Fixed32RulesValidationError) Error() string + func (e Fixed32RulesValidationError) ErrorName() string + func (e Fixed32RulesValidationError) Field() string + func (e Fixed32RulesValidationError) Key() bool + func (e Fixed32RulesValidationError) Reason() string + type Fixed64Rules struct + Const *uint64 + Gt *uint64 + Gte *uint64 + IgnoreEmpty *bool + In []uint64 + Lt *uint64 + Lte *uint64 + NotIn []uint64 + func (*Fixed64Rules) Descriptor() ([]byte, []int) + func (*Fixed64Rules) ProtoMessage() + func (m *Fixed64Rules) Validate() error + func (x *Fixed64Rules) GetConst() uint64 + func (x *Fixed64Rules) GetGt() uint64 + func (x *Fixed64Rules) GetGte() uint64 + func (x *Fixed64Rules) GetIgnoreEmpty() bool + func (x *Fixed64Rules) GetIn() []uint64 + func (x *Fixed64Rules) GetLt() uint64 + func (x *Fixed64Rules) GetLte() uint64 + func (x *Fixed64Rules) GetNotIn() []uint64 + func (x *Fixed64Rules) ProtoReflect() protoreflect.Message + func (x *Fixed64Rules) Reset() + func (x *Fixed64Rules) String() string + type Fixed64RulesValidationError struct + func (e Fixed64RulesValidationError) Cause() error + func (e Fixed64RulesValidationError) Error() string + func (e Fixed64RulesValidationError) ErrorName() string + func (e Fixed64RulesValidationError) Field() string + func (e Fixed64RulesValidationError) Key() bool + func (e Fixed64RulesValidationError) Reason() string + type FloatRules struct + Const *float32 + Gt *float32 + Gte *float32 + IgnoreEmpty *bool + In []float32 + Lt *float32 + Lte *float32 + NotIn []float32 + func (*FloatRules) Descriptor() ([]byte, []int) + func (*FloatRules) ProtoMessage() + func (m *FloatRules) Validate() error + func (x *FloatRules) GetConst() float32 + func (x *FloatRules) GetGt() float32 + func (x *FloatRules) GetGte() float32 + func (x *FloatRules) GetIgnoreEmpty() bool + func (x *FloatRules) GetIn() []float32 + func (x *FloatRules) GetLt() float32 + func (x *FloatRules) GetLte() float32 + func (x *FloatRules) GetNotIn() []float32 + func (x *FloatRules) ProtoReflect() protoreflect.Message + func (x *FloatRules) Reset() + func (x *FloatRules) String() string + type FloatRulesValidationError struct + func (e FloatRulesValidationError) Cause() error + func (e FloatRulesValidationError) Error() string + func (e FloatRulesValidationError) ErrorName() string + func (e FloatRulesValidationError) Field() string + func (e FloatRulesValidationError) Key() bool + func (e FloatRulesValidationError) Reason() string + type Int32Rules struct + Const *int32 + Gt *int32 + Gte *int32 + IgnoreEmpty *bool + In []int32 + Lt *int32 + Lte *int32 + NotIn []int32 + func (*Int32Rules) Descriptor() ([]byte, []int) + func (*Int32Rules) ProtoMessage() + func (m *Int32Rules) Validate() error + func (x *Int32Rules) GetConst() int32 + func (x *Int32Rules) GetGt() int32 + func (x *Int32Rules) GetGte() int32 + func (x *Int32Rules) GetIgnoreEmpty() bool + func (x *Int32Rules) GetIn() []int32 + func (x *Int32Rules) GetLt() int32 + func (x *Int32Rules) GetLte() int32 + func (x *Int32Rules) GetNotIn() []int32 + func (x *Int32Rules) ProtoReflect() protoreflect.Message + func (x *Int32Rules) Reset() + func (x *Int32Rules) String() string + type Int32RulesValidationError struct + func (e Int32RulesValidationError) Cause() error + func (e Int32RulesValidationError) Error() string + func (e Int32RulesValidationError) ErrorName() string + func (e Int32RulesValidationError) Field() string + func (e Int32RulesValidationError) Key() bool + func (e Int32RulesValidationError) Reason() string + type Int64Rules struct + Const *int64 + Gt *int64 + Gte *int64 + IgnoreEmpty *bool + In []int64 + Lt *int64 + Lte *int64 + NotIn []int64 + func (*Int64Rules) Descriptor() ([]byte, []int) + func (*Int64Rules) ProtoMessage() + func (m *Int64Rules) Validate() error + func (x *Int64Rules) GetConst() int64 + func (x *Int64Rules) GetGt() int64 + func (x *Int64Rules) GetGte() int64 + func (x *Int64Rules) GetIgnoreEmpty() bool + func (x *Int64Rules) GetIn() []int64 + func (x *Int64Rules) GetLt() int64 + func (x *Int64Rules) GetLte() int64 + func (x *Int64Rules) GetNotIn() []int64 + func (x *Int64Rules) ProtoReflect() protoreflect.Message + func (x *Int64Rules) Reset() + func (x *Int64Rules) String() string + type Int64RulesValidationError struct + func (e Int64RulesValidationError) Cause() error + func (e Int64RulesValidationError) Error() string + func (e Int64RulesValidationError) ErrorName() string + func (e Int64RulesValidationError) Field() string + func (e Int64RulesValidationError) Key() bool + func (e Int64RulesValidationError) Reason() string + type KnownRegex int32 + const KnownRegex_HTTP_HEADER_NAME + const KnownRegex_HTTP_HEADER_VALUE + const KnownRegex_UNKNOWN + func (KnownRegex) Descriptor() protoreflect.EnumDescriptor + func (KnownRegex) EnumDescriptor() ([]byte, []int) + func (KnownRegex) Type() protoreflect.EnumType + func (x *KnownRegex) UnmarshalJSON(b []byte) error + func (x KnownRegex) Enum() *KnownRegex + func (x KnownRegex) Number() protoreflect.EnumNumber + func (x KnownRegex) String() string + type MapRules struct + IgnoreEmpty *bool + Keys *FieldRules + MaxPairs *uint64 + MinPairs *uint64 + NoSparse *bool + Values *FieldRules + func (*MapRules) Descriptor() ([]byte, []int) + func (*MapRules) ProtoMessage() + func (m *MapRules) Validate() error + func (x *MapRules) GetIgnoreEmpty() bool + func (x *MapRules) GetKeys() *FieldRules + func (x *MapRules) GetMaxPairs() uint64 + func (x *MapRules) GetMinPairs() uint64 + func (x *MapRules) GetNoSparse() bool + func (x *MapRules) GetValues() *FieldRules + func (x *MapRules) ProtoReflect() protoreflect.Message + func (x *MapRules) Reset() + func (x *MapRules) String() string + type MapRulesValidationError struct + func (e MapRulesValidationError) Cause() error + func (e MapRulesValidationError) Error() string + func (e MapRulesValidationError) ErrorName() string + func (e MapRulesValidationError) Field() string + func (e MapRulesValidationError) Key() bool + func (e MapRulesValidationError) Reason() string + type MessageRules struct + Required *bool + Skip *bool + func (*MessageRules) Descriptor() ([]byte, []int) + func (*MessageRules) ProtoMessage() + func (m *MessageRules) Validate() error + func (x *MessageRules) GetRequired() bool + func (x *MessageRules) GetSkip() bool + func (x *MessageRules) ProtoReflect() protoreflect.Message + func (x *MessageRules) Reset() + func (x *MessageRules) String() string + type MessageRulesValidationError struct + func (e MessageRulesValidationError) Cause() error + func (e MessageRulesValidationError) Error() string + func (e MessageRulesValidationError) ErrorName() string + func (e MessageRulesValidationError) Field() string + func (e MessageRulesValidationError) Key() bool + func (e MessageRulesValidationError) Reason() string + type RepeatedRules struct + IgnoreEmpty *bool + Items *FieldRules + MaxItems *uint64 + MinItems *uint64 + Unique *bool + func (*RepeatedRules) Descriptor() ([]byte, []int) + func (*RepeatedRules) ProtoMessage() + func (m *RepeatedRules) Validate() error + func (x *RepeatedRules) GetIgnoreEmpty() bool + func (x *RepeatedRules) GetItems() *FieldRules + func (x *RepeatedRules) GetMaxItems() uint64 + func (x *RepeatedRules) GetMinItems() uint64 + func (x *RepeatedRules) GetUnique() bool + func (x *RepeatedRules) ProtoReflect() protoreflect.Message + func (x *RepeatedRules) Reset() + func (x *RepeatedRules) String() string + type RepeatedRulesValidationError struct + func (e RepeatedRulesValidationError) Cause() error + func (e RepeatedRulesValidationError) Error() string + func (e RepeatedRulesValidationError) ErrorName() string + func (e RepeatedRulesValidationError) Field() string + func (e RepeatedRulesValidationError) Key() bool + func (e RepeatedRulesValidationError) Reason() string + type SFixed32Rules struct + Const *int32 + Gt *int32 + Gte *int32 + IgnoreEmpty *bool + In []int32 + Lt *int32 + Lte *int32 + NotIn []int32 + func (*SFixed32Rules) Descriptor() ([]byte, []int) + func (*SFixed32Rules) ProtoMessage() + func (m *SFixed32Rules) Validate() error + func (x *SFixed32Rules) GetConst() int32 + func (x *SFixed32Rules) GetGt() int32 + func (x *SFixed32Rules) GetGte() int32 + func (x *SFixed32Rules) GetIgnoreEmpty() bool + func (x *SFixed32Rules) GetIn() []int32 + func (x *SFixed32Rules) GetLt() int32 + func (x *SFixed32Rules) GetLte() int32 + func (x *SFixed32Rules) GetNotIn() []int32 + func (x *SFixed32Rules) ProtoReflect() protoreflect.Message + func (x *SFixed32Rules) Reset() + func (x *SFixed32Rules) String() string + type SFixed32RulesValidationError struct + func (e SFixed32RulesValidationError) Cause() error + func (e SFixed32RulesValidationError) Error() string + func (e SFixed32RulesValidationError) ErrorName() string + func (e SFixed32RulesValidationError) Field() string + func (e SFixed32RulesValidationError) Key() bool + func (e SFixed32RulesValidationError) Reason() string + type SFixed64Rules struct + Const *int64 + Gt *int64 + Gte *int64 + IgnoreEmpty *bool + In []int64 + Lt *int64 + Lte *int64 + NotIn []int64 + func (*SFixed64Rules) Descriptor() ([]byte, []int) + func (*SFixed64Rules) ProtoMessage() + func (m *SFixed64Rules) Validate() error + func (x *SFixed64Rules) GetConst() int64 + func (x *SFixed64Rules) GetGt() int64 + func (x *SFixed64Rules) GetGte() int64 + func (x *SFixed64Rules) GetIgnoreEmpty() bool + func (x *SFixed64Rules) GetIn() []int64 + func (x *SFixed64Rules) GetLt() int64 + func (x *SFixed64Rules) GetLte() int64 + func (x *SFixed64Rules) GetNotIn() []int64 + func (x *SFixed64Rules) ProtoReflect() protoreflect.Message + func (x *SFixed64Rules) Reset() + func (x *SFixed64Rules) String() string + type SFixed64RulesValidationError struct + func (e SFixed64RulesValidationError) Cause() error + func (e SFixed64RulesValidationError) Error() string + func (e SFixed64RulesValidationError) ErrorName() string + func (e SFixed64RulesValidationError) Field() string + func (e SFixed64RulesValidationError) Key() bool + func (e SFixed64RulesValidationError) Reason() string + type SInt32Rules struct + Const *int32 + Gt *int32 + Gte *int32 + IgnoreEmpty *bool + In []int32 + Lt *int32 + Lte *int32 + NotIn []int32 + func (*SInt32Rules) Descriptor() ([]byte, []int) + func (*SInt32Rules) ProtoMessage() + func (m *SInt32Rules) Validate() error + func (x *SInt32Rules) GetConst() int32 + func (x *SInt32Rules) GetGt() int32 + func (x *SInt32Rules) GetGte() int32 + func (x *SInt32Rules) GetIgnoreEmpty() bool + func (x *SInt32Rules) GetIn() []int32 + func (x *SInt32Rules) GetLt() int32 + func (x *SInt32Rules) GetLte() int32 + func (x *SInt32Rules) GetNotIn() []int32 + func (x *SInt32Rules) ProtoReflect() protoreflect.Message + func (x *SInt32Rules) Reset() + func (x *SInt32Rules) String() string + type SInt32RulesValidationError struct + func (e SInt32RulesValidationError) Cause() error + func (e SInt32RulesValidationError) Error() string + func (e SInt32RulesValidationError) ErrorName() string + func (e SInt32RulesValidationError) Field() string + func (e SInt32RulesValidationError) Key() bool + func (e SInt32RulesValidationError) Reason() string + type SInt64Rules struct + Const *int64 + Gt *int64 + Gte *int64 + IgnoreEmpty *bool + In []int64 + Lt *int64 + Lte *int64 + NotIn []int64 + func (*SInt64Rules) Descriptor() ([]byte, []int) + func (*SInt64Rules) ProtoMessage() + func (m *SInt64Rules) Validate() error + func (x *SInt64Rules) GetConst() int64 + func (x *SInt64Rules) GetGt() int64 + func (x *SInt64Rules) GetGte() int64 + func (x *SInt64Rules) GetIgnoreEmpty() bool + func (x *SInt64Rules) GetIn() []int64 + func (x *SInt64Rules) GetLt() int64 + func (x *SInt64Rules) GetLte() int64 + func (x *SInt64Rules) GetNotIn() []int64 + func (x *SInt64Rules) ProtoReflect() protoreflect.Message + func (x *SInt64Rules) Reset() + func (x *SInt64Rules) String() string + type SInt64RulesValidationError struct + func (e SInt64RulesValidationError) Cause() error + func (e SInt64RulesValidationError) Error() string + func (e SInt64RulesValidationError) ErrorName() string + func (e SInt64RulesValidationError) Field() string + func (e SInt64RulesValidationError) Key() bool + func (e SInt64RulesValidationError) Reason() string + type StringRules struct + Const *string + Contains *string + IgnoreEmpty *bool + In []string + Len *uint64 + LenBytes *uint64 + MaxBytes *uint64 + MaxLen *uint64 + MinBytes *uint64 + MinLen *uint64 + NotContains *string + NotIn []string + Pattern *string + Prefix *string + Strict *bool + Suffix *string + WellKnown isStringRules_WellKnown + func (*StringRules) Descriptor() ([]byte, []int) + func (*StringRules) ProtoMessage() + func (m *StringRules) GetWellKnown() isStringRules_WellKnown + func (m *StringRules) Validate() error + func (x *StringRules) GetAddress() bool + func (x *StringRules) GetConst() string + func (x *StringRules) GetContains() string + func (x *StringRules) GetEmail() bool + func (x *StringRules) GetHostname() bool + func (x *StringRules) GetIgnoreEmpty() bool + func (x *StringRules) GetIn() []string + func (x *StringRules) GetIp() bool + func (x *StringRules) GetIpv4() bool + func (x *StringRules) GetIpv6() bool + func (x *StringRules) GetLen() uint64 + func (x *StringRules) GetLenBytes() uint64 + func (x *StringRules) GetMaxBytes() uint64 + func (x *StringRules) GetMaxLen() uint64 + func (x *StringRules) GetMinBytes() uint64 + func (x *StringRules) GetMinLen() uint64 + func (x *StringRules) GetNotContains() string + func (x *StringRules) GetNotIn() []string + func (x *StringRules) GetPattern() string + func (x *StringRules) GetPrefix() string + func (x *StringRules) GetStrict() bool + func (x *StringRules) GetSuffix() string + func (x *StringRules) GetUri() bool + func (x *StringRules) GetUriRef() bool + func (x *StringRules) GetUuid() bool + func (x *StringRules) GetWellKnownRegex() KnownRegex + func (x *StringRules) ProtoReflect() protoreflect.Message + func (x *StringRules) Reset() + func (x *StringRules) String() string + type StringRulesValidationError struct + func (e StringRulesValidationError) Cause() error + func (e StringRulesValidationError) Error() string + func (e StringRulesValidationError) ErrorName() string + func (e StringRulesValidationError) Field() string + func (e StringRulesValidationError) Key() bool + func (e StringRulesValidationError) Reason() string + type StringRules_Address struct + Address bool + type StringRules_Email struct + Email bool + type StringRules_Hostname struct + Hostname bool + type StringRules_Ip struct + Ip bool + type StringRules_Ipv4 struct + Ipv4 bool + type StringRules_Ipv6 struct + Ipv6 bool + type StringRules_Uri struct + Uri bool + type StringRules_UriRef struct + UriRef bool + type StringRules_Uuid struct + Uuid bool + type StringRules_WellKnownRegex struct + WellKnownRegex KnownRegex + type TimestampRules struct + Const *timestamppb.Timestamp + Gt *timestamppb.Timestamp + GtNow *bool + Gte *timestamppb.Timestamp + Lt *timestamppb.Timestamp + LtNow *bool + Lte *timestamppb.Timestamp + Required *bool + Within *durationpb.Duration + func (*TimestampRules) Descriptor() ([]byte, []int) + func (*TimestampRules) ProtoMessage() + func (m *TimestampRules) Validate() error + func (x *TimestampRules) GetConst() *timestamppb.Timestamp + func (x *TimestampRules) GetGt() *timestamppb.Timestamp + func (x *TimestampRules) GetGtNow() bool + func (x *TimestampRules) GetGte() *timestamppb.Timestamp + func (x *TimestampRules) GetLt() *timestamppb.Timestamp + func (x *TimestampRules) GetLtNow() bool + func (x *TimestampRules) GetLte() *timestamppb.Timestamp + func (x *TimestampRules) GetRequired() bool + func (x *TimestampRules) GetWithin() *durationpb.Duration + func (x *TimestampRules) ProtoReflect() protoreflect.Message + func (x *TimestampRules) Reset() + func (x *TimestampRules) String() string + type TimestampRulesValidationError struct + func (e TimestampRulesValidationError) Cause() error + func (e TimestampRulesValidationError) Error() string + func (e TimestampRulesValidationError) ErrorName() string + func (e TimestampRulesValidationError) Field() string + func (e TimestampRulesValidationError) Key() bool + func (e TimestampRulesValidationError) Reason() string + type UInt32Rules struct + Const *uint32 + Gt *uint32 + Gte *uint32 + IgnoreEmpty *bool + In []uint32 + Lt *uint32 + Lte *uint32 + NotIn []uint32 + func (*UInt32Rules) Descriptor() ([]byte, []int) + func (*UInt32Rules) ProtoMessage() + func (m *UInt32Rules) Validate() error + func (x *UInt32Rules) GetConst() uint32 + func (x *UInt32Rules) GetGt() uint32 + func (x *UInt32Rules) GetGte() uint32 + func (x *UInt32Rules) GetIgnoreEmpty() bool + func (x *UInt32Rules) GetIn() []uint32 + func (x *UInt32Rules) GetLt() uint32 + func (x *UInt32Rules) GetLte() uint32 + func (x *UInt32Rules) GetNotIn() []uint32 + func (x *UInt32Rules) ProtoReflect() protoreflect.Message + func (x *UInt32Rules) Reset() + func (x *UInt32Rules) String() string + type UInt32RulesValidationError struct + func (e UInt32RulesValidationError) Cause() error + func (e UInt32RulesValidationError) Error() string + func (e UInt32RulesValidationError) ErrorName() string + func (e UInt32RulesValidationError) Field() string + func (e UInt32RulesValidationError) Key() bool + func (e UInt32RulesValidationError) Reason() string + type UInt64Rules struct + Const *uint64 + Gt *uint64 + Gte *uint64 + IgnoreEmpty *bool + In []uint64 + Lt *uint64 + Lte *uint64 + NotIn []uint64 + func (*UInt64Rules) Descriptor() ([]byte, []int) + func (*UInt64Rules) ProtoMessage() + func (m *UInt64Rules) Validate() error + func (x *UInt64Rules) GetConst() uint64 + func (x *UInt64Rules) GetGt() uint64 + func (x *UInt64Rules) GetGte() uint64 + func (x *UInt64Rules) GetIgnoreEmpty() bool + func (x *UInt64Rules) GetIn() []uint64 + func (x *UInt64Rules) GetLt() uint64 + func (x *UInt64Rules) GetLte() uint64 + func (x *UInt64Rules) GetNotIn() []uint64 + func (x *UInt64Rules) ProtoReflect() protoreflect.Message + func (x *UInt64Rules) Reset() + func (x *UInt64Rules) String() string + type UInt64RulesValidationError struct + func (e UInt64RulesValidationError) Cause() error + func (e UInt64RulesValidationError) Error() string + func (e UInt64RulesValidationError) ErrorName() string + func (e UInt64RulesValidationError) Field() string + func (e UInt64RulesValidationError) Key() bool + func (e UInt64RulesValidationError) Reason() string