Documentation ¶
Index ¶
- Variables
- type UserMessage
- func (*UserMessage) Descriptor() ([]byte, []int)deprecated
- func (x *UserMessage) GetAge() int32
- func (x *UserMessage) GetEmail() string
- func (x *UserMessage) GetName() string
- func (*UserMessage) ProtoMessage()
- func (x *UserMessage) ProtoReflect() protoreflect.Message
- func (x *UserMessage) Reset()
- func (x *UserMessage) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_test_v1_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type UserMessage ¶
type UserMessage struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Email string `protobuf:"bytes,2,opt,name=Email,proto3" json:"Email,omitempty"` Age int32 `protobuf:"varint,4,opt,name=Age,proto3" json:"Age,omitempty"` // contains filtered or unexported fields }
func (*UserMessage) Descriptor
deprecated
func (*UserMessage) Descriptor() ([]byte, []int)
Deprecated: Use UserMessage.ProtoReflect.Descriptor instead.
func (*UserMessage) GetAge ¶
func (x *UserMessage) GetAge() int32
func (*UserMessage) GetEmail ¶
func (x *UserMessage) GetEmail() string
func (*UserMessage) GetName ¶
func (x *UserMessage) GetName() string
func (*UserMessage) ProtoMessage ¶
func (*UserMessage) ProtoMessage()
func (*UserMessage) ProtoReflect ¶
func (x *UserMessage) ProtoReflect() protoreflect.Message
func (*UserMessage) Reset ¶
func (x *UserMessage) Reset()
func (*UserMessage) String ¶
func (x *UserMessage) String() string
Click to show internal directories.
Click to hide internal directories.