Documentation
¶
Index ¶
- Variables
- type SimpleMessage
- func (*SimpleMessage) Descriptor() ([]byte, []int)deprecated
- func (x *SimpleMessage) GetId() int32
- func (x *SimpleMessage) GetIsSimple() bool
- func (x *SimpleMessage) GetName() string
- func (x *SimpleMessage) GetSimpleList() []int32
- 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_simple_simple_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type SimpleMessage ¶
type SimpleMessage struct {
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
IsSimple bool `protobuf:"varint,2,opt,name=is_simple,json=isSimple,proto3" json:"is_simple,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
SimpleList []int32 `protobuf:"varint,4,rep,packed,name=simple_list,json=simpleList,proto3" json:"simple_list,omitempty"`
// contains filtered or unexported fields
}
func (*SimpleMessage) Descriptor
deprecated
func (*SimpleMessage) Descriptor() ([]byte, []int)
Deprecated: Use SimpleMessage.ProtoReflect.Descriptor instead.
func (*SimpleMessage) GetId ¶
func (x *SimpleMessage) GetId() int32
func (*SimpleMessage) GetIsSimple ¶
func (x *SimpleMessage) GetIsSimple() bool
func (*SimpleMessage) GetName ¶
func (x *SimpleMessage) GetName() string
func (*SimpleMessage) GetSimpleList ¶
func (x *SimpleMessage) GetSimpleList() []int32
func (*SimpleMessage) ProtoMessage ¶
func (*SimpleMessage) ProtoMessage()
func (*SimpleMessage) ProtoReflect ¶
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.