Documentation ¶
Index ¶
- Variables
- type AnyRules
- func (*AnyRules) Descriptor() ([]byte, []int)
- func (m *AnyRules) GetIn() []string
- func (m *AnyRules) GetNotIn() []string
- func (m *AnyRules) GetRequired() bool
- func (*AnyRules) ProtoMessage()
- func (m *AnyRules) Reset()
- func (m *AnyRules) String() string
- func (m *AnyRules) XXX_DiscardUnknown()
- func (m *AnyRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AnyRules) XXX_Merge(src proto.Message)
- func (m *AnyRules) XXX_Size() int
- func (m *AnyRules) XXX_Unmarshal(b []byte) error
- type BoolRules
- func (*BoolRules) Descriptor() ([]byte, []int)
- func (m *BoolRules) GetConst() bool
- func (*BoolRules) ProtoMessage()
- func (m *BoolRules) Reset()
- func (m *BoolRules) String() string
- func (m *BoolRules) XXX_DiscardUnknown()
- func (m *BoolRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BoolRules) XXX_Merge(src proto.Message)
- func (m *BoolRules) XXX_Size() int
- func (m *BoolRules) XXX_Unmarshal(b []byte) error
- type BytesRules
- func (*BytesRules) Descriptor() ([]byte, []int)
- func (m *BytesRules) GetConst() []byte
- func (m *BytesRules) GetContains() []byte
- func (m *BytesRules) GetIn() [][]byte
- func (m *BytesRules) GetIp() bool
- func (m *BytesRules) GetIpv4() bool
- func (m *BytesRules) GetIpv6() bool
- func (m *BytesRules) GetLen() uint64
- func (m *BytesRules) GetMaxLen() uint64
- func (m *BytesRules) GetMinLen() uint64
- func (m *BytesRules) GetNotIn() [][]byte
- func (m *BytesRules) GetPattern() string
- func (m *BytesRules) GetPrefix() []byte
- func (m *BytesRules) GetSuffix() []byte
- func (m *BytesRules) GetWellKnown() isBytesRules_WellKnown
- func (*BytesRules) ProtoMessage()
- func (m *BytesRules) Reset()
- func (m *BytesRules) String() string
- func (m *BytesRules) XXX_DiscardUnknown()
- func (m *BytesRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BytesRules) XXX_Merge(src proto.Message)
- func (*BytesRules) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *BytesRules) XXX_Size() int
- func (m *BytesRules) XXX_Unmarshal(b []byte) error
- type BytesRules_Ip
- type BytesRules_Ipv4
- type BytesRules_Ipv6
- type DoubleRules
- func (*DoubleRules) Descriptor() ([]byte, []int)
- func (m *DoubleRules) GetConst() float64
- func (m *DoubleRules) GetGt() float64
- func (m *DoubleRules) GetGte() float64
- func (m *DoubleRules) GetIn() []float64
- func (m *DoubleRules) GetLt() float64
- func (m *DoubleRules) GetLte() float64
- func (m *DoubleRules) GetNotIn() []float64
- func (*DoubleRules) ProtoMessage()
- func (m *DoubleRules) Reset()
- func (m *DoubleRules) String() string
- func (m *DoubleRules) XXX_DiscardUnknown()
- func (m *DoubleRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DoubleRules) XXX_Merge(src proto.Message)
- func (m *DoubleRules) XXX_Size() int
- func (m *DoubleRules) XXX_Unmarshal(b []byte) error
- type DurationRules
- func (*DurationRules) Descriptor() ([]byte, []int)
- func (m *DurationRules) GetConst() *duration.Duration
- func (m *DurationRules) GetGt() *duration.Duration
- func (m *DurationRules) GetGte() *duration.Duration
- func (m *DurationRules) GetIn() []*duration.Duration
- func (m *DurationRules) GetLt() *duration.Duration
- func (m *DurationRules) GetLte() *duration.Duration
- func (m *DurationRules) GetNotIn() []*duration.Duration
- func (m *DurationRules) GetRequired() bool
- func (*DurationRules) ProtoMessage()
- func (m *DurationRules) Reset()
- func (m *DurationRules) String() string
- func (m *DurationRules) XXX_DiscardUnknown()
- func (m *DurationRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DurationRules) XXX_Merge(src proto.Message)
- func (m *DurationRules) XXX_Size() int
- func (m *DurationRules) XXX_Unmarshal(b []byte) error
- type EnumRules
- func (*EnumRules) Descriptor() ([]byte, []int)
- func (m *EnumRules) GetConst() int32
- func (m *EnumRules) GetDefinedOnly() bool
- func (m *EnumRules) GetIn() []int32
- func (m *EnumRules) GetNotIn() []int32
- func (*EnumRules) ProtoMessage()
- func (m *EnumRules) Reset()
- func (m *EnumRules) String() string
- func (m *EnumRules) XXX_DiscardUnknown()
- func (m *EnumRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *EnumRules) XXX_Merge(src proto.Message)
- func (m *EnumRules) XXX_Size() int
- func (m *EnumRules) XXX_Unmarshal(b []byte) error
- type FieldRules
- func (*FieldRules) Descriptor() ([]byte, []int)
- func (m *FieldRules) GetAny() *AnyRules
- func (m *FieldRules) GetBool() *BoolRules
- func (m *FieldRules) GetBytes() *BytesRules
- func (m *FieldRules) GetDouble() *DoubleRules
- func (m *FieldRules) GetDuration() *DurationRules
- func (m *FieldRules) GetEnum() *EnumRules
- func (m *FieldRules) GetFixed32() *Fixed32Rules
- func (m *FieldRules) GetFixed64() *Fixed64Rules
- func (m *FieldRules) GetFloat() *FloatRules
- func (m *FieldRules) GetInt32() *Int32Rules
- func (m *FieldRules) GetInt64() *Int64Rules
- func (m *FieldRules) GetMap() *MapRules
- func (m *FieldRules) GetMessage() *MessageRules
- func (m *FieldRules) GetRepeated() *RepeatedRules
- func (m *FieldRules) GetSfixed32() *SFixed32Rules
- func (m *FieldRules) GetSfixed64() *SFixed64Rules
- func (m *FieldRules) GetSint32() *SInt32Rules
- func (m *FieldRules) GetSint64() *SInt64Rules
- func (m *FieldRules) GetString_() *StringRules
- func (m *FieldRules) GetTimestamp() *TimestampRules
- func (m *FieldRules) GetType() isFieldRules_Type
- func (m *FieldRules) GetUint32() *UInt32Rules
- func (m *FieldRules) GetUint64() *UInt64Rules
- func (*FieldRules) ProtoMessage()
- func (m *FieldRules) Reset()
- func (m *FieldRules) String() string
- func (m *FieldRules) XXX_DiscardUnknown()
- func (m *FieldRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FieldRules) XXX_Merge(src proto.Message)
- func (*FieldRules) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *FieldRules) XXX_Size() int
- func (m *FieldRules) XXX_Unmarshal(b []byte) error
- type FieldRules_Any
- type FieldRules_Bool
- type FieldRules_Bytes
- type FieldRules_Double
- type FieldRules_Duration
- type FieldRules_Enum
- type FieldRules_Fixed32
- type FieldRules_Fixed64
- type FieldRules_Float
- type FieldRules_Int32
- type FieldRules_Int64
- type FieldRules_Map
- type FieldRules_Message
- type FieldRules_Repeated
- type FieldRules_Sfixed32
- type FieldRules_Sfixed64
- type FieldRules_Sint32
- type FieldRules_Sint64
- type FieldRules_String_
- type FieldRules_Timestamp
- type FieldRules_Uint32
- type FieldRules_Uint64
- type Fixed32Rules
- func (*Fixed32Rules) Descriptor() ([]byte, []int)
- func (m *Fixed32Rules) GetConst() uint32
- func (m *Fixed32Rules) GetGt() uint32
- func (m *Fixed32Rules) GetGte() uint32
- func (m *Fixed32Rules) GetIn() []uint32
- func (m *Fixed32Rules) GetLt() uint32
- func (m *Fixed32Rules) GetLte() uint32
- func (m *Fixed32Rules) GetNotIn() []uint32
- func (*Fixed32Rules) ProtoMessage()
- func (m *Fixed32Rules) Reset()
- func (m *Fixed32Rules) String() string
- func (m *Fixed32Rules) XXX_DiscardUnknown()
- func (m *Fixed32Rules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Fixed32Rules) XXX_Merge(src proto.Message)
- func (m *Fixed32Rules) XXX_Size() int
- func (m *Fixed32Rules) XXX_Unmarshal(b []byte) error
- type Fixed64Rules
- func (*Fixed64Rules) Descriptor() ([]byte, []int)
- func (m *Fixed64Rules) GetConst() uint64
- func (m *Fixed64Rules) GetGt() uint64
- func (m *Fixed64Rules) GetGte() uint64
- func (m *Fixed64Rules) GetIn() []uint64
- func (m *Fixed64Rules) GetLt() uint64
- func (m *Fixed64Rules) GetLte() uint64
- func (m *Fixed64Rules) GetNotIn() []uint64
- func (*Fixed64Rules) ProtoMessage()
- func (m *Fixed64Rules) Reset()
- func (m *Fixed64Rules) String() string
- func (m *Fixed64Rules) XXX_DiscardUnknown()
- func (m *Fixed64Rules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Fixed64Rules) XXX_Merge(src proto.Message)
- func (m *Fixed64Rules) XXX_Size() int
- func (m *Fixed64Rules) XXX_Unmarshal(b []byte) error
- type FloatRules
- func (*FloatRules) Descriptor() ([]byte, []int)
- func (m *FloatRules) GetConst() float32
- func (m *FloatRules) GetGt() float32
- func (m *FloatRules) GetGte() float32
- func (m *FloatRules) GetIn() []float32
- func (m *FloatRules) GetLt() float32
- func (m *FloatRules) GetLte() float32
- func (m *FloatRules) GetNotIn() []float32
- func (*FloatRules) ProtoMessage()
- func (m *FloatRules) Reset()
- func (m *FloatRules) String() string
- func (m *FloatRules) XXX_DiscardUnknown()
- func (m *FloatRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FloatRules) XXX_Merge(src proto.Message)
- func (m *FloatRules) XXX_Size() int
- func (m *FloatRules) XXX_Unmarshal(b []byte) error
- type Int32Rules
- func (*Int32Rules) Descriptor() ([]byte, []int)
- func (m *Int32Rules) GetConst() int32
- func (m *Int32Rules) GetGt() int32
- func (m *Int32Rules) GetGte() int32
- func (m *Int32Rules) GetIn() []int32
- func (m *Int32Rules) GetLt() int32
- func (m *Int32Rules) GetLte() int32
- func (m *Int32Rules) GetNotIn() []int32
- func (*Int32Rules) ProtoMessage()
- func (m *Int32Rules) Reset()
- func (m *Int32Rules) String() string
- func (m *Int32Rules) XXX_DiscardUnknown()
- func (m *Int32Rules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Int32Rules) XXX_Merge(src proto.Message)
- func (m *Int32Rules) XXX_Size() int
- func (m *Int32Rules) XXX_Unmarshal(b []byte) error
- type Int64Rules
- func (*Int64Rules) Descriptor() ([]byte, []int)
- func (m *Int64Rules) GetConst() int64
- func (m *Int64Rules) GetGt() int64
- func (m *Int64Rules) GetGte() int64
- func (m *Int64Rules) GetIn() []int64
- func (m *Int64Rules) GetLt() int64
- func (m *Int64Rules) GetLte() int64
- func (m *Int64Rules) GetNotIn() []int64
- func (*Int64Rules) ProtoMessage()
- func (m *Int64Rules) Reset()
- func (m *Int64Rules) String() string
- func (m *Int64Rules) XXX_DiscardUnknown()
- func (m *Int64Rules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Int64Rules) XXX_Merge(src proto.Message)
- func (m *Int64Rules) XXX_Size() int
- func (m *Int64Rules) XXX_Unmarshal(b []byte) error
- type MapRules
- func (*MapRules) Descriptor() ([]byte, []int)
- func (m *MapRules) GetKeys() *FieldRules
- func (m *MapRules) GetMaxPairs() uint64
- func (m *MapRules) GetMinPairs() uint64
- func (m *MapRules) GetNoSparse() bool
- func (m *MapRules) GetValues() *FieldRules
- func (*MapRules) ProtoMessage()
- func (m *MapRules) Reset()
- func (m *MapRules) String() string
- func (m *MapRules) XXX_DiscardUnknown()
- func (m *MapRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *MapRules) XXX_Merge(src proto.Message)
- func (m *MapRules) XXX_Size() int
- func (m *MapRules) XXX_Unmarshal(b []byte) error
- type MessageRules
- func (*MessageRules) Descriptor() ([]byte, []int)
- func (m *MessageRules) GetRequired() bool
- func (m *MessageRules) GetSkip() bool
- func (*MessageRules) ProtoMessage()
- func (m *MessageRules) Reset()
- func (m *MessageRules) String() string
- func (m *MessageRules) XXX_DiscardUnknown()
- func (m *MessageRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *MessageRules) XXX_Merge(src proto.Message)
- func (m *MessageRules) XXX_Size() int
- func (m *MessageRules) XXX_Unmarshal(b []byte) error
- type RepeatedRules
- func (*RepeatedRules) Descriptor() ([]byte, []int)
- func (m *RepeatedRules) GetItems() *FieldRules
- func (m *RepeatedRules) GetMaxItems() uint64
- func (m *RepeatedRules) GetMinItems() uint64
- func (m *RepeatedRules) GetUnique() bool
- func (*RepeatedRules) ProtoMessage()
- func (m *RepeatedRules) Reset()
- func (m *RepeatedRules) String() string
- func (m *RepeatedRules) XXX_DiscardUnknown()
- func (m *RepeatedRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RepeatedRules) XXX_Merge(src proto.Message)
- func (m *RepeatedRules) XXX_Size() int
- func (m *RepeatedRules) XXX_Unmarshal(b []byte) error
- type SFixed32Rules
- func (*SFixed32Rules) Descriptor() ([]byte, []int)
- func (m *SFixed32Rules) GetConst() int32
- func (m *SFixed32Rules) GetGt() int32
- func (m *SFixed32Rules) GetGte() int32
- func (m *SFixed32Rules) GetIn() []int32
- func (m *SFixed32Rules) GetLt() int32
- func (m *SFixed32Rules) GetLte() int32
- func (m *SFixed32Rules) GetNotIn() []int32
- func (*SFixed32Rules) ProtoMessage()
- func (m *SFixed32Rules) Reset()
- func (m *SFixed32Rules) String() string
- func (m *SFixed32Rules) XXX_DiscardUnknown()
- func (m *SFixed32Rules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SFixed32Rules) XXX_Merge(src proto.Message)
- func (m *SFixed32Rules) XXX_Size() int
- func (m *SFixed32Rules) XXX_Unmarshal(b []byte) error
- type SFixed64Rules
- func (*SFixed64Rules) Descriptor() ([]byte, []int)
- func (m *SFixed64Rules) GetConst() int64
- func (m *SFixed64Rules) GetGt() int64
- func (m *SFixed64Rules) GetGte() int64
- func (m *SFixed64Rules) GetIn() []int64
- func (m *SFixed64Rules) GetLt() int64
- func (m *SFixed64Rules) GetLte() int64
- func (m *SFixed64Rules) GetNotIn() []int64
- func (*SFixed64Rules) ProtoMessage()
- func (m *SFixed64Rules) Reset()
- func (m *SFixed64Rules) String() string
- func (m *SFixed64Rules) XXX_DiscardUnknown()
- func (m *SFixed64Rules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SFixed64Rules) XXX_Merge(src proto.Message)
- func (m *SFixed64Rules) XXX_Size() int
- func (m *SFixed64Rules) XXX_Unmarshal(b []byte) error
- type SInt32Rules
- func (*SInt32Rules) Descriptor() ([]byte, []int)
- func (m *SInt32Rules) GetConst() int32
- func (m *SInt32Rules) GetGt() int32
- func (m *SInt32Rules) GetGte() int32
- func (m *SInt32Rules) GetIn() []int32
- func (m *SInt32Rules) GetLt() int32
- func (m *SInt32Rules) GetLte() int32
- func (m *SInt32Rules) GetNotIn() []int32
- func (*SInt32Rules) ProtoMessage()
- func (m *SInt32Rules) Reset()
- func (m *SInt32Rules) String() string
- func (m *SInt32Rules) XXX_DiscardUnknown()
- func (m *SInt32Rules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SInt32Rules) XXX_Merge(src proto.Message)
- func (m *SInt32Rules) XXX_Size() int
- func (m *SInt32Rules) XXX_Unmarshal(b []byte) error
- type SInt64Rules
- func (*SInt64Rules) Descriptor() ([]byte, []int)
- func (m *SInt64Rules) GetConst() int64
- func (m *SInt64Rules) GetGt() int64
- func (m *SInt64Rules) GetGte() int64
- func (m *SInt64Rules) GetIn() []int64
- func (m *SInt64Rules) GetLt() int64
- func (m *SInt64Rules) GetLte() int64
- func (m *SInt64Rules) GetNotIn() []int64
- func (*SInt64Rules) ProtoMessage()
- func (m *SInt64Rules) Reset()
- func (m *SInt64Rules) String() string
- func (m *SInt64Rules) XXX_DiscardUnknown()
- func (m *SInt64Rules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SInt64Rules) XXX_Merge(src proto.Message)
- func (m *SInt64Rules) XXX_Size() int
- func (m *SInt64Rules) XXX_Unmarshal(b []byte) error
- type StringRules
- func (*StringRules) Descriptor() ([]byte, []int)
- func (m *StringRules) GetConst() string
- func (m *StringRules) GetContains() string
- func (m *StringRules) GetEmail() bool
- func (m *StringRules) GetHostname() bool
- func (m *StringRules) GetIn() []string
- func (m *StringRules) GetIp() bool
- func (m *StringRules) GetIpv4() bool
- func (m *StringRules) GetIpv6() bool
- func (m *StringRules) GetLen() uint64
- func (m *StringRules) GetLenBytes() uint64
- func (m *StringRules) GetMaxBytes() uint64
- func (m *StringRules) GetMaxLen() uint64
- func (m *StringRules) GetMinBytes() uint64
- func (m *StringRules) GetMinLen() uint64
- func (m *StringRules) GetNotIn() []string
- func (m *StringRules) GetPattern() string
- func (m *StringRules) GetPrefix() string
- func (m *StringRules) GetSuffix() string
- func (m *StringRules) GetUri() bool
- func (m *StringRules) GetUriRef() bool
- func (m *StringRules) GetWellKnown() isStringRules_WellKnown
- func (*StringRules) ProtoMessage()
- func (m *StringRules) Reset()
- func (m *StringRules) String() string
- func (m *StringRules) XXX_DiscardUnknown()
- func (m *StringRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *StringRules) XXX_Merge(src proto.Message)
- func (*StringRules) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *StringRules) XXX_Size() int
- func (m *StringRules) XXX_Unmarshal(b []byte) error
- type StringRules_Email
- type StringRules_Hostname
- type StringRules_Ip
- type StringRules_Ipv4
- type StringRules_Ipv6
- type StringRules_Uri
- type StringRules_UriRef
- type TimestampRules
- func (*TimestampRules) Descriptor() ([]byte, []int)
- func (m *TimestampRules) GetConst() *timestamp.Timestamp
- func (m *TimestampRules) GetGt() *timestamp.Timestamp
- func (m *TimestampRules) GetGtNow() bool
- func (m *TimestampRules) GetGte() *timestamp.Timestamp
- func (m *TimestampRules) GetLt() *timestamp.Timestamp
- func (m *TimestampRules) GetLtNow() bool
- func (m *TimestampRules) GetLte() *timestamp.Timestamp
- func (m *TimestampRules) GetRequired() bool
- func (m *TimestampRules) GetWithin() *duration.Duration
- func (*TimestampRules) ProtoMessage()
- func (m *TimestampRules) Reset()
- func (m *TimestampRules) String() string
- func (m *TimestampRules) XXX_DiscardUnknown()
- func (m *TimestampRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TimestampRules) XXX_Merge(src proto.Message)
- func (m *TimestampRules) XXX_Size() int
- func (m *TimestampRules) XXX_Unmarshal(b []byte) error
- type UInt32Rules
- func (*UInt32Rules) Descriptor() ([]byte, []int)
- func (m *UInt32Rules) GetConst() uint32
- func (m *UInt32Rules) GetGt() uint32
- func (m *UInt32Rules) GetGte() uint32
- func (m *UInt32Rules) GetIn() []uint32
- func (m *UInt32Rules) GetLt() uint32
- func (m *UInt32Rules) GetLte() uint32
- func (m *UInt32Rules) GetNotIn() []uint32
- func (*UInt32Rules) ProtoMessage()
- func (m *UInt32Rules) Reset()
- func (m *UInt32Rules) String() string
- func (m *UInt32Rules) XXX_DiscardUnknown()
- func (m *UInt32Rules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UInt32Rules) XXX_Merge(src proto.Message)
- func (m *UInt32Rules) XXX_Size() int
- func (m *UInt32Rules) XXX_Unmarshal(b []byte) error
- type UInt64Rules
- func (*UInt64Rules) Descriptor() ([]byte, []int)
- func (m *UInt64Rules) GetConst() uint64
- func (m *UInt64Rules) GetGt() uint64
- func (m *UInt64Rules) GetGte() uint64
- func (m *UInt64Rules) GetIn() []uint64
- func (m *UInt64Rules) GetLt() uint64
- func (m *UInt64Rules) GetLte() uint64
- func (m *UInt64Rules) GetNotIn() []uint64
- func (*UInt64Rules) ProtoMessage()
- func (m *UInt64Rules) Reset()
- func (m *UInt64Rules) String() string
- func (m *UInt64Rules) XXX_DiscardUnknown()
- func (m *UInt64Rules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UInt64Rules) XXX_Merge(src proto.Message)
- func (m *UInt64Rules) XXX_Size() int
- func (m *UInt64Rules) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var E_Disabled = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*bool)(nil), Field: 919191, Name: "validate.disabled", Tag: "varint,919191,opt,name=disabled", Filename: "validate/validate.proto", }
View Source
var E_Required = &proto.ExtensionDesc{ ExtendedType: (*descriptor.OneofOptions)(nil), ExtensionType: (*bool)(nil), Field: 919191, Name: "validate.required", Tag: "varint,919191,opt,name=required", Filename: "validate/validate.proto", }
View Source
var E_Rules = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FieldOptions)(nil), ExtensionType: (*FieldRules)(nil), Field: 919191, Name: "validate.rules", Tag: "bytes,919191,opt,name=rules", Filename: "validate/validate.proto", }
Functions ¶
This section is empty.
Types ¶
type AnyRules ¶
type AnyRules struct { Required *bool `protobuf:"varint,1,opt,name=required" json:"required,omitempty"` In []string `protobuf:"bytes,2,rep,name=in" json:"in,omitempty"` NotIn []string `protobuf:"bytes,3,rep,name=not_in,json=notIn" json:"not_in,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AnyRules) Descriptor ¶
func (*AnyRules) GetRequired ¶
func (*AnyRules) ProtoMessage ¶
func (*AnyRules) ProtoMessage()
func (*AnyRules) XXX_DiscardUnknown ¶
func (m *AnyRules) XXX_DiscardUnknown()
func (*AnyRules) XXX_Marshal ¶
func (*AnyRules) XXX_Unmarshal ¶
type BoolRules ¶
type BoolRules struct { Const *bool `protobuf:"varint,1,opt,name=const" json:"const,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BoolRules) Descriptor ¶
func (*BoolRules) ProtoMessage ¶
func (*BoolRules) ProtoMessage()
func (*BoolRules) XXX_DiscardUnknown ¶
func (m *BoolRules) XXX_DiscardUnknown()
func (*BoolRules) XXX_Marshal ¶
func (*BoolRules) XXX_Unmarshal ¶
type BytesRules ¶
type BytesRules struct { Const []byte `protobuf:"bytes,1,opt,name=const" json:"const,omitempty"` Len *uint64 `protobuf:"varint,13,opt,name=len" json:"len,omitempty"` MinLen *uint64 `protobuf:"varint,2,opt,name=min_len,json=minLen" json:"min_len,omitempty"` MaxLen *uint64 `protobuf:"varint,3,opt,name=max_len,json=maxLen" json:"max_len,omitempty"` Pattern *string `protobuf:"bytes,4,opt,name=pattern" json:"pattern,omitempty"` Prefix []byte `protobuf:"bytes,5,opt,name=prefix" json:"prefix,omitempty"` Suffix []byte `protobuf:"bytes,6,opt,name=suffix" json:"suffix,omitempty"` Contains []byte `protobuf:"bytes,7,opt,name=contains" json:"contains,omitempty"` In [][]byte `protobuf:"bytes,8,rep,name=in" json:"in,omitempty"` NotIn [][]byte `protobuf:"bytes,9,rep,name=not_in,json=notIn" json:"not_in,omitempty"` // Types that are valid to be assigned to WellKnown: // *BytesRules_Ip // *BytesRules_Ipv4 // *BytesRules_Ipv6 WellKnown isBytesRules_WellKnown `protobuf_oneof:"well_known"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BytesRules) Descriptor ¶
func (*BytesRules) Descriptor() ([]byte, []int)
func (*BytesRules) GetConst ¶
func (m *BytesRules) GetConst() []byte
func (*BytesRules) GetContains ¶
func (m *BytesRules) GetContains() []byte
func (*BytesRules) GetIn ¶
func (m *BytesRules) GetIn() [][]byte
func (*BytesRules) GetIp ¶
func (m *BytesRules) GetIp() bool
func (*BytesRules) GetIpv4 ¶
func (m *BytesRules) GetIpv4() bool
func (*BytesRules) GetIpv6 ¶
func (m *BytesRules) GetIpv6() bool
func (*BytesRules) GetLen ¶
func (m *BytesRules) GetLen() uint64
func (*BytesRules) GetMaxLen ¶
func (m *BytesRules) GetMaxLen() uint64
func (*BytesRules) GetMinLen ¶
func (m *BytesRules) GetMinLen() uint64
func (*BytesRules) GetNotIn ¶
func (m *BytesRules) GetNotIn() [][]byte
func (*BytesRules) GetPattern ¶
func (m *BytesRules) GetPattern() string
func (*BytesRules) GetPrefix ¶
func (m *BytesRules) GetPrefix() []byte
func (*BytesRules) GetSuffix ¶
func (m *BytesRules) GetSuffix() []byte
func (*BytesRules) GetWellKnown ¶
func (m *BytesRules) GetWellKnown() isBytesRules_WellKnown
func (*BytesRules) ProtoMessage ¶
func (*BytesRules) ProtoMessage()
func (*BytesRules) Reset ¶
func (m *BytesRules) Reset()
func (*BytesRules) String ¶
func (m *BytesRules) String() string
func (*BytesRules) XXX_DiscardUnknown ¶
func (m *BytesRules) XXX_DiscardUnknown()
func (*BytesRules) XXX_Marshal ¶
func (m *BytesRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BytesRules) XXX_Merge ¶
func (dst *BytesRules) XXX_Merge(src proto.Message)
func (*BytesRules) XXX_OneofFuncs ¶
func (*BytesRules) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*BytesRules) XXX_Size ¶
func (m *BytesRules) XXX_Size() int
func (*BytesRules) XXX_Unmarshal ¶
func (m *BytesRules) XXX_Unmarshal(b []byte) error
type BytesRules_Ip ¶
type BytesRules_Ip struct {
Ip bool `protobuf:"varint,10,opt,name=ip,oneof"`
}
type BytesRules_Ipv4 ¶
type BytesRules_Ipv4 struct {
Ipv4 bool `protobuf:"varint,11,opt,name=ipv4,oneof"`
}
type BytesRules_Ipv6 ¶
type BytesRules_Ipv6 struct {
Ipv6 bool `protobuf:"varint,12,opt,name=ipv6,oneof"`
}
type DoubleRules ¶
type DoubleRules struct { Const *float64 `protobuf:"fixed64,1,opt,name=const" json:"const,omitempty"` Lt *float64 `protobuf:"fixed64,2,opt,name=lt" json:"lt,omitempty"` Lte *float64 `protobuf:"fixed64,3,opt,name=lte" json:"lte,omitempty"` Gt *float64 `protobuf:"fixed64,4,opt,name=gt" json:"gt,omitempty"` Gte *float64 `protobuf:"fixed64,5,opt,name=gte" json:"gte,omitempty"` In []float64 `protobuf:"fixed64,6,rep,name=in" json:"in,omitempty"` NotIn []float64 `protobuf:"fixed64,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DoubleRules) Descriptor ¶
func (*DoubleRules) Descriptor() ([]byte, []int)
func (*DoubleRules) GetConst ¶
func (m *DoubleRules) GetConst() float64
func (*DoubleRules) GetGt ¶
func (m *DoubleRules) GetGt() float64
func (*DoubleRules) GetGte ¶
func (m *DoubleRules) GetGte() float64
func (*DoubleRules) GetIn ¶
func (m *DoubleRules) GetIn() []float64
func (*DoubleRules) GetLt ¶
func (m *DoubleRules) GetLt() float64
func (*DoubleRules) GetLte ¶
func (m *DoubleRules) GetLte() float64
func (*DoubleRules) GetNotIn ¶
func (m *DoubleRules) GetNotIn() []float64
func (*DoubleRules) ProtoMessage ¶
func (*DoubleRules) ProtoMessage()
func (*DoubleRules) Reset ¶
func (m *DoubleRules) Reset()
func (*DoubleRules) String ¶
func (m *DoubleRules) String() string
func (*DoubleRules) XXX_DiscardUnknown ¶
func (m *DoubleRules) XXX_DiscardUnknown()
func (*DoubleRules) XXX_Marshal ¶
func (m *DoubleRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DoubleRules) XXX_Merge ¶
func (dst *DoubleRules) XXX_Merge(src proto.Message)
func (*DoubleRules) XXX_Size ¶
func (m *DoubleRules) XXX_Size() int
func (*DoubleRules) XXX_Unmarshal ¶
func (m *DoubleRules) XXX_Unmarshal(b []byte) error
type DurationRules ¶
type DurationRules struct { Required *bool `protobuf:"varint,1,opt,name=required" json:"required,omitempty"` Const *duration.Duration `protobuf:"bytes,2,opt,name=const" json:"const,omitempty"` Lt *duration.Duration `protobuf:"bytes,3,opt,name=lt" json:"lt,omitempty"` Lte *duration.Duration `protobuf:"bytes,4,opt,name=lte" json:"lte,omitempty"` Gt *duration.Duration `protobuf:"bytes,5,opt,name=gt" json:"gt,omitempty"` Gte *duration.Duration `protobuf:"bytes,6,opt,name=gte" json:"gte,omitempty"` In []*duration.Duration `protobuf:"bytes,7,rep,name=in" json:"in,omitempty"` NotIn []*duration.Duration `protobuf:"bytes,8,rep,name=not_in,json=notIn" json:"not_in,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DurationRules) Descriptor ¶
func (*DurationRules) Descriptor() ([]byte, []int)
func (*DurationRules) GetConst ¶
func (m *DurationRules) GetConst() *duration.Duration
func (*DurationRules) GetGt ¶
func (m *DurationRules) GetGt() *duration.Duration
func (*DurationRules) GetGte ¶
func (m *DurationRules) GetGte() *duration.Duration
func (*DurationRules) GetIn ¶
func (m *DurationRules) GetIn() []*duration.Duration
func (*DurationRules) GetLt ¶
func (m *DurationRules) GetLt() *duration.Duration
func (*DurationRules) GetLte ¶
func (m *DurationRules) GetLte() *duration.Duration
func (*DurationRules) GetNotIn ¶
func (m *DurationRules) GetNotIn() []*duration.Duration
func (*DurationRules) GetRequired ¶
func (m *DurationRules) GetRequired() bool
func (*DurationRules) ProtoMessage ¶
func (*DurationRules) ProtoMessage()
func (*DurationRules) Reset ¶
func (m *DurationRules) Reset()
func (*DurationRules) String ¶
func (m *DurationRules) String() string
func (*DurationRules) XXX_DiscardUnknown ¶
func (m *DurationRules) XXX_DiscardUnknown()
func (*DurationRules) XXX_Marshal ¶
func (m *DurationRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DurationRules) XXX_Merge ¶
func (dst *DurationRules) XXX_Merge(src proto.Message)
func (*DurationRules) XXX_Size ¶
func (m *DurationRules) XXX_Size() int
func (*DurationRules) XXX_Unmarshal ¶
func (m *DurationRules) XXX_Unmarshal(b []byte) error
type EnumRules ¶
type EnumRules struct { Const *int32 `protobuf:"varint,1,opt,name=const" json:"const,omitempty"` DefinedOnly *bool `protobuf:"varint,2,opt,name=defined_only,json=definedOnly" json:"defined_only,omitempty"` In []int32 `protobuf:"varint,3,rep,name=in" json:"in,omitempty"` NotIn []int32 `protobuf:"varint,4,rep,name=not_in,json=notIn" json:"not_in,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EnumRules) Descriptor ¶
func (*EnumRules) GetDefinedOnly ¶
func (*EnumRules) ProtoMessage ¶
func (*EnumRules) ProtoMessage()
func (*EnumRules) XXX_DiscardUnknown ¶
func (m *EnumRules) XXX_DiscardUnknown()
func (*EnumRules) XXX_Marshal ¶
func (*EnumRules) XXX_Unmarshal ¶
type FieldRules ¶
type FieldRules struct { // 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_Message // *FieldRules_Repeated // *FieldRules_Map // *FieldRules_Any // *FieldRules_Duration // *FieldRules_Timestamp Type isFieldRules_Type `protobuf_oneof:"type"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FieldRules) Descriptor ¶
func (*FieldRules) Descriptor() ([]byte, []int)
func (*FieldRules) GetAny ¶
func (m *FieldRules) GetAny() *AnyRules
func (*FieldRules) GetBool ¶
func (m *FieldRules) GetBool() *BoolRules
func (*FieldRules) GetBytes ¶
func (m *FieldRules) GetBytes() *BytesRules
func (*FieldRules) GetDouble ¶
func (m *FieldRules) GetDouble() *DoubleRules
func (*FieldRules) GetDuration ¶
func (m *FieldRules) GetDuration() *DurationRules
func (*FieldRules) GetEnum ¶
func (m *FieldRules) GetEnum() *EnumRules
func (*FieldRules) GetFixed32 ¶
func (m *FieldRules) GetFixed32() *Fixed32Rules
func (*FieldRules) GetFixed64 ¶
func (m *FieldRules) GetFixed64() *Fixed64Rules
func (*FieldRules) GetFloat ¶
func (m *FieldRules) GetFloat() *FloatRules
func (*FieldRules) GetInt32 ¶
func (m *FieldRules) GetInt32() *Int32Rules
func (*FieldRules) GetInt64 ¶
func (m *FieldRules) GetInt64() *Int64Rules
func (*FieldRules) GetMap ¶
func (m *FieldRules) GetMap() *MapRules
func (*FieldRules) GetMessage ¶
func (m *FieldRules) GetMessage() *MessageRules
func (*FieldRules) GetRepeated ¶
func (m *FieldRules) GetRepeated() *RepeatedRules
func (*FieldRules) GetSfixed32 ¶
func (m *FieldRules) GetSfixed32() *SFixed32Rules
func (*FieldRules) GetSfixed64 ¶
func (m *FieldRules) GetSfixed64() *SFixed64Rules
func (*FieldRules) GetSint32 ¶
func (m *FieldRules) GetSint32() *SInt32Rules
func (*FieldRules) GetSint64 ¶
func (m *FieldRules) GetSint64() *SInt64Rules
func (*FieldRules) GetString_ ¶
func (m *FieldRules) GetString_() *StringRules
func (*FieldRules) GetTimestamp ¶
func (m *FieldRules) GetTimestamp() *TimestampRules
func (*FieldRules) GetType ¶
func (m *FieldRules) GetType() isFieldRules_Type
func (*FieldRules) GetUint32 ¶
func (m *FieldRules) GetUint32() *UInt32Rules
func (*FieldRules) GetUint64 ¶
func (m *FieldRules) GetUint64() *UInt64Rules
func (*FieldRules) ProtoMessage ¶
func (*FieldRules) ProtoMessage()
func (*FieldRules) Reset ¶
func (m *FieldRules) Reset()
func (*FieldRules) String ¶
func (m *FieldRules) String() string
func (*FieldRules) XXX_DiscardUnknown ¶
func (m *FieldRules) XXX_DiscardUnknown()
func (*FieldRules) XXX_Marshal ¶
func (m *FieldRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FieldRules) XXX_Merge ¶
func (dst *FieldRules) XXX_Merge(src proto.Message)
func (*FieldRules) XXX_OneofFuncs ¶
func (*FieldRules) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*FieldRules) XXX_Size ¶
func (m *FieldRules) XXX_Size() int
func (*FieldRules) XXX_Unmarshal ¶
func (m *FieldRules) XXX_Unmarshal(b []byte) error
type FieldRules_Any ¶
type FieldRules_Any struct {
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 {
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 {
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_Message ¶
type FieldRules_Message struct {
Message *MessageRules `protobuf:"bytes,17,opt,name=message,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 Fixed32Rules ¶
type Fixed32Rules struct { Const *uint32 `protobuf:"fixed32,1,opt,name=const" json:"const,omitempty"` Lt *uint32 `protobuf:"fixed32,2,opt,name=lt" json:"lt,omitempty"` Lte *uint32 `protobuf:"fixed32,3,opt,name=lte" json:"lte,omitempty"` Gt *uint32 `protobuf:"fixed32,4,opt,name=gt" json:"gt,omitempty"` Gte *uint32 `protobuf:"fixed32,5,opt,name=gte" json:"gte,omitempty"` In []uint32 `protobuf:"fixed32,6,rep,name=in" json:"in,omitempty"` NotIn []uint32 `protobuf:"fixed32,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Fixed32Rules) Descriptor ¶
func (*Fixed32Rules) Descriptor() ([]byte, []int)
func (*Fixed32Rules) GetConst ¶
func (m *Fixed32Rules) GetConst() uint32
func (*Fixed32Rules) GetGt ¶
func (m *Fixed32Rules) GetGt() uint32
func (*Fixed32Rules) GetGte ¶
func (m *Fixed32Rules) GetGte() uint32
func (*Fixed32Rules) GetIn ¶
func (m *Fixed32Rules) GetIn() []uint32
func (*Fixed32Rules) GetLt ¶
func (m *Fixed32Rules) GetLt() uint32
func (*Fixed32Rules) GetLte ¶
func (m *Fixed32Rules) GetLte() uint32
func (*Fixed32Rules) GetNotIn ¶
func (m *Fixed32Rules) GetNotIn() []uint32
func (*Fixed32Rules) ProtoMessage ¶
func (*Fixed32Rules) ProtoMessage()
func (*Fixed32Rules) Reset ¶
func (m *Fixed32Rules) Reset()
func (*Fixed32Rules) String ¶
func (m *Fixed32Rules) String() string
func (*Fixed32Rules) XXX_DiscardUnknown ¶
func (m *Fixed32Rules) XXX_DiscardUnknown()
func (*Fixed32Rules) XXX_Marshal ¶
func (m *Fixed32Rules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Fixed32Rules) XXX_Merge ¶
func (dst *Fixed32Rules) XXX_Merge(src proto.Message)
func (*Fixed32Rules) XXX_Size ¶
func (m *Fixed32Rules) XXX_Size() int
func (*Fixed32Rules) XXX_Unmarshal ¶
func (m *Fixed32Rules) XXX_Unmarshal(b []byte) error
type Fixed64Rules ¶
type Fixed64Rules struct { Const *uint64 `protobuf:"fixed64,1,opt,name=const" json:"const,omitempty"` Lt *uint64 `protobuf:"fixed64,2,opt,name=lt" json:"lt,omitempty"` Lte *uint64 `protobuf:"fixed64,3,opt,name=lte" json:"lte,omitempty"` Gt *uint64 `protobuf:"fixed64,4,opt,name=gt" json:"gt,omitempty"` Gte *uint64 `protobuf:"fixed64,5,opt,name=gte" json:"gte,omitempty"` In []uint64 `protobuf:"fixed64,6,rep,name=in" json:"in,omitempty"` NotIn []uint64 `protobuf:"fixed64,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Fixed64Rules) Descriptor ¶
func (*Fixed64Rules) Descriptor() ([]byte, []int)
func (*Fixed64Rules) GetConst ¶
func (m *Fixed64Rules) GetConst() uint64
func (*Fixed64Rules) GetGt ¶
func (m *Fixed64Rules) GetGt() uint64
func (*Fixed64Rules) GetGte ¶
func (m *Fixed64Rules) GetGte() uint64
func (*Fixed64Rules) GetIn ¶
func (m *Fixed64Rules) GetIn() []uint64
func (*Fixed64Rules) GetLt ¶
func (m *Fixed64Rules) GetLt() uint64
func (*Fixed64Rules) GetLte ¶
func (m *Fixed64Rules) GetLte() uint64
func (*Fixed64Rules) GetNotIn ¶
func (m *Fixed64Rules) GetNotIn() []uint64
func (*Fixed64Rules) ProtoMessage ¶
func (*Fixed64Rules) ProtoMessage()
func (*Fixed64Rules) Reset ¶
func (m *Fixed64Rules) Reset()
func (*Fixed64Rules) String ¶
func (m *Fixed64Rules) String() string
func (*Fixed64Rules) XXX_DiscardUnknown ¶
func (m *Fixed64Rules) XXX_DiscardUnknown()
func (*Fixed64Rules) XXX_Marshal ¶
func (m *Fixed64Rules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Fixed64Rules) XXX_Merge ¶
func (dst *Fixed64Rules) XXX_Merge(src proto.Message)
func (*Fixed64Rules) XXX_Size ¶
func (m *Fixed64Rules) XXX_Size() int
func (*Fixed64Rules) XXX_Unmarshal ¶
func (m *Fixed64Rules) XXX_Unmarshal(b []byte) error
type FloatRules ¶
type FloatRules struct { Const *float32 `protobuf:"fixed32,1,opt,name=const" json:"const,omitempty"` Lt *float32 `protobuf:"fixed32,2,opt,name=lt" json:"lt,omitempty"` Lte *float32 `protobuf:"fixed32,3,opt,name=lte" json:"lte,omitempty"` Gt *float32 `protobuf:"fixed32,4,opt,name=gt" json:"gt,omitempty"` Gte *float32 `protobuf:"fixed32,5,opt,name=gte" json:"gte,omitempty"` In []float32 `protobuf:"fixed32,6,rep,name=in" json:"in,omitempty"` NotIn []float32 `protobuf:"fixed32,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FloatRules) Descriptor ¶
func (*FloatRules) Descriptor() ([]byte, []int)
func (*FloatRules) GetConst ¶
func (m *FloatRules) GetConst() float32
func (*FloatRules) GetGt ¶
func (m *FloatRules) GetGt() float32
func (*FloatRules) GetGte ¶
func (m *FloatRules) GetGte() float32
func (*FloatRules) GetIn ¶
func (m *FloatRules) GetIn() []float32
func (*FloatRules) GetLt ¶
func (m *FloatRules) GetLt() float32
func (*FloatRules) GetLte ¶
func (m *FloatRules) GetLte() float32
func (*FloatRules) GetNotIn ¶
func (m *FloatRules) GetNotIn() []float32
func (*FloatRules) ProtoMessage ¶
func (*FloatRules) ProtoMessage()
func (*FloatRules) Reset ¶
func (m *FloatRules) Reset()
func (*FloatRules) String ¶
func (m *FloatRules) String() string
func (*FloatRules) XXX_DiscardUnknown ¶
func (m *FloatRules) XXX_DiscardUnknown()
func (*FloatRules) XXX_Marshal ¶
func (m *FloatRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FloatRules) XXX_Merge ¶
func (dst *FloatRules) XXX_Merge(src proto.Message)
func (*FloatRules) XXX_Size ¶
func (m *FloatRules) XXX_Size() int
func (*FloatRules) XXX_Unmarshal ¶
func (m *FloatRules) XXX_Unmarshal(b []byte) error
type Int32Rules ¶
type Int32Rules struct { Const *int32 `protobuf:"varint,1,opt,name=const" json:"const,omitempty"` Lt *int32 `protobuf:"varint,2,opt,name=lt" json:"lt,omitempty"` Lte *int32 `protobuf:"varint,3,opt,name=lte" json:"lte,omitempty"` Gt *int32 `protobuf:"varint,4,opt,name=gt" json:"gt,omitempty"` Gte *int32 `protobuf:"varint,5,opt,name=gte" json:"gte,omitempty"` In []int32 `protobuf:"varint,6,rep,name=in" json:"in,omitempty"` NotIn []int32 `protobuf:"varint,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Int32Rules) Descriptor ¶
func (*Int32Rules) Descriptor() ([]byte, []int)
func (*Int32Rules) GetConst ¶
func (m *Int32Rules) GetConst() int32
func (*Int32Rules) GetGt ¶
func (m *Int32Rules) GetGt() int32
func (*Int32Rules) GetGte ¶
func (m *Int32Rules) GetGte() int32
func (*Int32Rules) GetIn ¶
func (m *Int32Rules) GetIn() []int32
func (*Int32Rules) GetLt ¶
func (m *Int32Rules) GetLt() int32
func (*Int32Rules) GetLte ¶
func (m *Int32Rules) GetLte() int32
func (*Int32Rules) GetNotIn ¶
func (m *Int32Rules) GetNotIn() []int32
func (*Int32Rules) ProtoMessage ¶
func (*Int32Rules) ProtoMessage()
func (*Int32Rules) Reset ¶
func (m *Int32Rules) Reset()
func (*Int32Rules) String ¶
func (m *Int32Rules) String() string
func (*Int32Rules) XXX_DiscardUnknown ¶
func (m *Int32Rules) XXX_DiscardUnknown()
func (*Int32Rules) XXX_Marshal ¶
func (m *Int32Rules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Int32Rules) XXX_Merge ¶
func (dst *Int32Rules) XXX_Merge(src proto.Message)
func (*Int32Rules) XXX_Size ¶
func (m *Int32Rules) XXX_Size() int
func (*Int32Rules) XXX_Unmarshal ¶
func (m *Int32Rules) XXX_Unmarshal(b []byte) error
type Int64Rules ¶
type Int64Rules struct { Const *int64 `protobuf:"varint,1,opt,name=const" json:"const,omitempty"` Lt *int64 `protobuf:"varint,2,opt,name=lt" json:"lt,omitempty"` Lte *int64 `protobuf:"varint,3,opt,name=lte" json:"lte,omitempty"` Gt *int64 `protobuf:"varint,4,opt,name=gt" json:"gt,omitempty"` Gte *int64 `protobuf:"varint,5,opt,name=gte" json:"gte,omitempty"` In []int64 `protobuf:"varint,6,rep,name=in" json:"in,omitempty"` NotIn []int64 `protobuf:"varint,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Int64Rules) Descriptor ¶
func (*Int64Rules) Descriptor() ([]byte, []int)
func (*Int64Rules) GetConst ¶
func (m *Int64Rules) GetConst() int64
func (*Int64Rules) GetGt ¶
func (m *Int64Rules) GetGt() int64
func (*Int64Rules) GetGte ¶
func (m *Int64Rules) GetGte() int64
func (*Int64Rules) GetIn ¶
func (m *Int64Rules) GetIn() []int64
func (*Int64Rules) GetLt ¶
func (m *Int64Rules) GetLt() int64
func (*Int64Rules) GetLte ¶
func (m *Int64Rules) GetLte() int64
func (*Int64Rules) GetNotIn ¶
func (m *Int64Rules) GetNotIn() []int64
func (*Int64Rules) ProtoMessage ¶
func (*Int64Rules) ProtoMessage()
func (*Int64Rules) Reset ¶
func (m *Int64Rules) Reset()
func (*Int64Rules) String ¶
func (m *Int64Rules) String() string
func (*Int64Rules) XXX_DiscardUnknown ¶
func (m *Int64Rules) XXX_DiscardUnknown()
func (*Int64Rules) XXX_Marshal ¶
func (m *Int64Rules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Int64Rules) XXX_Merge ¶
func (dst *Int64Rules) XXX_Merge(src proto.Message)
func (*Int64Rules) XXX_Size ¶
func (m *Int64Rules) XXX_Size() int
func (*Int64Rules) XXX_Unmarshal ¶
func (m *Int64Rules) XXX_Unmarshal(b []byte) error
type MapRules ¶
type MapRules struct { MinPairs *uint64 `protobuf:"varint,1,opt,name=min_pairs,json=minPairs" json:"min_pairs,omitempty"` MaxPairs *uint64 `protobuf:"varint,2,opt,name=max_pairs,json=maxPairs" json:"max_pairs,omitempty"` NoSparse *bool `protobuf:"varint,3,opt,name=no_sparse,json=noSparse" json:"no_sparse,omitempty"` Keys *FieldRules `protobuf:"bytes,4,opt,name=keys" json:"keys,omitempty"` Values *FieldRules `protobuf:"bytes,5,opt,name=values" json:"values,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MapRules) Descriptor ¶
func (*MapRules) GetKeys ¶
func (m *MapRules) GetKeys() *FieldRules
func (*MapRules) GetMaxPairs ¶
func (*MapRules) GetMinPairs ¶
func (*MapRules) GetNoSparse ¶
func (*MapRules) GetValues ¶
func (m *MapRules) GetValues() *FieldRules
func (*MapRules) ProtoMessage ¶
func (*MapRules) ProtoMessage()
func (*MapRules) XXX_DiscardUnknown ¶
func (m *MapRules) XXX_DiscardUnknown()
func (*MapRules) XXX_Marshal ¶
func (*MapRules) XXX_Unmarshal ¶
type MessageRules ¶
type MessageRules struct { Skip *bool `protobuf:"varint,1,opt,name=skip" json:"skip,omitempty"` Required *bool `protobuf:"varint,2,opt,name=required" json:"required,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MessageRules) Descriptor ¶
func (*MessageRules) Descriptor() ([]byte, []int)
func (*MessageRules) GetRequired ¶
func (m *MessageRules) GetRequired() bool
func (*MessageRules) GetSkip ¶
func (m *MessageRules) GetSkip() bool
func (*MessageRules) ProtoMessage ¶
func (*MessageRules) ProtoMessage()
func (*MessageRules) Reset ¶
func (m *MessageRules) Reset()
func (*MessageRules) String ¶
func (m *MessageRules) String() string
func (*MessageRules) XXX_DiscardUnknown ¶
func (m *MessageRules) XXX_DiscardUnknown()
func (*MessageRules) XXX_Marshal ¶
func (m *MessageRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MessageRules) XXX_Merge ¶
func (dst *MessageRules) XXX_Merge(src proto.Message)
func (*MessageRules) XXX_Size ¶
func (m *MessageRules) XXX_Size() int
func (*MessageRules) XXX_Unmarshal ¶
func (m *MessageRules) XXX_Unmarshal(b []byte) error
type RepeatedRules ¶
type RepeatedRules struct { MinItems *uint64 `protobuf:"varint,1,opt,name=min_items,json=minItems" json:"min_items,omitempty"` MaxItems *uint64 `protobuf:"varint,2,opt,name=max_items,json=maxItems" json:"max_items,omitempty"` Unique *bool `protobuf:"varint,3,opt,name=unique" json:"unique,omitempty"` Items *FieldRules `protobuf:"bytes,4,opt,name=items" json:"items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RepeatedRules) Descriptor ¶
func (*RepeatedRules) Descriptor() ([]byte, []int)
func (*RepeatedRules) GetItems ¶
func (m *RepeatedRules) GetItems() *FieldRules
func (*RepeatedRules) GetMaxItems ¶
func (m *RepeatedRules) GetMaxItems() uint64
func (*RepeatedRules) GetMinItems ¶
func (m *RepeatedRules) GetMinItems() uint64
func (*RepeatedRules) GetUnique ¶
func (m *RepeatedRules) GetUnique() bool
func (*RepeatedRules) ProtoMessage ¶
func (*RepeatedRules) ProtoMessage()
func (*RepeatedRules) Reset ¶
func (m *RepeatedRules) Reset()
func (*RepeatedRules) String ¶
func (m *RepeatedRules) String() string
func (*RepeatedRules) XXX_DiscardUnknown ¶
func (m *RepeatedRules) XXX_DiscardUnknown()
func (*RepeatedRules) XXX_Marshal ¶
func (m *RepeatedRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RepeatedRules) XXX_Merge ¶
func (dst *RepeatedRules) XXX_Merge(src proto.Message)
func (*RepeatedRules) XXX_Size ¶
func (m *RepeatedRules) XXX_Size() int
func (*RepeatedRules) XXX_Unmarshal ¶
func (m *RepeatedRules) XXX_Unmarshal(b []byte) error
type SFixed32Rules ¶
type SFixed32Rules struct { Const *int32 `protobuf:"fixed32,1,opt,name=const" json:"const,omitempty"` Lt *int32 `protobuf:"fixed32,2,opt,name=lt" json:"lt,omitempty"` Lte *int32 `protobuf:"fixed32,3,opt,name=lte" json:"lte,omitempty"` Gt *int32 `protobuf:"fixed32,4,opt,name=gt" json:"gt,omitempty"` Gte *int32 `protobuf:"fixed32,5,opt,name=gte" json:"gte,omitempty"` In []int32 `protobuf:"fixed32,6,rep,name=in" json:"in,omitempty"` NotIn []int32 `protobuf:"fixed32,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SFixed32Rules) Descriptor ¶
func (*SFixed32Rules) Descriptor() ([]byte, []int)
func (*SFixed32Rules) GetConst ¶
func (m *SFixed32Rules) GetConst() int32
func (*SFixed32Rules) GetGt ¶
func (m *SFixed32Rules) GetGt() int32
func (*SFixed32Rules) GetGte ¶
func (m *SFixed32Rules) GetGte() int32
func (*SFixed32Rules) GetIn ¶
func (m *SFixed32Rules) GetIn() []int32
func (*SFixed32Rules) GetLt ¶
func (m *SFixed32Rules) GetLt() int32
func (*SFixed32Rules) GetLte ¶
func (m *SFixed32Rules) GetLte() int32
func (*SFixed32Rules) GetNotIn ¶
func (m *SFixed32Rules) GetNotIn() []int32
func (*SFixed32Rules) ProtoMessage ¶
func (*SFixed32Rules) ProtoMessage()
func (*SFixed32Rules) Reset ¶
func (m *SFixed32Rules) Reset()
func (*SFixed32Rules) String ¶
func (m *SFixed32Rules) String() string
func (*SFixed32Rules) XXX_DiscardUnknown ¶
func (m *SFixed32Rules) XXX_DiscardUnknown()
func (*SFixed32Rules) XXX_Marshal ¶
func (m *SFixed32Rules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SFixed32Rules) XXX_Merge ¶
func (dst *SFixed32Rules) XXX_Merge(src proto.Message)
func (*SFixed32Rules) XXX_Size ¶
func (m *SFixed32Rules) XXX_Size() int
func (*SFixed32Rules) XXX_Unmarshal ¶
func (m *SFixed32Rules) XXX_Unmarshal(b []byte) error
type SFixed64Rules ¶
type SFixed64Rules struct { Const *int64 `protobuf:"fixed64,1,opt,name=const" json:"const,omitempty"` Lt *int64 `protobuf:"fixed64,2,opt,name=lt" json:"lt,omitempty"` Lte *int64 `protobuf:"fixed64,3,opt,name=lte" json:"lte,omitempty"` Gt *int64 `protobuf:"fixed64,4,opt,name=gt" json:"gt,omitempty"` Gte *int64 `protobuf:"fixed64,5,opt,name=gte" json:"gte,omitempty"` In []int64 `protobuf:"fixed64,6,rep,name=in" json:"in,omitempty"` NotIn []int64 `protobuf:"fixed64,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SFixed64Rules) Descriptor ¶
func (*SFixed64Rules) Descriptor() ([]byte, []int)
func (*SFixed64Rules) GetConst ¶
func (m *SFixed64Rules) GetConst() int64
func (*SFixed64Rules) GetGt ¶
func (m *SFixed64Rules) GetGt() int64
func (*SFixed64Rules) GetGte ¶
func (m *SFixed64Rules) GetGte() int64
func (*SFixed64Rules) GetIn ¶
func (m *SFixed64Rules) GetIn() []int64
func (*SFixed64Rules) GetLt ¶
func (m *SFixed64Rules) GetLt() int64
func (*SFixed64Rules) GetLte ¶
func (m *SFixed64Rules) GetLte() int64
func (*SFixed64Rules) GetNotIn ¶
func (m *SFixed64Rules) GetNotIn() []int64
func (*SFixed64Rules) ProtoMessage ¶
func (*SFixed64Rules) ProtoMessage()
func (*SFixed64Rules) Reset ¶
func (m *SFixed64Rules) Reset()
func (*SFixed64Rules) String ¶
func (m *SFixed64Rules) String() string
func (*SFixed64Rules) XXX_DiscardUnknown ¶
func (m *SFixed64Rules) XXX_DiscardUnknown()
func (*SFixed64Rules) XXX_Marshal ¶
func (m *SFixed64Rules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SFixed64Rules) XXX_Merge ¶
func (dst *SFixed64Rules) XXX_Merge(src proto.Message)
func (*SFixed64Rules) XXX_Size ¶
func (m *SFixed64Rules) XXX_Size() int
func (*SFixed64Rules) XXX_Unmarshal ¶
func (m *SFixed64Rules) XXX_Unmarshal(b []byte) error
type SInt32Rules ¶
type SInt32Rules struct { Const *int32 `protobuf:"zigzag32,1,opt,name=const" json:"const,omitempty"` Lt *int32 `protobuf:"zigzag32,2,opt,name=lt" json:"lt,omitempty"` Lte *int32 `protobuf:"zigzag32,3,opt,name=lte" json:"lte,omitempty"` Gt *int32 `protobuf:"zigzag32,4,opt,name=gt" json:"gt,omitempty"` Gte *int32 `protobuf:"zigzag32,5,opt,name=gte" json:"gte,omitempty"` In []int32 `protobuf:"zigzag32,6,rep,name=in" json:"in,omitempty"` NotIn []int32 `protobuf:"zigzag32,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SInt32Rules) Descriptor ¶
func (*SInt32Rules) Descriptor() ([]byte, []int)
func (*SInt32Rules) GetConst ¶
func (m *SInt32Rules) GetConst() int32
func (*SInt32Rules) GetGt ¶
func (m *SInt32Rules) GetGt() int32
func (*SInt32Rules) GetGte ¶
func (m *SInt32Rules) GetGte() int32
func (*SInt32Rules) GetIn ¶
func (m *SInt32Rules) GetIn() []int32
func (*SInt32Rules) GetLt ¶
func (m *SInt32Rules) GetLt() int32
func (*SInt32Rules) GetLte ¶
func (m *SInt32Rules) GetLte() int32
func (*SInt32Rules) GetNotIn ¶
func (m *SInt32Rules) GetNotIn() []int32
func (*SInt32Rules) ProtoMessage ¶
func (*SInt32Rules) ProtoMessage()
func (*SInt32Rules) Reset ¶
func (m *SInt32Rules) Reset()
func (*SInt32Rules) String ¶
func (m *SInt32Rules) String() string
func (*SInt32Rules) XXX_DiscardUnknown ¶
func (m *SInt32Rules) XXX_DiscardUnknown()
func (*SInt32Rules) XXX_Marshal ¶
func (m *SInt32Rules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SInt32Rules) XXX_Merge ¶
func (dst *SInt32Rules) XXX_Merge(src proto.Message)
func (*SInt32Rules) XXX_Size ¶
func (m *SInt32Rules) XXX_Size() int
func (*SInt32Rules) XXX_Unmarshal ¶
func (m *SInt32Rules) XXX_Unmarshal(b []byte) error
type SInt64Rules ¶
type SInt64Rules struct { Const *int64 `protobuf:"zigzag64,1,opt,name=const" json:"const,omitempty"` Lt *int64 `protobuf:"zigzag64,2,opt,name=lt" json:"lt,omitempty"` Lte *int64 `protobuf:"zigzag64,3,opt,name=lte" json:"lte,omitempty"` Gt *int64 `protobuf:"zigzag64,4,opt,name=gt" json:"gt,omitempty"` Gte *int64 `protobuf:"zigzag64,5,opt,name=gte" json:"gte,omitempty"` In []int64 `protobuf:"zigzag64,6,rep,name=in" json:"in,omitempty"` NotIn []int64 `protobuf:"zigzag64,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SInt64Rules) Descriptor ¶
func (*SInt64Rules) Descriptor() ([]byte, []int)
func (*SInt64Rules) GetConst ¶
func (m *SInt64Rules) GetConst() int64
func (*SInt64Rules) GetGt ¶
func (m *SInt64Rules) GetGt() int64
func (*SInt64Rules) GetGte ¶
func (m *SInt64Rules) GetGte() int64
func (*SInt64Rules) GetIn ¶
func (m *SInt64Rules) GetIn() []int64
func (*SInt64Rules) GetLt ¶
func (m *SInt64Rules) GetLt() int64
func (*SInt64Rules) GetLte ¶
func (m *SInt64Rules) GetLte() int64
func (*SInt64Rules) GetNotIn ¶
func (m *SInt64Rules) GetNotIn() []int64
func (*SInt64Rules) ProtoMessage ¶
func (*SInt64Rules) ProtoMessage()
func (*SInt64Rules) Reset ¶
func (m *SInt64Rules) Reset()
func (*SInt64Rules) String ¶
func (m *SInt64Rules) String() string
func (*SInt64Rules) XXX_DiscardUnknown ¶
func (m *SInt64Rules) XXX_DiscardUnknown()
func (*SInt64Rules) XXX_Marshal ¶
func (m *SInt64Rules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SInt64Rules) XXX_Merge ¶
func (dst *SInt64Rules) XXX_Merge(src proto.Message)
func (*SInt64Rules) XXX_Size ¶
func (m *SInt64Rules) XXX_Size() int
func (*SInt64Rules) XXX_Unmarshal ¶
func (m *SInt64Rules) XXX_Unmarshal(b []byte) error
type StringRules ¶
type StringRules struct { Const *string `protobuf:"bytes,1,opt,name=const" json:"const,omitempty"` Len *uint64 `protobuf:"varint,19,opt,name=len" json:"len,omitempty"` MinLen *uint64 `protobuf:"varint,2,opt,name=min_len,json=minLen" json:"min_len,omitempty"` MaxLen *uint64 `protobuf:"varint,3,opt,name=max_len,json=maxLen" json:"max_len,omitempty"` LenBytes *uint64 `protobuf:"varint,20,opt,name=len_bytes,json=lenBytes" json:"len_bytes,omitempty"` MinBytes *uint64 `protobuf:"varint,4,opt,name=min_bytes,json=minBytes" json:"min_bytes,omitempty"` MaxBytes *uint64 `protobuf:"varint,5,opt,name=max_bytes,json=maxBytes" json:"max_bytes,omitempty"` Pattern *string `protobuf:"bytes,6,opt,name=pattern" json:"pattern,omitempty"` Prefix *string `protobuf:"bytes,7,opt,name=prefix" json:"prefix,omitempty"` Suffix *string `protobuf:"bytes,8,opt,name=suffix" json:"suffix,omitempty"` Contains *string `protobuf:"bytes,9,opt,name=contains" json:"contains,omitempty"` In []string `protobuf:"bytes,10,rep,name=in" json:"in,omitempty"` NotIn []string `protobuf:"bytes,11,rep,name=not_in,json=notIn" json:"not_in,omitempty"` // Types that are valid to be assigned to WellKnown: // *StringRules_Email // *StringRules_Hostname // *StringRules_Ip // *StringRules_Ipv4 // *StringRules_Ipv6 // *StringRules_Uri // *StringRules_UriRef WellKnown isStringRules_WellKnown `protobuf_oneof:"well_known"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StringRules) Descriptor ¶
func (*StringRules) Descriptor() ([]byte, []int)
func (*StringRules) GetConst ¶
func (m *StringRules) GetConst() string
func (*StringRules) GetContains ¶
func (m *StringRules) GetContains() string
func (*StringRules) GetEmail ¶
func (m *StringRules) GetEmail() bool
func (*StringRules) GetHostname ¶
func (m *StringRules) GetHostname() bool
func (*StringRules) GetIn ¶
func (m *StringRules) GetIn() []string
func (*StringRules) GetIp ¶
func (m *StringRules) GetIp() bool
func (*StringRules) GetIpv4 ¶
func (m *StringRules) GetIpv4() bool
func (*StringRules) GetIpv6 ¶
func (m *StringRules) GetIpv6() bool
func (*StringRules) GetLen ¶
func (m *StringRules) GetLen() uint64
func (*StringRules) GetLenBytes ¶
func (m *StringRules) GetLenBytes() uint64
func (*StringRules) GetMaxBytes ¶
func (m *StringRules) GetMaxBytes() uint64
func (*StringRules) GetMaxLen ¶
func (m *StringRules) GetMaxLen() uint64
func (*StringRules) GetMinBytes ¶
func (m *StringRules) GetMinBytes() uint64
func (*StringRules) GetMinLen ¶
func (m *StringRules) GetMinLen() uint64
func (*StringRules) GetNotIn ¶
func (m *StringRules) GetNotIn() []string
func (*StringRules) GetPattern ¶
func (m *StringRules) GetPattern() string
func (*StringRules) GetPrefix ¶
func (m *StringRules) GetPrefix() string
func (*StringRules) GetSuffix ¶
func (m *StringRules) GetSuffix() string
func (*StringRules) GetUri ¶
func (m *StringRules) GetUri() bool
func (*StringRules) GetUriRef ¶
func (m *StringRules) GetUriRef() bool
func (*StringRules) GetWellKnown ¶
func (m *StringRules) GetWellKnown() isStringRules_WellKnown
func (*StringRules) ProtoMessage ¶
func (*StringRules) ProtoMessage()
func (*StringRules) Reset ¶
func (m *StringRules) Reset()
func (*StringRules) String ¶
func (m *StringRules) String() string
func (*StringRules) XXX_DiscardUnknown ¶
func (m *StringRules) XXX_DiscardUnknown()
func (*StringRules) XXX_Marshal ¶
func (m *StringRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StringRules) XXX_Merge ¶
func (dst *StringRules) XXX_Merge(src proto.Message)
func (*StringRules) XXX_OneofFuncs ¶
func (*StringRules) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*StringRules) XXX_Size ¶
func (m *StringRules) XXX_Size() int
func (*StringRules) XXX_Unmarshal ¶
func (m *StringRules) XXX_Unmarshal(b []byte) error
type StringRules_Email ¶
type StringRules_Email struct {
Email bool `protobuf:"varint,12,opt,name=email,oneof"`
}
type StringRules_Hostname ¶
type StringRules_Hostname struct {
Hostname bool `protobuf:"varint,13,opt,name=hostname,oneof"`
}
type StringRules_Ip ¶
type StringRules_Ip struct {
Ip bool `protobuf:"varint,14,opt,name=ip,oneof"`
}
type StringRules_Ipv4 ¶
type StringRules_Ipv4 struct {
Ipv4 bool `protobuf:"varint,15,opt,name=ipv4,oneof"`
}
type StringRules_Ipv6 ¶
type StringRules_Ipv6 struct {
Ipv6 bool `protobuf:"varint,16,opt,name=ipv6,oneof"`
}
type StringRules_Uri ¶
type StringRules_Uri struct {
Uri bool `protobuf:"varint,17,opt,name=uri,oneof"`
}
type StringRules_UriRef ¶
type StringRules_UriRef struct {
UriRef bool `protobuf:"varint,18,opt,name=uri_ref,json=uriRef,oneof"`
}
type TimestampRules ¶
type TimestampRules struct { Required *bool `protobuf:"varint,1,opt,name=required" json:"required,omitempty"` Const *timestamp.Timestamp `protobuf:"bytes,2,opt,name=const" json:"const,omitempty"` Lt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=lt" json:"lt,omitempty"` Lte *timestamp.Timestamp `protobuf:"bytes,4,opt,name=lte" json:"lte,omitempty"` Gt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=gt" json:"gt,omitempty"` Gte *timestamp.Timestamp `protobuf:"bytes,6,opt,name=gte" json:"gte,omitempty"` LtNow *bool `protobuf:"varint,7,opt,name=lt_now,json=ltNow" json:"lt_now,omitempty"` GtNow *bool `protobuf:"varint,8,opt,name=gt_now,json=gtNow" json:"gt_now,omitempty"` Within *duration.Duration `protobuf:"bytes,9,opt,name=within" json:"within,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TimestampRules) Descriptor ¶
func (*TimestampRules) Descriptor() ([]byte, []int)
func (*TimestampRules) GetConst ¶
func (m *TimestampRules) GetConst() *timestamp.Timestamp
func (*TimestampRules) GetGt ¶
func (m *TimestampRules) GetGt() *timestamp.Timestamp
func (*TimestampRules) GetGtNow ¶
func (m *TimestampRules) GetGtNow() bool
func (*TimestampRules) GetGte ¶
func (m *TimestampRules) GetGte() *timestamp.Timestamp
func (*TimestampRules) GetLt ¶
func (m *TimestampRules) GetLt() *timestamp.Timestamp
func (*TimestampRules) GetLtNow ¶
func (m *TimestampRules) GetLtNow() bool
func (*TimestampRules) GetLte ¶
func (m *TimestampRules) GetLte() *timestamp.Timestamp
func (*TimestampRules) GetRequired ¶
func (m *TimestampRules) GetRequired() bool
func (*TimestampRules) GetWithin ¶
func (m *TimestampRules) GetWithin() *duration.Duration
func (*TimestampRules) ProtoMessage ¶
func (*TimestampRules) ProtoMessage()
func (*TimestampRules) Reset ¶
func (m *TimestampRules) Reset()
func (*TimestampRules) String ¶
func (m *TimestampRules) String() string
func (*TimestampRules) XXX_DiscardUnknown ¶
func (m *TimestampRules) XXX_DiscardUnknown()
func (*TimestampRules) XXX_Marshal ¶
func (m *TimestampRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TimestampRules) XXX_Merge ¶
func (dst *TimestampRules) XXX_Merge(src proto.Message)
func (*TimestampRules) XXX_Size ¶
func (m *TimestampRules) XXX_Size() int
func (*TimestampRules) XXX_Unmarshal ¶
func (m *TimestampRules) XXX_Unmarshal(b []byte) error
type UInt32Rules ¶
type UInt32Rules struct { Const *uint32 `protobuf:"varint,1,opt,name=const" json:"const,omitempty"` Lt *uint32 `protobuf:"varint,2,opt,name=lt" json:"lt,omitempty"` Lte *uint32 `protobuf:"varint,3,opt,name=lte" json:"lte,omitempty"` Gt *uint32 `protobuf:"varint,4,opt,name=gt" json:"gt,omitempty"` Gte *uint32 `protobuf:"varint,5,opt,name=gte" json:"gte,omitempty"` In []uint32 `protobuf:"varint,6,rep,name=in" json:"in,omitempty"` NotIn []uint32 `protobuf:"varint,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UInt32Rules) Descriptor ¶
func (*UInt32Rules) Descriptor() ([]byte, []int)
func (*UInt32Rules) GetConst ¶
func (m *UInt32Rules) GetConst() uint32
func (*UInt32Rules) GetGt ¶
func (m *UInt32Rules) GetGt() uint32
func (*UInt32Rules) GetGte ¶
func (m *UInt32Rules) GetGte() uint32
func (*UInt32Rules) GetIn ¶
func (m *UInt32Rules) GetIn() []uint32
func (*UInt32Rules) GetLt ¶
func (m *UInt32Rules) GetLt() uint32
func (*UInt32Rules) GetLte ¶
func (m *UInt32Rules) GetLte() uint32
func (*UInt32Rules) GetNotIn ¶
func (m *UInt32Rules) GetNotIn() []uint32
func (*UInt32Rules) ProtoMessage ¶
func (*UInt32Rules) ProtoMessage()
func (*UInt32Rules) Reset ¶
func (m *UInt32Rules) Reset()
func (*UInt32Rules) String ¶
func (m *UInt32Rules) String() string
func (*UInt32Rules) XXX_DiscardUnknown ¶
func (m *UInt32Rules) XXX_DiscardUnknown()
func (*UInt32Rules) XXX_Marshal ¶
func (m *UInt32Rules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UInt32Rules) XXX_Merge ¶
func (dst *UInt32Rules) XXX_Merge(src proto.Message)
func (*UInt32Rules) XXX_Size ¶
func (m *UInt32Rules) XXX_Size() int
func (*UInt32Rules) XXX_Unmarshal ¶
func (m *UInt32Rules) XXX_Unmarshal(b []byte) error
type UInt64Rules ¶
type UInt64Rules struct { Const *uint64 `protobuf:"varint,1,opt,name=const" json:"const,omitempty"` Lt *uint64 `protobuf:"varint,2,opt,name=lt" json:"lt,omitempty"` Lte *uint64 `protobuf:"varint,3,opt,name=lte" json:"lte,omitempty"` Gt *uint64 `protobuf:"varint,4,opt,name=gt" json:"gt,omitempty"` Gte *uint64 `protobuf:"varint,5,opt,name=gte" json:"gte,omitempty"` In []uint64 `protobuf:"varint,6,rep,name=in" json:"in,omitempty"` NotIn []uint64 `protobuf:"varint,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UInt64Rules) Descriptor ¶
func (*UInt64Rules) Descriptor() ([]byte, []int)
func (*UInt64Rules) GetConst ¶
func (m *UInt64Rules) GetConst() uint64
func (*UInt64Rules) GetGt ¶
func (m *UInt64Rules) GetGt() uint64
func (*UInt64Rules) GetGte ¶
func (m *UInt64Rules) GetGte() uint64
func (*UInt64Rules) GetIn ¶
func (m *UInt64Rules) GetIn() []uint64
func (*UInt64Rules) GetLt ¶
func (m *UInt64Rules) GetLt() uint64
func (*UInt64Rules) GetLte ¶
func (m *UInt64Rules) GetLte() uint64
func (*UInt64Rules) GetNotIn ¶
func (m *UInt64Rules) GetNotIn() []uint64
func (*UInt64Rules) ProtoMessage ¶
func (*UInt64Rules) ProtoMessage()
func (*UInt64Rules) Reset ¶
func (m *UInt64Rules) Reset()
func (*UInt64Rules) String ¶
func (m *UInt64Rules) String() string
func (*UInt64Rules) XXX_DiscardUnknown ¶
func (m *UInt64Rules) XXX_DiscardUnknown()
func (*UInt64Rules) XXX_Marshal ¶
func (m *UInt64Rules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UInt64Rules) XXX_Merge ¶
func (dst *UInt64Rules) XXX_Merge(src proto.Message)
func (*UInt64Rules) XXX_Size ¶
func (m *UInt64Rules) XXX_Size() int
func (*UInt64Rules) XXX_Unmarshal ¶
func (m *UInt64Rules) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.