Documentation ¶
Index ¶
- Variables
- type Person
- func (*Person) Descriptor() ([]byte, []int)deprecated
- func (x *Person) GetAge() uint32
- func (x *Person) GetFirstName() string
- func (x *Person) GetLastName() string
- func (x *Person) GetSex() uint32
- func (*Person) ProtoMessage()
- func (x *Person) ProtoReflect() protoreflect.Message
- func (x *Person) Reset()
- func (x *Person) String() string
- type PersonX
Constants ¶
This section is empty.
Variables ¶
View Source
var File_person_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Person ¶
type Person struct { FirstName *string `protobuf:"bytes,1,opt,name=FirstName,json=first_name" json:"FirstName,omitempty"` LastName *string `protobuf:"bytes,2,opt,name=LastName,json=last_name" json:"LastName,omitempty"` Age *uint32 `protobuf:"varint,3,opt,name=age" json:"age,omitempty"` Sex *uint32 `protobuf:"varint,4,opt,name=sex" json:"sex,omitempty"` // contains filtered or unexported fields }
func (*Person) Descriptor
deprecated
func (*Person) GetFirstName ¶
func (*Person) GetLastName ¶
func (*Person) ProtoMessage ¶
func (*Person) ProtoMessage()
func (*Person) ProtoReflect ¶
func (x *Person) ProtoReflect() protoreflect.Message
type PersonX ¶
type PersonX struct { FirstName *string `protobuf:"bytes,1,opt,name=FirstName" json:"FirstName,omitempty"` LastName *string `protobuf:"bytes,2,opt,name=LastName" json:"LastName,omitempty"` // contains filtered or unexported fields }
func (*PersonX) Descriptor
deprecated
func (*PersonX) GetFirstName ¶
func (*PersonX) GetLastName ¶
func (*PersonX) ProtoMessage ¶
func (*PersonX) ProtoMessage()
func (*PersonX) ProtoReflect ¶
func (x *PersonX) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.