pbvalidator

package
v0.0.0-...-c713541 Latest Latest
Warning

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

Go to latest
Published: May 28, 2023 License: MIT Imports: 5 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// optional validator.ValidOptions field = 65020;
	E_Field = &file_validator_proto_extTypes[0]
)

Extension fields to descriptorpb.FieldOptions.

View Source
var (
	// optional validator.ValidOptions oneof = 65031;
	E_Oneof = &file_validator_proto_extTypes[1]
)

Extension fields to descriptorpb.OneofOptions.

View Source
var File_validator_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BoolTags

type BoolTags struct {

	// eq specifies that this field must be exactly the specified value
	Eq *bool `protobuf:"varint,3,opt,name=eq,proto3,oneof" json:"eq,omitempty"`
	// contains filtered or unexported fields
}

func (*BoolTags) Descriptor deprecated

func (*BoolTags) Descriptor() ([]byte, []int)

Deprecated: Use BoolTags.ProtoReflect.Descriptor instead.

func (*BoolTags) GetEq

func (x *BoolTags) GetEq() bool

func (*BoolTags) ProtoMessage

func (*BoolTags) ProtoMessage()

func (*BoolTags) ProtoReflect

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

func (*BoolTags) Reset

func (x *BoolTags) Reset()

func (*BoolTags) String

func (x *BoolTags) String() string

type BytesTags

type BytesTags struct {

	// len_eq specifies that this field must be equal to the specified number of
	LenEq *int64 `protobuf:"varint,3,opt,name=len_eq,json=lenEq,proto3,oneof" json:"len_eq,omitempty"`
	// len_ne specifies that this field must not be equal to the specified number of
	LenNe *int64 `protobuf:"varint,4,opt,name=len_ne,json=lenNe,proto3,oneof" json:"len_ne,omitempty"`
	// len_lt specifies that this field must be less than the specified number of
	LenLt *int64 `protobuf:"varint,5,opt,name=len_lt,json=lenLt,proto3,oneof" json:"len_lt,omitempty"`
	// len_gt specifies that this field must be greater than the specified number of
	LenGt *int64 `protobuf:"varint,6,opt,name=len_gt,json=lenGt,proto3,oneof" json:"len_gt,omitempty"`
	// len_lte specifies that this field must be less than or equal to the specified number of
	LenLte *int64 `protobuf:"varint,7,opt,name=len_lte,json=lenLte,proto3,oneof" json:"len_lte,omitempty"`
	// len_gte specifies that this field must be greater than or equal to the specified number of
	LenGte *int64 `protobuf:"varint,8,opt,name=len_gte,json=lenGte,proto3,oneof" json:"len_gte,omitempty"`
	// contains filtered or unexported fields
}

BytesRules describe the constraints applied to `bytes` values

func (*BytesTags) Descriptor deprecated

func (*BytesTags) Descriptor() ([]byte, []int)

Deprecated: Use BytesTags.ProtoReflect.Descriptor instead.

func (*BytesTags) GetLenEq

func (x *BytesTags) GetLenEq() int64

func (*BytesTags) GetLenGt

func (x *BytesTags) GetLenGt() int64

func (*BytesTags) GetLenGte

func (x *BytesTags) GetLenGte() int64

func (*BytesTags) GetLenLt

func (x *BytesTags) GetLenLt() int64

func (*BytesTags) GetLenLte

func (x *BytesTags) GetLenLte() int64

func (*BytesTags) GetLenNe

func (x *BytesTags) GetLenNe() int64

func (*BytesTags) ProtoMessage

func (*BytesTags) ProtoMessage()

func (*BytesTags) ProtoReflect

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

func (*BytesTags) Reset

func (x *BytesTags) Reset()

func (*BytesTags) String

func (x *BytesTags) String() string

type CheckIf

type CheckIf struct {
	Field string      `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` // the name of field.
	Tags  *TagOptions `protobuf:"bytes,2,opt,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckIf) Descriptor deprecated

func (*CheckIf) Descriptor() ([]byte, []int)

Deprecated: Use CheckIf.ProtoReflect.Descriptor instead.

func (*CheckIf) GetField

func (x *CheckIf) GetField() string

func (*CheckIf) GetTags

func (x *CheckIf) GetTags() *TagOptions

func (*CheckIf) ProtoMessage

func (*CheckIf) ProtoMessage()

func (*CheckIf) ProtoReflect

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

func (*CheckIf) Reset

func (x *CheckIf) Reset()

func (*CheckIf) String

func (x *CheckIf) String() string

type EnumTags

type EnumTags struct {

	// eq specifies that this field must be equal to the specified value.
	Eq *int32 `protobuf:"varint,3,opt,name=eq,proto3,oneof" json:"eq,omitempty"`
	// ne specifies that this field must be not equal to the specified value.
	Ne *int32 `protobuf:"varint,4,opt,name=ne,proto3,oneof" json:"ne,omitempty"`
	// lt specifies that this field must be less than the specified value.
	Lt *int32 `protobuf:"varint,5,opt,name=lt,proto3,oneof" json:"lt,omitempty"`
	// gt specifies that this field must be greater than the specified value.
	Gt *int32 `protobuf:"varint,6,opt,name=gt,proto3,oneof" json:"gt,omitempty"`
	// lte specifies that this field must be less than or equal to the specified value.
	Lte *int32 `protobuf:"varint,7,opt,name=lte,proto3,oneof" json:"lte,omitempty"`
	// gte specifies that this field must be greater than or equal to the specified value.
	Gte *int32 `protobuf:"varint,8,opt,name=gte,proto3,oneof" json:"gte,omitempty"`
	// in specifies that this field must be in the specified value lists.
	In []int32 `protobuf:"varint,9,rep,packed,name=in,proto3" json:"in,omitempty"`
	// not_in specifies that this field must not be in the specified value lists.
	NotIn []int32 `protobuf:"varint,10,rep,packed,name=not_in,json=notIn,proto3" json:"not_in,omitempty"`
	// in_enums specifies that this field must be a valid enum number.
	InEnums *bool `protobuf:"varint,11,opt,name=in_enums,json=inEnums,proto3,oneof" json:"in_enums,omitempty"`
	// contains filtered or unexported fields
}

func (*EnumTags) Descriptor deprecated

func (*EnumTags) Descriptor() ([]byte, []int)

Deprecated: Use EnumTags.ProtoReflect.Descriptor instead.

func (*EnumTags) GetEq

func (x *EnumTags) GetEq() int32

func (*EnumTags) GetGt

func (x *EnumTags) GetGt() int32

func (*EnumTags) GetGte

func (x *EnumTags) GetGte() int32

func (*EnumTags) GetIn

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

func (*EnumTags) GetInEnums

func (x *EnumTags) GetInEnums() bool

func (*EnumTags) GetLt

func (x *EnumTags) GetLt() int32

func (*EnumTags) GetLte

func (x *EnumTags) GetLte() int32

func (*EnumTags) GetNe

func (x *EnumTags) GetNe() int32

func (*EnumTags) GetNotIn

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

func (*EnumTags) ProtoMessage

func (*EnumTags) ProtoMessage()

func (*EnumTags) ProtoReflect

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

func (*EnumTags) Reset

func (x *EnumTags) Reset()

func (*EnumTags) String

func (x *EnumTags) String() string

type FloatTags

type FloatTags struct {
	Eq    *float64  `protobuf:"fixed64,3,opt,name=eq,proto3,oneof" json:"eq,omitempty"`
	Ne    *float64  `protobuf:"fixed64,4,opt,name=ne,proto3,oneof" json:"ne,omitempty"`
	Lt    *float64  `protobuf:"fixed64,5,opt,name=lt,proto3,oneof" json:"lt,omitempty"`
	Gt    *float64  `protobuf:"fixed64,6,opt,name=gt,proto3,oneof" json:"gt,omitempty"`
	Lte   *float64  `protobuf:"fixed64,7,opt,name=lte,proto3,oneof" json:"lte,omitempty"`
	Gte   *float64  `protobuf:"fixed64,8,opt,name=gte,proto3,oneof" json:"gte,omitempty"`
	In    []float64 `protobuf:"fixed64,9,rep,packed,name=in,proto3" json:"in,omitempty"`
	NotIn []float64 `protobuf:"fixed64,10,rep,packed,name=not_in,json=notIn,proto3" json:"not_in,omitempty"`
	// contains filtered or unexported fields
}

FloatOptions describe the constraints applied to the values type of `float` and `double`.

func (*FloatTags) Descriptor deprecated

func (*FloatTags) Descriptor() ([]byte, []int)

Deprecated: Use FloatTags.ProtoReflect.Descriptor instead.

func (*FloatTags) GetEq

func (x *FloatTags) GetEq() float64

func (*FloatTags) GetGt

func (x *FloatTags) GetGt() float64

func (*FloatTags) GetGte

func (x *FloatTags) GetGte() float64

func (*FloatTags) GetIn

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

func (*FloatTags) GetLt

func (x *FloatTags) GetLt() float64

func (*FloatTags) GetLte

func (x *FloatTags) GetLte() float64

func (*FloatTags) GetNe

func (x *FloatTags) GetNe() float64

func (*FloatTags) GetNotIn

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

func (*FloatTags) ProtoMessage

func (*FloatTags) ProtoMessage()

func (*FloatTags) ProtoReflect

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

func (*FloatTags) Reset

func (x *FloatTags) Reset()

func (*FloatTags) String

func (x *FloatTags) String() string

type IntTags

type IntTags struct {

	// eq specifies that this field must be equal to the specified value.
	Eq *int64 `protobuf:"varint,3,opt,name=eq,proto3,oneof" json:"eq,omitempty"`
	// ne specifies that this field must be not equal to the specified value.
	Ne *int64 `protobuf:"varint,4,opt,name=ne,proto3,oneof" json:"ne,omitempty"`
	// lt specifies that this field must be less than the specified value.
	Lt *int64 `protobuf:"varint,5,opt,name=lt,proto3,oneof" json:"lt,omitempty"`
	// gt specifies that this field must be greater than the specified value.
	Gt *int64 `protobuf:"varint,6,opt,name=gt,proto3,oneof" json:"gt,omitempty"`
	// lte specifies that this field must be less than or equal to the specified value.
	Lte *int64 `protobuf:"varint,7,opt,name=lte,proto3,oneof" json:"lte,omitempty"`
	// gte specifies that this field must be greater than or equal to the specified value.
	Gte *int64 `protobuf:"varint,8,opt,name=gte,proto3,oneof" json:"gte,omitempty"`
	// in specifies that this field must be in the specified value lists.
	In []int64 `protobuf:"varint,9,rep,packed,name=in,proto3" json:"in,omitempty"`
	// not_in specifies that this field must not be in the specified value lists.
	NotIn []int64 `protobuf:"varint,10,rep,packed,name=not_in,json=notIn,proto3" json:"not_in,omitempty"`
	// contains filtered or unexported fields
}

IntOptions describe the constraints applied to the values type of `int32`, `int64`, `sint32`, `sint64`, `sfixed32`, `sfixed64`.

func (*IntTags) Descriptor deprecated

func (*IntTags) Descriptor() ([]byte, []int)

Deprecated: Use IntTags.ProtoReflect.Descriptor instead.

func (*IntTags) GetEq

func (x *IntTags) GetEq() int64

func (*IntTags) GetGt

func (x *IntTags) GetGt() int64

func (*IntTags) GetGte

func (x *IntTags) GetGte() int64

func (*IntTags) GetIn

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

func (*IntTags) GetLt

func (x *IntTags) GetLt() int64

func (*IntTags) GetLte

func (x *IntTags) GetLte() int64

func (*IntTags) GetNe

func (x *IntTags) GetNe() int64

func (*IntTags) GetNotIn

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

func (*IntTags) ProtoMessage

func (*IntTags) ProtoMessage()

func (*IntTags) ProtoReflect

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

func (*IntTags) Reset

func (x *IntTags) Reset()

func (*IntTags) String

func (x *IntTags) String() string

type MapTags

type MapTags struct {

	// not_null specifies that this field must be set
	NotNull *bool `protobuf:"varint,2,opt,name=not_null,json=notNull,proto3,oneof" json:"not_null,omitempty"`
	// len_eq specifies that this field must be equal to the specified number of
	LenEq *int64 `protobuf:"varint,3,opt,name=len_eq,json=lenEq,proto3,oneof" json:"len_eq,omitempty"`
	// len_ne specifies that this field must not be equal to the specified number of
	LenNe *int64 `protobuf:"varint,4,opt,name=len_ne,json=lenNe,proto3,oneof" json:"len_ne,omitempty"`
	// len_lt specifies that this field must be less than the specified number of
	LenLt *int64 `protobuf:"varint,5,opt,name=len_lt,json=lenLt,proto3,oneof" json:"len_lt,omitempty"`
	// len_gt specifies that this field must be greater than the specified number of
	LenGt *int64 `protobuf:"varint,6,opt,name=len_gt,json=lenGt,proto3,oneof" json:"len_gt,omitempty"`
	// len_lte specifies that this field must be less than or equal to the specified number of
	LenLte *int64 `protobuf:"varint,7,opt,name=len_lte,json=lenLte,proto3,oneof" json:"len_lte,omitempty"`
	// len_gte specifies that this field must be greater than or equal to the specified number of
	LenGte *int64 `protobuf:"varint,8,opt,name=len_gte,json=lenGte,proto3,oneof" json:"len_gte,omitempty"`
	// key specifies the constraints to be applied to each key in the field.
	Key *TagOptions `protobuf:"bytes,11,opt,name=key,proto3" json:"key,omitempty"`
	// value 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.
	Value *TagOptions `protobuf:"bytes,12,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*MapTags) Descriptor deprecated

func (*MapTags) Descriptor() ([]byte, []int)

Deprecated: Use MapTags.ProtoReflect.Descriptor instead.

func (*MapTags) GetKey

func (x *MapTags) GetKey() *TagOptions

func (*MapTags) GetLenEq

func (x *MapTags) GetLenEq() int64

func (*MapTags) GetLenGt

func (x *MapTags) GetLenGt() int64

func (*MapTags) GetLenGte

func (x *MapTags) GetLenGte() int64

func (*MapTags) GetLenLt

func (x *MapTags) GetLenLt() int64

func (*MapTags) GetLenLte

func (x *MapTags) GetLenLte() int64

func (*MapTags) GetLenNe

func (x *MapTags) GetLenNe() int64

func (*MapTags) GetNotNull

func (x *MapTags) GetNotNull() bool

func (*MapTags) GetValue

func (x *MapTags) GetValue() *TagOptions

func (*MapTags) ProtoMessage

func (*MapTags) ProtoMessage()

func (*MapTags) ProtoReflect

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

func (*MapTags) Reset

func (x *MapTags) Reset()

func (*MapTags) String

func (x *MapTags) String() string

type MessageTags

type MessageTags struct {

	// not_null specifies that this field must be set
	NotNull *bool `protobuf:"varint,2,opt,name=not_null,json=notNull,proto3,oneof" json:"not_null,omitempty"`
	// skip specifies that the validation option of this field should not be evaluated
	Skip *bool `protobuf:"varint,3,opt,name=skip,proto3,oneof" json:"skip,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageTags) Descriptor deprecated

func (*MessageTags) Descriptor() ([]byte, []int)

Deprecated: Use MessageTags.ProtoReflect.Descriptor instead.

func (*MessageTags) GetNotNull

func (x *MessageTags) GetNotNull() bool

func (*MessageTags) GetSkip

func (x *MessageTags) GetSkip() bool

func (*MessageTags) ProtoMessage

func (*MessageTags) ProtoMessage()

func (*MessageTags) ProtoReflect

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

func (*MessageTags) Reset

func (x *MessageTags) Reset()

func (*MessageTags) String

func (x *MessageTags) String() string

type OneOfTags

type OneOfTags struct {

	// not_null ensures that exactly one the field options in a oneof is set;
	// validation fails if no fields in the oneof are set.
	NotNull *bool `protobuf:"varint,1,opt,name=not_null,json=notNull,proto3,oneof" json:"not_null,omitempty"`
	// contains filtered or unexported fields
}

OneOfOptions describe the constraints applied to the values type of oneof.

func (*OneOfTags) Descriptor deprecated

func (*OneOfTags) Descriptor() ([]byte, []int)

Deprecated: Use OneOfTags.ProtoReflect.Descriptor instead.

func (*OneOfTags) GetNotNull

func (x *OneOfTags) GetNotNull() bool

func (*OneOfTags) ProtoMessage

func (*OneOfTags) ProtoMessage()

func (*OneOfTags) ProtoReflect

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

func (*OneOfTags) Reset

func (x *OneOfTags) Reset()

func (*OneOfTags) String

func (x *OneOfTags) String() string

type RepeatedTags

type RepeatedTags struct {

	// not_null specifies that this field must be set
	NotNull *bool `protobuf:"varint,2,opt,name=not_null,json=notNull,proto3,oneof" json:"not_null,omitempty"`
	// len_eq specifies that this field must be equal to the specified number of
	LenEq *int64 `protobuf:"varint,3,opt,name=len_eq,json=lenEq,proto3,oneof" json:"len_eq,omitempty"`
	// len_ne specifies that this field must not be equal to the specified number of
	LenNe *int64 `protobuf:"varint,4,opt,name=len_ne,json=lenNe,proto3,oneof" json:"len_ne,omitempty"`
	// len_lt specifies that this field must be less than the specified number of
	LenLt *int64 `protobuf:"varint,5,opt,name=len_lt,json=lenLt,proto3,oneof" json:"len_lt,omitempty"`
	// len_gt specifies that this field must be greater than the specified number of
	LenGt *int64 `protobuf:"varint,6,opt,name=len_gt,json=lenGt,proto3,oneof" json:"len_gt,omitempty"`
	// len_lte specifies that this field must be less than or equal to the specified number of
	LenLte *int64 `protobuf:"varint,7,opt,name=len_lte,json=lenLte,proto3,oneof" json:"len_lte,omitempty"`
	// len_gte specifies that this field must be greater than or equal to the specified number of
	LenGte *int64 `protobuf:"varint,8,opt,name=len_gte,json=lenGte,proto3,oneof" json:"len_gte,omitempty"`
	// Unique specifies that all elements in this field must be unique.
	// For message types, only check the pointer address is unique(not its fields).
	Unique *bool `protobuf:"varint,10,opt,name=unique,proto3,oneof" json:"unique,omitempty"`
	// Items specifies the contraints to be applied to each item in the field.
	// Repeated message fields will still execute validation against each item
	// unless skip is specified here.
	Item *TagOptions `protobuf:"bytes,11,opt,name=item,proto3" json:"item,omitempty"`
	// contains filtered or unexported fields
}

func (*RepeatedTags) Descriptor deprecated

func (*RepeatedTags) Descriptor() ([]byte, []int)

Deprecated: Use RepeatedTags.ProtoReflect.Descriptor instead.

func (*RepeatedTags) GetItem

func (x *RepeatedTags) GetItem() *TagOptions

func (*RepeatedTags) GetLenEq

func (x *RepeatedTags) GetLenEq() int64

func (*RepeatedTags) GetLenGt

func (x *RepeatedTags) GetLenGt() int64

func (*RepeatedTags) GetLenGte

func (x *RepeatedTags) GetLenGte() int64

func (*RepeatedTags) GetLenLt

func (x *RepeatedTags) GetLenLt() int64

func (*RepeatedTags) GetLenLte

func (x *RepeatedTags) GetLenLte() int64

func (*RepeatedTags) GetLenNe

func (x *RepeatedTags) GetLenNe() int64

func (*RepeatedTags) GetNotNull

func (x *RepeatedTags) GetNotNull() bool

func (*RepeatedTags) GetUnique

func (x *RepeatedTags) GetUnique() bool

func (*RepeatedTags) ProtoMessage

func (*RepeatedTags) ProtoMessage()

func (*RepeatedTags) ProtoReflect

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

func (*RepeatedTags) Reset

func (x *RepeatedTags) Reset()

func (*RepeatedTags) String

func (x *RepeatedTags) String() string

type StringTags

type StringTags struct {

	// eq specifies that this field must be equal to the specified value.
	Eq *string `protobuf:"bytes,3,opt,name=eq,proto3,oneof" json:"eq,omitempty"`
	// ne specifies that this field must be not equal to the specified value.
	Ne *string `protobuf:"bytes,4,opt,name=ne,proto3,oneof" json:"ne,omitempty"`
	// lt specifies that this field must be less than the specified value.
	Lt *string `protobuf:"bytes,5,opt,name=lt,proto3,oneof" json:"lt,omitempty"`
	// gt specifies that this field must be greater than the specified value.
	Gt *string `protobuf:"bytes,6,opt,name=gt,proto3,oneof" json:"gt,omitempty"`
	// lte specifies that this field must be less than or equal to the specified value.
	Lte *string `protobuf:"bytes,7,opt,name=lte,proto3,oneof" json:"lte,omitempty"`
	// gte specifies that this field must be greater than or equal to the specified value.
	Gte *string `protobuf:"bytes,8,opt,name=gte,proto3,oneof" json:"gte,omitempty"`
	// in specifies that this field must be in the specified value lists.
	In []string `protobuf:"bytes,9,rep,name=in,proto3" json:"in,omitempty"`
	// not_in specifies that this field must not be in the specified value lists.
	NotIn []string `protobuf:"bytes,10,rep,name=not_in,json=notIn,proto3" json:"not_in,omitempty"`
	// char_len_eq specifies that this field must be equal to the specified number of
	// characters (Unicode code points). Note that the number of
	// characters may differ from the number of bytes in the string.
	CharLenEq *int64 `protobuf:"varint,20,opt,name=char_len_eq,json=charLenEq,proto3,oneof" json:"char_len_eq,omitempty"`
	// char_len_ne specifies that this field must not be equal to the specified number of
	// characters (Unicode code points). Note that the number of
	// characters may differ from the number of bytes in the string.
	CharLenNe *int64 `protobuf:"varint,21,opt,name=char_len_ne,json=charLenNe,proto3,oneof" json:"char_len_ne,omitempty"`
	// char_len_gt specifies that this field must be greater than the specified number of
	// characters (Unicode code points). Note that the number of
	// characters may differ from the number of bytes in the string.
	CharLenGt *int64 `protobuf:"varint,22,opt,name=char_len_gt,json=charLenGt,proto3,oneof" json:"char_len_gt,omitempty"`
	// char_len_lt specifies that this field must be less than the specified number of
	// characters (Unicode code points). Note that the number of
	// characters may differ from the number of bytes in the string.
	CharLenLt *int64 `protobuf:"varint,23,opt,name=char_len_lt,json=charLenLt,proto3,oneof" json:"char_len_lt,omitempty"`
	// char_len_gte specifies that this field must be greater than or equal to the specified number of
	// characters (Unicode code points). Note that the number of
	// characters may differ from the number of bytes in the string.
	CharLenGte *int64 `protobuf:"varint,24,opt,name=char_len_gte,json=charLenGte,proto3,oneof" json:"char_len_gte,omitempty"`
	// char_len_lte specifies that this field must be less than or equal to the specified number of
	// characters (Unicode code points). Note that the number of
	// characters may differ from the number of bytes in the string.
	CharLenLte *int64 `protobuf:"varint,25,opt,name=char_len_lte,json=charLenLte,proto3,oneof" json:"char_len_lte,omitempty"`
	// byte_len_eq specifies that this field must be equal to the specified number of bytes.
	ByteLenEq *int64 `protobuf:"varint,30,opt,name=byte_len_eq,json=byteLenEq,proto3,oneof" json:"byte_len_eq,omitempty"`
	// byte_len_ne specifies that this field must not be equal to the specified number of bytes.
	ByteLenNe *int64 `protobuf:"varint,31,opt,name=byte_len_ne,json=byteLenNe,proto3,oneof" json:"byte_len_ne,omitempty"`
	// byte_len_gt specifies that this field must be greater than the specified number of bytes.
	ByteLenGt *int64 `protobuf:"varint,32,opt,name=byte_len_gt,json=byteLenGt,proto3,oneof" json:"byte_len_gt,omitempty"`
	// byte_len_lt specifies that this field must be less than the specified number of bytes.
	ByteLenLt *int64 `protobuf:"varint,33,opt,name=byte_len_lt,json=byteLenLt,proto3,oneof" json:"byte_len_lt,omitempty"`
	// byte_len_gte specifies that this field must be greater than or equal to the specified number of bytes.
	ByteLenGte *int64 `protobuf:"varint,34,opt,name=byte_len_gte,json=byteLenGte,proto3,oneof" json:"byte_len_gte,omitempty"`
	// byte_len_lte specifies that this field must be less than or equal to the specified number of bytes.
	ByteLenLte *int64 `protobuf:"varint,35,opt,name=byte_len_lte,json=byteLenLte,proto3,oneof" json:"byte_len_lte,omitempty"`
	// regex specifies that this field must be math a RE2-syntax regex.
	Regex *string `protobuf:"bytes,40,opt,name=regex,proto3,oneof" json:"regex,omitempty"`
	// prefix specifies that this field must be start with the specified prefix.
	Prefix *string `protobuf:"bytes,41,opt,name=prefix,proto3,oneof" json:"prefix,omitempty"`
	// no_prefix specifies that this field must not be start with the specified prefix.
	NoPrefix *string `protobuf:"bytes,42,opt,name=no_prefix,json=noPrefix,proto3,oneof" json:"no_prefix,omitempty"`
	// prefix specifies that this field must be end with the specified suffix.
	Suffix *string `protobuf:"bytes,43,opt,name=suffix,proto3,oneof" json:"suffix,omitempty"`
	// prefix specifies that this field must not be end with the specified suffix.
	NoSuffix *string `protobuf:"bytes,44,opt,name=no_suffix,json=noSuffix,proto3,oneof" json:"no_suffix,omitempty"`
	// prefix specifies that this field must be contains the specified value.
	Contains *string `protobuf:"bytes,45,opt,name=contains,proto3,oneof" json:"contains,omitempty"`
	// prefix specifies that this field must not be contains the specified value.
	NotContains *string `protobuf:"bytes,46,opt,name=not_contains,json=notContains,proto3,oneof" json:"not_contains,omitempty"`
	// prefix specifies that this field must be contains the specified any value.
	ContainsAny *string `protobuf:"bytes,47,opt,name=contains_any,json=containsAny,proto3,oneof" json:"contains_any,omitempty"`
	// prefix specifies that this field must not be contains the specified any value.
	NotContainsAny *string `protobuf:"bytes,48,opt,name=not_contains_any,json=notContainsAny,proto3,oneof" json:"not_contains_any,omitempty"`
	// utf8 specifies that the field must be utf8 codec string.
	Utf8 *bool `protobuf:"varint,81,opt,name=utf8,proto3,oneof" json:"utf8,omitempty"`
	// ascii specifies that the field must be a ASCII characters string.
	Ascii *bool `protobuf:"varint,71,opt,name=ascii,proto3,oneof" json:"ascii,omitempty"`
	// print_ascii specifies that the field must be a printable ASCII string.
	PrintAscii *bool `protobuf:"varint,72,opt,name=print_ascii,json=printAscii,proto3,oneof" json:"print_ascii,omitempty"`
	// boolean specifies that the field must be a boolean string.
	Boolean *bool `protobuf:"varint,73,opt,name=boolean,proto3,oneof" json:"boolean,omitempty"`
	// lowercase specifies that the field must be a lowercase string.
	Lowercase *bool `protobuf:"varint,74,opt,name=lowercase,proto3,oneof" json:"lowercase,omitempty"`
	// uppercase specifies that the field must be a uppercase string.
	Uppercase *bool `protobuf:"varint,75,opt,name=uppercase,proto3,oneof" json:"uppercase,omitempty"`
	// alpha specifies that the field must be a alpha characters string.
	Alpha *bool `protobuf:"varint,76,opt,name=alpha,proto3,oneof" json:"alpha,omitempty"` // a ~ z and A ~ Z
	// number specifies that the field must be a number characters string.
	Number *bool `protobuf:"varint,77,opt,name=number,proto3,oneof" json:"number,omitempty"` // 0 ~ 9
	// alpha_number specifies that the field must be a alphanumeric characters string.
	AlphaNumber *bool `protobuf:"varint,78,opt,name=alpha_number,json=alphaNumber,proto3,oneof" json:"alpha_number,omitempty"` // 0 ~ 9, a ~ z and A ~ Z
	// ip specifies that the field must be a valid IP (v4 or v6) address.
	Ip *bool `protobuf:"varint,101,opt,name=ip,proto3,oneof" json:"ip,omitempty"`
	// ipv4 specifies that the field must be a valid IPv4 address.
	Ipv4 *bool `protobuf:"varint,102,opt,name=ipv4,proto3,oneof" json:"ipv4,omitempty"`
	// ipv6 specifies that the field must be a valid IPv6 address.
	Ipv6 *bool `protobuf:"varint,103,opt,name=ipv6,proto3,oneof" json:"ipv6,omitempty"`
	// ip_addr specifies that the field must be a resolvable IP address.
	IpAddr *bool `protobuf:"varint,104,opt,name=ip_addr,json=ipAddr,proto3,oneof" json:"ip_addr,omitempty"`
	// ip4_addr specifies that the field must be a resolvable Ipv4 address.
	Ip4Addr *bool `protobuf:"varint,105,opt,name=ip4_addr,json=ip4Addr,proto3,oneof" json:"ip4_addr,omitempty"`
	// ip6_addr specifies that the field must be a resolvable Ipv6 address.
	Ip6Addr *bool `protobuf:"varint,106,opt,name=ip6_addr,json=ip6Addr,proto3,oneof" json:"ip6_addr,omitempty"`
	// cidr specifies that the field must be a valid CIDR notation.
	Cidr *bool `protobuf:"varint,107,opt,name=cidr,proto3,oneof" json:"cidr,omitempty"`
	// cidrv4 specifies that the field must be a valid CIDR notation for an IPv4 address.
	Cidrv4 *bool `protobuf:"varint,108,opt,name=cidrv4,proto3,oneof" json:"cidrv4,omitempty"`
	// cidrv6 specifies that the field must be a valid CIDR notation for an IPv6 address.
	Cidrv6 *bool `protobuf:"varint,109,opt,name=cidrv6,proto3,oneof" json:"cidrv6,omitempty"`
	// tcp_addr specifies that the field must be a valid TCP address.
	TcpAddr *bool `protobuf:"varint,111,opt,name=tcp_addr,json=tcpAddr,proto3,oneof" json:"tcp_addr,omitempty"`
	// tcp4_addr specifies that the field must be a valid IPv4 TCP address.
	Tcp4Addr *bool `protobuf:"varint,112,opt,name=tcp4_addr,json=tcp4Addr,proto3,oneof" json:"tcp4_addr,omitempty"`
	// tcp6_addr specifies that the field must be a valid IPv6 TCP address.
	Tcp6Addr *bool `protobuf:"varint,113,opt,name=tcp6_addr,json=tcp6Addr,proto3,oneof" json:"tcp6_addr,omitempty"`
	// udp_addr specifies that the field must be a valid UDP address.
	UdpAddr *bool `protobuf:"varint,114,opt,name=udp_addr,json=udpAddr,proto3,oneof" json:"udp_addr,omitempty"`
	// udp4_addr specifies that the field must be a valid UDP v4 address.
	Udp4Addr *bool `protobuf:"varint,115,opt,name=udp4_addr,json=udp4Addr,proto3,oneof" json:"udp4_addr,omitempty"`
	// udp6_addr specifies that the field must be a valid UDP v6 address.
	Udp6Addr *bool `protobuf:"varint,116,opt,name=udp6_addr,json=udp6Addr,proto3,oneof" json:"udp6_addr,omitempty"`
	// mac specifies that the field must be a valid MAC address.
	Mac *bool `protobuf:"varint,110,opt,name=mac,proto3,oneof" json:"mac,omitempty"`
	// unix_addr specifies that the field must be a valid UNIX address.
	UnixAddr *bool `protobuf:"varint,117,opt,name=unix_addr,json=unixAddr,proto3,oneof" json:"unix_addr,omitempty"`
	// hostname specified that the field must be valid hostname as defined by RFC 952.
	Hostname *bool `protobuf:"varint,118,opt,name=hostname,proto3,oneof" json:"hostname,omitempty"`
	// hostname specified that the field must be valid hostname as defined by RFC 1123.
	HostnameRfc1123 *bool `protobuf:"varint,119,opt,name=hostname_rfc1123,json=hostnameRfc1123,proto3,oneof" json:"hostname_rfc1123,omitempty"`
	// hostname_port specifies that the field must be a string format with hostname and port.
	HostnamePort *bool `protobuf:"varint,120,opt,name=hostname_port,json=hostnamePort,proto3,oneof" json:"hostname_port,omitempty"`
	// data_uri specifies that the field must be a string in DATA URI format.
	DataUri *bool `protobuf:"varint,121,opt,name=data_uri,json=dataUri,proto3,oneof" json:"data_uri,omitempty"`
	// fqdn specifies that the field must be a string in FQDN format.
	Fqdn *bool `protobuf:"varint,122,opt,name=fqdn,proto3,oneof" json:"fqdn,omitempty"`
	// uri specifies that the field must be a string in URI format.
	Uri *bool `protobuf:"varint,123,opt,name=uri,proto3,oneof" json:"uri,omitempty"`
	// url specifies that the field must be a string in URL format.
	Url *bool `protobuf:"varint,124,opt,name=url,proto3,oneof" json:"url,omitempty"`
	// url_encoded specifies that the field must be a string in URL encoded format.
	UrlEncoded *bool `protobuf:"varint,125,opt,name=url_encoded,json=urlEncoded,proto3,oneof" json:"url_encoded,omitempty"`
	// unix_cron specifies the field must be a valid standard UNIX-Style crontab expression.
	UnixCron *bool `protobuf:"varint,80,opt,name=unix_cron,json=unixCron,proto3,oneof" json:"unix_cron,omitempty"`
	// email specifies that the field must be a valid email address as defined by RFC 5322.
	Email *bool `protobuf:"varint,140,opt,name=email,proto3,oneof" json:"email,omitempty"`
	// json specifies that the field must be a string in JSON format.
	Json *bool `protobuf:"varint,141,opt,name=json,proto3,oneof" json:"json,omitempty"`
	// jwt specifies that the field must be a string in JWT format.
	Jwt *bool `protobuf:"varint,142,opt,name=jwt,proto3,oneof" json:"jwt,omitempty"`
	// html specifies that the field must be a string in HTML format.
	Html *bool `protobuf:"varint,143,opt,name=html,proto3,oneof" json:"html,omitempty"`
	// html_encoded specifies that the field must be a string in HTML encoded format.
	HtmlEncoded *bool `protobuf:"varint,144,opt,name=html_encoded,json=htmlEncoded,proto3,oneof" json:"html_encoded,omitempty"`
	// base64 specifies that the field must be a string in BASE64 format.
	Base64 *bool `protobuf:"varint,145,opt,name=base64,proto3,oneof" json:"base64,omitempty"`
	// base64_url specifies that the field must be a string in BASE64 URL format.
	Base64Url *bool `protobuf:"varint,146,opt,name=base64_url,json=base64Url,proto3,oneof" json:"base64_url,omitempty"`
	// hexadecimal specifies that the field must be a string in hexadecimal format.
	Hexadecimal *bool `protobuf:"varint,147,opt,name=hexadecimal,proto3,oneof" json:"hexadecimal,omitempty"`
	// datetime specifies that the field must be format with specified datetime layout.
	Datetime *string `protobuf:"bytes,148,opt,name=datetime,proto3,oneof" json:"datetime,omitempty"`
	// timezone specifies that the field must be a valid timezone.
	Timezone *bool `protobuf:"varint,149,opt,name=timezone,proto3,oneof" json:"timezone,omitempty"`
	// uuid specifies that the field must be a valid UUID.
	Uuid *bool `protobuf:"varint,150,opt,name=uuid,proto3,oneof" json:"uuid,omitempty"` // RFC4122
	// uuid1 specifies that the field must be a valid version 1 UUID.
	Uuid1 *bool `protobuf:"varint,151,opt,name=uuid1,proto3,oneof" json:"uuid1,omitempty"` // RFC4122
	// uuid3 specifies that the field must be a valid version 3 UUID.
	Uuid3 *bool `protobuf:"varint,152,opt,name=uuid3,proto3,oneof" json:"uuid3,omitempty"` // RFC4122
	// uuid4 specifies that the field must be a valid version 4 UUID.
	Uuid4 *bool `protobuf:"varint,153,opt,name=uuid4,proto3,oneof" json:"uuid4,omitempty"` // RFC4122
	// uuid5 specifies that the field must be a valid version 5 UUID.
	Uuid5 *bool `protobuf:"varint,154,opt,name=uuid5,proto3,oneof" json:"uuid5,omitempty"` // RFC4122
	// contains filtered or unexported fields
}

StringOptions describe the constraints applied to the values type of `string`.

func (*StringTags) Descriptor deprecated

func (*StringTags) Descriptor() ([]byte, []int)

Deprecated: Use StringTags.ProtoReflect.Descriptor instead.

func (*StringTags) GetAlpha

func (x *StringTags) GetAlpha() bool

func (*StringTags) GetAlphaNumber

func (x *StringTags) GetAlphaNumber() bool

func (*StringTags) GetAscii

func (x *StringTags) GetAscii() bool

func (*StringTags) GetBase64

func (x *StringTags) GetBase64() bool

func (*StringTags) GetBase64Url

func (x *StringTags) GetBase64Url() bool

func (*StringTags) GetBoolean

func (x *StringTags) GetBoolean() bool

func (*StringTags) GetByteLenEq

func (x *StringTags) GetByteLenEq() int64

func (*StringTags) GetByteLenGt

func (x *StringTags) GetByteLenGt() int64

func (*StringTags) GetByteLenGte

func (x *StringTags) GetByteLenGte() int64

func (*StringTags) GetByteLenLt

func (x *StringTags) GetByteLenLt() int64

func (*StringTags) GetByteLenLte

func (x *StringTags) GetByteLenLte() int64

func (*StringTags) GetByteLenNe

func (x *StringTags) GetByteLenNe() int64

func (*StringTags) GetCharLenEq

func (x *StringTags) GetCharLenEq() int64

func (*StringTags) GetCharLenGt

func (x *StringTags) GetCharLenGt() int64

func (*StringTags) GetCharLenGte

func (x *StringTags) GetCharLenGte() int64

func (*StringTags) GetCharLenLt

func (x *StringTags) GetCharLenLt() int64

func (*StringTags) GetCharLenLte

func (x *StringTags) GetCharLenLte() int64

func (*StringTags) GetCharLenNe

func (x *StringTags) GetCharLenNe() int64

func (*StringTags) GetCidr

func (x *StringTags) GetCidr() bool

func (*StringTags) GetCidrv4

func (x *StringTags) GetCidrv4() bool

func (*StringTags) GetCidrv6

func (x *StringTags) GetCidrv6() bool

func (*StringTags) GetContains

func (x *StringTags) GetContains() string

func (*StringTags) GetContainsAny

func (x *StringTags) GetContainsAny() string

func (*StringTags) GetDataUri

func (x *StringTags) GetDataUri() bool

func (*StringTags) GetDatetime

func (x *StringTags) GetDatetime() string

func (*StringTags) GetEmail

func (x *StringTags) GetEmail() bool

func (*StringTags) GetEq

func (x *StringTags) GetEq() string

func (*StringTags) GetFqdn

func (x *StringTags) GetFqdn() bool

func (*StringTags) GetGt

func (x *StringTags) GetGt() string

func (*StringTags) GetGte

func (x *StringTags) GetGte() string

func (*StringTags) GetHexadecimal

func (x *StringTags) GetHexadecimal() bool

func (*StringTags) GetHostname

func (x *StringTags) GetHostname() bool

func (*StringTags) GetHostnamePort

func (x *StringTags) GetHostnamePort() bool

func (*StringTags) GetHostnameRfc1123

func (x *StringTags) GetHostnameRfc1123() bool

func (*StringTags) GetHtml

func (x *StringTags) GetHtml() bool

func (*StringTags) GetHtmlEncoded

func (x *StringTags) GetHtmlEncoded() bool

func (*StringTags) GetIn

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

func (*StringTags) GetIp

func (x *StringTags) GetIp() bool

func (*StringTags) GetIp4Addr

func (x *StringTags) GetIp4Addr() bool

func (*StringTags) GetIp6Addr

func (x *StringTags) GetIp6Addr() bool

func (*StringTags) GetIpAddr

func (x *StringTags) GetIpAddr() bool

func (*StringTags) GetIpv4

func (x *StringTags) GetIpv4() bool

func (*StringTags) GetIpv6

func (x *StringTags) GetIpv6() bool

func (*StringTags) GetJson

func (x *StringTags) GetJson() bool

func (*StringTags) GetJwt

func (x *StringTags) GetJwt() bool

func (*StringTags) GetLowercase

func (x *StringTags) GetLowercase() bool

func (*StringTags) GetLt

func (x *StringTags) GetLt() string

func (*StringTags) GetLte

func (x *StringTags) GetLte() string

func (*StringTags) GetMac

func (x *StringTags) GetMac() bool

func (*StringTags) GetNe

func (x *StringTags) GetNe() string

func (*StringTags) GetNoPrefix

func (x *StringTags) GetNoPrefix() string

func (*StringTags) GetNoSuffix

func (x *StringTags) GetNoSuffix() string

func (*StringTags) GetNotContains

func (x *StringTags) GetNotContains() string

func (*StringTags) GetNotContainsAny

func (x *StringTags) GetNotContainsAny() string

func (*StringTags) GetNotIn

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

func (*StringTags) GetNumber

func (x *StringTags) GetNumber() bool

func (*StringTags) GetPrefix

func (x *StringTags) GetPrefix() string

func (*StringTags) GetPrintAscii

func (x *StringTags) GetPrintAscii() bool

func (*StringTags) GetRegex

func (x *StringTags) GetRegex() string

func (*StringTags) GetSuffix

func (x *StringTags) GetSuffix() string

func (*StringTags) GetTcp4Addr

func (x *StringTags) GetTcp4Addr() bool

func (*StringTags) GetTcp6Addr

func (x *StringTags) GetTcp6Addr() bool

func (*StringTags) GetTcpAddr

func (x *StringTags) GetTcpAddr() bool

func (*StringTags) GetTimezone

func (x *StringTags) GetTimezone() bool

func (*StringTags) GetUdp4Addr

func (x *StringTags) GetUdp4Addr() bool

func (*StringTags) GetUdp6Addr

func (x *StringTags) GetUdp6Addr() bool

func (*StringTags) GetUdpAddr

func (x *StringTags) GetUdpAddr() bool

func (*StringTags) GetUnixAddr

func (x *StringTags) GetUnixAddr() bool

func (*StringTags) GetUnixCron

func (x *StringTags) GetUnixCron() bool

func (*StringTags) GetUppercase

func (x *StringTags) GetUppercase() bool

func (*StringTags) GetUri

func (x *StringTags) GetUri() bool

func (*StringTags) GetUrl

func (x *StringTags) GetUrl() bool

func (*StringTags) GetUrlEncoded

func (x *StringTags) GetUrlEncoded() bool

func (*StringTags) GetUtf8

func (x *StringTags) GetUtf8() bool

func (*StringTags) GetUuid

func (x *StringTags) GetUuid() bool

func (*StringTags) GetUuid1

func (x *StringTags) GetUuid1() bool

func (*StringTags) GetUuid3

func (x *StringTags) GetUuid3() bool

func (*StringTags) GetUuid4

func (x *StringTags) GetUuid4() bool

func (*StringTags) GetUuid5

func (x *StringTags) GetUuid5() bool

func (*StringTags) ProtoMessage

func (*StringTags) ProtoMessage()

func (*StringTags) ProtoReflect

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

func (*StringTags) Reset

func (x *StringTags) Reset()

func (*StringTags) String

func (x *StringTags) String() string

type TagOptions

type TagOptions struct {

	// Types that are assignable to Kind:
	//	*TagOptions_Oneof
	//	*TagOptions_Float
	//	*TagOptions_Int
	//	*TagOptions_Uint
	//	*TagOptions_String_
	//	*TagOptions_Bytes
	//	*TagOptions_Bool
	//	*TagOptions_Enum
	//	*TagOptions_Message
	//	*TagOptions_Repeated
	//	*TagOptions_Map
	Kind isTagOptions_Kind `protobuf_oneof:"kind"`
	// contains filtered or unexported fields
}

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

func (*TagOptions) Descriptor deprecated

func (*TagOptions) Descriptor() ([]byte, []int)

Deprecated: Use TagOptions.ProtoReflect.Descriptor instead.

func (*TagOptions) GetBool

func (x *TagOptions) GetBool() *BoolTags

func (*TagOptions) GetBytes

func (x *TagOptions) GetBytes() *BytesTags

func (*TagOptions) GetEnum

func (x *TagOptions) GetEnum() *EnumTags

func (*TagOptions) GetFloat

func (x *TagOptions) GetFloat() *FloatTags

func (*TagOptions) GetInt

func (x *TagOptions) GetInt() *IntTags

func (*TagOptions) GetKind

func (m *TagOptions) GetKind() isTagOptions_Kind

func (*TagOptions) GetMap

func (x *TagOptions) GetMap() *MapTags

func (*TagOptions) GetMessage

func (x *TagOptions) GetMessage() *MessageTags

func (*TagOptions) GetOneof

func (x *TagOptions) GetOneof() *OneOfTags

func (*TagOptions) GetRepeated

func (x *TagOptions) GetRepeated() *RepeatedTags

func (*TagOptions) GetString_

func (x *TagOptions) GetString_() *StringTags

func (*TagOptions) GetUint

func (x *TagOptions) GetUint() *UintTags

func (*TagOptions) ProtoMessage

func (*TagOptions) ProtoMessage()

func (*TagOptions) ProtoReflect

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

func (*TagOptions) Reset

func (x *TagOptions) Reset()

func (*TagOptions) String

func (x *TagOptions) String() string

type TagOptions_Bool

type TagOptions_Bool struct {
	Bool *BoolTags `protobuf:"bytes,26,opt,name=bool,proto3,oneof"`
}

type TagOptions_Bytes

type TagOptions_Bytes struct {
	Bytes *BytesTags `protobuf:"bytes,25,opt,name=bytes,proto3,oneof"`
}

type TagOptions_Enum

type TagOptions_Enum struct {
	Enum *EnumTags `protobuf:"bytes,27,opt,name=enum,proto3,oneof"`
}

type TagOptions_Float

type TagOptions_Float struct {
	// Basic Field Types
	Float *FloatTags `protobuf:"bytes,21,opt,name=float,proto3,oneof"`
}

type TagOptions_Int

type TagOptions_Int struct {
	Int *IntTags `protobuf:"bytes,22,opt,name=int,proto3,oneof"`
}

type TagOptions_Map

type TagOptions_Map struct {
	Map *MapTags `protobuf:"bytes,30,opt,name=map,proto3,oneof"`
}

type TagOptions_Message

type TagOptions_Message struct {
	// Complex Field Types
	Message *MessageTags `protobuf:"bytes,28,opt,name=message,proto3,oneof"`
}

type TagOptions_Oneof

type TagOptions_Oneof struct {
	// OneOf Field types
	Oneof *OneOfTags `protobuf:"bytes,20,opt,name=oneof,proto3,oneof"`
}

type TagOptions_Repeated

type TagOptions_Repeated struct {
	Repeated *RepeatedTags `protobuf:"bytes,29,opt,name=repeated,proto3,oneof"`
}

type TagOptions_String_

type TagOptions_String_ struct {
	String_ *StringTags `protobuf:"bytes,24,opt,name=string,proto3,oneof"`
}

type TagOptions_Uint

type TagOptions_Uint struct {
	Uint *UintTags `protobuf:"bytes,23,opt,name=uint,proto3,oneof"`
}

type UintTags

type UintTags struct {

	// eq specifies that this field must be equal to the specified value.
	Eq *uint64 `protobuf:"varint,3,opt,name=eq,proto3,oneof" json:"eq,omitempty"`
	// ne specifies that this field must be not equal to the specified value.
	Ne *uint64 `protobuf:"varint,4,opt,name=ne,proto3,oneof" json:"ne,omitempty"`
	// lt specifies that this field must be less than the specified value.
	Lt *uint64 `protobuf:"varint,5,opt,name=lt,proto3,oneof" json:"lt,omitempty"`
	// gt specifies that this field must be greater than the specified value.
	Gt *uint64 `protobuf:"varint,6,opt,name=gt,proto3,oneof" json:"gt,omitempty"`
	// lte specifies that this field must be less than or equal to the specified value.
	Lte *uint64 `protobuf:"varint,7,opt,name=lte,proto3,oneof" json:"lte,omitempty"`
	// gte specifies that this field must be greater than or equal to the specified value.
	Gte *uint64 `protobuf:"varint,8,opt,name=gte,proto3,oneof" json:"gte,omitempty"`
	// in specifies that this field must be in the specified value lists.
	In []uint64 `protobuf:"varint,9,rep,packed,name=in,proto3" json:"in,omitempty"`
	// not_in specifies that this field must not be in the specified value lists.
	NotIn []uint64 `protobuf:"varint,10,rep,packed,name=not_in,json=notIn,proto3" json:"not_in,omitempty"`
	// contains filtered or unexported fields
}

UintOptions describe the constraints applied to the values type of `uint32`, `uint64`, `fixed32`, `fixed64`.

func (*UintTags) Descriptor deprecated

func (*UintTags) Descriptor() ([]byte, []int)

Deprecated: Use UintTags.ProtoReflect.Descriptor instead.

func (*UintTags) GetEq

func (x *UintTags) GetEq() uint64

func (*UintTags) GetGt

func (x *UintTags) GetGt() uint64

func (*UintTags) GetGte

func (x *UintTags) GetGte() uint64

func (*UintTags) GetIn

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

func (*UintTags) GetLt

func (x *UintTags) GetLt() uint64

func (*UintTags) GetLte

func (x *UintTags) GetLte() uint64

func (*UintTags) GetNe

func (x *UintTags) GetNe() uint64

func (*UintTags) GetNotIn

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

func (*UintTags) ProtoMessage

func (*UintTags) ProtoMessage()

func (*UintTags) ProtoReflect

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

func (*UintTags) Reset

func (x *UintTags) Reset()

func (*UintTags) String

func (x *UintTags) String() string

type ValidOptions

type ValidOptions struct {
	CheckIf *CheckIf    `protobuf:"bytes,1,opt,name=check_if,json=checkIf,proto3" json:"check_if,omitempty"`
	Tags    *TagOptions `protobuf:"bytes,2,opt,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidOptions) Descriptor deprecated

func (*ValidOptions) Descriptor() ([]byte, []int)

Deprecated: Use ValidOptions.ProtoReflect.Descriptor instead.

func (*ValidOptions) GetCheckIf

func (x *ValidOptions) GetCheckIf() *CheckIf

func (*ValidOptions) GetTags

func (x *ValidOptions) GetTags() *TagOptions

func (*ValidOptions) ProtoMessage

func (*ValidOptions) ProtoMessage()

func (*ValidOptions) ProtoReflect

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

func (*ValidOptions) Reset

func (x *ValidOptions) Reset()

func (*ValidOptions) String

func (x *ValidOptions) String() string

Jump to

Keyboard shortcuts

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