Documentation ¶
Index ¶
- Variables
- type CelMapOnARepeated
- func (*CelMapOnARepeated) Descriptor() ([]byte, []int)deprecated
- func (x *CelMapOnARepeated) GetValues() []*CelMapOnARepeated_Value
- func (*CelMapOnARepeated) ProtoMessage()
- func (x *CelMapOnARepeated) ProtoReflect() protoreflect.Message
- func (x *CelMapOnARepeated) Reset()
- func (x *CelMapOnARepeated) String() string
- type CelMapOnARepeated_Value
- func (*CelMapOnARepeated_Value) Descriptor() ([]byte, []int)deprecated
- func (x *CelMapOnARepeated_Value) GetName() string
- func (*CelMapOnARepeated_Value) ProtoMessage()
- func (x *CelMapOnARepeated_Value) ProtoReflect() protoreflect.Message
- func (x *CelMapOnARepeated_Value) Reset()
- func (x *CelMapOnARepeated_Value) String() string
- type Coordinates
- type F1
- type F2
- type FieldOfTypeAny
- type FieldWithIssue
- func (*FieldWithIssue) Descriptor() ([]byte, []int)deprecated
- func (x *FieldWithIssue) GetF1() *F1
- func (x *FieldWithIssue) GetName() string
- func (*FieldWithIssue) ProtoMessage()
- func (x *FieldWithIssue) ProtoReflect() protoreflect.Message
- func (x *FieldWithIssue) Reset()
- func (x *FieldWithIssue) String() string
- type HasMsgExprs
- type Issue148
- type LegacyDisabled
- type LegacyEnum
- type LegacyIgnoreEmpty
- type LegacyIgnored
- type LegacyIn
- type LegacyMap
- type LegacyMessageRequired
- func (*LegacyMessageRequired) Descriptor() ([]byte, []int)deprecated
- func (x *LegacyMessageRequired) GetX() *LegacySimple
- func (*LegacyMessageRequired) ProtoMessage()
- func (x *LegacyMessageRequired) ProtoReflect() protoreflect.Message
- func (x *LegacyMessageRequired) Reset()
- func (x *LegacyMessageRequired) String() string
- type LegacyMixedFields
- type LegacyMixedMessage
- type LegacyMixedOneof
- func (*LegacyMixedOneof) Descriptor() ([]byte, []int)deprecated
- func (m *LegacyMixedOneof) GetO() isLegacyMixedOneof_O
- func (x *LegacyMixedOneof) GetX() int32
- func (*LegacyMixedOneof) ProtoMessage()
- func (x *LegacyMixedOneof) ProtoReflect() protoreflect.Message
- func (x *LegacyMixedOneof) Reset()
- func (x *LegacyMixedOneof) String() string
- type LegacyMixedOneof_X
- type LegacyNone
- type LegacyNone_X
- type LegacyOneofRequired
- func (*LegacyOneofRequired) Descriptor() ([]byte, []int)deprecated
- func (m *LegacyOneofRequired) GetO() isLegacyOneofRequired_O
- func (x *LegacyOneofRequired) GetX() int32
- func (*LegacyOneofRequired) ProtoMessage()
- func (x *LegacyOneofRequired) ProtoReflect() protoreflect.Message
- func (x *LegacyOneofRequired) Reset()
- func (x *LegacyOneofRequired) String() string
- type LegacyOneofRequired_X
- type LegacyRepeated
- type LegacySimple
- type LegacySkipped
- type LegacyWKTRequired
- func (*LegacyWKTRequired) Descriptor() ([]byte, []int)deprecated
- func (x *LegacyWKTRequired) GetAny() *anypb.Any
- func (x *LegacyWKTRequired) GetDur() *durationpb.Duration
- func (x *LegacyWKTRequired) GetTs() *timestamppb.Timestamp
- func (*LegacyWKTRequired) ProtoMessage()
- func (x *LegacyWKTRequired) ProtoReflect() protoreflect.Message
- func (x *LegacyWKTRequired) Reset()
- func (x *LegacyWKTRequired) String() string
- type LoopRecursiveA
- type LoopRecursiveB
- type MsgHasMap
- func (*MsgHasMap) Descriptor() ([]byte, []int)deprecated
- func (x *MsgHasMap) GetInt32Map() map[int32]int32
- func (x *MsgHasMap) GetMessageMap() map[int64]*LoopRecursiveA
- func (x *MsgHasMap) GetStringMap() map[string]string
- func (*MsgHasMap) ProtoMessage()
- func (x *MsgHasMap) ProtoReflect() protoreflect.Message
- func (x *MsgHasMap) Reset()
- func (x *MsgHasMap) String() string
- type MsgHasOneof
- func (*MsgHasOneof) Descriptor() ([]byte, []int)deprecated
- func (x *MsgHasOneof) GetMsg() *HasMsgExprs
- func (m *MsgHasOneof) GetO() isMsgHasOneof_O
- func (x *MsgHasOneof) GetX() string
- func (x *MsgHasOneof) GetY() int32
- func (*MsgHasOneof) ProtoMessage()
- func (x *MsgHasOneof) ProtoReflect() protoreflect.Message
- func (x *MsgHasOneof) Reset()
- func (x *MsgHasOneof) String() string
- type MsgHasOneof_Msg
- type MsgHasOneof_X
- type MsgHasOneof_Y
- type MsgHasRepeated
- func (*MsgHasRepeated) Descriptor() ([]byte, []int)deprecated
- func (x *MsgHasRepeated) GetX() []float32
- func (x *MsgHasRepeated) GetY() []string
- func (x *MsgHasRepeated) GetZ() []*HasMsgExprs
- func (*MsgHasRepeated) ProtoMessage()
- func (x *MsgHasRepeated) ProtoReflect() protoreflect.Message
- func (x *MsgHasRepeated) Reset()
- func (x *MsgHasRepeated) String() string
- type MultipleStepsTransitiveFieldConstraints
- func (*MultipleStepsTransitiveFieldConstraints) Descriptor() ([]byte, []int)deprecated
- func (x *MultipleStepsTransitiveFieldConstraints) GetApi() *apipb.Api
- func (*MultipleStepsTransitiveFieldConstraints) ProtoMessage()
- func (x *MultipleStepsTransitiveFieldConstraints) ProtoReflect() protoreflect.Message
- func (x *MultipleStepsTransitiveFieldConstraints) Reset()
- func (x *MultipleStepsTransitiveFieldConstraints) String() string
- type OneTwo
- type Person
- func (*Person) Descriptor() ([]byte, []int)deprecated
- func (x *Person) GetEmail() string
- func (x *Person) GetHome() *Coordinates
- func (x *Person) GetId() uint64
- func (x *Person) GetName() string
- func (*Person) ProtoMessage()
- func (x *Person) ProtoReflect() protoreflect.Message
- func (x *Person) Reset()
- func (x *Person) String() string
- type RepeatedItemCel
- type SelfRecursive
- func (*SelfRecursive) Descriptor() ([]byte, []int)deprecated
- func (x *SelfRecursive) GetTurtle() *SelfRecursive
- func (x *SelfRecursive) GetX() int32
- func (*SelfRecursive) ProtoMessage()
- func (x *SelfRecursive) ProtoReflect() protoreflect.Message
- func (x *SelfRecursive) Reset()
- func (x *SelfRecursive) String() string
- type Simple
- type TransitiveFieldConstraint
- func (*TransitiveFieldConstraint) Descriptor() ([]byte, []int)deprecated
- func (x *TransitiveFieldConstraint) GetMask() *fieldmaskpb.FieldMask
- func (*TransitiveFieldConstraint) ProtoMessage()
- func (x *TransitiveFieldConstraint) ProtoReflect() protoreflect.Message
- func (x *TransitiveFieldConstraint) Reset()
- func (x *TransitiveFieldConstraint) String() string
- type TwoOne
Constants ¶
This section is empty.
Variables ¶
var (
// repeated int32 abs_not_in = 1800;
E_AbsNotIn = &file_tests_example_v1_predefined_proto_extTypes[0]
)
Extension fields to validate.Int32Rules.
var File_tests_example_v1_example_proto protoreflect.FileDescriptor
var File_tests_example_v1_legacy_proto protoreflect.FileDescriptor
var File_tests_example_v1_predefined_proto protoreflect.FileDescriptor
var File_tests_example_v1_validations_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CelMapOnARepeated ¶ added in v0.4.2
type CelMapOnARepeated struct { Values []*CelMapOnARepeated_Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
https://github.com/bufbuild/protovalidate/issues/92
func (*CelMapOnARepeated) Descriptor
deprecated
added in
v0.4.2
func (*CelMapOnARepeated) Descriptor() ([]byte, []int)
Deprecated: Use CelMapOnARepeated.ProtoReflect.Descriptor instead.
func (*CelMapOnARepeated) GetValues ¶ added in v0.4.2
func (x *CelMapOnARepeated) GetValues() []*CelMapOnARepeated_Value
func (*CelMapOnARepeated) ProtoMessage ¶ added in v0.4.2
func (*CelMapOnARepeated) ProtoMessage()
func (*CelMapOnARepeated) ProtoReflect ¶ added in v0.4.2
func (x *CelMapOnARepeated) ProtoReflect() protoreflect.Message
func (*CelMapOnARepeated) Reset ¶ added in v0.4.2
func (x *CelMapOnARepeated) Reset()
func (*CelMapOnARepeated) String ¶ added in v0.4.2
func (x *CelMapOnARepeated) String() string
type CelMapOnARepeated_Value ¶ added in v0.4.2
type CelMapOnARepeated_Value struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*CelMapOnARepeated_Value) Descriptor
deprecated
added in
v0.4.2
func (*CelMapOnARepeated_Value) Descriptor() ([]byte, []int)
Deprecated: Use CelMapOnARepeated_Value.ProtoReflect.Descriptor instead.
func (*CelMapOnARepeated_Value) GetName ¶ added in v0.4.2
func (x *CelMapOnARepeated_Value) GetName() string
func (*CelMapOnARepeated_Value) ProtoMessage ¶ added in v0.4.2
func (*CelMapOnARepeated_Value) ProtoMessage()
func (*CelMapOnARepeated_Value) ProtoReflect ¶ added in v0.4.2
func (x *CelMapOnARepeated_Value) ProtoReflect() protoreflect.Message
func (*CelMapOnARepeated_Value) Reset ¶ added in v0.4.2
func (x *CelMapOnARepeated_Value) Reset()
func (*CelMapOnARepeated_Value) String ¶ added in v0.4.2
func (x *CelMapOnARepeated_Value) String() string
type Coordinates ¶
type Coordinates struct { Lat float64 `protobuf:"fixed64,1,opt,name=lat,proto3" json:"lat,omitempty"` Lng float64 `protobuf:"fixed64,2,opt,name=lng,proto3" json:"lng,omitempty"` // contains filtered or unexported fields }
func (*Coordinates) Descriptor
deprecated
func (*Coordinates) Descriptor() ([]byte, []int)
Deprecated: Use Coordinates.ProtoReflect.Descriptor instead.
func (*Coordinates) GetLat ¶
func (x *Coordinates) GetLat() float64
func (*Coordinates) GetLng ¶
func (x *Coordinates) GetLng() float64
func (*Coordinates) ProtoMessage ¶
func (*Coordinates) ProtoMessage()
func (*Coordinates) ProtoReflect ¶
func (x *Coordinates) ProtoReflect() protoreflect.Message
func (*Coordinates) Reset ¶
func (x *Coordinates) Reset()
func (*Coordinates) String ¶
func (x *Coordinates) String() string
type F1 ¶ added in v0.6.5
type F1 struct { NeedThis string `protobuf:"bytes,1,opt,name=need_this,json=needThis,proto3" json:"need_this,omitempty"` Field *FieldWithIssue `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"` // contains filtered or unexported fields }
func (*F1) Descriptor
deprecated
added in
v0.6.5
func (*F1) GetField ¶ added in v0.6.5
func (x *F1) GetField() *FieldWithIssue
func (*F1) GetNeedThis ¶ added in v0.6.5
func (*F1) ProtoMessage ¶ added in v0.6.5
func (*F1) ProtoMessage()
func (*F1) ProtoReflect ¶ added in v0.6.5
func (x *F1) ProtoReflect() protoreflect.Message
type F2 ¶ added in v0.6.5
type F2 struct { Field *FieldWithIssue `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` // contains filtered or unexported fields }
func (*F2) Descriptor
deprecated
added in
v0.6.5
func (*F2) GetField ¶ added in v0.6.5
func (x *F2) GetField() *FieldWithIssue
func (*F2) ProtoMessage ¶ added in v0.6.5
func (*F2) ProtoMessage()
func (*F2) ProtoReflect ¶ added in v0.6.5
func (x *F2) ProtoReflect() protoreflect.Message
type FieldOfTypeAny ¶ added in v0.4.0
type FieldOfTypeAny struct { Any *anypb.Any `protobuf:"bytes,1,opt,name=any,proto3" json:"any,omitempty"` // contains filtered or unexported fields }
func (*FieldOfTypeAny) Descriptor
deprecated
added in
v0.4.0
func (*FieldOfTypeAny) Descriptor() ([]byte, []int)
Deprecated: Use FieldOfTypeAny.ProtoReflect.Descriptor instead.
func (*FieldOfTypeAny) GetAny ¶ added in v0.4.0
func (x *FieldOfTypeAny) GetAny() *anypb.Any
func (*FieldOfTypeAny) ProtoMessage ¶ added in v0.4.0
func (*FieldOfTypeAny) ProtoMessage()
func (*FieldOfTypeAny) ProtoReflect ¶ added in v0.4.0
func (x *FieldOfTypeAny) ProtoReflect() protoreflect.Message
func (*FieldOfTypeAny) Reset ¶ added in v0.4.0
func (x *FieldOfTypeAny) Reset()
func (*FieldOfTypeAny) String ¶ added in v0.4.0
func (x *FieldOfTypeAny) String() string
type FieldWithIssue ¶ added in v0.6.5
type FieldWithIssue struct { F1 *F1 `protobuf:"bytes,1,opt,name=f1,proto3" json:"f1,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*FieldWithIssue) Descriptor
deprecated
added in
v0.6.5
func (*FieldWithIssue) Descriptor() ([]byte, []int)
Deprecated: Use FieldWithIssue.ProtoReflect.Descriptor instead.
func (*FieldWithIssue) GetF1 ¶ added in v0.6.5
func (x *FieldWithIssue) GetF1() *F1
func (*FieldWithIssue) GetName ¶ added in v0.6.5
func (x *FieldWithIssue) GetName() string
func (*FieldWithIssue) ProtoMessage ¶ added in v0.6.5
func (*FieldWithIssue) ProtoMessage()
func (*FieldWithIssue) ProtoReflect ¶ added in v0.6.5
func (x *FieldWithIssue) ProtoReflect() protoreflect.Message
func (*FieldWithIssue) Reset ¶ added in v0.6.5
func (x *FieldWithIssue) Reset()
func (*FieldWithIssue) String ¶ added in v0.6.5
func (x *FieldWithIssue) String() string
type HasMsgExprs ¶
type HasMsgExprs struct { X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"` // contains filtered or unexported fields }
func (*HasMsgExprs) Descriptor
deprecated
func (*HasMsgExprs) Descriptor() ([]byte, []int)
Deprecated: Use HasMsgExprs.ProtoReflect.Descriptor instead.
func (*HasMsgExprs) GetX ¶
func (x *HasMsgExprs) GetX() int32
func (*HasMsgExprs) GetY ¶
func (x *HasMsgExprs) GetY() int32
func (*HasMsgExprs) ProtoMessage ¶
func (*HasMsgExprs) ProtoMessage()
func (*HasMsgExprs) ProtoReflect ¶
func (x *HasMsgExprs) ProtoReflect() protoreflect.Message
func (*HasMsgExprs) Reset ¶
func (x *HasMsgExprs) Reset()
func (*HasMsgExprs) String ¶
func (x *HasMsgExprs) String() string
type Issue148 ¶ added in v0.7.1
type Issue148 struct { Test *int32 `protobuf:"varint,1,opt,name=test" json:"test,omitempty"` // contains filtered or unexported fields }
https://github.com/bufbuild/protovalidate-go/issues/148
func (*Issue148) Descriptor
deprecated
added in
v0.7.1
func (*Issue148) ProtoMessage ¶ added in v0.7.1
func (*Issue148) ProtoMessage()
func (*Issue148) ProtoReflect ¶ added in v0.7.1
func (x *Issue148) ProtoReflect() protoreflect.Message
type LegacyDisabled ¶
type LegacyDisabled struct { X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` // contains filtered or unexported fields }
func (*LegacyDisabled) Descriptor
deprecated
func (*LegacyDisabled) Descriptor() ([]byte, []int)
Deprecated: Use LegacyDisabled.ProtoReflect.Descriptor instead.
func (*LegacyDisabled) GetX ¶
func (x *LegacyDisabled) GetX() int32
func (*LegacyDisabled) ProtoMessage ¶
func (*LegacyDisabled) ProtoMessage()
func (*LegacyDisabled) ProtoReflect ¶
func (x *LegacyDisabled) ProtoReflect() protoreflect.Message
func (*LegacyDisabled) Reset ¶
func (x *LegacyDisabled) Reset()
func (*LegacyDisabled) String ¶
func (x *LegacyDisabled) String() string
type LegacyEnum ¶
type LegacyEnum struct { X string `protobuf:"bytes,1,opt,name=x,proto3" json:"x,omitempty"` // contains filtered or unexported fields }
func (*LegacyEnum) Descriptor
deprecated
func (*LegacyEnum) Descriptor() ([]byte, []int)
Deprecated: Use LegacyEnum.ProtoReflect.Descriptor instead.
func (*LegacyEnum) GetX ¶
func (x *LegacyEnum) GetX() string
func (*LegacyEnum) ProtoMessage ¶
func (*LegacyEnum) ProtoMessage()
func (*LegacyEnum) ProtoReflect ¶
func (x *LegacyEnum) ProtoReflect() protoreflect.Message
func (*LegacyEnum) Reset ¶
func (x *LegacyEnum) Reset()
func (*LegacyEnum) String ¶
func (x *LegacyEnum) String() string
type LegacyIgnoreEmpty ¶
type LegacyIgnoreEmpty struct { X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` // contains filtered or unexported fields }
func (*LegacyIgnoreEmpty) Descriptor
deprecated
func (*LegacyIgnoreEmpty) Descriptor() ([]byte, []int)
Deprecated: Use LegacyIgnoreEmpty.ProtoReflect.Descriptor instead.
func (*LegacyIgnoreEmpty) GetX ¶
func (x *LegacyIgnoreEmpty) GetX() int32
func (*LegacyIgnoreEmpty) ProtoMessage ¶
func (*LegacyIgnoreEmpty) ProtoMessage()
func (*LegacyIgnoreEmpty) ProtoReflect ¶
func (x *LegacyIgnoreEmpty) ProtoReflect() protoreflect.Message
func (*LegacyIgnoreEmpty) Reset ¶
func (x *LegacyIgnoreEmpty) Reset()
func (*LegacyIgnoreEmpty) String ¶
func (x *LegacyIgnoreEmpty) String() string
type LegacyIgnored ¶
type LegacyIgnored struct { X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` // contains filtered or unexported fields }
func (*LegacyIgnored) Descriptor
deprecated
func (*LegacyIgnored) Descriptor() ([]byte, []int)
Deprecated: Use LegacyIgnored.ProtoReflect.Descriptor instead.
func (*LegacyIgnored) GetX ¶
func (x *LegacyIgnored) GetX() int32
func (*LegacyIgnored) ProtoMessage ¶
func (*LegacyIgnored) ProtoMessage()
func (*LegacyIgnored) ProtoReflect ¶
func (x *LegacyIgnored) ProtoReflect() protoreflect.Message
func (*LegacyIgnored) Reset ¶
func (x *LegacyIgnored) Reset()
func (*LegacyIgnored) String ¶
func (x *LegacyIgnored) String() string
type LegacyIn ¶
type LegacyIn struct { X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` // contains filtered or unexported fields }
func (*LegacyIn) Descriptor
deprecated
func (*LegacyIn) ProtoMessage ¶
func (*LegacyIn) ProtoMessage()
func (*LegacyIn) ProtoReflect ¶
func (x *LegacyIn) ProtoReflect() protoreflect.Message
type LegacyMap ¶
type LegacyMap struct { X map[string]int32 `` /* 144-byte string literal not displayed */ // contains filtered or unexported fields }
func (*LegacyMap) Descriptor
deprecated
func (*LegacyMap) ProtoMessage ¶
func (*LegacyMap) ProtoMessage()
func (*LegacyMap) ProtoReflect ¶
func (x *LegacyMap) ProtoReflect() protoreflect.Message
type LegacyMessageRequired ¶
type LegacyMessageRequired struct { X *LegacySimple `protobuf:"bytes,1,opt,name=x,proto3" json:"x,omitempty"` // contains filtered or unexported fields }
func (*LegacyMessageRequired) Descriptor
deprecated
func (*LegacyMessageRequired) Descriptor() ([]byte, []int)
Deprecated: Use LegacyMessageRequired.ProtoReflect.Descriptor instead.
func (*LegacyMessageRequired) GetX ¶
func (x *LegacyMessageRequired) GetX() *LegacySimple
func (*LegacyMessageRequired) ProtoMessage ¶
func (*LegacyMessageRequired) ProtoMessage()
func (*LegacyMessageRequired) ProtoReflect ¶
func (x *LegacyMessageRequired) ProtoReflect() protoreflect.Message
func (*LegacyMessageRequired) Reset ¶
func (x *LegacyMessageRequired) Reset()
func (*LegacyMessageRequired) String ¶
func (x *LegacyMessageRequired) String() string
type LegacyMixedFields ¶
type LegacyMixedFields struct { X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` // contains filtered or unexported fields }
func (*LegacyMixedFields) Descriptor
deprecated
func (*LegacyMixedFields) Descriptor() ([]byte, []int)
Deprecated: Use LegacyMixedFields.ProtoReflect.Descriptor instead.
func (*LegacyMixedFields) GetX ¶
func (x *LegacyMixedFields) GetX() int32
func (*LegacyMixedFields) ProtoMessage ¶
func (*LegacyMixedFields) ProtoMessage()
func (*LegacyMixedFields) ProtoReflect ¶
func (x *LegacyMixedFields) ProtoReflect() protoreflect.Message
func (*LegacyMixedFields) Reset ¶
func (x *LegacyMixedFields) Reset()
func (*LegacyMixedFields) String ¶
func (x *LegacyMixedFields) String() string
type LegacyMixedMessage ¶
type LegacyMixedMessage struct { X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` // contains filtered or unexported fields }
func (*LegacyMixedMessage) Descriptor
deprecated
func (*LegacyMixedMessage) Descriptor() ([]byte, []int)
Deprecated: Use LegacyMixedMessage.ProtoReflect.Descriptor instead.
func (*LegacyMixedMessage) GetX ¶
func (x *LegacyMixedMessage) GetX() int32
func (*LegacyMixedMessage) ProtoMessage ¶
func (*LegacyMixedMessage) ProtoMessage()
func (*LegacyMixedMessage) ProtoReflect ¶
func (x *LegacyMixedMessage) ProtoReflect() protoreflect.Message
func (*LegacyMixedMessage) Reset ¶
func (x *LegacyMixedMessage) Reset()
func (*LegacyMixedMessage) String ¶
func (x *LegacyMixedMessage) String() string
type LegacyMixedOneof ¶
type LegacyMixedOneof struct { // Types that are assignable to O: // // *LegacyMixedOneof_X O isLegacyMixedOneof_O `protobuf_oneof:"o"` // contains filtered or unexported fields }
func (*LegacyMixedOneof) Descriptor
deprecated
func (*LegacyMixedOneof) Descriptor() ([]byte, []int)
Deprecated: Use LegacyMixedOneof.ProtoReflect.Descriptor instead.
func (*LegacyMixedOneof) GetO ¶
func (m *LegacyMixedOneof) GetO() isLegacyMixedOneof_O
func (*LegacyMixedOneof) GetX ¶
func (x *LegacyMixedOneof) GetX() int32
func (*LegacyMixedOneof) ProtoMessage ¶
func (*LegacyMixedOneof) ProtoMessage()
func (*LegacyMixedOneof) ProtoReflect ¶
func (x *LegacyMixedOneof) ProtoReflect() protoreflect.Message
func (*LegacyMixedOneof) Reset ¶
func (x *LegacyMixedOneof) Reset()
func (*LegacyMixedOneof) String ¶
func (x *LegacyMixedOneof) String() string
type LegacyMixedOneof_X ¶
type LegacyMixedOneof_X struct {
X int32 `protobuf:"varint,1,opt,name=x,proto3,oneof"`
}
type LegacyNone ¶
type LegacyNone struct { // Types that are assignable to O: // // *LegacyNone_X O isLegacyNone_O `protobuf_oneof:"o"` // contains filtered or unexported fields }
func (*LegacyNone) Descriptor
deprecated
func (*LegacyNone) Descriptor() ([]byte, []int)
Deprecated: Use LegacyNone.ProtoReflect.Descriptor instead.
func (*LegacyNone) GetO ¶
func (m *LegacyNone) GetO() isLegacyNone_O
func (*LegacyNone) GetX ¶
func (x *LegacyNone) GetX() int32
func (*LegacyNone) ProtoMessage ¶
func (*LegacyNone) ProtoMessage()
func (*LegacyNone) ProtoReflect ¶
func (x *LegacyNone) ProtoReflect() protoreflect.Message
func (*LegacyNone) Reset ¶
func (x *LegacyNone) Reset()
func (*LegacyNone) String ¶
func (x *LegacyNone) String() string
type LegacyNone_X ¶
type LegacyNone_X struct {
X int32 `protobuf:"varint,1,opt,name=x,proto3,oneof"`
}
type LegacyOneofRequired ¶
type LegacyOneofRequired struct { // Types that are assignable to O: // // *LegacyOneofRequired_X O isLegacyOneofRequired_O `protobuf_oneof:"o"` // contains filtered or unexported fields }
func (*LegacyOneofRequired) Descriptor
deprecated
func (*LegacyOneofRequired) Descriptor() ([]byte, []int)
Deprecated: Use LegacyOneofRequired.ProtoReflect.Descriptor instead.
func (*LegacyOneofRequired) GetO ¶
func (m *LegacyOneofRequired) GetO() isLegacyOneofRequired_O
func (*LegacyOneofRequired) GetX ¶
func (x *LegacyOneofRequired) GetX() int32
func (*LegacyOneofRequired) ProtoMessage ¶
func (*LegacyOneofRequired) ProtoMessage()
func (*LegacyOneofRequired) ProtoReflect ¶
func (x *LegacyOneofRequired) ProtoReflect() protoreflect.Message
func (*LegacyOneofRequired) Reset ¶
func (x *LegacyOneofRequired) Reset()
func (*LegacyOneofRequired) String ¶
func (x *LegacyOneofRequired) String() string
type LegacyOneofRequired_X ¶
type LegacyOneofRequired_X struct {
X int32 `protobuf:"varint,1,opt,name=x,proto3,oneof"`
}
type LegacyRepeated ¶
type LegacyRepeated struct { X []int32 `protobuf:"varint,1,rep,packed,name=x,proto3" json:"x,omitempty"` // contains filtered or unexported fields }
func (*LegacyRepeated) Descriptor
deprecated
func (*LegacyRepeated) Descriptor() ([]byte, []int)
Deprecated: Use LegacyRepeated.ProtoReflect.Descriptor instead.
func (*LegacyRepeated) GetX ¶
func (x *LegacyRepeated) GetX() []int32
func (*LegacyRepeated) ProtoMessage ¶
func (*LegacyRepeated) ProtoMessage()
func (*LegacyRepeated) ProtoReflect ¶
func (x *LegacyRepeated) ProtoReflect() protoreflect.Message
func (*LegacyRepeated) Reset ¶
func (x *LegacyRepeated) Reset()
func (*LegacyRepeated) String ¶
func (x *LegacyRepeated) String() string
type LegacySimple ¶
type LegacySimple struct { X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` // contains filtered or unexported fields }
func (*LegacySimple) Descriptor
deprecated
func (*LegacySimple) Descriptor() ([]byte, []int)
Deprecated: Use LegacySimple.ProtoReflect.Descriptor instead.
func (*LegacySimple) GetX ¶
func (x *LegacySimple) GetX() int32
func (*LegacySimple) ProtoMessage ¶
func (*LegacySimple) ProtoMessage()
func (*LegacySimple) ProtoReflect ¶
func (x *LegacySimple) ProtoReflect() protoreflect.Message
func (*LegacySimple) Reset ¶
func (x *LegacySimple) Reset()
func (*LegacySimple) String ¶
func (x *LegacySimple) String() string
type LegacySkipped ¶
type LegacySkipped struct { X *LegacySimple `protobuf:"bytes,1,opt,name=x,proto3" json:"x,omitempty"` // contains filtered or unexported fields }
func (*LegacySkipped) Descriptor
deprecated
func (*LegacySkipped) Descriptor() ([]byte, []int)
Deprecated: Use LegacySkipped.ProtoReflect.Descriptor instead.
func (*LegacySkipped) GetX ¶
func (x *LegacySkipped) GetX() *LegacySimple
func (*LegacySkipped) ProtoMessage ¶
func (*LegacySkipped) ProtoMessage()
func (*LegacySkipped) ProtoReflect ¶
func (x *LegacySkipped) ProtoReflect() protoreflect.Message
func (*LegacySkipped) Reset ¶
func (x *LegacySkipped) Reset()
func (*LegacySkipped) String ¶
func (x *LegacySkipped) String() string
type LegacyWKTRequired ¶
type LegacyWKTRequired struct { Any *anypb.Any `protobuf:"bytes,1,opt,name=any,proto3" json:"any,omitempty"` Ts *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=ts,proto3" json:"ts,omitempty"` Dur *durationpb.Duration `protobuf:"bytes,3,opt,name=dur,proto3" json:"dur,omitempty"` // contains filtered or unexported fields }
func (*LegacyWKTRequired) Descriptor
deprecated
func (*LegacyWKTRequired) Descriptor() ([]byte, []int)
Deprecated: Use LegacyWKTRequired.ProtoReflect.Descriptor instead.
func (*LegacyWKTRequired) GetAny ¶
func (x *LegacyWKTRequired) GetAny() *anypb.Any
func (*LegacyWKTRequired) GetDur ¶
func (x *LegacyWKTRequired) GetDur() *durationpb.Duration
func (*LegacyWKTRequired) GetTs ¶
func (x *LegacyWKTRequired) GetTs() *timestamppb.Timestamp
func (*LegacyWKTRequired) ProtoMessage ¶
func (*LegacyWKTRequired) ProtoMessage()
func (*LegacyWKTRequired) ProtoReflect ¶
func (x *LegacyWKTRequired) ProtoReflect() protoreflect.Message
func (*LegacyWKTRequired) Reset ¶
func (x *LegacyWKTRequired) Reset()
func (*LegacyWKTRequired) String ¶
func (x *LegacyWKTRequired) String() string
type LoopRecursiveA ¶
type LoopRecursiveA struct { B *LoopRecursiveB `protobuf:"bytes,1,opt,name=b,proto3" json:"b,omitempty"` // contains filtered or unexported fields }
func (*LoopRecursiveA) Descriptor
deprecated
func (*LoopRecursiveA) Descriptor() ([]byte, []int)
Deprecated: Use LoopRecursiveA.ProtoReflect.Descriptor instead.
func (*LoopRecursiveA) GetB ¶
func (x *LoopRecursiveA) GetB() *LoopRecursiveB
func (*LoopRecursiveA) ProtoMessage ¶
func (*LoopRecursiveA) ProtoMessage()
func (*LoopRecursiveA) ProtoReflect ¶
func (x *LoopRecursiveA) ProtoReflect() protoreflect.Message
func (*LoopRecursiveA) Reset ¶
func (x *LoopRecursiveA) Reset()
func (*LoopRecursiveA) String ¶
func (x *LoopRecursiveA) String() string
type LoopRecursiveB ¶
type LoopRecursiveB struct { A *LoopRecursiveA `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"` // contains filtered or unexported fields }
func (*LoopRecursiveB) Descriptor
deprecated
func (*LoopRecursiveB) Descriptor() ([]byte, []int)
Deprecated: Use LoopRecursiveB.ProtoReflect.Descriptor instead.
func (*LoopRecursiveB) GetA ¶
func (x *LoopRecursiveB) GetA() *LoopRecursiveA
func (*LoopRecursiveB) ProtoMessage ¶
func (*LoopRecursiveB) ProtoMessage()
func (*LoopRecursiveB) ProtoReflect ¶
func (x *LoopRecursiveB) ProtoReflect() protoreflect.Message
func (*LoopRecursiveB) Reset ¶
func (x *LoopRecursiveB) Reset()
func (*LoopRecursiveB) String ¶
func (x *LoopRecursiveB) String() string
type MsgHasMap ¶
type MsgHasMap struct { Int32Map map[int32]int32 `` /* 159-byte string literal not displayed */ StringMap map[string]string `` /* 176-byte string literal not displayed */ MessageMap map[int64]*LoopRecursiveA `` /* 180-byte string literal not displayed */ // contains filtered or unexported fields }
func (*MsgHasMap) Descriptor
deprecated
func (*MsgHasMap) GetInt32Map ¶
func (*MsgHasMap) GetMessageMap ¶
func (x *MsgHasMap) GetMessageMap() map[int64]*LoopRecursiveA
func (*MsgHasMap) GetStringMap ¶
func (*MsgHasMap) ProtoMessage ¶
func (*MsgHasMap) ProtoMessage()
func (*MsgHasMap) ProtoReflect ¶
func (x *MsgHasMap) ProtoReflect() protoreflect.Message
type MsgHasOneof ¶
type MsgHasOneof struct { // Types that are assignable to O: // // *MsgHasOneof_X // *MsgHasOneof_Y // *MsgHasOneof_Msg O isMsgHasOneof_O `protobuf_oneof:"o"` // contains filtered or unexported fields }
func (*MsgHasOneof) Descriptor
deprecated
func (*MsgHasOneof) Descriptor() ([]byte, []int)
Deprecated: Use MsgHasOneof.ProtoReflect.Descriptor instead.
func (*MsgHasOneof) GetMsg ¶
func (x *MsgHasOneof) GetMsg() *HasMsgExprs
func (*MsgHasOneof) GetO ¶
func (m *MsgHasOneof) GetO() isMsgHasOneof_O
func (*MsgHasOneof) GetX ¶
func (x *MsgHasOneof) GetX() string
func (*MsgHasOneof) GetY ¶
func (x *MsgHasOneof) GetY() int32
func (*MsgHasOneof) ProtoMessage ¶
func (*MsgHasOneof) ProtoMessage()
func (*MsgHasOneof) ProtoReflect ¶
func (x *MsgHasOneof) ProtoReflect() protoreflect.Message
func (*MsgHasOneof) Reset ¶
func (x *MsgHasOneof) Reset()
func (*MsgHasOneof) String ¶
func (x *MsgHasOneof) String() string
type MsgHasOneof_Msg ¶
type MsgHasOneof_Msg struct {
Msg *HasMsgExprs `protobuf:"bytes,3,opt,name=msg,proto3,oneof"`
}
type MsgHasOneof_X ¶
type MsgHasOneof_X struct {
X string `protobuf:"bytes,1,opt,name=x,proto3,oneof"`
}
type MsgHasOneof_Y ¶
type MsgHasOneof_Y struct {
Y int32 `protobuf:"varint,2,opt,name=y,proto3,oneof"`
}
type MsgHasRepeated ¶
type MsgHasRepeated struct { X []float32 `protobuf:"fixed32,1,rep,packed,name=x,proto3" json:"x,omitempty"` Y []string `protobuf:"bytes,2,rep,name=y,proto3" json:"y,omitempty"` Z []*HasMsgExprs `protobuf:"bytes,3,rep,name=z,proto3" json:"z,omitempty"` // contains filtered or unexported fields }
func (*MsgHasRepeated) Descriptor
deprecated
func (*MsgHasRepeated) Descriptor() ([]byte, []int)
Deprecated: Use MsgHasRepeated.ProtoReflect.Descriptor instead.
func (*MsgHasRepeated) GetX ¶
func (x *MsgHasRepeated) GetX() []float32
func (*MsgHasRepeated) GetY ¶
func (x *MsgHasRepeated) GetY() []string
func (*MsgHasRepeated) GetZ ¶
func (x *MsgHasRepeated) GetZ() []*HasMsgExprs
func (*MsgHasRepeated) ProtoMessage ¶
func (*MsgHasRepeated) ProtoMessage()
func (*MsgHasRepeated) ProtoReflect ¶
func (x *MsgHasRepeated) ProtoReflect() protoreflect.Message
func (*MsgHasRepeated) Reset ¶
func (x *MsgHasRepeated) Reset()
func (*MsgHasRepeated) String ¶
func (x *MsgHasRepeated) String() string
type MultipleStepsTransitiveFieldConstraints ¶ added in v0.3.3
type MultipleStepsTransitiveFieldConstraints struct { Api *apipb.Api `protobuf:"bytes,1,opt,name=api,proto3" json:"api,omitempty"` // contains filtered or unexported fields }
func (*MultipleStepsTransitiveFieldConstraints) Descriptor
deprecated
added in
v0.3.3
func (*MultipleStepsTransitiveFieldConstraints) Descriptor() ([]byte, []int)
Deprecated: Use MultipleStepsTransitiveFieldConstraints.ProtoReflect.Descriptor instead.
func (*MultipleStepsTransitiveFieldConstraints) GetApi ¶ added in v0.3.3
func (x *MultipleStepsTransitiveFieldConstraints) GetApi() *apipb.Api
func (*MultipleStepsTransitiveFieldConstraints) ProtoMessage ¶ added in v0.3.3
func (*MultipleStepsTransitiveFieldConstraints) ProtoMessage()
func (*MultipleStepsTransitiveFieldConstraints) ProtoReflect ¶ added in v0.3.3
func (x *MultipleStepsTransitiveFieldConstraints) ProtoReflect() protoreflect.Message
func (*MultipleStepsTransitiveFieldConstraints) Reset ¶ added in v0.3.3
func (x *MultipleStepsTransitiveFieldConstraints) Reset()
func (*MultipleStepsTransitiveFieldConstraints) String ¶ added in v0.3.3
func (x *MultipleStepsTransitiveFieldConstraints) String() string
type OneTwo ¶ added in v0.6.5
type OneTwo struct { Field1 *F1 `protobuf:"bytes,1,opt,name=field1,proto3" json:"field1,omitempty"` Field2 *F2 `protobuf:"bytes,2,opt,name=field2,proto3" json:"field2,omitempty"` // contains filtered or unexported fields }
func (*OneTwo) Descriptor
deprecated
added in
v0.6.5
func (*OneTwo) ProtoMessage ¶ added in v0.6.5
func (*OneTwo) ProtoMessage()
func (*OneTwo) ProtoReflect ¶ added in v0.6.5
func (x *OneTwo) ProtoReflect() protoreflect.Message
type Person ¶
type Person struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Home *Coordinates `protobuf:"bytes,4,opt,name=home,proto3" json:"home,omitempty"` // contains filtered or unexported fields }
func (*Person) Descriptor
deprecated
func (*Person) GetHome ¶
func (x *Person) GetHome() *Coordinates
func (*Person) ProtoMessage ¶
func (*Person) ProtoMessage()
func (*Person) ProtoReflect ¶
func (x *Person) ProtoReflect() protoreflect.Message
type RepeatedItemCel ¶ added in v0.5.1
type RepeatedItemCel struct { Paths []string `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` // contains filtered or unexported fields }
func (*RepeatedItemCel) Descriptor
deprecated
added in
v0.5.1
func (*RepeatedItemCel) Descriptor() ([]byte, []int)
Deprecated: Use RepeatedItemCel.ProtoReflect.Descriptor instead.
func (*RepeatedItemCel) GetPaths ¶ added in v0.5.1
func (x *RepeatedItemCel) GetPaths() []string
func (*RepeatedItemCel) ProtoMessage ¶ added in v0.5.1
func (*RepeatedItemCel) ProtoMessage()
func (*RepeatedItemCel) ProtoReflect ¶ added in v0.5.1
func (x *RepeatedItemCel) ProtoReflect() protoreflect.Message
func (*RepeatedItemCel) Reset ¶ added in v0.5.1
func (x *RepeatedItemCel) Reset()
func (*RepeatedItemCel) String ¶ added in v0.5.1
func (x *RepeatedItemCel) String() string
type SelfRecursive ¶
type SelfRecursive struct { X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` Turtle *SelfRecursive `protobuf:"bytes,2,opt,name=turtle,proto3" json:"turtle,omitempty"` // contains filtered or unexported fields }
func (*SelfRecursive) Descriptor
deprecated
func (*SelfRecursive) Descriptor() ([]byte, []int)
Deprecated: Use SelfRecursive.ProtoReflect.Descriptor instead.
func (*SelfRecursive) GetTurtle ¶
func (x *SelfRecursive) GetTurtle() *SelfRecursive
func (*SelfRecursive) GetX ¶
func (x *SelfRecursive) GetX() int32
func (*SelfRecursive) ProtoMessage ¶
func (*SelfRecursive) ProtoMessage()
func (*SelfRecursive) ProtoReflect ¶
func (x *SelfRecursive) ProtoReflect() protoreflect.Message
func (*SelfRecursive) Reset ¶
func (x *SelfRecursive) Reset()
func (*SelfRecursive) String ¶
func (x *SelfRecursive) String() string
type Simple ¶ added in v0.4.0
type Simple struct { S string `protobuf:"bytes,1,opt,name=s,proto3" json:"s,omitempty"` // contains filtered or unexported fields }
func (*Simple) Descriptor
deprecated
added in
v0.4.0
func (*Simple) ProtoMessage ¶ added in v0.4.0
func (*Simple) ProtoMessage()
func (*Simple) ProtoReflect ¶ added in v0.4.0
func (x *Simple) ProtoReflect() protoreflect.Message
type TransitiveFieldConstraint ¶ added in v0.3.3
type TransitiveFieldConstraint struct { Mask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=mask,proto3" json:"mask,omitempty"` // contains filtered or unexported fields }
func (*TransitiveFieldConstraint) Descriptor
deprecated
added in
v0.3.3
func (*TransitiveFieldConstraint) Descriptor() ([]byte, []int)
Deprecated: Use TransitiveFieldConstraint.ProtoReflect.Descriptor instead.
func (*TransitiveFieldConstraint) GetMask ¶ added in v0.3.3
func (x *TransitiveFieldConstraint) GetMask() *fieldmaskpb.FieldMask
func (*TransitiveFieldConstraint) ProtoMessage ¶ added in v0.3.3
func (*TransitiveFieldConstraint) ProtoMessage()
func (*TransitiveFieldConstraint) ProtoReflect ¶ added in v0.3.3
func (x *TransitiveFieldConstraint) ProtoReflect() protoreflect.Message
func (*TransitiveFieldConstraint) Reset ¶ added in v0.3.3
func (x *TransitiveFieldConstraint) Reset()
func (*TransitiveFieldConstraint) String ¶ added in v0.3.3
func (x *TransitiveFieldConstraint) String() string
type TwoOne ¶ added in v0.6.5
type TwoOne struct { Field2 *F2 `protobuf:"bytes,1,opt,name=field2,proto3" json:"field2,omitempty"` Field1 *F1 `protobuf:"bytes,2,opt,name=field1,proto3" json:"field1,omitempty"` // contains filtered or unexported fields }
func (*TwoOne) Descriptor
deprecated
added in
v0.6.5
func (*TwoOne) ProtoMessage ¶ added in v0.6.5
func (*TwoOne) ProtoMessage()
func (*TwoOne) ProtoReflect ¶ added in v0.6.5
func (x *TwoOne) ProtoReflect() protoreflect.Message