Documentation
¶
Overview ¶
Package proto is a generated protocol buffer package.
It is generated from these files:
oneofembed.proto
It has these top-level messages:
Foo Bar
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bar ¶
type Bar struct { // Types that are valid to be assigned to Pick: // *Bar_A // *Bar_B Pick isBar_Pick `protobuf_oneof:"pick"` }
func NewPopulatedBar ¶
func (*Bar) ProtoMessage ¶
func (*Bar) ProtoMessage()
type Bar_A ¶
type Bar_A struct {
A bool `protobuf:"varint,11,opt,name=a,proto3,oneof"`
}
func NewPopulatedBar_A ¶
type Bar_B ¶
type Bar_B struct {
B bool `protobuf:"varint,12,opt,name=b,proto3,oneof"`
}
func NewPopulatedBar_B ¶
type Foo ¶
type Foo struct {
*Bar `protobuf:"bytes,1,opt,name=bar,embedded=bar" json:"bar,omitempty"`
}
func NewPopulatedFoo ¶
func (*Foo) ProtoMessage ¶
func (*Foo) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.