Documentation ¶
Overview ¶
Package test is a generated protocol buffer package.
It is generated from these files:
issue322.proto
It has these top-level messages:
OneofTest
Index ¶
- Constants
- Variables
- type OneofTest
- func (*OneofTest) Descriptor() ([]byte, []int)
- func (this *OneofTest) Equal(that interface{}) bool
- func (m *OneofTest) GetI() int32
- func (m *OneofTest) GetUnion() isOneofTest_Union
- func (this *OneofTest) GoString() string
- func (m *OneofTest) Marshal() (dAtA []byte, err error)
- func (m *OneofTest) MarshalTo(dAtA []byte) (int, error)
- func (*OneofTest) ProtoMessage()
- func (m *OneofTest) Reset()
- func (m *OneofTest) Size() (n int)
- func (m *OneofTest) String() string
- func (m *OneofTest) Unmarshal(dAtA []byte) error
- func (*OneofTest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type OneofTest_I
Constants ¶
View Source
const Default_OneofTest_I int32 = 4
Variables ¶
View Source
var ( ErrInvalidLengthIssue322 = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowIssue322 = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type OneofTest ¶
type OneofTest struct { // Types that are valid to be assigned to Union: // *OneofTest_I Union isOneofTest_Union `protobuf_oneof:"union"` XXX_unrecognized []byte `json:"-"` }
func NewPopulatedOneofTest ¶
func (*OneofTest) Descriptor ¶
func (*OneofTest) ProtoMessage ¶
func (*OneofTest) ProtoMessage()
type OneofTest_I ¶
type OneofTest_I struct {
I int32 `protobuf:"varint,1,opt,name=i,oneof,def=4"`
}
func NewPopulatedOneofTest_I ¶
func NewPopulatedOneofTest_I(r randyIssue322, easy bool) *OneofTest_I
func (*OneofTest_I) Equal ¶
func (this *OneofTest_I) Equal(that interface{}) bool
func (*OneofTest_I) GoString ¶
func (this *OneofTest_I) GoString() string
func (*OneofTest_I) Size ¶
func (m *OneofTest_I) Size() (n int)
Click to show internal directories.
Click to hide internal directories.