Documentation ¶
Index ¶
- Variables
- type SubTest
- type SubTest_InnerTest
- type Test
- func (*Test) Descriptor() ([]byte, []int)deprecated
- func (x *Test) GetId() string
- func (x *Test) GetM() map[string]string
- func (x *Test) GetSubTest() *SubTest
- func (x *Test) GetSubTests() []*SubTest
- func (x *Test) GetTitle() string
- 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_test_v1_test_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type SubTest ¶
type SubTest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Inner *SubTest_InnerTest `protobuf:"bytes,2,opt,name=inner,proto3" json:"inner,omitempty"` // contains filtered or unexported fields }
func (*SubTest) Descriptor
deprecated
func (*SubTest) GetInner ¶
func (x *SubTest) GetInner() *SubTest_InnerTest
func (*SubTest) ProtoMessage ¶
func (*SubTest) ProtoMessage()
func (*SubTest) ProtoReflect ¶
func (x *SubTest) ProtoReflect() protoreflect.Message
type SubTest_InnerTest ¶
type SubTest_InnerTest struct { Yes string `protobuf:"bytes,1,opt,name=yes,proto3" json:"yes,omitempty"` // contains filtered or unexported fields }
func (*SubTest_InnerTest) Descriptor
deprecated
func (*SubTest_InnerTest) Descriptor() ([]byte, []int)
Deprecated: Use SubTest_InnerTest.ProtoReflect.Descriptor instead.
func (*SubTest_InnerTest) GetYes ¶
func (x *SubTest_InnerTest) GetYes() string
func (*SubTest_InnerTest) ProtoMessage ¶
func (*SubTest_InnerTest) ProtoMessage()
func (*SubTest_InnerTest) ProtoReflect ¶
func (x *SubTest_InnerTest) ProtoReflect() protoreflect.Message
func (*SubTest_InnerTest) Reset ¶
func (x *SubTest_InnerTest) Reset()
func (*SubTest_InnerTest) String ¶
func (x *SubTest_InnerTest) String() string
type Test ¶
type Test struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` SubTest *SubTest `protobuf:"bytes,3,opt,name=sub_test,json=subTest,proto3" json:"sub_test,omitempty"` SubTests []*SubTest `protobuf:"bytes,4,rep,name=sub_tests,json=subTests,proto3" json:"sub_tests,omitempty"` M map[string]string `` /* 143-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Test) Descriptor
deprecated
func (*Test) GetSubTest ¶
func (*Test) GetSubTests ¶
func (*Test) ProtoMessage ¶
func (*Test) ProtoMessage()
func (*Test) ProtoReflect ¶
func (x *Test) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.