validate

package
v1.36.11-2024061717284... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: unknown License: Apache-2.0 Imports: 7 Imported by: 514

Documentation

Index

Constants

View Source
const BytesRules_Ip_case case_BytesRules_WellKnown = 10
View Source
const BytesRules_Ipv4_case case_BytesRules_WellKnown = 11
View Source
const BytesRules_Ipv6_case case_BytesRules_WellKnown = 12
View Source
const BytesRules_WellKnown_not_set_case case_BytesRules_WellKnown = 0
View Source
const (
	Default_StringRules_Strict = bool(true)
)

Default values for StringRules fields.

View Source
const FieldRules_Any_case case_FieldRules_Type = 20
View Source
const FieldRules_Bool_case case_FieldRules_Type = 13
View Source
const FieldRules_Bytes_case case_FieldRules_Type = 15
View Source
const FieldRules_Double_case case_FieldRules_Type = 2
View Source
const FieldRules_Duration_case case_FieldRules_Type = 21
View Source
const FieldRules_Enum_case case_FieldRules_Type = 16
View Source
const FieldRules_Fixed32_case case_FieldRules_Type = 9
View Source
const FieldRules_Fixed64_case case_FieldRules_Type = 10
View Source
const FieldRules_Float_case case_FieldRules_Type = 1
View Source
const FieldRules_Int32_case case_FieldRules_Type = 3
View Source
const FieldRules_Int64_case case_FieldRules_Type = 4
View Source
const FieldRules_Map_case case_FieldRules_Type = 19
View Source
const FieldRules_Repeated_case case_FieldRules_Type = 18
View Source
const FieldRules_Sfixed32_case case_FieldRules_Type = 11
View Source
const FieldRules_Sfixed64_case case_FieldRules_Type = 12
View Source
const FieldRules_Sint32_case case_FieldRules_Type = 7
View Source
const FieldRules_Sint64_case case_FieldRules_Type = 8
View Source
const FieldRules_String__case case_FieldRules_Type = 14
View Source
const FieldRules_Timestamp_case case_FieldRules_Type = 22
View Source
const FieldRules_Type_not_set_case case_FieldRules_Type = 0
View Source
const FieldRules_Uint32_case case_FieldRules_Type = 5
View Source
const FieldRules_Uint64_case case_FieldRules_Type = 6
View Source
const StringRules_Address_case case_StringRules_WellKnown = 21
View Source
const StringRules_Email_case case_StringRules_WellKnown = 12
View Source
const StringRules_Hostname_case case_StringRules_WellKnown = 13
View Source
const StringRules_Ip_case case_StringRules_WellKnown = 14
View Source
const StringRules_Ipv4_case case_StringRules_WellKnown = 15
View Source
const StringRules_Ipv6_case case_StringRules_WellKnown = 16
View Source
const StringRules_UriRef_case case_StringRules_WellKnown = 18
View Source
const StringRules_Uri_case case_StringRules_WellKnown = 17
View Source
const StringRules_Uuid_case case_StringRules_WellKnown = 22
View Source
const StringRules_WellKnownRegex_case case_StringRules_WellKnown = 24
View Source
const StringRules_WellKnown_not_set_case case_StringRules_WellKnown = 0

Variables

View Source
var (
	KnownRegex_name = map[int32]string{
		0: "UNKNOWN",
		1: "HTTP_HEADER_NAME",
		2: "HTTP_HEADER_VALUE",
	}
	KnownRegex_value = map[string]int32{
		"UNKNOWN":           0,
		"HTTP_HEADER_NAME":  1,
		"HTTP_HEADER_VALUE": 2,
	}
)

Enum value maps for KnownRegex.

View Source
var (
	// Disabled nullifies any validation rules for this message, including any
	// message fields associated with it that do support validation.
	//
	// optional bool disabled = 1071;
	E_Disabled = &file_validate_validate_proto_extTypes[0]
	// Ignore skips generation of validation methods for this message.
	//
	// optional bool ignored = 1072;
	E_Ignored = &file_validate_validate_proto_extTypes[1]
)

Extension fields to descriptorpb.MessageOptions.

View Source
var (
	// Required ensures that exactly one the field options in a oneof is set;
	// validation fails if no fields in the oneof are set.
	//
	// optional bool required = 1071;
	E_Required = &file_validate_validate_proto_extTypes[2]
)

Extension fields to descriptorpb.OneofOptions.

View Source
var (
	// Rules specify the validations to be performed on this field. By default,
	// no validation is performed against a field.
	//
	// optional validate.FieldRules rules = 1071;
	E_Rules = &file_validate_validate_proto_extTypes[3]
)

Extension fields to descriptorpb.FieldOptions.

View Source
var File_validate_validate_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AnyRules

type AnyRules struct {

	// Required specifies that this field must be set
	Required *bool `protobuf:"varint,1,opt,name=required" json:"required,omitempty"`
	// In specifies that this field's `type_url` must be equal to one of the
	// specified values.
	In []string `protobuf:"bytes,2,rep,name=in" json:"in,omitempty"`
	// NotIn specifies that this field's `type_url` must not be equal to any of
	// the specified values.
	NotIn []string `protobuf:"bytes,3,rep,name=not_in,json=notIn" json:"not_in,omitempty"`
	// contains filtered or unexported fields
}

AnyRules describe constraints applied exclusively to the `google.protobuf.Any` well-known type

func (*AnyRules) ClearRequired

func (x *AnyRules) ClearRequired()

func (*AnyRules) GetIn

func (x *AnyRules) GetIn() []string

func (*AnyRules) GetNotIn

func (x *AnyRules) GetNotIn() []string

func (*AnyRules) GetRequired

func (x *AnyRules) GetRequired() bool

func (*AnyRules) HasRequired

func (x *AnyRules) HasRequired() bool

func (*AnyRules) ProtoMessage

func (*AnyRules) ProtoMessage()

func (*AnyRules) ProtoReflect

func (x *AnyRules) ProtoReflect() protoreflect.Message

func (*AnyRules) Reset

func (x *AnyRules) Reset()

func (*AnyRules) SetIn

func (x *AnyRules) SetIn(v []string)

func (*AnyRules) SetNotIn

func (x *AnyRules) SetNotIn(v []string)

func (*AnyRules) SetRequired

func (x *AnyRules) SetRequired(v bool)

func (*AnyRules) String

func (x *AnyRules) String() string

type AnyRules_builder

type AnyRules_builder struct {

	// Required specifies that this field must be set
	Required *bool
	// In specifies that this field's `type_url` must be equal to one of the
	// specified values.
	In []string
	// NotIn specifies that this field's `type_url` must not be equal to any of
	// the specified values.
	NotIn []string
	// contains filtered or unexported fields
}

func (AnyRules_builder) Build

func (b0 AnyRules_builder) Build() *AnyRules

type BoolRules

type BoolRules struct {

	// Const specifies that this field must be exactly the specified value
	Const *bool `protobuf:"varint,1,opt,name=const" json:"const,omitempty"`
	// contains filtered or unexported fields
}

BoolRules describes the constraints applied to `bool` values

func (*BoolRules) ClearConst

func (x *BoolRules) ClearConst()

func (*BoolRules) GetConst

func (x *BoolRules) GetConst() bool

func (*BoolRules) HasConst

func (x *BoolRules) HasConst() bool

func (*BoolRules) ProtoMessage

func (*BoolRules) ProtoMessage()

func (*BoolRules) ProtoReflect

func (x *BoolRules) ProtoReflect() protoreflect.Message

func (*BoolRules) Reset

func (x *BoolRules) Reset()

func (*BoolRules) SetConst

func (x *BoolRules) SetConst(v bool)

func (*BoolRules) String

func (x *BoolRules) String() string

type BoolRules_builder

type BoolRules_builder struct {

	// Const specifies that this field must be exactly the specified value
	Const *bool
	// contains filtered or unexported fields
}

func (BoolRules_builder) Build

func (b0 BoolRules_builder) Build() *BoolRules

type BytesRules

type BytesRules struct {

	// Const specifies that this field must be exactly the specified value
	Const []byte `protobuf:"bytes,1,opt,name=const" json:"const,omitempty"`
	// Len specifies that this field must be the specified number of bytes
	Len *uint64 `protobuf:"varint,13,opt,name=len" json:"len,omitempty"`
	// MinLen specifies that this field must be the specified number of bytes
	// at a minimum
	MinLen *uint64 `protobuf:"varint,2,opt,name=min_len,json=minLen" json:"min_len,omitempty"`
	// MaxLen specifies that this field must be the specified number of bytes
	// at a maximum
	MaxLen *uint64 `protobuf:"varint,3,opt,name=max_len,json=maxLen" json:"max_len,omitempty"`
	// Pattern specifies that this field must match against the specified
	// regular expression (RE2 syntax). The included expression should elide
	// any delimiters.
	Pattern *string `protobuf:"bytes,4,opt,name=pattern" json:"pattern,omitempty"`
	// Prefix specifies that this field must have the specified bytes at the
	// beginning of the string.
	Prefix []byte `protobuf:"bytes,5,opt,name=prefix" json:"prefix,omitempty"`
	// Suffix specifies that this field must have the specified bytes at the
	// end of the string.
	Suffix []byte `protobuf:"bytes,6,opt,name=suffix" json:"suffix,omitempty"`
	// Contains specifies that this field must have the specified bytes
	// anywhere in the string.
	Contains []byte `protobuf:"bytes,7,opt,name=contains" json:"contains,omitempty"`
	// In specifies that this field must be equal to one of the specified
	// values
	In [][]byte `protobuf:"bytes,8,rep,name=in" json:"in,omitempty"`
	// NotIn specifies that this field cannot be equal to one of the specified
	// values
	NotIn [][]byte `protobuf:"bytes,9,rep,name=not_in,json=notIn" json:"not_in,omitempty"`
	// WellKnown rules provide advanced constraints against common byte
	// patterns
	//
	// Types that are valid to be assigned to WellKnown:
	//
	//	*BytesRules_Ip
	//	*BytesRules_Ipv4
	//	*BytesRules_Ipv6
	WellKnown isBytesRules_WellKnown `protobuf_oneof:"well_known"`
	// IgnoreEmpty specifies that the validation rules of this field should be
	// evaluated only if the field is not empty
	IgnoreEmpty *bool `protobuf:"varint,14,opt,name=ignore_empty,json=ignoreEmpty" json:"ignore_empty,omitempty"`
	// contains filtered or unexported fields
}

BytesRules describe the constraints applied to `bytes` values

func (*BytesRules) ClearConst

func (x *BytesRules) ClearConst()

func (*BytesRules) ClearContains

func (x *BytesRules) ClearContains()

func (*BytesRules) ClearIgnoreEmpty

func (x *BytesRules) ClearIgnoreEmpty()

func (*BytesRules) ClearIp

func (x *BytesRules) ClearIp()

func (*BytesRules) ClearIpv4

func (x *BytesRules) ClearIpv4()

func (*BytesRules) ClearIpv6

func (x *BytesRules) ClearIpv6()

func (*BytesRules) ClearLen

func (x *BytesRules) ClearLen()

func (*BytesRules) ClearMaxLen

func (x *BytesRules) ClearMaxLen()

func (*BytesRules) ClearMinLen

func (x *BytesRules) ClearMinLen()

func (*BytesRules) ClearPattern

func (x *BytesRules) ClearPattern()

func (*BytesRules) ClearPrefix

func (x *BytesRules) ClearPrefix()

func (*BytesRules) ClearSuffix

func (x *BytesRules) ClearSuffix()

func (*BytesRules) ClearWellKnown

func (x *BytesRules) ClearWellKnown()

func (*BytesRules) GetConst

func (x *BytesRules) GetConst() []byte

func (*BytesRules) GetContains

func (x *BytesRules) GetContains() []byte

func (*BytesRules) GetIgnoreEmpty

func (x *BytesRules) GetIgnoreEmpty() bool

func (*BytesRules) GetIn

func (x *BytesRules) GetIn() [][]byte

func (*BytesRules) GetIp

func (x *BytesRules) GetIp() bool

func (*BytesRules) GetIpv4

func (x *BytesRules) GetIpv4() bool

func (*BytesRules) GetIpv6

func (x *BytesRules) GetIpv6() bool

func (*BytesRules) GetLen

func (x *BytesRules) GetLen() uint64

func (*BytesRules) GetMaxLen

func (x *BytesRules) GetMaxLen() uint64

func (*BytesRules) GetMinLen

func (x *BytesRules) GetMinLen() uint64

func (*BytesRules) GetNotIn

func (x *BytesRules) GetNotIn() [][]byte

func (*BytesRules) GetPattern

func (x *BytesRules) GetPattern() string

func (*BytesRules) GetPrefix

func (x *BytesRules) GetPrefix() []byte

func (*BytesRules) GetSuffix

func (x *BytesRules) GetSuffix() []byte

func (*BytesRules) GetWellKnown

func (x *BytesRules) GetWellKnown() isBytesRules_WellKnown

func (*BytesRules) HasConst

func (x *BytesRules) HasConst() bool

func (*BytesRules) HasContains

func (x *BytesRules) HasContains() bool

func (*BytesRules) HasIgnoreEmpty

func (x *BytesRules) HasIgnoreEmpty() bool

func (*BytesRules) HasIp

func (x *BytesRules) HasIp() bool

func (*BytesRules) HasIpv4

func (x *BytesRules) HasIpv4() bool

func (*BytesRules) HasIpv6

func (x *BytesRules) HasIpv6() bool

func (*BytesRules) HasLen

func (x *BytesRules) HasLen() bool

func (*BytesRules) HasMaxLen

func (x *BytesRules) HasMaxLen() bool

func (*BytesRules) HasMinLen

func (x *BytesRules) HasMinLen() bool

func (*BytesRules) HasPattern

func (x *BytesRules) HasPattern() bool

func (*BytesRules) HasPrefix

func (x *BytesRules) HasPrefix() bool

func (*BytesRules) HasSuffix

func (x *BytesRules) HasSuffix() bool

func (*BytesRules) HasWellKnown

func (x *BytesRules) HasWellKnown() bool

func (*BytesRules) ProtoMessage

func (*BytesRules) ProtoMessage()

func (*BytesRules) ProtoReflect

func (x *BytesRules) ProtoReflect() protoreflect.Message

func (*BytesRules) Reset

func (x *BytesRules) Reset()

func (*BytesRules) SetConst

func (x *BytesRules) SetConst(v []byte)

func (*BytesRules) SetContains

func (x *BytesRules) SetContains(v []byte)

func (*BytesRules) SetIgnoreEmpty

func (x *BytesRules) SetIgnoreEmpty(v bool)

func (*BytesRules) SetIn

func (x *BytesRules) SetIn(v [][]byte)

func (*BytesRules) SetIp

func (x *BytesRules) SetIp(v bool)

func (*BytesRules) SetIpv4

func (x *BytesRules) SetIpv4(v bool)

func (*BytesRules) SetIpv6

func (x *BytesRules) SetIpv6(v bool)

func (*BytesRules) SetLen

func (x *BytesRules) SetLen(v uint64)

func (*BytesRules) SetMaxLen

func (x *BytesRules) SetMaxLen(v uint64)

func (*BytesRules) SetMinLen

func (x *BytesRules) SetMinLen(v uint64)

func (*BytesRules) SetNotIn

func (x *BytesRules) SetNotIn(v [][]byte)

func (*BytesRules) SetPattern

func (x *BytesRules) SetPattern(v string)

func (*BytesRules) SetPrefix

func (x *BytesRules) SetPrefix(v []byte)

func (*BytesRules) SetSuffix

func (x *BytesRules) SetSuffix(v []byte)

func (*BytesRules) String

func (x *BytesRules) String() string

func (*BytesRules) WhichWellKnown

func (x *BytesRules) WhichWellKnown() case_BytesRules_WellKnown

type BytesRules_Ip

type BytesRules_Ip struct {
	// Ip specifies that the field must be a valid IP (v4 or v6) address in
	// byte format
	Ip bool `protobuf:"varint,10,opt,name=ip,oneof"`
}

type BytesRules_Ipv4

type BytesRules_Ipv4 struct {
	// Ipv4 specifies that the field must be a valid IPv4 address in byte
	// format
	Ipv4 bool `protobuf:"varint,11,opt,name=ipv4,oneof"`
}

type BytesRules_Ipv6

type BytesRules_Ipv6 struct {
	// Ipv6 specifies that the field must be a valid IPv6 address in byte
	// format
	Ipv6 bool `protobuf:"varint,12,opt,name=ipv6,oneof"`
}

type BytesRules_builder

type BytesRules_builder struct {

	// Const specifies that this field must be exactly the specified value
	Const []byte
	// Len specifies that this field must be the specified number of bytes
	Len *uint64
	// MinLen specifies that this field must be the specified number of bytes
	// at a minimum
	MinLen *uint64
	// MaxLen specifies that this field must be the specified number of bytes
	// at a maximum
	MaxLen *uint64
	// Pattern specifies that this field must match against the specified
	// regular expression (RE2 syntax). The included expression should elide
	// any delimiters.
	Pattern *string
	// Prefix specifies that this field must have the specified bytes at the
	// beginning of the string.
	Prefix []byte
	// Suffix specifies that this field must have the specified bytes at the
	// end of the string.
	Suffix []byte
	// Contains specifies that this field must have the specified bytes
	// anywhere in the string.
	Contains []byte
	// In specifies that this field must be equal to one of the specified
	// values
	In [][]byte
	// NotIn specifies that this field cannot be equal to one of the specified
	// values
	NotIn [][]byte

	// Fields of oneof WellKnown:
	// Ip specifies that the field must be a valid IP (v4 or v6) address in
	// byte format
	Ip *bool
	// Ipv4 specifies that the field must be a valid IPv4 address in byte
	// format
	Ipv4 *bool
	// Ipv6 specifies that the field must be a valid IPv6 address in byte
	// format
	Ipv6 *bool
	// -- end of WellKnown
	// IgnoreEmpty specifies that the validation rules of this field should be
	// evaluated only if the field is not empty
	IgnoreEmpty *bool
	// contains filtered or unexported fields
}

func (BytesRules_builder) Build

func (b0 BytesRules_builder) Build() *BytesRules

type DoubleRules

type DoubleRules struct {

	// Const specifies that this field must be exactly the specified value
	Const *float64 `protobuf:"fixed64,1,opt,name=const" json:"const,omitempty"`
	// Lt specifies that this field must be less than the specified value,
	// exclusive
	Lt *float64 `protobuf:"fixed64,2,opt,name=lt" json:"lt,omitempty"`
	// Lte specifies that this field must be less than or equal to the
	// specified value, inclusive
	Lte *float64 `protobuf:"fixed64,3,opt,name=lte" json:"lte,omitempty"`
	// 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.
	Gt *float64 `protobuf:"fixed64,4,opt,name=gt" json:"gt,omitempty"`
	// 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.
	Gte *float64 `protobuf:"fixed64,5,opt,name=gte" json:"gte,omitempty"`
	// In specifies that this field must be equal to one of the specified
	// values
	In []float64 `protobuf:"fixed64,6,rep,name=in" json:"in,omitempty"`
	// NotIn specifies that this field cannot be equal to one of the specified
	// values
	NotIn []float64 `protobuf:"fixed64,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"`
	// IgnoreEmpty specifies that the validation rules of this field should be
	// evaluated only if the field is not empty
	IgnoreEmpty *bool `protobuf:"varint,8,opt,name=ignore_empty,json=ignoreEmpty" json:"ignore_empty,omitempty"`
	// contains filtered or unexported fields
}

DoubleRules describes the constraints applied to `double` values

func (*DoubleRules) ClearConst

func (x *DoubleRules) ClearConst()

func (*DoubleRules) ClearGt

func (x *DoubleRules) ClearGt()

func (*DoubleRules) ClearGte

func (x *DoubleRules) ClearGte()

func (*DoubleRules) ClearIgnoreEmpty

func (x *DoubleRules) ClearIgnoreEmpty()

func (*DoubleRules) ClearLt

func (x *DoubleRules) ClearLt()

func (*DoubleRules) ClearLte

func (x *DoubleRules) ClearLte()

func (*DoubleRules) GetConst

func (x *DoubleRules) GetConst() float64

func (*DoubleRules) GetGt

func (x *DoubleRules) GetGt() float64

func (*DoubleRules) GetGte

func (x *DoubleRules) GetGte() float64

func (*DoubleRules) GetIgnoreEmpty

func (x *DoubleRules) GetIgnoreEmpty() bool

func (*DoubleRules) GetIn

func (x *DoubleRules) GetIn() []float64

func (*DoubleRules) GetLt

func (x *DoubleRules) GetLt() float64

func (*DoubleRules) GetLte

func (x *DoubleRules) GetLte() float64

func (*DoubleRules) GetNotIn

func (x *DoubleRules) GetNotIn() []float64

func (*DoubleRules) HasConst

func (x *DoubleRules) HasConst() bool

func (*DoubleRules) HasGt

func (x *DoubleRules) HasGt() bool

func (*DoubleRules) HasGte

func (x *DoubleRules) HasGte() bool

func (*DoubleRules) HasIgnoreEmpty

func (x *DoubleRules) HasIgnoreEmpty() bool

func (*DoubleRules) HasLt

func (x *DoubleRules) HasLt() bool

func (*DoubleRules) HasLte

func (x *DoubleRules) HasLte() bool

func (*DoubleRules) ProtoMessage

func (*DoubleRules) ProtoMessage()

func (*DoubleRules) ProtoReflect

func (x *DoubleRules) ProtoReflect() protoreflect.Message

func (*DoubleRules) Reset

func (x *DoubleRules) Reset()

func (*DoubleRules) SetConst

func (x *DoubleRules) SetConst(v float64)

func (*DoubleRules) SetGt

func (x *DoubleRules) SetGt(v float64)

func (*DoubleRules) SetGte

func (x *DoubleRules) SetGte(v float64)

func (*DoubleRules) SetIgnoreEmpty

func (x *DoubleRules) SetIgnoreEmpty(v bool)

func (*DoubleRules) SetIn

func (x *DoubleRules) SetIn(v []float64)

func (*DoubleRules) SetLt

func (x *DoubleRules) SetLt(v float64)

func (*DoubleRules) SetLte

func (x *DoubleRules) SetLte(v float64)

func (*DoubleRules) SetNotIn

func (x *DoubleRules) SetNotIn(v []float64)

func (*DoubleRules) String

func (x *DoubleRules) String() string

type DoubleRules_builder

type DoubleRules_builder struct {

	// Const specifies that this field must be exactly the specified value
	Const *float64
	// Lt specifies that this field must be less than the specified value,
	// exclusive
	Lt *float64
	// Lte specifies that this field must be less than or equal to the
	// specified value, inclusive
	Lte *float64
	// 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.
	Gt *float64
	// 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.
	Gte *float64
	// In specifies that this field must be equal to one of the specified
	// values
	In []float64
	// NotIn specifies that this field cannot be equal to one of the specified
	// values
	NotIn []float64
	// IgnoreEmpty specifies that the validation rules of this field should be
	// evaluated only if the field is not empty
	IgnoreEmpty *bool
	// contains filtered or unexported fields
}

func (DoubleRules_builder) Build

func (b0 DoubleRules_builder) Build() *DoubleRules

type DurationRules

type DurationRules struct {

	// Required specifies that this field must be set
	Required *bool `protobuf:"varint,1,opt,name=required" json:"required,omitempty"`
	// Const specifies that this field must be exactly the specified value
	Const *durationpb.Duration `protobuf:"bytes,2,opt,name=const" json:"const,omitempty"`
	// Lt specifies that this field must be less than the specified value,
	// exclusive
	Lt *durationpb.Duration `protobuf:"bytes,3,opt,name=lt" json:"lt,omitempty"`
	// Lt specifies that this field must be less than the specified value,
	// inclusive
	Lte *durationpb.Duration `protobuf:"bytes,4,opt,name=lte" json:"lte,omitempty"`
	// Gt specifies that this field must be greater than the specified value,
	// exclusive
	Gt *durationpb.Duration `protobuf:"bytes,5,opt,name=gt" json:"gt,omitempty"`
	// Gte specifies that this field must be greater than the specified value,
	// inclusive
	Gte *durationpb.Duration `protobuf:"bytes,6,opt,name=gte" json:"gte,omitempty"`
	// In specifies that this field must be equal to one of the specified
	// values
	In []*durationpb.Duration `protobuf:"bytes,7,rep,name=in" json:"in,omitempty"`
	// NotIn specifies that this field cannot be equal to one of the specified
	// values
	NotIn []*durationpb.Duration `protobuf:"bytes,8,rep,name=not_in,json=notIn" json:"not_in,omitempty"`
	// contains filtered or unexported fields
}

DurationRules describe the constraints applied exclusively to the `google.protobuf.Duration` well-known type

func (*DurationRules) ClearConst

func (x *DurationRules) ClearConst()

func (*DurationRules) ClearGt

func (x *DurationRules) ClearGt()

func (*DurationRules) ClearGte

func (x *DurationRules) ClearGte()

func (*DurationRules) ClearLt

func (x *DurationRules) ClearLt()

func (*DurationRules) ClearLte

func (x *DurationRules) ClearLte()

func (*DurationRules) ClearRequired

func (x *DurationRules) ClearRequired()

func (*DurationRules) GetConst

func (x *DurationRules) GetConst() *durationpb.Duration

func (*DurationRules) GetGt

func (x *DurationRules) GetGt() *durationpb.Duration

func (*DurationRules) GetGte

func (x *DurationRules) GetGte() *durationpb.Duration

func (*DurationRules) GetIn

func (x *DurationRules) GetIn() []*durationpb.Duration

func (*DurationRules) GetLt

func (x *DurationRules) GetLt() *durationpb.Duration

func (*DurationRules) GetLte

func (x *DurationRules) GetLte() *durationpb.Duration

func (*DurationRules) GetNotIn

func (x *DurationRules) GetNotIn() []*durationpb.Duration

func (*DurationRules) GetRequired

func (x *DurationRules) GetRequired() bool

func (*DurationRules) HasConst

func (x *DurationRules) HasConst() bool

func (*DurationRules) HasGt

func (x *DurationRules) HasGt() bool

func (*DurationRules) HasGte

func (x *DurationRules) HasGte() bool

func (*DurationRules) HasLt

func (x *DurationRules) HasLt() bool

func (*DurationRules) HasLte

func (x *DurationRules) HasLte() bool

func (*DurationRules) HasRequired

func (x *DurationRules) HasRequired() bool

func (*DurationRules) ProtoMessage

func (*DurationRules) ProtoMessage()

func (*DurationRules) ProtoReflect

func (x *DurationRules) ProtoReflect() protoreflect.Message

func (*DurationRules) Reset

func (x *DurationRules) Reset()

func (*DurationRules) SetConst

func (x *DurationRules) SetConst(v *durationpb.Duration)

func (*DurationRules) SetGt

func (x *DurationRules) SetGt(v *durationpb.Duration)

func (*DurationRules) SetGte

func (x *DurationRules) SetGte(v *durationpb.Duration)

func (*DurationRules) SetIn

func (x *DurationRules) SetIn(v []*durationpb.Duration)

func (*DurationRules) SetLt

func (x *DurationRules) SetLt(v *durationpb.Duration)

func (*DurationRules) SetLte

func (x *DurationRules) SetLte(v *durationpb.Duration)

func (*DurationRules) SetNotIn

func (x *DurationRules) SetNotIn(v []*durationpb.Duration)

func (*DurationRules) SetRequired

func (x *DurationRules) SetRequired(v bool)

func (*DurationRules) String

func (x *DurationRules) String() string

type DurationRules_builder

type DurationRules_builder struct {

	// Required specifies that this field must be set
	Required *bool
	// Const specifies that this field must be exactly the specified value
	Const *durationpb.Duration
	// Lt specifies that this field must be less than the specified value,
	// exclusive
	Lt *durationpb.Duration
	// Lt specifies that this field must be less than the specified value,
	// inclusive
	Lte *durationpb.Duration
	// Gt specifies that this field must be greater than the specified value,
	// exclusive
	Gt *durationpb.Duration
	// Gte specifies that this field must be greater than the specified value,
	// inclusive
	Gte *durationpb.Duration
	// In specifies that this field must be equal to one of the specified
	// values
	In []*durationpb.Duration
	// NotIn specifies that this field cannot be equal to one of the specified
	// values
	NotIn []*durationpb.Duration
	// contains filtered or unexported fields
}

func (DurationRules_builder) Build

type EnumRules

type EnumRules struct {

	// Const specifies that this field must be exactly the specified value
	Const *int32 `protobuf:"varint,1,opt,name=const" json:"const,omitempty"`
	// DefinedOnly specifies that this field must be only one of the defined
	// values for this enum, failing on any undefined value.
	DefinedOnly *bool `protobuf:"varint,2,opt,name=defined_only,json=definedOnly" json:"defined_only,omitempty"`
	// In specifies that this field must be equal to one of the specified
	// values
	In []int32 `protobuf:"varint,3,rep,name=in" json:"in,omitempty"`
	// NotIn specifies that this field cannot be equal to one of the specified
	// values
	NotIn []int32 `protobuf:"varint,4,rep,name=not_in,json=notIn" json:"not_in,omitempty"`
	// contains filtered or unexported fields
}

EnumRules describe the constraints applied to enum values

func (*EnumRules) ClearConst

func (x *EnumRules) ClearConst()

func (*EnumRules) ClearDefinedOnly

func (x *EnumRules) ClearDefinedOnly()

func (*EnumRules) GetConst

func (x *EnumRules) GetConst() int32

func (*EnumRules) GetDefinedOnly

func (x *EnumRules) GetDefinedOnly() bool

func (*EnumRules) GetIn

func (x *EnumRules) GetIn() []int32

func (*EnumRules) GetNotIn

func (x *EnumRules) GetNotIn() []int32

func (*EnumRules) HasConst

func (x *EnumRules) HasConst() bool

func (*EnumRules) HasDefinedOnly

func (x *EnumRules) HasDefinedOnly() bool

func (*EnumRules) ProtoMessage

func (*EnumRules) ProtoMessage()

func (*EnumRules) ProtoReflect

func (x *EnumRules) ProtoReflect() protoreflect.Message

func (*EnumRules) Reset

func (x *EnumRules) Reset()

func (*EnumRules) SetConst

func (x *EnumRules) SetConst(v int32)

func (*EnumRules) SetDefinedOnly

func (x *EnumRules) SetDefinedOnly(v bool)

func (*EnumRules) SetIn

func (x *EnumRules) SetIn(v []int32)

func (*EnumRules) SetNotIn

func (x *EnumRules) SetNotIn(v []int32)

func (*EnumRules) String

func (x *EnumRules) String() string

type EnumRules_builder

type EnumRules_builder struct {

	// Const specifies that this field must be exactly the specified value
	Const *int32
	// DefinedOnly specifies that this field must be only one of the defined
	// values for this enum, failing on any undefined value.
	DefinedOnly *bool
	// In specifies that this field must be equal to one of the specified
	// values
	In []int32
	// NotIn specifies that this field cannot be equal to one of the specified
	// values
	NotIn []int32
	// contains filtered or unexported fields
}

func (EnumRules_builder) Build

func (b0 EnumRules_builder) Build() *EnumRules

type FieldRules

type FieldRules struct {
	Message *MessageRules `protobuf:"bytes,17,opt,name=message" json:"message,omitempty"`
	// Types that are valid to be assigned to Type:
	//
	//	*FieldRules_Float
	//	*FieldRules_Double
	//	*FieldRules_Int32
	//	*FieldRules_Int64
	//	*FieldRules_Uint32
	//	*FieldRules_Uint64
	//	*FieldRules_Sint32
	//	*FieldRules_Sint64
	//	*FieldRules_Fixed32
	//	*FieldRules_Fixed64
	//	*FieldRules_Sfixed32
	//	*FieldRules_Sfixed64
	//	*FieldRules_Bool
	//	*FieldRules_String_
	//	*FieldRules_Bytes
	//	*FieldRules_Enum
	//	*FieldRules_Repeated
	//	*FieldRules_Map
	//	*FieldRules_Any
	//	*FieldRules_Duration
	//	*FieldRules_Timestamp
	Type isFieldRules_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

FieldRules encapsulates the rules for each type of field. Depending on the field, the correct set should be used to ensure proper validations.

func (*FieldRules) ClearAny

func (x *FieldRules) ClearAny()

func (*FieldRules) ClearBool

func (x *FieldRules) ClearBool()

func (*FieldRules) ClearBytes

func (x *FieldRules) ClearBytes()

func (*FieldRules) ClearDouble

func (x *FieldRules) ClearDouble()

func (*FieldRules) ClearDuration

func (x *FieldRules) ClearDuration()

func (*FieldRules) ClearEnum

func (x *FieldRules) ClearEnum()

func (*FieldRules) ClearFixed32

func (x *FieldRules) ClearFixed32()

func (*FieldRules) ClearFixed64

func (x *FieldRules) ClearFixed64()

func (*FieldRules) ClearFloat

func (x *FieldRules) ClearFloat()

func (*FieldRules) ClearInt32

func (x *FieldRules) ClearInt32()

func (*FieldRules) ClearInt64

func (x *FieldRules) ClearInt64()

func (*FieldRules) ClearMap

func (x *FieldRules) ClearMap()

func (*FieldRules) ClearMessage

func (x *FieldRules) ClearMessage()

func (*FieldRules) ClearRepeated

func (x *FieldRules) ClearRepeated()

func (*FieldRules) ClearSfixed32

func (x *FieldRules) ClearSfixed32()

func (*FieldRules) ClearSfixed64

func (x *FieldRules) ClearSfixed64()

func (*FieldRules) ClearSint32

func (x *FieldRules) ClearSint32()

func (*FieldRules) ClearSint64

func (x *FieldRules) ClearSint64()

func (*FieldRules) ClearString

func (x *FieldRules) ClearString()

func (*FieldRules) ClearTimestamp

func (x *FieldRules) ClearTimestamp()

func (*FieldRules) ClearType

func (x *FieldRules) ClearType()

func (*FieldRules) ClearUint32

func (x *FieldRules) ClearUint32()

func (*FieldRules) ClearUint64

func (x *FieldRules) ClearUint64()

func (*FieldRules) GetAny

func (x *FieldRules) GetAny() *AnyRules

func (*FieldRules) GetBool

func (x *FieldRules) GetBool() *BoolRules

func (*FieldRules) GetBytes

func (x *FieldRules) GetBytes() *BytesRules

func (*FieldRules) GetDouble

func (x *FieldRules) GetDouble() *DoubleRules

func (*FieldRules) GetDuration

func (x *FieldRules) GetDuration() *DurationRules

func (*FieldRules) GetEnum

func (x *FieldRules) GetEnum() *EnumRules

func (*FieldRules) GetFixed32

func (x *FieldRules) GetFixed32() *Fixed32Rules

func (*FieldRules) GetFixed64

func (x *FieldRules) GetFixed64() *Fixed64Rules

func (*FieldRules) GetFloat

func (x *FieldRules) GetFloat() *FloatRules

func (*FieldRules) GetInt32

func (x *FieldRules) GetInt32() *Int32Rules

func (*FieldRules) GetInt64

func (x *FieldRules) GetInt64() *Int64Rules

func (*FieldRules) GetMap

func (x *FieldRules) GetMap() *MapRules

func (*FieldRules) GetMessage

func (x *FieldRules) GetMessage() *MessageRules

func (*FieldRules) GetRepeated

func (x *FieldRules) GetRepeated() *RepeatedRules

func (*FieldRules) GetSfixed32

func (x *FieldRules) GetSfixed32() *SFixed32Rules

func (*FieldRules) GetSfixed64

func (x *FieldRules) GetSfixed64() *SFixed64Rules

func (*FieldRules) GetSint32

func (x *FieldRules) GetSint32() *SInt32Rules

func (*FieldRules) GetSint64

func (x *FieldRules) GetSint64() *SInt64Rules

func (*FieldRules) GetString

func (x *FieldRules) GetString() *StringRules

func (*FieldRules) GetString_ deprecated

func (x *FieldRules) GetString_() *StringRules

Deprecated: Use GetString instead.

func (*FieldRules) GetTimestamp

func (x *FieldRules) GetTimestamp() *TimestampRules

func (*FieldRules) GetType

func (x *FieldRules) GetType() isFieldRules_Type

func (*FieldRules) GetUint32

func (x *FieldRules) GetUint32() *UInt32Rules

func (*FieldRules) GetUint64

func (x *FieldRules) GetUint64() *UInt64Rules

func (*FieldRules) HasAny

func (x *FieldRules) HasAny() bool

func (*FieldRules) HasBool

func (x *FieldRules) HasBool() bool

func (*FieldRules) HasBytes

func (x *FieldRules) HasBytes() bool

func (*FieldRules) HasDouble

func (x *FieldRules) HasDouble() bool

func (*FieldRules) HasDuration

func (x *FieldRules) HasDuration() bool

func (*FieldRules) HasEnum

func (x *FieldRules) HasEnum() bool

func (*FieldRules) HasFixed32

func (x *FieldRules) HasFixed32() bool

func (*FieldRules) HasFixed64

func (x *FieldRules) HasFixed64() bool

func (*FieldRules) HasFloat

func (x *FieldRules) HasFloat() bool

func (*FieldRules) HasInt32

func (x *FieldRules) HasInt32() bool

func (*FieldRules) HasInt64

func (x *FieldRules) HasInt64() bool

func (*FieldRules) HasMap

func (x *FieldRules) HasMap() bool

func (*FieldRules) HasMessage

func (x *FieldRules) HasMessage() bool

func (*FieldRules) HasRepeated

func (x *FieldRules) HasRepeated() bool

func (*FieldRules) HasSfixed32

func (x *FieldRules) HasSfixed32() bool

func (*FieldRules) HasSfixed64

func (x *FieldRules) HasSfixed64() bool

func (*FieldRules) HasSint32

func (x *FieldRules) HasSint32() bool

func (*FieldRules) HasSint64

func (x *FieldRules) HasSint64() bool

func (*FieldRules) HasString

func (x *FieldRules) HasString() bool

func (*FieldRules) HasTimestamp

func (x *FieldRules) HasTimestamp() bool

func (*FieldRules) HasType

func (x *FieldRules) HasType() bool

func (*FieldRules) HasUint32

func (x *FieldRules) HasUint32() bool

func (*FieldRules) HasUint64

func (x *FieldRules) HasUint64() bool

func (*FieldRules) ProtoMessage

func (*FieldRules) ProtoMessage()

func (*FieldRules) ProtoReflect

func (x *FieldRules) ProtoReflect() protoreflect.Message

func (*FieldRules) Reset

func (x *FieldRules) Reset()

func (*FieldRules) SetAny

func (x *FieldRules) SetAny(v *AnyRules)

func (*FieldRules) SetBool

func (x *FieldRules) SetBool(v *BoolRules)

func (*FieldRules) SetBytes

func (x *FieldRules) SetBytes(v *BytesRules)

func (*FieldRules) SetDouble

func (x *FieldRules) SetDouble(v *DoubleRules)

func (*FieldRules) SetDuration

func (x *FieldRules) SetDuration(v *DurationRules)

func (*FieldRules) SetEnum

func (x *FieldRules) SetEnum(v *EnumRules)

func (*FieldRules) SetFixed32

func (x *FieldRules) SetFixed32(v *Fixed32Rules)

func (*FieldRules) SetFixed64

func (x *FieldRules) SetFixed64(v *Fixed64Rules)

func (*FieldRules) SetFloat

func (x *FieldRules) SetFloat(v *FloatRules)

func (*FieldRules) SetInt32

func (x *FieldRules) SetInt32(v *Int32Rules)

func (*FieldRules) SetInt64

func (x *FieldRules) SetInt64(v *Int64Rules)

func (*FieldRules) SetMap

func (x *FieldRules) SetMap(v *MapRules)

func (*FieldRules) SetMessage

func (x *FieldRules) SetMessage(v *MessageRules)

func (*FieldRules) SetRepeated

func (x *FieldRules) SetRepeated(v *RepeatedRules)

func (*FieldRules) SetSfixed32

func (x *FieldRules) SetSfixed32(v *SFixed32Rules)

func (*FieldRules) SetSfixed64

func (x *FieldRules) SetSfixed64(v *SFixed64Rules)

func (*FieldRules) SetSint32

func (x *FieldRules) SetSint32(v *SInt32Rules)

func (*FieldRules) SetSint64

func (x *FieldRules) SetSint64(v *SInt64Rules)

func (*FieldRules) SetString

func (x *FieldRules) SetString(v *StringRules)

func (*FieldRules) SetTimestamp

func (x *FieldRules) SetTimestamp(v *TimestampRules)

func (*FieldRules) SetUint32

func (x *FieldRules) SetUint32(v *UInt32Rules)

func (*FieldRules) SetUint64

func (x *FieldRules) SetUint64(v *UInt64Rules)

func (*FieldRules) String

func (x *FieldRules) String() string

func (*FieldRules) WhichType

func (x *FieldRules) WhichType() case_FieldRules_Type

type FieldRules_Any

type FieldRules_Any struct {
	// Well-Known Field Types
	Any *AnyRules `protobuf:"bytes,20,opt,name=any,oneof"`
}

type FieldRules_Bool

type FieldRules_Bool struct {
	Bool *BoolRules `protobuf:"bytes,13,opt,name=bool,oneof"`
}

type FieldRules_Bytes

type FieldRules_Bytes struct {
	Bytes *BytesRules `protobuf:"bytes,15,opt,name=bytes,oneof"`
}

type FieldRules_Double

type FieldRules_Double struct {
	Double *DoubleRules `protobuf:"bytes,2,opt,name=double,oneof"`
}

type FieldRules_Duration

type FieldRules_Duration struct {
	Duration *DurationRules `protobuf:"bytes,21,opt,name=duration,oneof"`
}

type FieldRules_Enum

type FieldRules_Enum struct {
	// Complex Field Types
	Enum *EnumRules `protobuf:"bytes,16,opt,name=enum,oneof"`
}

type FieldRules_Fixed32

type FieldRules_Fixed32 struct {
	Fixed32 *Fixed32Rules `protobuf:"bytes,9,opt,name=fixed32,oneof"`
}

type FieldRules_Fixed64

type FieldRules_Fixed64 struct {
	Fixed64 *Fixed64Rules `protobuf:"bytes,10,opt,name=fixed64,oneof"`
}

type FieldRules_Float

type FieldRules_Float struct {
	// Scalar Field Types
	Float *FloatRules `protobuf:"bytes,1,opt,name=float,oneof"`
}

type FieldRules_Int32

type FieldRules_Int32 struct {
	Int32 *Int32Rules `protobuf:"bytes,3,opt,name=int32,oneof"`
}

type FieldRules_Int64

type FieldRules_Int64 struct {
	Int64 *Int64Rules `protobuf:"bytes,4,opt,name=int64,oneof"`
}

type FieldRules_Map

type FieldRules_Map struct {
	Map *MapRules `protobuf:"bytes,19,opt,name=map,oneof"`
}

type FieldRules_Repeated

type FieldRules_Repeated struct {
	Repeated *RepeatedRules `protobuf:"bytes,18,opt,name=repeated,oneof"`
}

type FieldRules_Sfixed32

type FieldRules_Sfixed32 struct {
	Sfixed32 *SFixed32Rules `protobuf:"bytes,11,opt,name=sfixed32,oneof"`
}

type FieldRules_Sfixed64

type FieldRules_Sfixed64 struct {
	Sfixed64 *SFixed64Rules `protobuf:"bytes,12,opt,name=sfixed64,oneof"`
}

type FieldRules_Sint32

type FieldRules_Sint32 struct {
	Sint32 *SInt32Rules `protobuf:"bytes,7,opt,name=sint32,oneof"`
}

type FieldRules_Sint64

type FieldRules_Sint64 struct {
	Sint64 *SInt64Rules `protobuf:"bytes,8,opt,name=sint64,oneof"`
}

type FieldRules_String_

type FieldRules_String_ struct {
	String_ *StringRules `protobuf:"bytes,14,opt,name=string,oneof"`
}

type FieldRules_Timestamp

type FieldRules_Timestamp struct {
	Timestamp *TimestampRules `protobuf:"bytes,22,opt,name=timestamp,oneof"`
}

type FieldRules_Uint32

type FieldRules_Uint32 struct {
	Uint32 *UInt32Rules `protobuf:"bytes,5,opt,name=uint32,oneof"`
}

type FieldRules_Uint64

type FieldRules_Uint64 struct {
	Uint64 *UInt64Rules `protobuf:"bytes,6,opt,name=uint64,oneof"`
}

type FieldRules_builder

type FieldRules_builder struct {
	Message *MessageRules
	// Fields of oneof Type:
	// Scalar Field Types
	Float    *FloatRules
	Double   *DoubleRules
	Int32    *Int32Rules
	Int64    *Int64Rules
	Uint32   *UInt32Rules
	Uint64   *UInt64Rules
	Sint32   *SInt32Rules
	Sint64   *SInt64Rules
	Fixed32  *Fixed32Rules
	Fixed64  *Fixed64Rules
	Sfixed32 *SFixed32Rules
	Sfixed64 *SFixed64Rules
	Bool     *BoolRules
	String   *StringRules
	Bytes    *BytesRules
	// Complex Field Types
	Enum     *EnumRules
	Repeated *RepeatedRules
	Map      *MapRules
	// Well-Known Field Types
	Any       *AnyRules
	Duration  *DurationRules
	Timestamp *TimestampRules
	// contains filtered or unexported fields
}

func (FieldRules_builder) Build

func (b0 FieldRules_builder) Build() *FieldRules

type Fixed32Rules

type Fixed32Rules struct {

	// Const specifies that this field must be exactly the specified value
	Const *uint32 `protobuf:"fixed32,1,opt,name=const" json:"const,omitempty"`
	// Lt specifies that this field must be less than the specified value,
	// exclusive
	Lt *uint32 `protobuf:"fixed32,2,opt,name=lt" json:"lt,omitempty"`
	// Lte specifies that this field must be less than or equal to the
	// specified value, inclusive
	Lte *uint32 `protobuf:"fixed32,3,opt,name=lte" json:"lte,omitempty"`
	// 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.
	Gt *uint32 `protobuf:"fixed32,4,opt,name=gt" json:"gt,omitempty"`
	// 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.
	Gte *uint32 `protobuf:"fixed32,5,opt,name=gte" json:"gte,omitempty"`
	// In specifies that this field must be equal to one of the specified
	// values
	In []uint32 `protobuf:"fixed32,6,rep,name=in" json:"in,omitempty"`
	// NotIn specifies that this field cannot be equal to one of the specified
	// values
	NotIn []uint32 `protobuf:"fixed32,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"`
	// IgnoreEmpty specifies that the validation rules of this field should be
	// evaluated only if the field is not empty
	IgnoreEmpty *bool `protobuf:"varint,8,opt,name=ignore_empty,json=ignoreEmpty" json:"ignore_empty,omitempty"`
	// contains filtered or unexported fields
}

Fixed32Rules describes the constraints applied to `fixed32` values

func (*Fixed32Rules) ClearConst

func (x *Fixed32Rules) ClearConst()

func (*Fixed32Rules) ClearGt

func (x *Fixed32Rules) ClearGt()

func (*Fixed32Rules) ClearGte

func (x *Fixed32Rules) ClearGte()

func (*Fixed32Rules) ClearIgnoreEmpty

func (x *Fixed32Rules) ClearIgnoreEmpty()

func (*Fixed32Rules) ClearLt

func (x *Fixed32Rules) ClearLt()

func (*Fixed32Rules) ClearLte

func (x *Fixed32Rules) ClearLte()

func (*Fixed32Rules) GetConst

func (x *Fixed32Rules) GetConst() uint32

func (*Fixed32Rules) GetGt

func (x *Fixed32Rules) GetGt() uint32

func (*Fixed32Rules) GetGte

func (x *Fixed32Rules) GetGte() uint32

func (*Fixed32Rules) GetIgnoreEmpty

func (x *Fixed32Rules) GetIgnoreEmpty() bool

func (*Fixed32Rules) GetIn

func (x *Fixed32Rules) GetIn() []uint32

func (*Fixed32Rules) GetLt

func (x *Fixed32Rules) GetLt() uint32

func (*Fixed32Rules) GetLte

func (x *Fixed32Rules) GetLte() uint32

func (*Fixed32Rules) GetNotIn

func (x *Fixed32Rules) GetNotIn() []uint32

func (*Fixed32Rules) HasConst

func (x *Fixed32Rules) HasConst() bool

func (*Fixed32Rules) HasGt

func (x *Fixed32Rules) HasGt() bool

func (*Fixed32Rules) HasGte

func (x *Fixed32Rules) HasGte() bool

func (*Fixed32Rules) HasIgnoreEmpty

func (x *Fixed32Rules) HasIgnoreEmpty() bool

func (*Fixed32Rules) HasLt

func (x *Fixed32Rules) HasLt() bool

func (*Fixed32Rules) HasLte

func (x *Fixed32Rules) HasLte() bool

func (*Fixed32Rules) ProtoMessage

func (*Fixed32Rules) ProtoMessage()

func (*Fixed32Rules) ProtoReflect

func (x *Fixed32Rules) ProtoReflect() protoreflect.Message

func (*Fixed32Rules) Reset

func (x *Fixed32Rules) Reset()

func (*Fixed32Rules) SetConst

func (x *Fixed32Rules) SetConst(v uint32)

func (*Fixed32Rules) SetGt

func (x *Fixed32Rules) SetGt(v uint32)

func (*Fixed32Rules) SetGte

func (x *Fixed32Rules) SetGte(v uint32)

func (*Fixed32Rules) SetIgnoreEmpty

func (x *Fixed32Rules) SetIgnoreEmpty(v bool)

func (*Fixed32Rules) SetIn

func (x *Fixed32Rules) SetIn(v []uint32)

func (*Fixed32Rules) SetLt

func (x *Fixed32Rules) SetLt(v uint32)

func (*Fixed32Rules) SetLte

func (x *Fixed32Rules) SetLte(v uint32)

func (*Fixed32Rules) SetNotIn

func (x *Fixed32Rules) SetNotIn(v []uint32)

func (*Fixed32Rules) String

func (x *Fixed32Rules) String() string

type Fixed32Rules_builder

type Fixed32Rules_builder struct {

	// Const specifies that this field must be exactly the specified value
	Const *uint32
	// Lt specifies that this field must be less than the specified value,
	// exclusive
	Lt *uint32
	// Lte specifies that this field must be less than or equal to the
	// specified value, inclusive
	Lte *uint32
	// 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.
	Gt *uint32
	// 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.
	Gte *uint32
	// In specifies that this field must be equal to one of the specified
	// values
	In []uint32
	// NotIn specifies that this field cannot be equal to one of the specified
	// values
	NotIn []uint32
	// IgnoreEmpty specifies that the validation rules of this field should be
	// evaluated only if the field is not empty
	IgnoreEmpty *bool
	// contains filtered or unexported fields
}

func (Fixed32Rules_builder) Build

func (b0 Fixed32Rules_builder) Build() *Fixed32Rules

type Fixed64Rules

type Fixed64Rules struct {

	// Const specifies that this field must be exactly the specified value
	Const *uint64 `protobuf:"fixed64,1,opt,name=const" json:"const,omitempty"`
	// Lt specifies that this field must be less than the specified value,
	// exclusive
	Lt *uint64 `protobuf:"fixed64,2,opt,name=lt" json:"lt,omitempty"`
	// Lte specifies that this field must be less than or equal to the
	// specified value, inclusive
	Lte *uint64 `protobuf:"fixed64,3,opt,name=lte" json:"lte,omitempty"`
	// 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.
	Gt *uint64 `protobuf:"fixed64,4,opt,name=gt" json:"gt,omitempty"`
	// 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.
	Gte *uint64 `protobuf:"fixed64,5,opt,name=gte" json:"gte,omitempty"`
	// In specifies that this field must be equal to one of the specified
	// values
	In []uint64 `protobuf:"fixed64,6,rep,name=in" json:"in,omitempty"`
	// NotIn specifies that this field cannot be equal to one of the specified
	// values
	NotIn []uint64 `protobuf:"fixed64,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"`
	// IgnoreEmpty specifies that the validation rules of this field should be
	// evaluated only if the field is not empty
	IgnoreEmpty *bool `protobuf:"varint,8,opt,name=ignore_empty,json=ignoreEmpty" json:"ignore_empty,omitempty"`
	// contains filtered or unexported fields
}

Fixed64Rules describes the constraints applied to `fixed64` values

func (*Fixed64Rules) ClearConst

func (x *Fixed64Rules) ClearConst()

func (*Fixed64Rules) ClearGt

func (x *Fixed64Rules) ClearGt()

func (*Fixed64Rules) ClearGte

func (x *Fixed64Rules) ClearGte()

func (*Fixed64Rules) ClearIgnoreEmpty

func (x *Fixed64Rules) ClearIgnoreEmpty()

func (*Fixed64Rules) ClearLt

func (x *Fixed64Rules) ClearLt()

func (*Fixed64Rules) ClearLte

func (x *Fixed64Rules) ClearLte()

func (*Fixed64Rules) GetConst

func (x *Fixed64Rules) GetConst() uint64

func (*Fixed64Rules) GetGt

func (x *Fixed64Rules) GetGt() uint64

func (*Fixed64Rules) GetGte

func (x *Fixed64Rules) GetGte() uint64

func (*Fixed64Rules) GetIgnoreEmpty

func (x *Fixed64Rules) GetIgnoreEmpty() bool

func (*Fixed64Rules) GetIn

func (x *Fixed64Rules) GetIn() []uint64

func (*Fixed64Rules) GetLt

func (x *Fixed64Rules) GetLt() uint64

func (*Fixed64Rules) GetLte

func (x *Fixed64Rules) GetLte() uint64

func (*Fixed64Rules) GetNotIn

func (x *Fixed64Rules) GetNotIn() []uint64

func (*Fixed64Rules) HasConst

func (x *Fixed64Rules) HasConst() bool

func (*Fixed64Rules) HasGt

func (x *Fixed64Rules) HasGt() bool

func (*Fixed64Rules) HasGte

func (x *Fixed64Rules) HasGte() bool

func (*Fixed64Rules) HasIgnoreEmpty

func (x *Fixed64Rules) HasIgnoreEmpty() bool

func (*Fixed64Rules) HasLt

func (x *Fixed64Rules) HasLt() bool

func (*Fixed64Rules) HasLte

func (x *Fixed64Rules) HasLte() bool

func (*Fixed64Rules) ProtoMessage

func (*Fixed64Rules) ProtoMessage()

func (*Fixed64Rules) ProtoReflect

func (x *Fixed64Rules) ProtoReflect() protoreflect.Message

func (*Fixed64Rules) Reset

func (x *Fixed64Rules) Reset()

func (*Fixed64Rules) SetConst

func (x *Fixed64Rules) SetConst(v uint64)

func (*Fixed64Rules) SetGt

func (x *Fixed64Rules) SetGt(v uint64)

func (*Fixed64Rules) SetGte

func (x *Fixed64Rules) SetGte(v uint64)

func (*Fixed64Rules) SetIgnoreEmpty

func (x *Fixed64Rules) SetIgnoreEmpty(v bool)

func (*Fixed64Rules) SetIn

func (x *Fixed64Rules) SetIn(v []uint64)

func (*Fixed64Rules) SetLt

func (x *Fixed64Rules) SetLt(v uint64)

func (*Fixed64Rules) SetLte

func (x *Fixed64Rules) SetLte(v uint64)

func (*Fixed64Rules) SetNotIn

func (x *Fixed64Rules) SetNotIn(v []uint64)

func (*Fixed64Rules) String

func (x *Fixed64Rules) String() string

type Fixed64Rules_builder

type Fixed64Rules_builder struct {

	// Const specifies that this field must be exactly the specified value
	Const *uint64
	// Lt specifies that this field must be less than the specified value,
	// exclusive
	Lt *uint64
	// Lte specifies that this field must be less than or equal to the
	// specified value, inclusive
	Lte *uint64
	// 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.
	Gt *uint64
	// 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.
	Gte *uint64
	// In specifies that this field must be equal to one of the specified
	// values
	In []uint64
	// NotIn specifies that this field cannot be equal to one of the specified
	// values
	NotIn []uint64
	// IgnoreEmpty specifies that the validation rules of this field should be
	// evaluated only if the field is not empty
	IgnoreEmpty *bool
	// contains filtered or unexported fields
}

func (Fixed64Rules_builder) Build

func (b0 Fixed64Rules_builder) Build() *Fixed64Rules

type FloatRules

type FloatRules struct {

	// Const specifies that this field must be exactly the specified value
	Const *float32 `protobuf:"fixed32,1,opt,name=const" json:"const,omitempty"`
	// Lt specifies that this field must be less than the specified value,
	// exclusive
	Lt *float32 `protobuf:"fixed32,2,opt,name=lt" json:"lt,omitempty"`
	// Lte specifies that this field must be less than or equal to the
	// specified value, inclusive
	Lte *float32 `protobuf:"fixed32,3,opt,name=lte" json:"lte,omitempty"`
	// 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.
	Gt *float32 `protobuf:"fixed32,4,opt,name=gt" json:"gt,omitempty"`
	// 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.
	Gte *float32 `protobuf:"fixed32,5,opt,name=gte" json:"gte,omitempty"`
	// In specifies that this field must be equal to one of the specified
	// values
	In []float32 `protobuf:"fixed32,6,rep,name=in" json:"in,omitempty"`
	// NotIn specifies that this field cannot be equal to one of the specified
	// values
	NotIn []float32 `protobuf:"fixed32,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"`
	// IgnoreEmpty specifies that the validation rules of this field should be
	// evaluated only if the field is not empty
	IgnoreEmpty *bool `protobuf:"varint,8,opt,name=ignore_empty,json=ignoreEmpty" json:"ignore_empty,omitempty"`
	// contains filtered or unexported fields
}

FloatRules describes the constraints applied to `float` values

func (*FloatRules) ClearConst

func (x *FloatRules) ClearConst()

func (*FloatRules) ClearGt

func (x *FloatRules) ClearGt()

func (*FloatRules) ClearGte

func (x *FloatRules) ClearGte()

func (*FloatRules) ClearIgnoreEmpty

func (x *FloatRules) ClearIgnoreEmpty()

func (*FloatRules) ClearLt

func (x *FloatRules) ClearLt()

func (*FloatRules) ClearLte

func (x *FloatRules) ClearLte()

func (*FloatRules) GetConst

func (x *FloatRules) GetConst() float32

func (*FloatRules) GetGt

func (x *FloatRules) GetGt() float32

func (*FloatRules) GetGte

func (x *FloatRules) GetGte() float32

func (*FloatRules) GetIgnoreEmpty

func (x *FloatRules) GetIgnoreEmpty() bool

func (*FloatRules) GetIn

func (x *FloatRules) GetIn() []float32

func (*FloatRules) GetLt

func (x *FloatRules) GetLt() float32

func (*FloatRules) GetLte

func (x *FloatRules) GetLte() float32

func (*FloatRules) GetNotIn

func (x *FloatRules) GetNotIn() []float32

func (*FloatRules) HasConst

func (x *FloatRules) HasConst() bool

func (*FloatRules) HasGt

func (x *FloatRules) HasGt() bool

func (*FloatRules) HasGte

func (x *FloatRules) HasGte() bool

func (*FloatRules) HasIgnoreEmpty

func (x *FloatRules) HasIgnoreEmpty() bool

func (*FloatRules) HasLt

func (x *FloatRules) HasLt() bool

func (*FloatRules) HasLte

func (x *FloatRules) HasLte() bool

func (*FloatRules) ProtoMessage

func (*FloatRules) ProtoMessage()

func (*FloatRules) ProtoReflect

func (x *FloatRules) ProtoReflect() protoreflect.Message

func (*FloatRules) Reset

func (x *FloatRules) Reset()

func (*FloatRules) SetConst

func (x *FloatRules) SetConst(v float32)

func (*FloatRules) SetGt

func (x *FloatRules) SetGt(v float32)

func (*FloatRules) SetGte

func (x *FloatRules) SetGte(v float32)

func (*FloatRules) SetIgnoreEmpty

func (x *FloatRules) SetIgnoreEmpty(v bool)

func (*FloatRules) SetIn

func (x *FloatRules) SetIn(v []float32)

func (*FloatRules) SetLt

func (x *FloatRules) SetLt(v float32)

func (*FloatRules) SetLte

func (x *FloatRules) SetLte(v float32)

func (*FloatRules) SetNotIn

func (x *FloatRules) SetNotIn(v []float32)

func (*FloatRules) String

func (x *FloatRules) String() string

type FloatRules_builder

type FloatRules_builder struct {

	// Const specifies that this field must be exactly the specified value
	Const *float32
	// Lt specifies that this field must be less than the specified value,
	// exclusive
	Lt *float32
	// Lte specifies that this field must be less than or equal to the
	// specified value, inclusive
	Lte *float32
	// 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.
	Gt *float32
	// 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.
	Gte *float32
	// In specifies that this field must be equal to one of the specified
	// values
	In []float32
	// NotIn specifies that this field cannot be equal to one of the specified
	// values
	NotIn []float32
	// IgnoreEmpty specifies that the validation rules of this field should be
	// evaluated only if the field is not empty
	IgnoreEmpty *bool
	// contains filtered or unexported fields
}

func (FloatRules_builder) Build

func (b0 FloatRules_builder) Build() *FloatRules

type Int32Rules

type Int32Rules struct {

	// Const specifies that this field must be exactly the specified value
	Const *int32 `protobuf:"varint,1,opt,name=const" json:"const,omitempty"`
	// Lt specifies that this field must be less than the specified value,
	// exclusive
	Lt *int32 `protobuf:"varint,2,opt,name=lt" json:"lt,omitempty"`
	// Lte specifies that this field must be less than or equal to the
	// specified value, inclusive
	Lte *int32 `protobuf:"varint,3,opt,name=lte" json:"lte,omitempty"`
	// 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.
	Gt *int32 `protobuf:"varint,4,opt,name=gt" json:"gt,omitempty"`
	// 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.
	Gte *int32 `protobuf:"varint,5,opt,name=gte" json:"gte,omitempty"`
	// In specifies that this field must be equal to one of the specified
	// values
	In []int32 `protobuf:"varint,6,rep,name=in" json:"in,omitempty"`
	// NotIn specifies that this field cannot be equal to one of the specified
	// values
	NotIn []int32 `protobuf:"varint,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"`
	// IgnoreEmpty specifies that the validation rules of this field should be
	// evaluated only if the field is not empty
	IgnoreEmpty *bool `protobuf:"varint,8,opt,name=ignore_empty,json=ignoreEmpty" json:"ignore_empty,omitempty"`
	// contains filtered or unexported fields
}

Int32Rules describes the constraints applied to `int32` values

func (*Int32Rules) ClearConst

func (x *Int32Rules) ClearConst()

func (*Int32Rules) ClearGt

func (x *Int32Rules) ClearGt()

func (*Int32Rules) ClearGte

func (x *Int32Rules) ClearGte()

func (*Int32Rules) ClearIgnoreEmpty

func (x *Int32Rules) ClearIgnoreEmpty()

func (*Int32Rules) ClearLt

func (x *Int32Rules) ClearLt()

func (*Int32Rules) ClearLte

func (x *Int32Rules) ClearLte()

func (*Int32Rules) GetConst

func (x *Int32Rules) GetConst() int32

func (*Int32Rules) GetGt

func (x *Int32Rules) GetGt() int32

func (*Int32Rules) GetGte

func (x *Int32Rules) GetGte() int32

func (*Int32Rules) GetIgnoreEmpty

func (x *Int32Rules) GetIgnoreEmpty() bool

func (*Int32Rules) GetIn

func (x *Int32Rules) GetIn() []int32

func (*Int32Rules) GetLt

func (x *Int32Rules) GetLt() int32

func (*Int32Rules) GetLte

func (x *Int32Rules) GetLte() int32

func (*Int32Rules) GetNotIn

func (x *Int32Rules) GetNotIn() []int32

func (*Int32Rules) HasConst

func (x *Int32Rules) HasConst() bool

func (*Int32Rules) HasGt

func (x *Int32Rules) HasGt() bool

func (*Int32Rules) HasGte

func (x *Int32Rules) HasGte() bool

func (*Int32Rules) HasIgnoreEmpty

func (x *Int32Rules) HasIgnoreEmpty() bool

func (*Int32Rules) HasLt

func (x *Int32Rules) HasLt() bool

func (*Int32Rules) HasLte

func (x *Int32Rules) HasLte() bool

func (*Int32Rules) ProtoMessage

func (*Int32Rules) ProtoMessage()

func (*Int32Rules) ProtoReflect

func (x *Int32Rules) ProtoReflect() protoreflect.Message

func (*Int32Rules) Reset

func (x *Int32Rules) Reset()

func (*Int32Rules) SetConst

func (x *Int32Rules) SetConst(v int32)

func (*Int32Rules) SetGt

func (x *Int32Rules) SetGt(v int32)

func (*Int32Rules) SetGte

func (x *Int32Rules) SetGte(v int32)

func (*Int32Rules) SetIgnoreEmpty

func (x *Int32Rules) SetIgnoreEmpty(v bool)

func (*Int32Rules) SetIn

func (x *Int32Rules) SetIn(v []int32)

func (*Int32Rules) SetLt

func (x *Int32Rules) SetLt(v int32)

func (*Int32Rules) SetLte

func (x *Int32Rules) SetLte(v int32)

func (*Int32Rules) SetNotIn

func (x *Int32Rules) SetNotIn(v []int32)

func (*Int32Rules) String

func (x *Int32Rules) String() string

type Int32Rules_builder

type Int32Rules_builder struct {

	// Const specifies that this field must be exactly the specified value
	Const *int32
	// Lt specifies that this field must be less than the specified value,
	// exclusive
	Lt *int32
	// Lte specifies that this field must be less than or equal to the
	// specified value, inclusive
	Lte *int32
	// 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.
	Gt *int32
	// 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.
	Gte *int32
	// In specifies that this field must be equal to one of the specified
	// values
	In []int32
	// NotIn specifies that this field cannot be equal to one of the specified
	// values
	NotIn []int32
	// IgnoreEmpty specifies that the validation rules of this field should be
	// evaluated only if the field is not empty
	IgnoreEmpty *bool
	// contains filtered or unexported fields
}

func (Int32Rules_builder) Build

func (b0 Int32Rules_builder) Build() *Int32Rules

type Int64Rules

type Int64Rules struct {

	// Const specifies that this field must be exactly the specified value
	Const *int64 `protobuf:"varint,1,opt,name=const" json:"const,omitempty"`
	// Lt specifies that this field must be less than the specified value,
	// exclusive
	Lt *int64 `protobuf:"varint,2,opt,name=lt" json:"lt,omitempty"`
	// Lte specifies that this field must be less than or equal to the
	// specified value, inclusive
	Lte *int64 `protobuf:"varint,3,opt,name=lte" json:"lte,omitempty"`
	// 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.
	Gt *int64 `protobuf:"varint,4,opt,name=gt" json:"gt,omitempty"`
	// 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.
	Gte *int64 `protobuf:"varint,5,opt,name=gte" json:"gte,omitempty"`
	// In specifies that this field must be equal to one of the specified
	// values
	In []int64 `protobuf:"varint,6,rep,name=in" json:"in,omitempty"`
	// NotIn specifies that this field cannot be equal to one of the specified
	// values
	NotIn []int64 `protobuf:"varint,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"`
	// IgnoreEmpty specifies that the validation rules of this field should be
	// evaluated only if the field is not empty
	IgnoreEmpty *bool `protobuf:"varint,8,opt,name=ignore_empty,json=ignoreEmpty" json:"ignore_empty,omitempty"`
	// contains filtered or unexported fields
}

Int64Rules describes the constraints applied to `int64` values

func (*Int64Rules) ClearConst

func (x *Int64Rules) ClearConst()

func (*Int64Rules) ClearGt

func (x *Int64Rules) ClearGt()

func (*Int64Rules) ClearGte

func (x *Int64Rules) ClearGte()

func (*Int64Rules) ClearIgnoreEmpty

func (x *Int64Rules) ClearIgnoreEmpty()

func (*Int64Rules) ClearLt

func (x *Int64Rules) ClearLt()

func (*Int64Rules) ClearLte

func (x *Int64Rules) ClearLte()

func (*Int64Rules) GetConst

func (x *Int64Rules) GetConst() int64

func (*Int64Rules) GetGt

func (x *Int64Rules) GetGt() int64

func (*Int64Rules) GetGte

func (x *Int64Rules) GetGte() int64

func (*Int64Rules) GetIgnoreEmpty

func (x *Int64Rules) GetIgnoreEmpty() bool

func (*Int64Rules) GetIn

func (x *Int64Rules) GetIn() []int64

func (*Int64Rules) GetLt

func (x *Int64Rules) GetLt() int64

func (*Int64Rules) GetLte

func (x *Int64Rules) GetLte() int64

func (*Int64Rules) GetNotIn

func (x *Int64Rules) GetNotIn() []int64

func (*Int64Rules) HasConst

func (x *Int64Rules) HasConst() bool

func (*Int64Rules) HasGt

func (x *Int64Rules) HasGt() bool

func (*Int64Rules) HasGte

func (x *Int64Rules) HasGte() bool

func (*Int64Rules) HasIgnoreEmpty

func (x *Int64Rules) HasIgnoreEmpty() bool

func (*Int64Rules) HasLt

func (x *Int64Rules) HasLt() bool

func (*Int64Rules) HasLte

func (x *Int64Rules) HasLte() bool

func (*Int64Rules) ProtoMessage

func (*Int64Rules) ProtoMessage()

func (*Int64Rules) ProtoReflect

func (x *Int64Rules) ProtoReflect() protoreflect.Message

func (*Int64Rules) Reset

func (x *Int64Rules) Reset()

func (*Int64Rules) SetConst

func (x *Int64Rules) SetConst(v int64)

func (*Int64Rules) SetGt

func (x *Int64Rules) SetGt(v int64)

func (*Int64Rules) SetGte

func (x *Int64Rules) SetGte(v int64)

func (*Int64Rules) SetIgnoreEmpty

func (x *Int64Rules) SetIgnoreEmpty(v bool)

func (*Int64Rules) SetIn

func (x *Int64Rules) SetIn(v []int64)

func (*Int64Rules) SetLt

func (x *Int64Rules) SetLt(v int64)

func (*Int64Rules) SetLte

func (x *Int64Rules) SetLte(v int64)

func (*Int64Rules) SetNotIn

func (x *Int64Rules) SetNotIn(v []int64)

func (*Int64Rules) String

func (x *Int64Rules) String() string

type Int64Rules_builder

type Int64Rules_builder struct {

	// Const specifies that this field must be exactly the specified value
	Const *int64
	// Lt specifies that this field must be less than the specified value,
	// exclusive
	Lt *int64
	// Lte specifies that this field must be less than or equal to the
	// specified value, inclusive
	Lte *int64
	// 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.
	Gt *int64
	// 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.
	Gte *int64
	// In specifies that this field must be equal to one of the specified
	// values
	In []int64
	// NotIn specifies that this field cannot be equal to one of the specified
	// values
	NotIn []int64
	// IgnoreEmpty specifies that the validation rules of this field should be
	// evaluated only if the field is not empty
	IgnoreEmpty *bool
	// contains filtered or unexported fields
}

func (Int64Rules_builder) Build

func (b0 Int64Rules_builder) Build() *Int64Rules

type KnownRegex

type KnownRegex int32

WellKnownRegex contain some well-known patterns.

const (
	KnownRegex_UNKNOWN KnownRegex = 0
	// HTTP header name as defined by RFC 7230.
	KnownRegex_HTTP_HEADER_NAME KnownRegex = 1
	// HTTP header value as defined by RFC 7230.
	KnownRegex_HTTP_HEADER_VALUE KnownRegex = 2
)

func (KnownRegex) Descriptor

func (KnownRegex) Descriptor() protoreflect.EnumDescriptor

func (KnownRegex) Enum

func (x KnownRegex) Enum() *KnownRegex

func (KnownRegex) Number

func (x KnownRegex) Number() protoreflect.EnumNumber

func (KnownRegex) String

func (x KnownRegex) String() string

func (KnownRegex) Type

type MapRules

type MapRules struct {

	// MinPairs specifies that this field must have the specified number of
	// KVs at a minimum
	MinPairs *uint64 `protobuf:"varint,1,opt,name=min_pairs,json=minPairs" json:"min_pairs,omitempty"`
	// MaxPairs specifies that this field must have the specified number of
	// KVs at a maximum
	MaxPairs *uint64 `protobuf:"varint,2,opt,name=max_pairs,json=maxPairs" json:"max_pairs,omitempty"`
	// NoSparse specifies values in this field cannot be unset. This only
	// applies to map's with message value types.
	NoSparse *bool `protobuf:"varint,3,opt,name=no_sparse,json=noSparse" json:"no_sparse,omitempty"`
	// Keys specifies the constraints to be applied to each key in the field.
	Keys *FieldRules `protobuf:"bytes,4,opt,name=keys" json:"keys,omitempty"`
	// 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.
	Values *FieldRules `protobuf:"bytes,5,opt,name=values" json:"values,omitempty"`
	// IgnoreEmpty specifies that the validation rules of this field should be
	// evaluated only if the field is not empty
	IgnoreEmpty *bool `protobuf:"varint,6,opt,name=ignore_empty,json=ignoreEmpty" json:"ignore_empty,omitempty"`
	// contains filtered or unexported fields
}

MapRules describe the constraints applied to `map` values

func (*MapRules) ClearIgnoreEmpty

func (x *MapRules) ClearIgnoreEmpty()

func (*MapRules) ClearKeys

func (x *MapRules) ClearKeys()

func (*MapRules) ClearMaxPairs

func (x *MapRules) ClearMaxPairs()

func (*MapRules) ClearMinPairs

func (x *MapRules) ClearMinPairs()

func (*MapRules) ClearNoSparse

func (x *MapRules) ClearNoSparse()

func (*MapRules) ClearValues

func (x *MapRules) ClearValues()

func (*MapRules) GetIgnoreEmpty

func (x *MapRules) GetIgnoreEmpty() bool

func (*MapRules) GetKeys

func (x *MapRules) GetKeys() *FieldRules

func (*MapRules) GetMaxPairs

func (x *MapRules) GetMaxPairs() uint64

func (*MapRules) GetMinPairs

func (x *MapRules) GetMinPairs() uint64

func (*MapRules) GetNoSparse

func (x *MapRules) GetNoSparse() bool

func (*MapRules) GetValues

func (x *MapRules) GetValues() *FieldRules

func (*MapRules) HasIgnoreEmpty

func (x *MapRules) HasIgnoreEmpty() bool

func (*MapRules) HasKeys

func (x *MapRules) HasKeys() bool

func (*MapRules) HasMaxPairs

func (x *MapRules) HasMaxPairs() bool

func (*MapRules) HasMinPairs

func (x *MapRules) HasMinPairs() bool

func (*MapRules) HasNoSparse

func (x *MapRules) HasNoSparse() bool

func (*MapRules) HasValues

func (x *MapRules) HasValues() bool

func (*MapRules) ProtoMessage

func (*MapRules) ProtoMessage()

func (*MapRules) ProtoReflect

func (x *MapRules) ProtoReflect() protoreflect.Message

func (*MapRules) Reset

func (x *MapRules) Reset()

func (*MapRules) SetIgnoreEmpty

func (x *MapRules) SetIgnoreEmpty(v bool)

func (*MapRules) SetKeys

func (x *MapRules) SetKeys(v *FieldRules)

func (*MapRules) SetMaxPairs

func (x *MapRules) SetMaxPairs(v uint64)

func (*MapRules) SetMinPairs

func (x *MapRules) SetMinPairs(v uint64)

func (*MapRules) SetNoSparse

func (x *MapRules) SetNoSparse(v bool)

func (*MapRules) SetValues

func (x *MapRules) SetValues(v *FieldRules)

func (*MapRules) String

func (x *MapRules) String() string

type MapRules_builder

type MapRules_builder struct {

	// MinPairs specifies that this field must have the specified number of
	// KVs at a minimum
	MinPairs *uint64
	// MaxPairs specifies that this field must have the specified number of
	// KVs at a maximum
	MaxPairs *uint64
	// NoSparse specifies values in this field cannot be unset. This only
	// applies to map's with message value types.
	NoSparse *bool
	// Keys specifies the constraints to be applied to each key in the field.
	Keys *FieldRules
	// 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.
	Values *FieldRules
	// IgnoreEmpty specifies that the validation rules of this field should be
	// evaluated only if the field is not empty
	IgnoreEmpty *bool
	// contains filtered or unexported fields
}

func (MapRules_builder) Build

func (b0 MapRules_builder) Build() *MapRules

type MessageRules

type MessageRules struct {

	// Skip specifies that the validation rules of this field should not be
	// evaluated
	Skip *bool `protobuf:"varint,1,opt,name=skip" json:"skip,omitempty"`
	// Required specifies that this field must be set
	Required *bool `protobuf:"varint,2,opt,name=required" json:"required,omitempty"`
	// contains filtered or unexported fields
}

MessageRules describe the constraints applied to embedded message values. For message-type fields, validation is performed recursively.

func (*MessageRules) ClearRequired

func (x *MessageRules) ClearRequired()

func (*MessageRules) ClearSkip

func (x *MessageRules) ClearSkip()

func (*MessageRules) GetRequired

func (x *MessageRules) GetRequired() bool

func (*MessageRules) GetSkip

func (x *MessageRules) GetSkip() bool

func (*MessageRules) HasRequired

func (x *MessageRules) HasRequired() bool

func (*MessageRules) HasSkip

func (x *MessageRules) HasSkip() bool

func (*MessageRules) ProtoMessage

func (*MessageRules) ProtoMessage()

func (*MessageRules) ProtoReflect

func (x *MessageRules) ProtoReflect() protoreflect.Message

func (*MessageRules) Reset

func (x *MessageRules) Reset()

func (*MessageRules) SetRequired

func (x *MessageRules) SetRequired(v bool)

func (*MessageRules) SetSkip

func (x *MessageRules) SetSkip(v bool)

func (*MessageRules) String

func (x *MessageRules) String() string

type MessageRules_builder

type MessageRules_builder struct {

	// Skip specifies that the validation rules of this field should not be
	// evaluated
	Skip *bool
	// Required specifies that this field must be set
	Required *bool
	// contains filtered or unexported fields
}

func (MessageRules_builder) Build

func (b0 MessageRules_builder) Build() *MessageRules

type RepeatedRules

type RepeatedRules struct {

	// MinItems specifies that this field must have the specified number of
	// items at a minimum
	MinItems *uint64 `protobuf:"varint,1,opt,name=min_items,json=minItems" json:"min_items,omitempty"`
	// MaxItems specifies that this field must have the specified number of
	// items at a maximum
	MaxItems *uint64 `protobuf:"varint,2,opt,name=max_items,json=maxItems" json:"max_items,omitempty"`
	// Unique specifies that all elements in this field must be unique. This
	// constraint is only applicable to scalar and enum types (messages are not
	// supported).
	Unique *bool `protobuf:"varint,3,opt,name=unique" json:"unique,omitempty"`
	// Items specifies the constraints to be applied to each item in the field.
	// Repeated message fields will still execute validation against each item
	// unless skip is specified here.
	Items *FieldRules `protobuf:"bytes,4,opt,name=items" json:"items,omitempty"`
	// IgnoreEmpty specifies that the validation rules of this field should be
	// evaluated only if the field is not empty
	IgnoreEmpty *bool `protobuf:"varint,5,opt,name=ignore_empty,json=ignoreEmpty" json:"ignore_empty,omitempty"`
	// contains filtered or unexported fields
}

RepeatedRules describe the constraints applied to `repeated` values

func (*RepeatedRules) ClearIgnoreEmpty

func (x *RepeatedRules) ClearIgnoreEmpty()

func (*RepeatedRules) ClearItems

func (x *RepeatedRules) ClearItems()

func (*RepeatedRules) ClearMaxItems

func (x *RepeatedRules) ClearMaxItems()

func (*RepeatedRules) ClearMinItems

func (x *RepeatedRules) ClearMinItems()

func (*RepeatedRules) ClearUnique

func (x *RepeatedRules) ClearUnique()

func (*RepeatedRules) GetIgnoreEmpty

func (x *RepeatedRules) GetIgnoreEmpty() bool

func (*RepeatedRules) GetItems

func (x *RepeatedRules) GetItems() *FieldRules

func (*RepeatedRules) GetMaxItems

func (x *RepeatedRules) GetMaxItems() uint64

func (*RepeatedRules) GetMinItems

func (x *RepeatedRules) GetMinItems() uint64

func (*RepeatedRules) GetUnique

func (x *RepeatedRules) GetUnique() bool

func (*RepeatedRules) HasIgnoreEmpty

func (x *RepeatedRules) HasIgnoreEmpty() bool

func (*RepeatedRules) HasItems

func (x *RepeatedRules) HasItems() bool

func (*RepeatedRules) HasMaxItems

func (x *RepeatedRules) HasMaxItems() bool

func (*RepeatedRules) HasMinItems

func (x *RepeatedRules) HasMinItems() bool

func (*RepeatedRules) HasUnique

func (x *RepeatedRules) HasUnique() bool

func (*RepeatedRules) ProtoMessage

func (*RepeatedRules) ProtoMessage()

func (*RepeatedRules) ProtoReflect

func (x *RepeatedRules) ProtoReflect() protoreflect.Message

func (*RepeatedRules) Reset

func (x *RepeatedRules) Reset()

func (*RepeatedRules) SetIgnoreEmpty

func (x *RepeatedRules) SetIgnoreEmpty(v bool)

func (*RepeatedRules) SetItems

func (x *RepeatedRules) SetItems(v *FieldRules)

func (*RepeatedRules) SetMaxItems

func (x *RepeatedRules) SetMaxItems(v uint64)

func (*RepeatedRules) SetMinItems

func (x *RepeatedRules) SetMinItems(v uint64)

func (*RepeatedRules) SetUnique

func (x *RepeatedRules) SetUnique(v bool)

func (*RepeatedRules) String

func (x *RepeatedRules) String() string

type RepeatedRules_builder

type RepeatedRules_builder struct {

	// MinItems specifies that this field must have the specified number of
	// items at a minimum
	MinItems *uint64
	// MaxItems specifies that this field must have the specified number of
	// items at a maximum
	MaxItems *uint64
	// Unique specifies that all elements in this field must be unique. This
	// constraint is only applicable to scalar and enum types (messages are not
	// supported).
	Unique *bool
	// Items specifies the constraints to be applied to each item in the field.
	// Repeated message fields will still execute validation against each item
	// unless skip is specified here.
	Items *FieldRules
	// IgnoreEmpty specifies that the validation rules of this field should be
	// evaluated only if the field is not empty
	IgnoreEmpty *bool
	// contains filtered or unexported fields
}

func (RepeatedRules_builder) Build

type SFixed32Rules

type SFixed32Rules struct {

	// Const specifies that this field must be exactly the specified value
	Const *int32 `protobuf:"fixed32,1,opt,name=const" json:"const,omitempty"`
	// Lt specifies that this field must be less than the specified value,
	// exclusive
	Lt *int32 `protobuf:"fixed32,2,opt,name=lt" json:"lt,omitempty"`
	// Lte specifies that this field must be less than or equal to the
	// specified value, inclusive
	Lte *int32 `protobuf:"fixed32,3,opt,name=lte" json:"lte,omitempty"`
	// 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.
	Gt *int32 `protobuf:"fixed32,4,opt,name=gt" json:"gt,omitempty"`
	// 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.
	Gte *int32 `protobuf:"fixed32,5,opt,name=gte" json:"gte,omitempty"`
	// In specifies that this field must be equal to one of the specified
	// values
	In []int32 `protobuf:"fixed32,6,rep,name=in" json:"in,omitempty"`
	// NotIn specifies that this field cannot be equal to one of the specified
	// values
	NotIn []int32 `protobuf:"fixed32,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"`
	// IgnoreEmpty specifies that the validation rules of this field should be
	// evaluated only if the field is not empty
	IgnoreEmpty *bool `protobuf:"varint,8,opt,name=ignore_empty,json=ignoreEmpty" json:"ignore_empty,omitempty"`
	// contains filtered or unexported fields
}

SFixed32Rules describes the constraints applied to `sfixed32` values

func (*SFixed32Rules) ClearConst

func (x *SFixed32Rules) ClearConst()

func (*SFixed32Rules) ClearGt

func (x *SFixed32Rules) ClearGt()

func (*SFixed32Rules) ClearGte

func (x *SFixed32Rules) ClearGte()

func (*SFixed32Rules) ClearIgnoreEmpty

func (x *SFixed32Rules) ClearIgnoreEmpty()

func (*SFixed32Rules) ClearLt

func (x *SFixed32Rules) ClearLt()

func (*SFixed32Rules) ClearLte

func (x *SFixed32Rules) ClearLte()

func (*SFixed32Rules) GetConst

func (x *SFixed32Rules) GetConst() int32

func (*SFixed32Rules) GetGt

func (x *SFixed32Rules) GetGt() int32

func (*SFixed32Rules) GetGte

func (x *SFixed32Rules) GetGte() int32

func (*SFixed32Rules) GetIgnoreEmpty

func (x *SFixed32Rules) GetIgnoreEmpty() bool

func (*SFixed32Rules) GetIn

func (x *SFixed32Rules) GetIn() []int32

func (*SFixed32Rules) GetLt

func (x *SFixed32Rules) GetLt() int32

func (*SFixed32Rules) GetLte

func (x *SFixed32Rules) GetLte() int32

func (*SFixed32Rules) GetNotIn

func (x *SFixed32Rules) GetNotIn() []int32

func (*SFixed32Rules) HasConst

func (x *SFixed32Rules) HasConst() bool

func (*SFixed32Rules) HasGt

func (x *SFixed32Rules) HasGt() bool

func (*SFixed32Rules) HasGte

func (x *SFixed32Rules) HasGte() bool

func (*SFixed32Rules) HasIgnoreEmpty

func (x *SFixed32Rules) HasIgnoreEmpty() bool

func (*SFixed32Rules) HasLt

func (x *SFixed32Rules) HasLt() bool

func (*SFixed32Rules) HasLte

func (x *SFixed32Rules) HasLte() bool

func (*SFixed32Rules) ProtoMessage

func (*SFixed32Rules) ProtoMessage()

func (*SFixed32Rules) ProtoReflect

func (x *SFixed32Rules) ProtoReflect() protoreflect.Message

func (*SFixed32Rules) Reset

func (x *SFixed32Rules) Reset()

func (*SFixed32Rules) SetConst

func (x *SFixed32Rules) SetConst(v int32)

func (*SFixed32Rules) SetGt

func (x *SFixed32Rules) SetGt(v int32)

func (*SFixed32Rules) SetGte

func (x *SFixed32Rules) SetGte(v int32)

func (*SFixed32Rules) SetIgnoreEmpty

func (x *SFixed32Rules) SetIgnoreEmpty(v bool)

func (*SFixed32Rules) SetIn

func (x *SFixed32Rules) SetIn(v []int32)

func (*SFixed32Rules) SetLt

func (x *SFixed32Rules) SetLt(v int32)

func (*SFixed32Rules) SetLte

func (x *SFixed32Rules) SetLte(v int32)

func (*SFixed32Rules) SetNotIn

func (x *SFixed32Rules) SetNotIn(v []int32)

func (*SFixed32Rules) String

func (x *SFixed32Rules) String() string

type SFixed32Rules_builder

type SFixed32Rules_builder struct {

	// Const specifies that this field must be exactly the specified value
	Const *int32
	// Lt specifies that this field must be less than the specified value,
	// exclusive
	Lt *int32
	// Lte specifies that this field must be less than or equal to the
	// specified value, inclusive
	Lte *int32
	// 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.
	Gt *int32
	// 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.
	Gte *int32
	// In specifies that this field must be equal to one of the specified
	// values
	In []int32
	// NotIn specifies that this field cannot be equal to one of the specified
	// values
	NotIn []int32
	// IgnoreEmpty specifies that the validation rules of this field should be
	// evaluated only if the field is not empty
	IgnoreEmpty *bool
	// contains filtered or unexported fields
}

func (SFixed32Rules_builder) Build

type SFixed64Rules

type SFixed64Rules struct {

	// Const specifies that this field must be exactly the specified value
	Const *int64 `protobuf:"fixed64,1,opt,name=const" json:"const,omitempty"`
	// Lt specifies that this field must be less than the specified value,
	// exclusive
	Lt *int64 `protobuf:"fixed64,2,opt,name=lt" json:"lt,omitempty"`
	// Lte specifies that this field must be less than or equal to the
	// specified value, inclusive
	Lte *int64 `protobuf:"fixed64,3,opt,name=lte" json:"lte,omitempty"`
	// 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.
	Gt *int64 `protobuf:"fixed64,4,opt,name=gt" json:"gt,omitempty"`
	// 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.
	Gte *int64 `protobuf:"fixed64,5,opt,name=gte" json:"gte,omitempty"`
	// In specifies that this field must be equal to one of the specified
	// values
	In []int64 `protobuf:"fixed64,6,rep,name=in" json:"in,omitempty"`
	// NotIn specifies that this field cannot be equal to one of the specified
	// values
	NotIn []int64 `protobuf:"fixed64,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"`
	// IgnoreEmpty specifies that the validation rules of this field should be
	// evaluated only if the field is not empty
	IgnoreEmpty *bool `protobuf:"varint,8,opt,name=ignore_empty,json=ignoreEmpty" json:"ignore_empty,omitempty"`
	// contains filtered or unexported fields
}

SFixed64Rules describes the constraints applied to `sfixed64` values

func (*SFixed64Rules) ClearConst

func (x *SFixed64Rules) ClearConst()

func (*SFixed64Rules) ClearGt

func (x *SFixed64Rules) ClearGt()

func (*SFixed64Rules) ClearGte

func (x *SFixed64Rules) ClearGte()

func (*SFixed64Rules) ClearIgnoreEmpty

func (x *SFixed64Rules) ClearIgnoreEmpty()

func (*SFixed64Rules) ClearLt

func (x *SFixed64Rules) ClearLt()

func (*SFixed64Rules) ClearLte

func (x *SFixed64Rules) ClearLte()

func (*SFixed64Rules) GetConst

func (x *SFixed64Rules) GetConst() int64

func (*SFixed64Rules) GetGt

func (x *SFixed64Rules) GetGt() int64

func (*SFixed64Rules) GetGte

func (x *SFixed64Rules) GetGte() int64

func (*SFixed64Rules) GetIgnoreEmpty

func (x *SFixed64Rules) GetIgnoreEmpty() bool

func (*SFixed64Rules) GetIn

func (x *SFixed64Rules) GetIn() []int64

func (*SFixed64Rules) GetLt

func (x *SFixed64Rules) GetLt() int64

func (*SFixed64Rules) GetLte

func (x *SFixed64Rules) GetLte() int64

func (*SFixed64Rules) GetNotIn

func (x *SFixed64Rules) GetNotIn() []int64

func (*SFixed64Rules) HasConst

func (x *SFixed64Rules) HasConst() bool

func (*SFixed64Rules) HasGt

func (x *SFixed64Rules) HasGt() bool

func (*SFixed64Rules) HasGte

func (x *SFixed64Rules) HasGte() bool

func (*SFixed64Rules) HasIgnoreEmpty

func (x *SFixed64Rules) HasIgnoreEmpty() bool

func (*SFixed64Rules) HasLt

func (x *SFixed64Rules) HasLt() bool

func (*SFixed64Rules) HasLte

func (x *SFixed64Rules) HasLte() bool

func (*SFixed64Rules) ProtoMessage

func (*SFixed64Rules) ProtoMessage()

func (*SFixed64Rules) ProtoReflect

func (x *SFixed64Rules) ProtoReflect() protoreflect.Message

func (*SFixed64Rules) Reset

func (x *SFixed64Rules) Reset()

func (*SFixed64Rules) SetConst

func (x *SFixed64Rules) SetConst(v int64)

func (*SFixed64Rules) SetGt

func (x *SFixed64Rules) SetGt(v int64)

func (*SFixed64Rules) SetGte

func (x *SFixed64Rules) SetGte(v int64)

func (*SFixed64Rules) SetIgnoreEmpty

func (x *SFixed64Rules) SetIgnoreEmpty(v bool)

func (*SFixed64Rules) SetIn

func (x *SFixed64Rules) SetIn(v []int64)

func (*SFixed64Rules) SetLt

func (x *SFixed64Rules) SetLt(v int64)

func (*SFixed64Rules) SetLte

func (x *SFixed64Rules) SetLte(v int64)

func (*SFixed64Rules) SetNotIn

func (x *SFixed64Rules) SetNotIn(v []int64)

func (*SFixed64Rules) String

func (x *SFixed64Rules) String() string

type SFixed64Rules_builder

type SFixed64Rules_builder struct {

	// Const specifies that this field must be exactly the specified value
	Const *int64
	// Lt specifies that this field must be less than the specified value,
	// exclusive
	Lt *int64
	// Lte specifies that this field must be less than or equal to the
	// specified value, inclusive
	Lte *int64
	// 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.
	Gt *int64
	// 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.
	Gte *int64
	// In specifies that this field must be equal to one of the specified
	// values
	In []int64
	// NotIn specifies that this field cannot be equal to one of the specified
	// values
	NotIn []int64
	// IgnoreEmpty specifies that the validation rules of this field should be
	// evaluated only if the field is not empty
	IgnoreEmpty *bool
	// contains filtered or unexported fields
}

func (SFixed64Rules_builder) Build

type SInt32Rules

type SInt32Rules struct {

	// Const specifies that this field must be exactly the specified value
	Const *int32 `protobuf:"zigzag32,1,opt,name=const" json:"const,omitempty"`
	// Lt specifies that this field must be less than the specified value,
	// exclusive
	Lt *int32 `protobuf:"zigzag32,2,opt,name=lt" json:"lt,omitempty"`
	// Lte specifies that this field must be less than or equal to the
	// specified value, inclusive
	Lte *int32 `protobuf:"zigzag32,3,opt,name=lte" json:"lte,omitempty"`
	// 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.
	Gt *int32 `protobuf:"zigzag32,4,opt,name=gt" json:"gt,omitempty"`
	// 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.
	Gte *int32 `protobuf:"zigzag32,5,opt,name=gte" json:"gte,omitempty"`
	// In specifies that this field must be equal to one of the specified
	// values
	In []int32 `protobuf:"zigzag32,6,rep,name=in" json:"in,omitempty"`
	// NotIn specifies that this field cannot be equal to one of the specified
	// values
	NotIn []int32 `protobuf:"zigzag32,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"`
	// IgnoreEmpty specifies that the validation rules of this field should be
	// evaluated only if the field is not empty
	IgnoreEmpty *bool `protobuf:"varint,8,opt,name=ignore_empty,json=ignoreEmpty" json:"ignore_empty,omitempty"`
	// contains filtered or unexported fields
}

SInt32Rules describes the constraints applied to `sint32` values

func (*SInt32Rules) ClearConst

func (x *SInt32Rules) ClearConst()

func (*SInt32Rules) ClearGt

func (x *SInt32Rules) ClearGt()

func (*SInt32Rules) ClearGte

func (x *SInt32Rules) ClearGte()

func (*SInt32Rules) ClearIgnoreEmpty

func (x *SInt32Rules) ClearIgnoreEmpty()

func (*SInt32Rules) ClearLt

func (x *SInt32Rules) ClearLt()

func (*SInt32Rules) ClearLte

func (x *SInt32Rules) ClearLte()

func (*SInt32Rules) GetConst

func (x *SInt32Rules) GetConst() int32

func (*SInt32Rules) GetGt

func (x *SInt32Rules) GetGt() int32

func (*SInt32Rules) GetGte

func (x *SInt32Rules) GetGte() int32

func (*SInt32Rules) GetIgnoreEmpty

func (x *SInt32Rules) GetIgnoreEmpty() bool

func (*SInt32Rules) GetIn

func (x *SInt32Rules) GetIn() []int32

func (*SInt32Rules) GetLt

func (x *SInt32Rules) GetLt() int32

func (*SInt32Rules) GetLte

func (x *SInt32Rules) GetLte() int32

func (*SInt32Rules) GetNotIn

func (x *SInt32Rules) GetNotIn() []int32

func (*SInt32Rules) HasConst

func (x *SInt32Rules) HasConst() bool

func (*SInt32Rules) HasGt

func (x *SInt32Rules) HasGt() bool

func (*SInt32Rules) HasGte

func (x *SInt32Rules) HasGte() bool

func (*SInt32Rules) HasIgnoreEmpty

func (x *SInt32Rules) HasIgnoreEmpty() bool

func (*SInt32Rules) HasLt

func (x *SInt32Rules) HasLt() bool

func (*SInt32Rules) HasLte

func (x *SInt32Rules) HasLte() bool

func (*SInt32Rules) ProtoMessage

func (*SInt32Rules) ProtoMessage()

func (*SInt32Rules) ProtoReflect

func (x *SInt32Rules) ProtoReflect() protoreflect.Message

func (*SInt32Rules) Reset

func (x *SInt32Rules) Reset()

func (*SInt32Rules) SetConst

func (x *SInt32Rules) SetConst(v int32)

func (*SInt32Rules) SetGt

func (x *SInt32Rules) SetGt(v int32)

func (*SInt32Rules) SetGte

func (x *SInt32Rules) SetGte(v int32)

func (*SInt32Rules) SetIgnoreEmpty

func (x *SInt32Rules) SetIgnoreEmpty(v bool)

func (*SInt32Rules) SetIn

func (x *SInt32Rules) SetIn(v []int32)

func (*SInt32Rules) SetLt

func (x *SInt32Rules) SetLt(v int32)

func (*SInt32Rules) SetLte

func (x *SInt32Rules) SetLte(v int32)

func (*SInt32Rules) SetNotIn

func (x *SInt32Rules) SetNotIn(v []int32)

func (*SInt32Rules) String

func (x *SInt32Rules) String() string

type SInt32Rules_builder

type SInt32Rules_builder struct {

	// Const specifies that this field must be exactly the specified value
	Const *int32
	// Lt specifies that this field must be less than the specified value,
	// exclusive
	Lt *int32
	// Lte specifies that this field must be less than or equal to the
	// specified value, inclusive
	Lte *int32
	// 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.
	Gt *int32
	// 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.
	Gte *int32
	// In specifies that this field must be equal to one of the specified
	// values
	In []int32
	// NotIn specifies that this field cannot be equal to one of the specified
	// values
	NotIn []int32
	// IgnoreEmpty specifies that the validation rules of this field should be
	// evaluated only if the field is not empty
	IgnoreEmpty *bool
	// contains filtered or unexported fields
}

func (SInt32Rules_builder) Build

func (b0 SInt32Rules_builder) Build() *SInt32Rules

type SInt64Rules

type SInt64Rules struct {

	// Const specifies that this field must be exactly the specified value
	Const *int64 `protobuf:"zigzag64,1,opt,name=const" json:"const,omitempty"`
	// Lt specifies that this field must be less than the specified value,
	// exclusive
	Lt *int64 `protobuf:"zigzag64,2,opt,name=lt" json:"lt,omitempty"`
	// Lte specifies that this field must be less than or equal to the
	// specified value, inclusive
	Lte *int64 `protobuf:"zigzag64,3,opt,name=lte" json:"lte,omitempty"`
	// 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.
	Gt *int64 `protobuf:"zigzag64,4,opt,name=gt" json:"gt,omitempty"`
	// 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.
	Gte *int64 `protobuf:"zigzag64,5,opt,name=gte" json:"gte,omitempty"`
	// In specifies that this field must be equal to one of the specified
	// values
	In []int64 `protobuf:"zigzag64,6,rep,name=in" json:"in,omitempty"`
	// NotIn specifies that this field cannot be equal to one of the specified
	// values
	NotIn []int64 `protobuf:"zigzag64,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"`
	// IgnoreEmpty specifies that the validation rules of this field should be
	// evaluated only if the field is not empty
	IgnoreEmpty *bool `protobuf:"varint,8,opt,name=ignore_empty,json=ignoreEmpty" json:"ignore_empty,omitempty"`
	// contains filtered or unexported fields
}

SInt64Rules describes the constraints applied to `sint64` values

func (*SInt64Rules) ClearConst

func (x *SInt64Rules) ClearConst()

func (*SInt64Rules) ClearGt

func (x *SInt64Rules) ClearGt()

func (*SInt64Rules) ClearGte

func (x *SInt64Rules) ClearGte()

func (*SInt64Rules) ClearIgnoreEmpty

func (x *SInt64Rules) ClearIgnoreEmpty()

func (*SInt64Rules) ClearLt

func (x *SInt64Rules) ClearLt()

func (*SInt64Rules) ClearLte

func (x *SInt64Rules) ClearLte()

func (*SInt64Rules) GetConst

func (x *SInt64Rules) GetConst() int64

func (*SInt64Rules) GetGt

func (x *SInt64Rules) GetGt() int64

func (*SInt64Rules) GetGte

func (x *SInt64Rules) GetGte() int64

func (*SInt64Rules) GetIgnoreEmpty

func (x *SInt64Rules) GetIgnoreEmpty() bool

func (*SInt64Rules) GetIn

func (x *SInt64Rules) GetIn() []int64

func (*SInt64Rules) GetLt

func (x *SInt64Rules) GetLt() int64

func (*SInt64Rules) GetLte

func (x *SInt64Rules) GetLte() int64

func (*SInt64Rules) GetNotIn

func (x *SInt64Rules) GetNotIn() []int64

func (*SInt64Rules) HasConst

func (x *SInt64Rules) HasConst() bool

func (*SInt64Rules) HasGt

func (x *SInt64Rules) HasGt() bool

func (*SInt64Rules) HasGte

func (x *SInt64Rules) HasGte() bool

func (*SInt64Rules) HasIgnoreEmpty

func (x *SInt64Rules) HasIgnoreEmpty() bool

func (*SInt64Rules) HasLt

func (x *SInt64Rules) HasLt() bool

func (*SInt64Rules) HasLte

func (x *SInt64Rules) HasLte() bool

func (*SInt64Rules) ProtoMessage

func (*SInt64Rules) ProtoMessage()

func (*SInt64Rules) ProtoReflect

func (x *SInt64Rules) ProtoReflect() protoreflect.Message

func (*SInt64Rules) Reset

func (x *SInt64Rules) Reset()

func (*SInt64Rules) SetConst

func (x *SInt64Rules) SetConst(v int64)

func (*SInt64Rules) SetGt

func (x *SInt64Rules) SetGt(v int64)

func (*SInt64Rules) SetGte

func (x *SInt64Rules) SetGte(v int64)

func (*SInt64Rules) SetIgnoreEmpty

func (x *SInt64Rules) SetIgnoreEmpty(v bool)

func (*SInt64Rules) SetIn

func (x *SInt64Rules) SetIn(v []int64)

func (*SInt64Rules) SetLt

func (x *SInt64Rules) SetLt(v int64)

func (*SInt64Rules) SetLte

func (x *SInt64Rules) SetLte(v int64)

func (*SInt64Rules) SetNotIn

func (x *SInt64Rules) SetNotIn(v []int64)

func (*SInt64Rules) String

func (x *SInt64Rules) String() string

type SInt64Rules_builder

type SInt64Rules_builder struct {

	// Const specifies that this field must be exactly the specified value
	Const *int64
	// Lt specifies that this field must be less than the specified value,
	// exclusive
	Lt *int64
	// Lte specifies that this field must be less than or equal to the
	// specified value, inclusive
	Lte *int64
	// 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.
	Gt *int64
	// 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.
	Gte *int64
	// In specifies that this field must be equal to one of the specified
	// values
	In []int64
	// NotIn specifies that this field cannot be equal to one of the specified
	// values
	NotIn []int64
	// IgnoreEmpty specifies that the validation rules of this field should be
	// evaluated only if the field is not empty
	IgnoreEmpty *bool
	// contains filtered or unexported fields
}

func (SInt64Rules_builder) Build

func (b0 SInt64Rules_builder) Build() *SInt64Rules

type StringRules

type StringRules struct {

	// Const specifies that this field must be exactly the specified value
	Const *string `protobuf:"bytes,1,opt,name=const" json:"const,omitempty"`
	// 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.
	Len *uint64 `protobuf:"varint,19,opt,name=len" json:"len,omitempty"`
	// 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.
	MinLen *uint64 `protobuf:"varint,2,opt,name=min_len,json=minLen" json:"min_len,omitempty"`
	// 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.
	MaxLen *uint64 `protobuf:"varint,3,opt,name=max_len,json=maxLen" json:"max_len,omitempty"`
	// LenBytes specifies that this field must be the specified number of bytes
	LenBytes *uint64 `protobuf:"varint,20,opt,name=len_bytes,json=lenBytes" json:"len_bytes,omitempty"`
	// MinBytes specifies that this field must be the specified number of bytes
	// at a minimum
	MinBytes *uint64 `protobuf:"varint,4,opt,name=min_bytes,json=minBytes" json:"min_bytes,omitempty"`
	// MaxBytes specifies that this field must be the specified number of bytes
	// at a maximum
	MaxBytes *uint64 `protobuf:"varint,5,opt,name=max_bytes,json=maxBytes" json:"max_bytes,omitempty"`
	// Pattern specifies that this field must match against the specified
	// regular expression (RE2 syntax). The included expression should elide
	// any delimiters.
	Pattern *string `protobuf:"bytes,6,opt,name=pattern" json:"pattern,omitempty"`
	// Prefix specifies that this field must have the specified substring at
	// the beginning of the string.
	Prefix *string `protobuf:"bytes,7,opt,name=prefix" json:"prefix,omitempty"`
	// Suffix specifies that this field must have the specified substring at
	// the end of the string.
	Suffix *string `protobuf:"bytes,8,opt,name=suffix" json:"suffix,omitempty"`
	// Contains specifies that this field must have the specified substring
	// anywhere in the string.
	Contains *string `protobuf:"bytes,9,opt,name=contains" json:"contains,omitempty"`
	// NotContains specifies that this field cannot have the specified substring
	// anywhere in the string.
	NotContains *string `protobuf:"bytes,23,opt,name=not_contains,json=notContains" json:"not_contains,omitempty"`
	// In specifies that this field must be equal to one of the specified
	// values
	In []string `protobuf:"bytes,10,rep,name=in" json:"in,omitempty"`
	// NotIn specifies that this field cannot be equal to one of the specified
	// values
	NotIn []string `protobuf:"bytes,11,rep,name=not_in,json=notIn" json:"not_in,omitempty"`
	// WellKnown rules provide advanced constraints against common string
	// patterns
	//
	// Types that are valid to be assigned to WellKnown:
	//
	//	*StringRules_Email
	//	*StringRules_Hostname
	//	*StringRules_Ip
	//	*StringRules_Ipv4
	//	*StringRules_Ipv6
	//	*StringRules_Uri
	//	*StringRules_UriRef
	//	*StringRules_Address
	//	*StringRules_Uuid
	//	*StringRules_WellKnownRegex
	WellKnown isStringRules_WellKnown `protobuf_oneof:"well_known"`
	// 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.
	Strict *bool `protobuf:"varint,25,opt,name=strict,def=1" json:"strict,omitempty"`
	// IgnoreEmpty specifies that the validation rules of this field should be
	// evaluated only if the field is not empty
	IgnoreEmpty *bool `protobuf:"varint,26,opt,name=ignore_empty,json=ignoreEmpty" json:"ignore_empty,omitempty"`
	// contains filtered or unexported fields
}

StringRules describe the constraints applied to `string` values

func (*StringRules) ClearAddress

func (x *StringRules) ClearAddress()

func (*StringRules) ClearConst

func (x *StringRules) ClearConst()

func (*StringRules) ClearContains

func (x *StringRules) ClearContains()

func (*StringRules) ClearEmail

func (x *StringRules) ClearEmail()

func (*StringRules) ClearHostname

func (x *StringRules) ClearHostname()

func (*StringRules) ClearIgnoreEmpty

func (x *StringRules) ClearIgnoreEmpty()

func (*StringRules) ClearIp

func (x *StringRules) ClearIp()

func (*StringRules) ClearIpv4

func (x *StringRules) ClearIpv4()

func (*StringRules) ClearIpv6

func (x *StringRules) ClearIpv6()

func (*StringRules) ClearLen

func (x *StringRules) ClearLen()

func (*StringRules) ClearLenBytes

func (x *StringRules) ClearLenBytes()

func (*StringRules) ClearMaxBytes

func (x *StringRules) ClearMaxBytes()

func (*StringRules) ClearMaxLen

func (x *StringRules) ClearMaxLen()

func (*StringRules) ClearMinBytes

func (x *StringRules) ClearMinBytes()

func (*StringRules) ClearMinLen

func (x *StringRules) ClearMinLen()

func (*StringRules) ClearNotContains

func (x *StringRules) ClearNotContains()

func (*StringRules) ClearPattern

func (x *StringRules) ClearPattern()

func (*StringRules) ClearPrefix

func (x *StringRules) ClearPrefix()

func (*StringRules) ClearStrict

func (x *StringRules) ClearStrict()

func (*StringRules) ClearSuffix

func (x *StringRules) ClearSuffix()

func (*StringRules) ClearUri

func (x *StringRules) ClearUri()

func (*StringRules) ClearUriRef

func (x *StringRules) ClearUriRef()

func (*StringRules) ClearUuid

func (x *StringRules) ClearUuid()

func (*StringRules) ClearWellKnown

func (x *StringRules) ClearWellKnown()

func (*StringRules) ClearWellKnownRegex

func (x *StringRules) ClearWellKnownRegex()

func (*StringRules) GetAddress

func (x *StringRules) GetAddress() bool

func (*StringRules) GetConst

func (x *StringRules) GetConst() string

func (*StringRules) GetContains

func (x *StringRules) GetContains() string

func (*StringRules) GetEmail

func (x *StringRules) GetEmail() bool

func (*StringRules) GetHostname

func (x *StringRules) GetHostname() bool

func (*StringRules) GetIgnoreEmpty

func (x *StringRules) GetIgnoreEmpty() bool

func (*StringRules) GetIn

func (x *StringRules) GetIn() []string

func (*StringRules) GetIp

func (x *StringRules) GetIp() bool

func (*StringRules) GetIpv4

func (x *StringRules) GetIpv4() bool

func (*StringRules) GetIpv6

func (x *StringRules) GetIpv6() bool

func (*StringRules) GetLen

func (x *StringRules) GetLen() uint64

func (*StringRules) GetLenBytes

func (x *StringRules) GetLenBytes() uint64

func (*StringRules) GetMaxBytes

func (x *StringRules) GetMaxBytes() uint64

func (*StringRules) GetMaxLen

func (x *StringRules) GetMaxLen() uint64

func (*StringRules) GetMinBytes

func (x *StringRules) GetMinBytes() uint64

func (*StringRules) GetMinLen

func (x *StringRules) GetMinLen() uint64

func (*StringRules) GetNotContains

func (x *StringRules) GetNotContains() string

func (*StringRules) GetNotIn

func (x *StringRules) GetNotIn() []string

func (*StringRules) GetPattern

func (x *StringRules) GetPattern() string

func (*StringRules) GetPrefix

func (x *StringRules) GetPrefix() string

func (*StringRules) GetStrict

func (x *StringRules) GetStrict() bool

func (*StringRules) GetSuffix

func (x *StringRules) GetSuffix() string

func (*StringRules) GetUri

func (x *StringRules) GetUri() bool

func (*StringRules) GetUriRef

func (x *StringRules) GetUriRef() bool

func (*StringRules) GetUuid

func (x *StringRules) GetUuid() bool

func (*StringRules) GetWellKnown

func (x *StringRules) GetWellKnown() isStringRules_WellKnown

func (*StringRules) GetWellKnownRegex

func (x *StringRules) GetWellKnownRegex() KnownRegex

func (*StringRules) HasAddress

func (x *StringRules) HasAddress() bool

func (*StringRules) HasConst

func (x *StringRules) HasConst() bool

func (*StringRules) HasContains

func (x *StringRules) HasContains() bool

func (*StringRules) HasEmail

func (x *StringRules) HasEmail() bool

func (*StringRules) HasHostname

func (x *StringRules) HasHostname() bool

func (*StringRules) HasIgnoreEmpty

func (x *StringRules) HasIgnoreEmpty() bool

func (*StringRules) HasIp

func (x *StringRules) HasIp() bool

func (*StringRules) HasIpv4

func (x *StringRules) HasIpv4() bool

func (*StringRules) HasIpv6

func (x *StringRules) HasIpv6() bool

func (*StringRules) HasLen

func (x *StringRules) HasLen() bool

func (*StringRules) HasLenBytes

func (x *StringRules) HasLenBytes() bool

func (*StringRules) HasMaxBytes

func (x *StringRules) HasMaxBytes() bool

func (*StringRules) HasMaxLen

func (x *StringRules) HasMaxLen() bool

func (*StringRules) HasMinBytes

func (x *StringRules) HasMinBytes() bool

func (*StringRules) HasMinLen

func (x *StringRules) HasMinLen() bool

func (*StringRules) HasNotContains

func (x *StringRules) HasNotContains() bool

func (*StringRules) HasPattern

func (x *StringRules) HasPattern() bool

func (*StringRules) HasPrefix

func (x *StringRules) HasPrefix() bool

func (*StringRules) HasStrict

func (x *StringRules) HasStrict() bool

func (*StringRules) HasSuffix

func (x *StringRules) HasSuffix() bool

func (*StringRules) HasUri

func (x *StringRules) HasUri() bool

func (*StringRules) HasUriRef

func (x *StringRules) HasUriRef() bool

func (*StringRules) HasUuid

func (x *StringRules) HasUuid() bool

func (*StringRules) HasWellKnown

func (x *StringRules) HasWellKnown() bool

func (*StringRules) HasWellKnownRegex

func (x *StringRules) HasWellKnownRegex() bool

func (*StringRules) ProtoMessage

func (*StringRules) ProtoMessage()

func (*StringRules) ProtoReflect

func (x *StringRules) ProtoReflect() protoreflect.Message

func (*StringRules) Reset

func (x *StringRules) Reset()

func (*StringRules) SetAddress

func (x *StringRules) SetAddress(v bool)

func (*StringRules) SetConst

func (x *StringRules) SetConst(v string)

func (*StringRules) SetContains

func (x *StringRules) SetContains(v string)

func (*StringRules) SetEmail

func (x *StringRules) SetEmail(v bool)

func (*StringRules) SetHostname

func (x *StringRules) SetHostname(v bool)

func (*StringRules) SetIgnoreEmpty

func (x *StringRules) SetIgnoreEmpty(v bool)

func (*StringRules) SetIn

func (x *StringRules) SetIn(v []string)

func (*StringRules) SetIp

func (x *StringRules) SetIp(v bool)

func (*StringRules) SetIpv4

func (x *StringRules) SetIpv4(v bool)

func (*StringRules) SetIpv6

func (x *StringRules) SetIpv6(v bool)

func (*StringRules) SetLen

func (x *StringRules) SetLen(v uint64)

func (*StringRules) SetLenBytes

func (x *StringRules) SetLenBytes(v uint64)

func (*StringRules) SetMaxBytes

func (x *StringRules) SetMaxBytes(v uint64)

func (*StringRules) SetMaxLen

func (x *StringRules) SetMaxLen(v uint64)

func (*StringRules) SetMinBytes

func (x *StringRules) SetMinBytes(v uint64)

func (*StringRules) SetMinLen

func (x *StringRules) SetMinLen(v uint64)

func (*StringRules) SetNotContains

func (x *StringRules) SetNotContains(v string)

func (*StringRules) SetNotIn

func (x *StringRules) SetNotIn(v []string)

func (*StringRules) SetPattern

func (x *StringRules) SetPattern(v string)

func (*StringRules) SetPrefix

func (x *StringRules) SetPrefix(v string)

func (*StringRules) SetStrict

func (x *StringRules) SetStrict(v bool)

func (*StringRules) SetSuffix

func (x *StringRules) SetSuffix(v string)

func (*StringRules) SetUri

func (x *StringRules) SetUri(v bool)

func (*StringRules) SetUriRef

func (x *StringRules) SetUriRef(v bool)

func (*StringRules) SetUuid

func (x *StringRules) SetUuid(v bool)

func (*StringRules) SetWellKnownRegex

func (x *StringRules) SetWellKnownRegex(v KnownRegex)

func (*StringRules) String

func (x *StringRules) String() string

func (*StringRules) WhichWellKnown

func (x *StringRules) WhichWellKnown() case_StringRules_WellKnown

type StringRules_Address

type StringRules_Address struct {
	// 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).
	Address bool `protobuf:"varint,21,opt,name=address,oneof"`
}

type StringRules_Email

type StringRules_Email struct {
	// Email specifies that the field must be a valid email address as
	// defined by RFC 5322
	Email bool `protobuf:"varint,12,opt,name=email,oneof"`
}

type StringRules_Hostname

type StringRules_Hostname struct {
	// Hostname specifies that the field must be a valid hostname as
	// defined by RFC 1034. This constraint does not support
	// internationalized domain names (IDNs).
	Hostname bool `protobuf:"varint,13,opt,name=hostname,oneof"`
}

type StringRules_Ip

type StringRules_Ip struct {
	// Ip specifies that the field must be a valid IP (v4 or v6) address.
	// Valid IPv6 addresses should not include surrounding square brackets.
	Ip bool `protobuf:"varint,14,opt,name=ip,oneof"`
}

type StringRules_Ipv4

type StringRules_Ipv4 struct {
	// Ipv4 specifies that the field must be a valid IPv4 address.
	Ipv4 bool `protobuf:"varint,15,opt,name=ipv4,oneof"`
}

type StringRules_Ipv6

type StringRules_Ipv6 struct {
	// Ipv6 specifies that the field must be a valid IPv6 address. Valid
	// IPv6 addresses should not include surrounding square brackets.
	Ipv6 bool `protobuf:"varint,16,opt,name=ipv6,oneof"`
}

type StringRules_Uri

type StringRules_Uri struct {
	// Uri specifies that the field must be a valid, absolute URI as defined
	// by RFC 3986
	Uri bool `protobuf:"varint,17,opt,name=uri,oneof"`
}

type StringRules_UriRef

type StringRules_UriRef struct {
	// UriRef specifies that the field must be a valid URI as defined by RFC
	// 3986 and may be relative or absolute.
	UriRef bool `protobuf:"varint,18,opt,name=uri_ref,json=uriRef,oneof"`
}

type StringRules_Uuid

type StringRules_Uuid struct {
	// Uuid specifies that the field must be a valid UUID as defined by
	// RFC 4122
	Uuid bool `protobuf:"varint,22,opt,name=uuid,oneof"`
}

type StringRules_WellKnownRegex

type StringRules_WellKnownRegex struct {
	// WellKnownRegex specifies a common well known pattern defined as a regex.
	WellKnownRegex KnownRegex `protobuf:"varint,24,opt,name=well_known_regex,json=wellKnownRegex,enum=validate.KnownRegex,oneof"`
}

type StringRules_builder

type StringRules_builder struct {

	// Const specifies that this field must be exactly the specified value
	Const *string
	// 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.
	Len *uint64
	// 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.
	MinLen *uint64
	// 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.
	MaxLen *uint64
	// LenBytes specifies that this field must be the specified number of bytes
	LenBytes *uint64
	// MinBytes specifies that this field must be the specified number of bytes
	// at a minimum
	MinBytes *uint64
	// MaxBytes specifies that this field must be the specified number of bytes
	// at a maximum
	MaxBytes *uint64
	// Pattern specifies that this field must match against the specified
	// regular expression (RE2 syntax). The included expression should elide
	// any delimiters.
	Pattern *string
	// Prefix specifies that this field must have the specified substring at
	// the beginning of the string.
	Prefix *string
	// Suffix specifies that this field must have the specified substring at
	// the end of the string.
	Suffix *string
	// Contains specifies that this field must have the specified substring
	// anywhere in the string.
	Contains *string
	// NotContains specifies that this field cannot have the specified substring
	// anywhere in the string.
	NotContains *string
	// In specifies that this field must be equal to one of the specified
	// values
	In []string
	// NotIn specifies that this field cannot be equal to one of the specified
	// values
	NotIn []string

	// Fields of oneof WellKnown:
	// Email specifies that the field must be a valid email address as
	// defined by RFC 5322
	Email *bool
	// Hostname specifies that the field must be a valid hostname as
	// defined by RFC 1034. This constraint does not support
	// internationalized domain names (IDNs).
	Hostname *bool
	// Ip specifies that the field must be a valid IP (v4 or v6) address.
	// Valid IPv6 addresses should not include surrounding square brackets.
	Ip *bool
	// Ipv4 specifies that the field must be a valid IPv4 address.
	Ipv4 *bool
	// Ipv6 specifies that the field must be a valid IPv6 address. Valid
	// IPv6 addresses should not include surrounding square brackets.
	Ipv6 *bool
	// Uri specifies that the field must be a valid, absolute URI as defined
	// by RFC 3986
	Uri *bool
	// UriRef specifies that the field must be a valid URI as defined by RFC
	// 3986 and may be relative or absolute.
	UriRef *bool
	// 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).
	Address *bool
	// Uuid specifies that the field must be a valid UUID as defined by
	// RFC 4122
	Uuid *bool
	// WellKnownRegex specifies a common well known pattern defined as a regex.
	WellKnownRegex *KnownRegex
	// -- end of WellKnown
	// 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.
	Strict *bool
	// IgnoreEmpty specifies that the validation rules of this field should be
	// evaluated only if the field is not empty
	IgnoreEmpty *bool
	// contains filtered or unexported fields
}

func (StringRules_builder) Build

func (b0 StringRules_builder) Build() *StringRules

type TimestampRules

type TimestampRules struct {

	// Required specifies that this field must be set
	Required *bool `protobuf:"varint,1,opt,name=required" json:"required,omitempty"`
	// Const specifies that this field must be exactly the specified value
	Const *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=const" json:"const,omitempty"`
	// Lt specifies that this field must be less than the specified value,
	// exclusive
	Lt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=lt" json:"lt,omitempty"`
	// Lte specifies that this field must be less than the specified value,
	// inclusive
	Lte *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=lte" json:"lte,omitempty"`
	// Gt specifies that this field must be greater than the specified value,
	// exclusive
	Gt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=gt" json:"gt,omitempty"`
	// Gte specifies that this field must be greater than the specified value,
	// inclusive
	Gte *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=gte" json:"gte,omitempty"`
	// LtNow specifies that this must be less than the current time. LtNow
	// can only be used with the Within rule.
	LtNow *bool `protobuf:"varint,7,opt,name=lt_now,json=ltNow" json:"lt_now,omitempty"`
	// GtNow specifies that this must be greater than the current time. GtNow
	// can only be used with the Within rule.
	GtNow *bool `protobuf:"varint,8,opt,name=gt_now,json=gtNow" json:"gt_now,omitempty"`
	// 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.
	Within *durationpb.Duration `protobuf:"bytes,9,opt,name=within" json:"within,omitempty"`
	// contains filtered or unexported fields
}

TimestampRules describe the constraints applied exclusively to the `google.protobuf.Timestamp` well-known type

func (*TimestampRules) ClearConst

func (x *TimestampRules) ClearConst()

func (*TimestampRules) ClearGt

func (x *TimestampRules) ClearGt()

func (*TimestampRules) ClearGtNow

func (x *TimestampRules) ClearGtNow()

func (*TimestampRules) ClearGte

func (x *TimestampRules) ClearGte()

func (*TimestampRules) ClearLt

func (x *TimestampRules) ClearLt()

func (*TimestampRules) ClearLtNow

func (x *TimestampRules) ClearLtNow()

func (*TimestampRules) ClearLte

func (x *TimestampRules) ClearLte()

func (*TimestampRules) ClearRequired

func (x *TimestampRules) ClearRequired()

func (*TimestampRules) ClearWithin

func (x *TimestampRules) ClearWithin()

func (*TimestampRules) GetConst

func (x *TimestampRules) GetConst() *timestamppb.Timestamp

func (*TimestampRules) GetGt

func (x *TimestampRules) GetGt() *timestamppb.Timestamp

func (*TimestampRules) GetGtNow

func (x *TimestampRules) GetGtNow() bool

func (*TimestampRules) GetGte

func (x *TimestampRules) GetGte() *timestamppb.Timestamp

func (*TimestampRules) GetLt

func (x *TimestampRules) GetLt() *timestamppb.Timestamp

func (*TimestampRules) GetLtNow

func (x *TimestampRules) GetLtNow() bool

func (*TimestampRules) GetLte

func (x *TimestampRules) GetLte() *timestamppb.Timestamp

func (*TimestampRules) GetRequired

func (x *TimestampRules) GetRequired() bool

func (*TimestampRules) GetWithin

func (x *TimestampRules) GetWithin() *durationpb.Duration

func (*TimestampRules) HasConst

func (x *TimestampRules) HasConst() bool

func (*TimestampRules) HasGt

func (x *TimestampRules) HasGt() bool

func (*TimestampRules) HasGtNow

func (x *TimestampRules) HasGtNow() bool

func (*TimestampRules) HasGte

func (x *TimestampRules) HasGte() bool

func (*TimestampRules) HasLt

func (x *TimestampRules) HasLt() bool

func (*TimestampRules) HasLtNow

func (x *TimestampRules) HasLtNow() bool

func (*TimestampRules) HasLte

func (x *TimestampRules) HasLte() bool

func (*TimestampRules) HasRequired

func (x *TimestampRules) HasRequired() bool

func (*TimestampRules) HasWithin

func (x *TimestampRules) HasWithin() bool

func (*TimestampRules) ProtoMessage

func (*TimestampRules) ProtoMessage()

func (*TimestampRules) ProtoReflect

func (x *TimestampRules) ProtoReflect() protoreflect.Message

func (*TimestampRules) Reset

func (x *TimestampRules) Reset()

func (*TimestampRules) SetConst

func (x *TimestampRules) SetConst(v *timestamppb.Timestamp)

func (*TimestampRules) SetGt

func (x *TimestampRules) SetGt(v *timestamppb.Timestamp)

func (*TimestampRules) SetGtNow

func (x *TimestampRules) SetGtNow(v bool)

func (*TimestampRules) SetGte

func (x *TimestampRules) SetGte(v *timestamppb.Timestamp)

func (*TimestampRules) SetLt

func (x *TimestampRules) SetLt(v *timestamppb.Timestamp)

func (*TimestampRules) SetLtNow

func (x *TimestampRules) SetLtNow(v bool)

func (*TimestampRules) SetLte

func (x *TimestampRules) SetLte(v *timestamppb.Timestamp)

func (*TimestampRules) SetRequired

func (x *TimestampRules) SetRequired(v bool)

func (*TimestampRules) SetWithin

func (x *TimestampRules) SetWithin(v *durationpb.Duration)

func (*TimestampRules) String

func (x *TimestampRules) String() string

type TimestampRules_builder

type TimestampRules_builder struct {

	// Required specifies that this field must be set
	Required *bool
	// Const specifies that this field must be exactly the specified value
	Const *timestamppb.Timestamp
	// Lt specifies that this field must be less than the specified value,
	// exclusive
	Lt *timestamppb.Timestamp
	// Lte specifies that this field must be less than the specified value,
	// inclusive
	Lte *timestamppb.Timestamp
	// Gt specifies that this field must be greater than the specified value,
	// exclusive
	Gt *timestamppb.Timestamp
	// Gte specifies that this field must be greater than the specified value,
	// inclusive
	Gte *timestamppb.Timestamp
	// LtNow specifies that this must be less than the current time. LtNow
	// can only be used with the Within rule.
	LtNow *bool
	// GtNow specifies that this must be greater than the current time. GtNow
	// can only be used with the Within rule.
	GtNow *bool
	// 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.
	Within *durationpb.Duration
	// contains filtered or unexported fields
}

func (TimestampRules_builder) Build

type UInt32Rules

type UInt32Rules struct {

	// Const specifies that this field must be exactly the specified value
	Const *uint32 `protobuf:"varint,1,opt,name=const" json:"const,omitempty"`
	// Lt specifies that this field must be less than the specified value,
	// exclusive
	Lt *uint32 `protobuf:"varint,2,opt,name=lt" json:"lt,omitempty"`
	// Lte specifies that this field must be less than or equal to the
	// specified value, inclusive
	Lte *uint32 `protobuf:"varint,3,opt,name=lte" json:"lte,omitempty"`
	// 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.
	Gt *uint32 `protobuf:"varint,4,opt,name=gt" json:"gt,omitempty"`
	// 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.
	Gte *uint32 `protobuf:"varint,5,opt,name=gte" json:"gte,omitempty"`
	// In specifies that this field must be equal to one of the specified
	// values
	In []uint32 `protobuf:"varint,6,rep,name=in" json:"in,omitempty"`
	// NotIn specifies that this field cannot be equal to one of the specified
	// values
	NotIn []uint32 `protobuf:"varint,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"`
	// IgnoreEmpty specifies that the validation rules of this field should be
	// evaluated only if the field is not empty
	IgnoreEmpty *bool `protobuf:"varint,8,opt,name=ignore_empty,json=ignoreEmpty" json:"ignore_empty,omitempty"`
	// contains filtered or unexported fields
}

UInt32Rules describes the constraints applied to `uint32` values

func (*UInt32Rules) ClearConst

func (x *UInt32Rules) ClearConst()

func (*UInt32Rules) ClearGt

func (x *UInt32Rules) ClearGt()

func (*UInt32Rules) ClearGte

func (x *UInt32Rules) ClearGte()

func (*UInt32Rules) ClearIgnoreEmpty

func (x *UInt32Rules) ClearIgnoreEmpty()

func (*UInt32Rules) ClearLt

func (x *UInt32Rules) ClearLt()

func (*UInt32Rules) ClearLte

func (x *UInt32Rules) ClearLte()

func (*UInt32Rules) GetConst

func (x *UInt32Rules) GetConst() uint32

func (*UInt32Rules) GetGt

func (x *UInt32Rules) GetGt() uint32

func (*UInt32Rules) GetGte

func (x *UInt32Rules) GetGte() uint32

func (*UInt32Rules) GetIgnoreEmpty

func (x *UInt32Rules) GetIgnoreEmpty() bool

func (*UInt32Rules) GetIn

func (x *UInt32Rules) GetIn() []uint32

func (*UInt32Rules) GetLt

func (x *UInt32Rules) GetLt() uint32

func (*UInt32Rules) GetLte

func (x *UInt32Rules) GetLte() uint32

func (*UInt32Rules) GetNotIn

func (x *UInt32Rules) GetNotIn() []uint32

func (*UInt32Rules) HasConst

func (x *UInt32Rules) HasConst() bool

func (*UInt32Rules) HasGt

func (x *UInt32Rules) HasGt() bool

func (*UInt32Rules) HasGte

func (x *UInt32Rules) HasGte() bool

func (*UInt32Rules) HasIgnoreEmpty

func (x *UInt32Rules) HasIgnoreEmpty() bool

func (*UInt32Rules) HasLt

func (x *UInt32Rules) HasLt() bool

func (*UInt32Rules) HasLte

func (x *UInt32Rules) HasLte() bool

func (*UInt32Rules) ProtoMessage

func (*UInt32Rules) ProtoMessage()

func (*UInt32Rules) ProtoReflect

func (x *UInt32Rules) ProtoReflect() protoreflect.Message

func (*UInt32Rules) Reset

func (x *UInt32Rules) Reset()

func (*UInt32Rules) SetConst

func (x *UInt32Rules) SetConst(v uint32)

func (*UInt32Rules) SetGt

func (x *UInt32Rules) SetGt(v uint32)

func (*UInt32Rules) SetGte

func (x *UInt32Rules) SetGte(v uint32)

func (*UInt32Rules) SetIgnoreEmpty

func (x *UInt32Rules) SetIgnoreEmpty(v bool)

func (*UInt32Rules) SetIn

func (x *UInt32Rules) SetIn(v []uint32)

func (*UInt32Rules) SetLt

func (x *UInt32Rules) SetLt(v uint32)

func (*UInt32Rules) SetLte

func (x *UInt32Rules) SetLte(v uint32)

func (*UInt32Rules) SetNotIn

func (x *UInt32Rules) SetNotIn(v []uint32)

func (*UInt32Rules) String

func (x *UInt32Rules) String() string

type UInt32Rules_builder

type UInt32Rules_builder struct {

	// Const specifies that this field must be exactly the specified value
	Const *uint32
	// Lt specifies that this field must be less than the specified value,
	// exclusive
	Lt *uint32
	// Lte specifies that this field must be less than or equal to the
	// specified value, inclusive
	Lte *uint32
	// 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.
	Gt *uint32
	// 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.
	Gte *uint32
	// In specifies that this field must be equal to one of the specified
	// values
	In []uint32
	// NotIn specifies that this field cannot be equal to one of the specified
	// values
	NotIn []uint32
	// IgnoreEmpty specifies that the validation rules of this field should be
	// evaluated only if the field is not empty
	IgnoreEmpty *bool
	// contains filtered or unexported fields
}

func (UInt32Rules_builder) Build

func (b0 UInt32Rules_builder) Build() *UInt32Rules

type UInt64Rules

type UInt64Rules struct {

	// Const specifies that this field must be exactly the specified value
	Const *uint64 `protobuf:"varint,1,opt,name=const" json:"const,omitempty"`
	// Lt specifies that this field must be less than the specified value,
	// exclusive
	Lt *uint64 `protobuf:"varint,2,opt,name=lt" json:"lt,omitempty"`
	// Lte specifies that this field must be less than or equal to the
	// specified value, inclusive
	Lte *uint64 `protobuf:"varint,3,opt,name=lte" json:"lte,omitempty"`
	// 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.
	Gt *uint64 `protobuf:"varint,4,opt,name=gt" json:"gt,omitempty"`
	// 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.
	Gte *uint64 `protobuf:"varint,5,opt,name=gte" json:"gte,omitempty"`
	// In specifies that this field must be equal to one of the specified
	// values
	In []uint64 `protobuf:"varint,6,rep,name=in" json:"in,omitempty"`
	// NotIn specifies that this field cannot be equal to one of the specified
	// values
	NotIn []uint64 `protobuf:"varint,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"`
	// IgnoreEmpty specifies that the validation rules of this field should be
	// evaluated only if the field is not empty
	IgnoreEmpty *bool `protobuf:"varint,8,opt,name=ignore_empty,json=ignoreEmpty" json:"ignore_empty,omitempty"`
	// contains filtered or unexported fields
}

UInt64Rules describes the constraints applied to `uint64` values

func (*UInt64Rules) ClearConst

func (x *UInt64Rules) ClearConst()

func (*UInt64Rules) ClearGt

func (x *UInt64Rules) ClearGt()

func (*UInt64Rules) ClearGte

func (x *UInt64Rules) ClearGte()

func (*UInt64Rules) ClearIgnoreEmpty

func (x *UInt64Rules) ClearIgnoreEmpty()

func (*UInt64Rules) ClearLt

func (x *UInt64Rules) ClearLt()

func (*UInt64Rules) ClearLte

func (x *UInt64Rules) ClearLte()

func (*UInt64Rules) GetConst

func (x *UInt64Rules) GetConst() uint64

func (*UInt64Rules) GetGt

func (x *UInt64Rules) GetGt() uint64

func (*UInt64Rules) GetGte

func (x *UInt64Rules) GetGte() uint64

func (*UInt64Rules) GetIgnoreEmpty

func (x *UInt64Rules) GetIgnoreEmpty() bool

func (*UInt64Rules) GetIn

func (x *UInt64Rules) GetIn() []uint64

func (*UInt64Rules) GetLt

func (x *UInt64Rules) GetLt() uint64

func (*UInt64Rules) GetLte

func (x *UInt64Rules) GetLte() uint64

func (*UInt64Rules) GetNotIn

func (x *UInt64Rules) GetNotIn() []uint64

func (*UInt64Rules) HasConst

func (x *UInt64Rules) HasConst() bool

func (*UInt64Rules) HasGt

func (x *UInt64Rules) HasGt() bool

func (*UInt64Rules) HasGte

func (x *UInt64Rules) HasGte() bool

func (*UInt64Rules) HasIgnoreEmpty

func (x *UInt64Rules) HasIgnoreEmpty() bool

func (*UInt64Rules) HasLt

func (x *UInt64Rules) HasLt() bool

func (*UInt64Rules) HasLte

func (x *UInt64Rules) HasLte() bool

func (*UInt64Rules) ProtoMessage

func (*UInt64Rules) ProtoMessage()

func (*UInt64Rules) ProtoReflect

func (x *UInt64Rules) ProtoReflect() protoreflect.Message

func (*UInt64Rules) Reset

func (x *UInt64Rules) Reset()

func (*UInt64Rules) SetConst

func (x *UInt64Rules) SetConst(v uint64)

func (*UInt64Rules) SetGt

func (x *UInt64Rules) SetGt(v uint64)

func (*UInt64Rules) SetGte

func (x *UInt64Rules) SetGte(v uint64)

func (*UInt64Rules) SetIgnoreEmpty

func (x *UInt64Rules) SetIgnoreEmpty(v bool)

func (*UInt64Rules) SetIn

func (x *UInt64Rules) SetIn(v []uint64)

func (*UInt64Rules) SetLt

func (x *UInt64Rules) SetLt(v uint64)

func (*UInt64Rules) SetLte

func (x *UInt64Rules) SetLte(v uint64)

func (*UInt64Rules) SetNotIn

func (x *UInt64Rules) SetNotIn(v []uint64)

func (*UInt64Rules) String

func (x *UInt64Rules) String() string

type UInt64Rules_builder

type UInt64Rules_builder struct {

	// Const specifies that this field must be exactly the specified value
	Const *uint64
	// Lt specifies that this field must be less than the specified value,
	// exclusive
	Lt *uint64
	// Lte specifies that this field must be less than or equal to the
	// specified value, inclusive
	Lte *uint64
	// 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.
	Gt *uint64
	// 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.
	Gte *uint64
	// In specifies that this field must be equal to one of the specified
	// values
	In []uint64
	// NotIn specifies that this field cannot be equal to one of the specified
	// values
	NotIn []uint64
	// IgnoreEmpty specifies that the validation rules of this field should be
	// evaluated only if the field is not empty
	IgnoreEmpty *bool
	// contains filtered or unexported fields
}

func (UInt64Rules_builder) Build

func (b0 UInt64Rules_builder) Build() *UInt64Rules

Source Files

  • validate.pb.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL