Documentation ¶
Overview ¶
Package staff is a generated protocol buffer package.
It is generated from these files:
example.proto
It has these top-level messages:
Staff
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Staff ¶
type Staff struct { ID string `protobuf:"bytes,1,opt,name=ID" json:"id,omitempty" xml:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name" json:"name,omitempty" xml:"name,omitempty"` Age int64 `protobuf:"varint,3,opt,name=Age" json:"age,omitempty" xml:"age,omitempty"` MyClass *Staff_Class `protobuf:"bytes,4,opt,name=MyClass" json:"class,omitempty" xml:"class,omitempty"` }
func (*Staff) GetMyClass ¶
func (m *Staff) GetMyClass() *Staff_Class
type Staff_Class ¶
type Staff_Class struct { ID string `protobuf:"bytes,1,opt,name=ID" json:"id,omitempty" xml:"id,omitempty"` Type string `protobuf:"bytes,2,opt,name=Type" json:"type,omitempty" xml:"type,omitempty"` }
func (*Staff_Class) Descriptor ¶
func (*Staff_Class) Descriptor() ([]byte, []int)
func (*Staff_Class) GetID ¶
func (m *Staff_Class) GetID() string
func (*Staff_Class) GetType ¶
func (m *Staff_Class) GetType() string
func (*Staff_Class) ProtoMessage ¶
func (*Staff_Class) ProtoMessage()
func (*Staff_Class) Reset ¶
func (m *Staff_Class) Reset()
func (*Staff_Class) String ¶
func (m *Staff_Class) String() string
Click to show internal directories.
Click to hide internal directories.