Documentation
¶
Index ¶
- Variables
- type DynRuntimeError
- type DynRuntimeError_builder
- type Enum
- type FieldExpressions
- func (x *FieldExpressions) ClearC()
- func (x *FieldExpressions) GetA() int32
- func (x *FieldExpressions) GetB() Enum
- func (x *FieldExpressions) GetC() *FieldExpressions_Nested
- func (x *FieldExpressions) GetD() int32
- func (x *FieldExpressions) HasC() bool
- func (*FieldExpressions) ProtoMessage()
- func (x *FieldExpressions) ProtoReflect() protoreflect.Message
- func (x *FieldExpressions) Reset()
- func (x *FieldExpressions) SetA(v int32)
- func (x *FieldExpressions) SetB(v Enum)
- func (x *FieldExpressions) SetC(v *FieldExpressions_Nested)
- func (x *FieldExpressions) SetD(v int32)
- func (x *FieldExpressions) String() string
- type FieldExpressions_Nested
- func (x *FieldExpressions_Nested) GetA() int32
- func (*FieldExpressions_Nested) ProtoMessage()
- func (x *FieldExpressions_Nested) ProtoReflect() protoreflect.Message
- func (x *FieldExpressions_Nested) Reset()
- func (x *FieldExpressions_Nested) SetA(v int32)
- func (x *FieldExpressions_Nested) String() string
- type FieldExpressions_Nested_builder
- type FieldExpressions_builder
- type IncorrectType
- type IncorrectType_builder
- type MessageExpressions
- func (x *MessageExpressions) ClearE()
- func (x *MessageExpressions) ClearF()
- func (x *MessageExpressions) GetA() int32
- func (x *MessageExpressions) GetB() int32
- func (x *MessageExpressions) GetC() Enum
- func (x *MessageExpressions) GetD() Enum
- func (x *MessageExpressions) GetE() *MessageExpressions_Nested
- func (x *MessageExpressions) GetF() *MessageExpressions_Nested
- func (x *MessageExpressions) HasE() bool
- func (x *MessageExpressions) HasF() bool
- func (*MessageExpressions) ProtoMessage()
- func (x *MessageExpressions) ProtoReflect() protoreflect.Message
- func (x *MessageExpressions) Reset()
- func (x *MessageExpressions) SetA(v int32)
- func (x *MessageExpressions) SetB(v int32)
- func (x *MessageExpressions) SetC(v Enum)
- func (x *MessageExpressions) SetD(v Enum)
- func (x *MessageExpressions) SetE(v *MessageExpressions_Nested)
- func (x *MessageExpressions) SetF(v *MessageExpressions_Nested)
- func (x *MessageExpressions) String() string
- type MessageExpressions_Nested
- func (x *MessageExpressions_Nested) GetA() int32
- func (x *MessageExpressions_Nested) GetB() int32
- func (*MessageExpressions_Nested) ProtoMessage()
- func (x *MessageExpressions_Nested) ProtoReflect() protoreflect.Message
- func (x *MessageExpressions_Nested) Reset()
- func (x *MessageExpressions_Nested) SetA(v int32)
- func (x *MessageExpressions_Nested) SetB(v int32)
- func (x *MessageExpressions_Nested) String() string
- type MessageExpressions_Nested_builder
- type MessageExpressions_builder
- type MissingField
- type MissingField_builder
- type NoExpressions
- func (x *NoExpressions) ClearC()
- func (x *NoExpressions) GetA() int32
- func (x *NoExpressions) GetB() Enum
- func (x *NoExpressions) GetC() *NoExpressions_Nested
- func (x *NoExpressions) HasC() bool
- func (*NoExpressions) ProtoMessage()
- func (x *NoExpressions) ProtoReflect() protoreflect.Message
- func (x *NoExpressions) Reset()
- func (x *NoExpressions) SetA(v int32)
- func (x *NoExpressions) SetB(v Enum)
- func (x *NoExpressions) SetC(v *NoExpressions_Nested)
- func (x *NoExpressions) String() string
- type NoExpressions_Nested
- type NoExpressions_Nested_builder
- type NoExpressions_builder
- type NowEqualsNow
- type NowEqualsNow_builder
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Enum_name = map[int32]string{ 0: "ENUM_UNSPECIFIED", 1: "ENUM_ONE", } Enum_value = map[string]int32{ "ENUM_UNSPECIFIED": 0, "ENUM_ONE": 1, } )
Enum value maps for Enum.
View Source
var File_buf_validate_conformance_cases_custom_constraints_custom_constraints_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DynRuntimeError ¶
type DynRuntimeError struct { A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"` // contains filtered or unexported fields }
func (*DynRuntimeError) GetA ¶
func (x *DynRuntimeError) GetA() int32
func (*DynRuntimeError) ProtoMessage ¶
func (*DynRuntimeError) ProtoMessage()
func (*DynRuntimeError) ProtoReflect ¶
func (x *DynRuntimeError) ProtoReflect() protoreflect.Message
func (*DynRuntimeError) Reset ¶
func (x *DynRuntimeError) Reset()
func (*DynRuntimeError) SetA ¶ added in v0.8.1
func (x *DynRuntimeError) SetA(v int32)
func (*DynRuntimeError) String ¶
func (x *DynRuntimeError) String() string
type DynRuntimeError_builder ¶ added in v0.8.1
type DynRuntimeError_builder struct { A int32 // contains filtered or unexported fields }
func (DynRuntimeError_builder) Build ¶ added in v0.8.1
func (b0 DynRuntimeError_builder) Build() *DynRuntimeError
type Enum ¶
type Enum int32
func (Enum) Descriptor ¶
func (Enum) Descriptor() protoreflect.EnumDescriptor
func (Enum) Number ¶
func (x Enum) Number() protoreflect.EnumNumber
func (Enum) Type ¶
func (Enum) Type() protoreflect.EnumType
type FieldExpressions ¶
type FieldExpressions struct { A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"` B Enum `protobuf:"varint,2,opt,name=b,proto3,enum=buf.validate.conformance.cases.custom_constraints.Enum" json:"b,omitempty"` C *FieldExpressions_Nested `protobuf:"bytes,3,opt,name=c,proto3" json:"c,omitempty"` D int32 `protobuf:"varint,4,opt,name=d,proto3" json:"d,omitempty"` // contains filtered or unexported fields }
func (*FieldExpressions) ClearC ¶ added in v0.8.1
func (x *FieldExpressions) ClearC()
func (*FieldExpressions) GetA ¶
func (x *FieldExpressions) GetA() int32
func (*FieldExpressions) GetB ¶
func (x *FieldExpressions) GetB() Enum
func (*FieldExpressions) GetC ¶
func (x *FieldExpressions) GetC() *FieldExpressions_Nested
func (*FieldExpressions) GetD ¶ added in v0.8.0
func (x *FieldExpressions) GetD() int32
func (*FieldExpressions) HasC ¶ added in v0.8.1
func (x *FieldExpressions) HasC() bool
func (*FieldExpressions) ProtoMessage ¶
func (*FieldExpressions) ProtoMessage()
func (*FieldExpressions) ProtoReflect ¶
func (x *FieldExpressions) ProtoReflect() protoreflect.Message
func (*FieldExpressions) Reset ¶
func (x *FieldExpressions) Reset()
func (*FieldExpressions) SetA ¶ added in v0.8.1
func (x *FieldExpressions) SetA(v int32)
func (*FieldExpressions) SetB ¶ added in v0.8.1
func (x *FieldExpressions) SetB(v Enum)
func (*FieldExpressions) SetC ¶ added in v0.8.1
func (x *FieldExpressions) SetC(v *FieldExpressions_Nested)
func (*FieldExpressions) SetD ¶ added in v0.8.1
func (x *FieldExpressions) SetD(v int32)
func (*FieldExpressions) String ¶
func (x *FieldExpressions) String() string
type FieldExpressions_Nested ¶
type FieldExpressions_Nested struct { A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"` // contains filtered or unexported fields }
func (*FieldExpressions_Nested) GetA ¶
func (x *FieldExpressions_Nested) GetA() int32
func (*FieldExpressions_Nested) ProtoMessage ¶
func (*FieldExpressions_Nested) ProtoMessage()
func (*FieldExpressions_Nested) ProtoReflect ¶
func (x *FieldExpressions_Nested) ProtoReflect() protoreflect.Message
func (*FieldExpressions_Nested) Reset ¶
func (x *FieldExpressions_Nested) Reset()
func (*FieldExpressions_Nested) SetA ¶ added in v0.8.1
func (x *FieldExpressions_Nested) SetA(v int32)
func (*FieldExpressions_Nested) String ¶
func (x *FieldExpressions_Nested) String() string
type FieldExpressions_Nested_builder ¶ added in v0.8.1
type FieldExpressions_Nested_builder struct { A int32 // contains filtered or unexported fields }
func (FieldExpressions_Nested_builder) Build ¶ added in v0.8.1
func (b0 FieldExpressions_Nested_builder) Build() *FieldExpressions_Nested
type FieldExpressions_builder ¶ added in v0.8.1
type FieldExpressions_builder struct { A int32 B Enum C *FieldExpressions_Nested D int32 // contains filtered or unexported fields }
func (FieldExpressions_builder) Build ¶ added in v0.8.1
func (b0 FieldExpressions_builder) Build() *FieldExpressions
type IncorrectType ¶
type IncorrectType struct { A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"` // contains filtered or unexported fields }
func (*IncorrectType) GetA ¶
func (x *IncorrectType) GetA() int32
func (*IncorrectType) ProtoMessage ¶
func (*IncorrectType) ProtoMessage()
func (*IncorrectType) ProtoReflect ¶
func (x *IncorrectType) ProtoReflect() protoreflect.Message
func (*IncorrectType) Reset ¶
func (x *IncorrectType) Reset()
func (*IncorrectType) SetA ¶ added in v0.8.1
func (x *IncorrectType) SetA(v int32)
func (*IncorrectType) String ¶
func (x *IncorrectType) String() string
type IncorrectType_builder ¶ added in v0.8.1
type IncorrectType_builder struct { A int32 // contains filtered or unexported fields }
func (IncorrectType_builder) Build ¶ added in v0.8.1
func (b0 IncorrectType_builder) Build() *IncorrectType
type MessageExpressions ¶
type MessageExpressions struct { A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"` B int32 `protobuf:"varint,2,opt,name=b,proto3" json:"b,omitempty"` C Enum `protobuf:"varint,3,opt,name=c,proto3,enum=buf.validate.conformance.cases.custom_constraints.Enum" json:"c,omitempty"` D Enum `protobuf:"varint,4,opt,name=d,proto3,enum=buf.validate.conformance.cases.custom_constraints.Enum" json:"d,omitempty"` E *MessageExpressions_Nested `protobuf:"bytes,5,opt,name=e,proto3" json:"e,omitempty"` F *MessageExpressions_Nested `protobuf:"bytes,6,opt,name=f,proto3" json:"f,omitempty"` // contains filtered or unexported fields }
A message with message-level custom expressions
func (*MessageExpressions) ClearE ¶ added in v0.8.1
func (x *MessageExpressions) ClearE()
func (*MessageExpressions) ClearF ¶ added in v0.8.1
func (x *MessageExpressions) ClearF()
func (*MessageExpressions) GetA ¶
func (x *MessageExpressions) GetA() int32
func (*MessageExpressions) GetB ¶
func (x *MessageExpressions) GetB() int32
func (*MessageExpressions) GetC ¶
func (x *MessageExpressions) GetC() Enum
func (*MessageExpressions) GetD ¶
func (x *MessageExpressions) GetD() Enum
func (*MessageExpressions) GetE ¶
func (x *MessageExpressions) GetE() *MessageExpressions_Nested
func (*MessageExpressions) GetF ¶
func (x *MessageExpressions) GetF() *MessageExpressions_Nested
func (*MessageExpressions) HasE ¶ added in v0.8.1
func (x *MessageExpressions) HasE() bool
func (*MessageExpressions) HasF ¶ added in v0.8.1
func (x *MessageExpressions) HasF() bool
func (*MessageExpressions) ProtoMessage ¶
func (*MessageExpressions) ProtoMessage()
func (*MessageExpressions) ProtoReflect ¶
func (x *MessageExpressions) ProtoReflect() protoreflect.Message
func (*MessageExpressions) Reset ¶
func (x *MessageExpressions) Reset()
func (*MessageExpressions) SetA ¶ added in v0.8.1
func (x *MessageExpressions) SetA(v int32)
func (*MessageExpressions) SetB ¶ added in v0.8.1
func (x *MessageExpressions) SetB(v int32)
func (*MessageExpressions) SetC ¶ added in v0.8.1
func (x *MessageExpressions) SetC(v Enum)
func (*MessageExpressions) SetD ¶ added in v0.8.1
func (x *MessageExpressions) SetD(v Enum)
func (*MessageExpressions) SetE ¶ added in v0.8.1
func (x *MessageExpressions) SetE(v *MessageExpressions_Nested)
func (*MessageExpressions) SetF ¶ added in v0.8.1
func (x *MessageExpressions) SetF(v *MessageExpressions_Nested)
func (*MessageExpressions) String ¶
func (x *MessageExpressions) String() string
type MessageExpressions_Nested ¶
type MessageExpressions_Nested struct { A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"` B int32 `protobuf:"varint,2,opt,name=b,proto3" json:"b,omitempty"` // contains filtered or unexported fields }
func (*MessageExpressions_Nested) GetA ¶
func (x *MessageExpressions_Nested) GetA() int32
func (*MessageExpressions_Nested) GetB ¶
func (x *MessageExpressions_Nested) GetB() int32
func (*MessageExpressions_Nested) ProtoMessage ¶
func (*MessageExpressions_Nested) ProtoMessage()
func (*MessageExpressions_Nested) ProtoReflect ¶
func (x *MessageExpressions_Nested) ProtoReflect() protoreflect.Message
func (*MessageExpressions_Nested) Reset ¶
func (x *MessageExpressions_Nested) Reset()
func (*MessageExpressions_Nested) SetA ¶ added in v0.8.1
func (x *MessageExpressions_Nested) SetA(v int32)
func (*MessageExpressions_Nested) SetB ¶ added in v0.8.1
func (x *MessageExpressions_Nested) SetB(v int32)
func (*MessageExpressions_Nested) String ¶
func (x *MessageExpressions_Nested) String() string
type MessageExpressions_Nested_builder ¶ added in v0.8.1
type MessageExpressions_Nested_builder struct { A int32 B int32 // contains filtered or unexported fields }
func (MessageExpressions_Nested_builder) Build ¶ added in v0.8.1
func (b0 MessageExpressions_Nested_builder) Build() *MessageExpressions_Nested
type MessageExpressions_builder ¶ added in v0.8.1
type MessageExpressions_builder struct { A int32 B int32 C Enum D Enum E *MessageExpressions_Nested F *MessageExpressions_Nested // contains filtered or unexported fields }
func (MessageExpressions_builder) Build ¶ added in v0.8.1
func (b0 MessageExpressions_builder) Build() *MessageExpressions
type MissingField ¶
type MissingField struct { A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"` // contains filtered or unexported fields }
func (*MissingField) GetA ¶
func (x *MissingField) GetA() int32
func (*MissingField) ProtoMessage ¶
func (*MissingField) ProtoMessage()
func (*MissingField) ProtoReflect ¶
func (x *MissingField) ProtoReflect() protoreflect.Message
func (*MissingField) Reset ¶
func (x *MissingField) Reset()
func (*MissingField) SetA ¶ added in v0.8.1
func (x *MissingField) SetA(v int32)
func (*MissingField) String ¶
func (x *MissingField) String() string
type MissingField_builder ¶ added in v0.8.1
type MissingField_builder struct { A int32 // contains filtered or unexported fields }
func (MissingField_builder) Build ¶ added in v0.8.1
func (b0 MissingField_builder) Build() *MissingField
type NoExpressions ¶
type NoExpressions struct { A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"` B Enum `protobuf:"varint,2,opt,name=b,proto3,enum=buf.validate.conformance.cases.custom_constraints.Enum" json:"b,omitempty"` C *NoExpressions_Nested `protobuf:"bytes,3,opt,name=c,proto3" json:"c,omitempty"` // contains filtered or unexported fields }
A message that does not contain any expressions
func (*NoExpressions) ClearC ¶ added in v0.8.1
func (x *NoExpressions) ClearC()
func (*NoExpressions) GetA ¶
func (x *NoExpressions) GetA() int32
func (*NoExpressions) GetB ¶
func (x *NoExpressions) GetB() Enum
func (*NoExpressions) GetC ¶
func (x *NoExpressions) GetC() *NoExpressions_Nested
func (*NoExpressions) HasC ¶ added in v0.8.1
func (x *NoExpressions) HasC() bool
func (*NoExpressions) ProtoMessage ¶
func (*NoExpressions) ProtoMessage()
func (*NoExpressions) ProtoReflect ¶
func (x *NoExpressions) ProtoReflect() protoreflect.Message
func (*NoExpressions) Reset ¶
func (x *NoExpressions) Reset()
func (*NoExpressions) SetA ¶ added in v0.8.1
func (x *NoExpressions) SetA(v int32)
func (*NoExpressions) SetB ¶ added in v0.8.1
func (x *NoExpressions) SetB(v Enum)
func (*NoExpressions) SetC ¶ added in v0.8.1
func (x *NoExpressions) SetC(v *NoExpressions_Nested)
func (*NoExpressions) String ¶
func (x *NoExpressions) String() string
type NoExpressions_Nested ¶
type NoExpressions_Nested struct {
// contains filtered or unexported fields
}
func (*NoExpressions_Nested) ProtoMessage ¶
func (*NoExpressions_Nested) ProtoMessage()
func (*NoExpressions_Nested) ProtoReflect ¶
func (x *NoExpressions_Nested) ProtoReflect() protoreflect.Message
func (*NoExpressions_Nested) Reset ¶
func (x *NoExpressions_Nested) Reset()
func (*NoExpressions_Nested) String ¶
func (x *NoExpressions_Nested) String() string
type NoExpressions_Nested_builder ¶ added in v0.8.1
type NoExpressions_Nested_builder struct {
// contains filtered or unexported fields
}
func (NoExpressions_Nested_builder) Build ¶ added in v0.8.1
func (b0 NoExpressions_Nested_builder) Build() *NoExpressions_Nested
type NoExpressions_builder ¶ added in v0.8.1
type NoExpressions_builder struct { A int32 B Enum C *NoExpressions_Nested // contains filtered or unexported fields }
func (NoExpressions_builder) Build ¶ added in v0.8.1
func (b0 NoExpressions_builder) Build() *NoExpressions
type NowEqualsNow ¶
type NowEqualsNow struct {
// contains filtered or unexported fields
}
func (*NowEqualsNow) ProtoMessage ¶
func (*NowEqualsNow) ProtoMessage()
func (*NowEqualsNow) ProtoReflect ¶
func (x *NowEqualsNow) ProtoReflect() protoreflect.Message
func (*NowEqualsNow) Reset ¶
func (x *NowEqualsNow) Reset()
func (*NowEqualsNow) String ¶
func (x *NowEqualsNow) String() string
type NowEqualsNow_builder ¶ added in v0.8.1
type NowEqualsNow_builder struct {
// contains filtered or unexported fields
}
func (NowEqualsNow_builder) Build ¶ added in v0.8.1
func (b0 NowEqualsNow_builder) Build() *NowEqualsNow
Click to show internal directories.
Click to hide internal directories.