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