Documentation ¶
Index ¶
- Variables
- type Foo
- type HiContent
- type Test
- func (*Test) Descriptor() ([]byte, []int)deprecated
- func (x *Test) GetFoo() *Foo
- func (x *Test) GetHiContent() *HiContent
- func (x *Test) GetMsf() string
- func (x *Test) GetNum() int32
- func (*Test) ProtoMessage()
- func (x *Test) ProtoReflect() protoreflect.Message
- func (x *Test) Reset()
- func (x *Test) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_hello_proto protoreflect.FileDescriptor
View Source
var File_hi_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Foo ¶ added in v0.11.0
type Foo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Value int32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` Names []string `protobuf:"bytes,3,rep,name=names,proto3" json:"names,omitempty"` // contains filtered or unexported fields }
func (*Foo) Descriptor
deprecated
added in
v0.11.0
func (*Foo) ProtoMessage ¶ added in v0.11.0
func (*Foo) ProtoMessage()
func (*Foo) ProtoReflect ¶ added in v0.11.0
func (x *Foo) ProtoReflect() protoreflect.Message
type HiContent ¶ added in v0.11.0
type HiContent struct { Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*HiContent) Descriptor
deprecated
added in
v0.11.0
func (*HiContent) GetContent ¶ added in v0.11.0
func (*HiContent) ProtoMessage ¶ added in v0.11.0
func (*HiContent) ProtoMessage()
func (*HiContent) ProtoReflect ¶ added in v0.11.0
func (x *HiContent) ProtoReflect() protoreflect.Message
type Test ¶
type Test struct { Num int32 `protobuf:"varint,1,opt,name=num,proto3" json:"num,omitempty"` Msf string `protobuf:"bytes,2,opt,name=msf,proto3" json:"msf,omitempty"` Foo *Foo `protobuf:"bytes,3,opt,name=foo,proto3" json:"foo,omitempty"` HiContent *HiContent `protobuf:"bytes,4,opt,name=hiContent,proto3" json:"hiContent,omitempty"` // contains filtered or unexported fields }
func (*Test) Descriptor
deprecated
func (*Test) GetHiContent ¶ added in v0.11.0
func (*Test) ProtoMessage ¶
func (*Test) ProtoMessage()
func (*Test) ProtoReflect ¶ added in v0.10.0
func (x *Test) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.