Documentation ¶
Index ¶
- type Person
- func (*Person) Descriptor() ([]byte, []int)
- func (m *Person) GetAge() uint32
- func (m *Person) GetFirstName() string
- func (m *Person) GetLastName() string
- func (m *Person) GetSex() uint32
- func (*Person) ProtoMessage()
- func (m *Person) Reset()
- func (m *Person) String() string
- func (m *Person) XXX_DiscardUnknown()
- func (m *Person) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Person) XXX_Merge(src proto.Message)
- func (m *Person) XXX_Size() int
- func (m *Person) XXX_Unmarshal(b []byte) error
- type PersonX
- func (*PersonX) Descriptor() ([]byte, []int)
- func (m *PersonX) GetFirstName() string
- func (m *PersonX) GetLastName() string
- func (*PersonX) ProtoMessage()
- func (m *PersonX) Reset()
- func (m *PersonX) String() string
- func (m *PersonX) XXX_DiscardUnknown()
- func (m *PersonX) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PersonX) XXX_Merge(src proto.Message)
- func (m *PersonX) XXX_Size() int
- func (m *PersonX) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Person ¶
type Person struct { FirstName string `protobuf:"bytes,1,opt,name=FirstName,json=first_name,proto3" json:"FirstName,omitempty"` LastName string `protobuf:"bytes,2,opt,name=LastName,json=last_name,proto3" json:"LastName,omitempty"` Age uint32 `protobuf:"varint,3,opt,name=age,proto3" json:"age,omitempty"` Sex uint32 `protobuf:"varint,4,opt,name=sex,proto3" json:"sex,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Person) Descriptor ¶
func (*Person) GetFirstName ¶
func (*Person) GetLastName ¶
func (*Person) ProtoMessage ¶
func (*Person) ProtoMessage()
func (*Person) XXX_DiscardUnknown ¶
func (m *Person) XXX_DiscardUnknown()
func (*Person) XXX_Marshal ¶
func (*Person) XXX_Unmarshal ¶
type PersonX ¶
type PersonX struct { FirstName string `protobuf:"bytes,1,opt,name=FirstName,proto3" json:"FirstName,omitempty"` LastName string `protobuf:"bytes,2,opt,name=LastName,proto3" json:"LastName,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PersonX) Descriptor ¶
func (*PersonX) GetFirstName ¶
func (*PersonX) GetLastName ¶
func (*PersonX) ProtoMessage ¶
func (*PersonX) ProtoMessage()
func (*PersonX) XXX_DiscardUnknown ¶
func (m *PersonX) XXX_DiscardUnknown()
func (*PersonX) XXX_Marshal ¶
func (*PersonX) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.