Documentation ¶
Overview ¶
Package protobuf is a generated protocol buffer package.
It is generated from these files:
simple_message.proto
It has these top-level messages:
SimpleMessage
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SimpleMessage ¶
type SimpleMessage struct { Description *string `protobuf:"bytes,1,req,name=description" json:"description,omitempty"` Id *int32 `protobuf:"varint,2,req,name=id" json:"id,omitempty"` Metadata *string `protobuf:"bytes,3,opt,name=metadata" json:"metadata,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SimpleMessage) GetDescription ¶
func (m *SimpleMessage) GetDescription() string
func (*SimpleMessage) GetId ¶
func (m *SimpleMessage) GetId() int32
func (*SimpleMessage) GetMetadata ¶
func (m *SimpleMessage) GetMetadata() string
func (*SimpleMessage) ProtoMessage ¶
func (*SimpleMessage) ProtoMessage()
func (*SimpleMessage) Reset ¶
func (m *SimpleMessage) Reset()
func (*SimpleMessage) String ¶
func (m *SimpleMessage) String() string
Click to show internal directories.
Click to hide internal directories.