Documentation ¶
Index ¶
- Variables
- type DynRuntimeError
- type Enum
- type FieldExpressions
- func (*FieldExpressions) Descriptor() ([]byte, []int)deprecated
- func (x *FieldExpressions) GetA() int32
- func (x *FieldExpressions) GetB() Enum
- func (x *FieldExpressions) GetC() *FieldExpressions_Nested
- func (*FieldExpressions) ProtoMessage()
- func (x *FieldExpressions) ProtoReflect() protoreflect.Message
- func (x *FieldExpressions) Reset()
- func (x *FieldExpressions) String() string
- type FieldExpressions_Nested
- func (*FieldExpressions_Nested) Descriptor() ([]byte, []int)deprecated
- 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) String() string
- type IncorrectType
- type MessageExpressions
- func (*MessageExpressions) Descriptor() ([]byte, []int)deprecated
- 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 (*MessageExpressions) ProtoMessage()
- func (x *MessageExpressions) ProtoReflect() protoreflect.Message
- func (x *MessageExpressions) Reset()
- func (x *MessageExpressions) String() string
- type MessageExpressions_Nested
- func (*MessageExpressions_Nested) Descriptor() ([]byte, []int)deprecated
- 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) String() string
- type MissingField
- type NoExpressions
- func (*NoExpressions) Descriptor() ([]byte, []int)deprecated
- func (x *NoExpressions) GetA() int32
- func (x *NoExpressions) GetB() Enum
- func (x *NoExpressions) GetC() *NoExpressions_Nested
- func (*NoExpressions) ProtoMessage()
- func (x *NoExpressions) ProtoReflect() protoreflect.Message
- func (x *NoExpressions) Reset()
- func (x *NoExpressions) String() string
- type NoExpressions_Nested
- type NowEqualsNow
Constants ¶
This section is empty.
Variables ¶
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.
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) Descriptor
deprecated
func (*DynRuntimeError) Descriptor() ([]byte, []int)
Deprecated: Use DynRuntimeError.ProtoReflect.Descriptor instead.
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) String ¶
func (x *DynRuntimeError) String() string
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"` // contains filtered or unexported fields }
func (*FieldExpressions) Descriptor
deprecated
func (*FieldExpressions) Descriptor() ([]byte, []int)
Deprecated: Use FieldExpressions.ProtoReflect.Descriptor instead.
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) ProtoMessage ¶
func (*FieldExpressions) ProtoMessage()
func (*FieldExpressions) ProtoReflect ¶
func (x *FieldExpressions) ProtoReflect() protoreflect.Message
func (*FieldExpressions) Reset ¶
func (x *FieldExpressions) Reset()
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) Descriptor
deprecated
func (*FieldExpressions_Nested) Descriptor() ([]byte, []int)
Deprecated: Use FieldExpressions_Nested.ProtoReflect.Descriptor instead.
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) String ¶
func (x *FieldExpressions_Nested) String() string
type IncorrectType ¶
type IncorrectType struct { A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"` // contains filtered or unexported fields }
func (*IncorrectType) Descriptor
deprecated
func (*IncorrectType) Descriptor() ([]byte, []int)
Deprecated: Use IncorrectType.ProtoReflect.Descriptor instead.
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) String ¶
func (x *IncorrectType) String() string
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) Descriptor
deprecated
func (*MessageExpressions) Descriptor() ([]byte, []int)
Deprecated: Use MessageExpressions.ProtoReflect.Descriptor instead.
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) ProtoMessage ¶
func (*MessageExpressions) ProtoMessage()
func (*MessageExpressions) ProtoReflect ¶
func (x *MessageExpressions) ProtoReflect() protoreflect.Message
func (*MessageExpressions) Reset ¶
func (x *MessageExpressions) Reset()
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) Descriptor
deprecated
func (*MessageExpressions_Nested) Descriptor() ([]byte, []int)
Deprecated: Use MessageExpressions_Nested.ProtoReflect.Descriptor instead.
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) String ¶
func (x *MessageExpressions_Nested) String() string
type MissingField ¶
type MissingField struct { A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"` // contains filtered or unexported fields }
func (*MissingField) Descriptor
deprecated
func (*MissingField) Descriptor() ([]byte, []int)
Deprecated: Use MissingField.ProtoReflect.Descriptor instead.
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) String ¶
func (x *MissingField) String() string
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) Descriptor
deprecated
func (*NoExpressions) Descriptor() ([]byte, []int)
Deprecated: Use NoExpressions.ProtoReflect.Descriptor instead.
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) ProtoMessage ¶
func (*NoExpressions) ProtoMessage()
func (*NoExpressions) ProtoReflect ¶
func (x *NoExpressions) ProtoReflect() protoreflect.Message
func (*NoExpressions) Reset ¶
func (x *NoExpressions) Reset()
func (*NoExpressions) String ¶
func (x *NoExpressions) String() string
type NoExpressions_Nested ¶
type NoExpressions_Nested struct {
// contains filtered or unexported fields
}
func (*NoExpressions_Nested) Descriptor
deprecated
func (*NoExpressions_Nested) Descriptor() ([]byte, []int)
Deprecated: Use NoExpressions_Nested.ProtoReflect.Descriptor instead.
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 NowEqualsNow ¶
type NowEqualsNow struct {
// contains filtered or unexported fields
}
func (*NowEqualsNow) Descriptor
deprecated
func (*NowEqualsNow) Descriptor() ([]byte, []int)
Deprecated: Use NowEqualsNow.ProtoReflect.Descriptor instead.
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