Documentation ¶
Index ¶
- Variables
- type SimpleMessage
- func (*SimpleMessage) Descriptor() ([]byte, []int)deprecated
- func (x *SimpleMessage) GetDescription() string
- func (x *SimpleMessage) GetId() int32
- func (x *SimpleMessage) GetMetadata() string
- func (*SimpleMessage) ProtoMessage()
- func (x *SimpleMessage) ProtoReflect() protoreflect.Message
- func (x *SimpleMessage) Reset()
- func (x *SimpleMessage) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_ghttp_protobuf_simple_message_proto protoreflect.FileDescriptor
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"` // contains filtered or unexported fields }
func (*SimpleMessage) Descriptor
deprecated
added in
v1.32.0
func (*SimpleMessage) Descriptor() ([]byte, []int)
Deprecated: Use SimpleMessage.ProtoReflect.Descriptor instead.
func (*SimpleMessage) GetDescription ¶
func (x *SimpleMessage) GetDescription() string
func (*SimpleMessage) GetId ¶
func (x *SimpleMessage) GetId() int32
func (*SimpleMessage) GetMetadata ¶
func (x *SimpleMessage) GetMetadata() string
func (*SimpleMessage) ProtoMessage ¶
func (*SimpleMessage) ProtoMessage()
func (*SimpleMessage) ProtoReflect ¶ added in v1.32.0
func (x *SimpleMessage) ProtoReflect() protoreflect.Message
func (*SimpleMessage) Reset ¶
func (x *SimpleMessage) Reset()
func (*SimpleMessage) String ¶
func (x *SimpleMessage) String() string
Click to show internal directories.
Click to hide internal directories.