Documentation ¶
Index ¶
- Variables
- type PossibleOne
- func (*PossibleOne) Descriptor() ([]byte, []int)deprecated
- func (x *PossibleOne) GetProperty_1() string
- func (x *PossibleOne) GetProperty_2() string
- func (*PossibleOne) ProtoMessage()
- func (x *PossibleOne) ProtoReflect() protoreflect.Message
- func (x *PossibleOne) Reset()
- func (x *PossibleOne) String() string
- type PossibleThree
- func (*PossibleThree) Descriptor() ([]byte, []int)deprecated
- func (x *PossibleThree) GetProperty_1() float64
- func (x *PossibleThree) GetProperty_2() float64
- func (*PossibleThree) ProtoMessage()
- func (x *PossibleThree) ProtoReflect() protoreflect.Message
- func (x *PossibleThree) Reset()
- func (x *PossibleThree) String() string
- type PossibleTwo
- func (*PossibleTwo) Descriptor() ([]byte, []int)deprecated
- func (x *PossibleTwo) GetProperty_1() bool
- func (x *PossibleTwo) GetProperty_2() bool
- func (*PossibleTwo) ProtoMessage()
- func (x *PossibleTwo) ProtoReflect() protoreflect.Message
- func (x *PossibleTwo) Reset()
- func (x *PossibleTwo) String() string
- type TestMessage
- func (*TestMessage) Descriptor() ([]byte, []int)deprecated
- func (m *TestMessage) GetOneofField() isTestMessage_OneofField
- func (x *TestMessage) GetPossibleOne() *PossibleOne
- func (x *TestMessage) GetPossibleThree() *PossibleThree
- func (x *TestMessage) GetPossibleTwo() *PossibleTwo
- func (x *TestMessage) GetProperty_1() string
- func (x *TestMessage) GetProperty_2() string
- func (*TestMessage) ProtoMessage()
- func (x *TestMessage) ProtoReflect() protoreflect.Message
- func (x *TestMessage) Reset()
- func (x *TestMessage) String() string
- type TestMessage_PossibleOne
- type TestMessage_PossibleThree
- type TestMessage_PossibleTwo
Constants ¶
This section is empty.
Variables ¶
View Source
var File_testpb_test_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type PossibleOne ¶
type PossibleOne struct { Property_1 string `protobuf:"bytes,1,opt,name=property_1,json=property1,proto3" json:"property_1,omitempty"` Property_2 string `protobuf:"bytes,2,opt,name=property_2,json=property2,proto3" json:"property_2,omitempty"` // contains filtered or unexported fields }
func (*PossibleOne) Descriptor
deprecated
func (*PossibleOne) Descriptor() ([]byte, []int)
Deprecated: Use PossibleOne.ProtoReflect.Descriptor instead.
func (*PossibleOne) GetProperty_1 ¶
func (x *PossibleOne) GetProperty_1() string
func (*PossibleOne) GetProperty_2 ¶
func (x *PossibleOne) GetProperty_2() string
func (*PossibleOne) ProtoMessage ¶
func (*PossibleOne) ProtoMessage()
func (*PossibleOne) ProtoReflect ¶
func (x *PossibleOne) ProtoReflect() protoreflect.Message
func (*PossibleOne) Reset ¶
func (x *PossibleOne) Reset()
func (*PossibleOne) String ¶
func (x *PossibleOne) String() string
type PossibleThree ¶
type PossibleThree struct { Property_1 float64 `protobuf:"fixed64,1,opt,name=property_1,json=property1,proto3" json:"property_1,omitempty"` Property_2 float64 `protobuf:"fixed64,2,opt,name=property_2,json=property2,proto3" json:"property_2,omitempty"` // contains filtered or unexported fields }
func (*PossibleThree) Descriptor
deprecated
func (*PossibleThree) Descriptor() ([]byte, []int)
Deprecated: Use PossibleThree.ProtoReflect.Descriptor instead.
func (*PossibleThree) GetProperty_1 ¶
func (x *PossibleThree) GetProperty_1() float64
func (*PossibleThree) GetProperty_2 ¶
func (x *PossibleThree) GetProperty_2() float64
func (*PossibleThree) ProtoMessage ¶
func (*PossibleThree) ProtoMessage()
func (*PossibleThree) ProtoReflect ¶
func (x *PossibleThree) ProtoReflect() protoreflect.Message
func (*PossibleThree) Reset ¶
func (x *PossibleThree) Reset()
func (*PossibleThree) String ¶
func (x *PossibleThree) String() string
type PossibleTwo ¶
type PossibleTwo struct { Property_1 bool `protobuf:"varint,1,opt,name=property_1,json=property1,proto3" json:"property_1,omitempty"` Property_2 bool `protobuf:"varint,2,opt,name=property_2,json=property2,proto3" json:"property_2,omitempty"` // contains filtered or unexported fields }
func (*PossibleTwo) Descriptor
deprecated
func (*PossibleTwo) Descriptor() ([]byte, []int)
Deprecated: Use PossibleTwo.ProtoReflect.Descriptor instead.
func (*PossibleTwo) GetProperty_1 ¶
func (x *PossibleTwo) GetProperty_1() bool
func (*PossibleTwo) GetProperty_2 ¶
func (x *PossibleTwo) GetProperty_2() bool
func (*PossibleTwo) ProtoMessage ¶
func (*PossibleTwo) ProtoMessage()
func (*PossibleTwo) ProtoReflect ¶
func (x *PossibleTwo) ProtoReflect() protoreflect.Message
func (*PossibleTwo) Reset ¶
func (x *PossibleTwo) Reset()
func (*PossibleTwo) String ¶
func (x *PossibleTwo) String() string
type TestMessage ¶
type TestMessage struct { Property_1 string `protobuf:"bytes,1,opt,name=property_1,json=property1,proto3" json:"property_1,omitempty"` Property_2 string `protobuf:"bytes,2,opt,name=property_2,json=property2,proto3" json:"property_2,omitempty"` // Types that are assignable to OneofField: // // *TestMessage_PossibleOne // *TestMessage_PossibleTwo // *TestMessage_PossibleThree OneofField isTestMessage_OneofField `protobuf_oneof:"oneof_field"` // contains filtered or unexported fields }
func (*TestMessage) Descriptor
deprecated
func (*TestMessage) Descriptor() ([]byte, []int)
Deprecated: Use TestMessage.ProtoReflect.Descriptor instead.
func (*TestMessage) GetOneofField ¶
func (m *TestMessage) GetOneofField() isTestMessage_OneofField
func (*TestMessage) GetPossibleOne ¶
func (x *TestMessage) GetPossibleOne() *PossibleOne
func (*TestMessage) GetPossibleThree ¶
func (x *TestMessage) GetPossibleThree() *PossibleThree
func (*TestMessage) GetPossibleTwo ¶
func (x *TestMessage) GetPossibleTwo() *PossibleTwo
func (*TestMessage) GetProperty_1 ¶
func (x *TestMessage) GetProperty_1() string
func (*TestMessage) GetProperty_2 ¶
func (x *TestMessage) GetProperty_2() string
func (*TestMessage) ProtoMessage ¶
func (*TestMessage) ProtoMessage()
func (*TestMessage) ProtoReflect ¶
func (x *TestMessage) ProtoReflect() protoreflect.Message
func (*TestMessage) Reset ¶
func (x *TestMessage) Reset()
func (*TestMessage) String ¶
func (x *TestMessage) String() string
type TestMessage_PossibleOne ¶
type TestMessage_PossibleOne struct {
PossibleOne *PossibleOne `protobuf:"bytes,3,opt,name=possible_one,json=possibleOne,proto3,oneof"`
}
type TestMessage_PossibleThree ¶
type TestMessage_PossibleThree struct {
PossibleThree *PossibleThree `protobuf:"bytes,5,opt,name=possible_three,json=possibleThree,proto3,oneof"`
}
type TestMessage_PossibleTwo ¶
type TestMessage_PossibleTwo struct {
PossibleTwo *PossibleTwo `protobuf:"bytes,4,opt,name=possible_two,json=possibleTwo,proto3,oneof"`
}
Click to show internal directories.
Click to hide internal directories.