Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_demo_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AnyMessage ¶
type AnyMessage struct { Anything *anypb.Any `protobuf:"bytes,1,opt,name=anything,proto3" json:"anything,omitempty"` // contains filtered or unexported fields }
func (*AnyMessage) Descriptor
deprecated
func (*AnyMessage) Descriptor() ([]byte, []int)
Deprecated: Use AnyMessage.ProtoReflect.Descriptor instead.
func (*AnyMessage) GetAnything ¶
func (x *AnyMessage) GetAnything() *anypb.Any
func (*AnyMessage) ProtoMessage ¶
func (*AnyMessage) ProtoMessage()
func (*AnyMessage) ProtoReflect ¶
func (x *AnyMessage) ProtoReflect() protoreflect.Message
func (*AnyMessage) Reset ¶
func (x *AnyMessage) Reset()
func (*AnyMessage) String ¶
func (x *AnyMessage) String() string
type StrMessage ¶
type StrMessage struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*StrMessage) Descriptor
deprecated
func (*StrMessage) Descriptor() ([]byte, []int)
Deprecated: Use StrMessage.ProtoReflect.Descriptor instead.
func (*StrMessage) GetMsg ¶
func (x *StrMessage) GetMsg() string
func (*StrMessage) ProtoMessage ¶
func (*StrMessage) ProtoMessage()
func (*StrMessage) ProtoReflect ¶
func (x *StrMessage) ProtoReflect() protoreflect.Message
func (*StrMessage) Reset ¶
func (x *StrMessage) Reset()
func (*StrMessage) String ¶
func (x *StrMessage) String() string
Click to show internal directories.
Click to hide internal directories.