Documentation
¶
Index ¶
- Variables
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *Message) FastWrite(buf []byte) (offset int)
- func (x *Message) GetField1() float64
- func (x *Message) GetField10() uint64
- func (x *Message) GetField11() int32
- func (x *Message) GetField12() int64
- func (x *Message) GetField13() bool
- func (x *Message) GetField14() string
- func (x *Message) GetField15() []byte
- func (x *Message) GetField16() *Message
- func (x *Message) GetField2() float32
- func (x *Message) GetField20() []string
- func (x *Message) GetField21() []*Message
- func (x *Message) GetField22() map[int32]string
- func (x *Message) GetField23() map[string]*Message
- func (x *Message) GetField3() int32
- func (x *Message) GetField33() Message_Enum
- func (x *Message) GetField34() []Message_Enum
- func (x *Message) GetField35() map[int32]Message_Enum
- func (x *Message) GetField36() MsgEnum
- func (x *Message) GetField37() []MsgEnum
- func (x *Message) GetField38() map[int32]MsgEnum
- func (x *Message) GetField4() int64
- func (m *Message) GetField40() isMessage_Field40
- func (x *Message) GetField41() int64
- func (x *Message) GetField42() bool
- func (x *Message) GetField43() *Message
- func (x *Message) GetField5() uint32
- func (x *Message) GetField50() *Message_Condition
- func (x *Message) GetField6() uint64
- func (x *Message) GetField7() int32
- func (x *Message) GetField8() int64
- func (x *Message) GetField9() uint32
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) Size() (n int)
- func (x *Message) String() string
- type Message_Condition
- func (*Message_Condition) Descriptor() ([]byte, []int)deprecated
- func (x *Message_Condition) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *Message_Condition) FastWrite(buf []byte) (offset int)
- func (m *Message_Condition) GetField1() isMessage_Condition_Field1
- func (x *Message_Condition) GetField2() int64
- func (x *Message_Condition) GetField3() *Message_ConditionTree
- func (x *Message_Condition) GetField4() bool
- func (*Message_Condition) ProtoMessage()
- func (x *Message_Condition) ProtoReflect() protoreflect.Message
- func (x *Message_Condition) Reset()
- func (x *Message_Condition) Size() (n int)
- func (x *Message_Condition) String() string
- type Message_ConditionTree
- func (*Message_ConditionTree) Descriptor() ([]byte, []int)deprecated
- func (x *Message_ConditionTree) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *Message_ConditionTree) FastWrite(buf []byte) (offset int)
- func (x *Message_ConditionTree) GetField2() []*Message_Condition
- func (*Message_ConditionTree) ProtoMessage()
- func (x *Message_ConditionTree) ProtoReflect() protoreflect.Message
- func (x *Message_ConditionTree) Reset()
- func (x *Message_ConditionTree) Size() (n int)
- func (x *Message_ConditionTree) String() string
- type Message_Condition_Field2
- type Message_Condition_Field3
- type Message_Enum
- func (Message_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x Message_Enum) Enum() *Message_Enum
- func (Message_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (x Message_Enum) Number() protoreflect.EnumNumber
- func (x Message_Enum) String() string
- func (Message_Enum) Type() protoreflect.EnumType
- type Message_Field41
- type Message_Field42
- type Message_Field43
- type MsgEnum
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MsgEnum_name = map[int32]string{ 0: "ENUM0", 1: "ENUM1", 2: "ENUM2", } MsgEnum_value = map[string]int32{ "ENUM0": 0, "ENUM1": 1, "ENUM2": 2, } )
Enum value maps for MsgEnum.
View Source
var ( Message_Enum_name = map[int32]string{ 0: "ENUM0", 1: "ENUM1", 2: "ENUM2", } Message_Enum_value = map[string]int32{ "ENUM0": 0, "ENUM1": 1, "ENUM2": 2, } )
Enum value maps for Message_Enum.
View Source
var File_nested_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { Field3 int32 `protobuf:"varint,3,opt,name=field3,proto3" json:"field3,omitempty"` // int32 = varint; int32 Field4 int64 `protobuf:"varint,4,opt,name=field4,proto3" json:"field4,omitempty"` // int64 = varint; int64 Field5 uint32 `protobuf:"varint,5,opt,name=field5,proto3" json:"field5,omitempty"` // uint32 = varint; uint32 Field6 uint64 `protobuf:"varint,6,opt,name=field6,proto3" json:"field6,omitempty"` // uint64 = varint; uint64 Field7 int32 `protobuf:"zigzag32,7,opt,name=field7,proto3" json:"field7,omitempty"` // sint32 = zigzag32; int32 Field8 int64 `protobuf:"zigzag64,8,opt,name=field8,proto3" json:"field8,omitempty"` // sint64 = zigzag64; int64 Field13 bool `protobuf:"varint,13,opt,name=field13,proto3" json:"field13,omitempty"` // bool = varint; bool Field2 float32 `protobuf:"fixed32,2,opt,name=field2,proto3" json:"field2,omitempty"` // float = fixed32; float32 Field1 float64 `protobuf:"fixed64,1,opt,name=field1,proto3" json:"field1,omitempty"` // double = fixed64; float64 Field9 uint32 `protobuf:"fixed32,9,opt,name=field9,proto3" json:"field9,omitempty"` // fixed32 = fixed32; uint32 Field10 uint64 `protobuf:"fixed64,10,opt,name=field10,proto3" json:"field10,omitempty"` // fixed64 = fixed64; uint64 Field11 int32 `protobuf:"fixed32,11,opt,name=field11,proto3" json:"field11,omitempty"` // sfixed32 = fixed32; int32 Field12 int64 `protobuf:"fixed64,12,opt,name=field12,proto3" json:"field12,omitempty"` // sfixed64 = fixed64; int64 Field14 string `protobuf:"bytes,14,opt,name=field14,proto3" json:"field14,omitempty"` // string = bytes; string Field15 []byte `protobuf:"bytes,15,opt,name=field15,proto3" json:"field15,omitempty"` // []byte = bytes; []byte Field16 *Message `protobuf:"bytes,16,opt,name=field16,proto3" json:"field16,omitempty"` // *struct = bytes; *struct Field20 []string `protobuf:"bytes,20,rep,name=field20,proto3" json:"field20,omitempty"` // []list = bytes; []list Field21 []*Message `protobuf:"bytes,21,rep,name=field21,proto3" json:"field21,omitempty"` // []list = bytes; []list Field22 map[int32]string `` // map[] = bytes; map[] /* 157-byte string literal not displayed */ Field23 map[string]*Message `` // map[] = bytes; map[] /* 156-byte string literal not displayed */ Field33 Message_Enum `protobuf:"varint,33,opt,name=field33,proto3,enum=nested.echo.Message_Enum" json:"field33,omitempty"` // int32 Field34 []Message_Enum `protobuf:"varint,34,rep,packed,name=field34,proto3,enum=nested.echo.Message_Enum" json:"field34,omitempty"` // []list = bytes; []list Field35 map[int32]Message_Enum `` // map[] = bytes; map[] /* 188-byte string literal not displayed */ Field36 MsgEnum `protobuf:"varint,36,opt,name=field36,proto3,enum=nested.echo.MsgEnum" json:"field36,omitempty"` // int32 Field37 []MsgEnum `protobuf:"varint,37,rep,packed,name=field37,proto3,enum=nested.echo.MsgEnum" json:"field37,omitempty"` // []list = bytes; []list Field38 map[int32]MsgEnum `` // map[] = bytes; map[] /* 183-byte string literal not displayed */ // Types that are assignable to Field40: // // *Message_Field41 // *Message_Field42 // *Message_Field43 Field40 isMessage_Field40 `protobuf_oneof:"field40"` Field50 *Message_Condition `protobuf:"bytes,50,opt,name=field50,proto3" json:"field50,omitempty"` // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
func (*Message) GetField10 ¶
func (*Message) GetField11 ¶
func (*Message) GetField12 ¶
func (*Message) GetField13 ¶
func (*Message) GetField14 ¶
func (*Message) GetField15 ¶
func (*Message) GetField16 ¶
func (*Message) GetField20 ¶
func (*Message) GetField21 ¶
func (*Message) GetField22 ¶
func (*Message) GetField23 ¶
func (*Message) GetField33 ¶
func (x *Message) GetField33() Message_Enum
func (*Message) GetField34 ¶
func (x *Message) GetField34() []Message_Enum
func (*Message) GetField35 ¶
func (x *Message) GetField35() map[int32]Message_Enum
func (*Message) GetField36 ¶
func (*Message) GetField37 ¶
func (*Message) GetField38 ¶
func (*Message) GetField40 ¶
func (m *Message) GetField40() isMessage_Field40
func (*Message) GetField41 ¶
func (*Message) GetField42 ¶
func (*Message) GetField43 ¶
func (*Message) GetField50 ¶
func (x *Message) GetField50() *Message_Condition
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type Message_Condition ¶
type Message_Condition struct { // Types that are assignable to Field1: // // *Message_Condition_Field2 // *Message_Condition_Field3 Field1 isMessage_Condition_Field1 `protobuf_oneof:"field1"` Field4 bool `protobuf:"varint,4,opt,name=field4,proto3" json:"field4,omitempty"` // contains filtered or unexported fields }
func (*Message_Condition) Descriptor
deprecated
func (*Message_Condition) Descriptor() ([]byte, []int)
Deprecated: Use Message_Condition.ProtoReflect.Descriptor instead.
func (*Message_Condition) FastWrite ¶
func (x *Message_Condition) FastWrite(buf []byte) (offset int)
func (*Message_Condition) GetField1 ¶
func (m *Message_Condition) GetField1() isMessage_Condition_Field1
func (*Message_Condition) GetField2 ¶
func (x *Message_Condition) GetField2() int64
func (*Message_Condition) GetField3 ¶
func (x *Message_Condition) GetField3() *Message_ConditionTree
func (*Message_Condition) GetField4 ¶
func (x *Message_Condition) GetField4() bool
func (*Message_Condition) ProtoMessage ¶
func (*Message_Condition) ProtoMessage()
func (*Message_Condition) ProtoReflect ¶
func (x *Message_Condition) ProtoReflect() protoreflect.Message
func (*Message_Condition) Reset ¶
func (x *Message_Condition) Reset()
func (*Message_Condition) Size ¶
func (x *Message_Condition) Size() (n int)
func (*Message_Condition) String ¶
func (x *Message_Condition) String() string
type Message_ConditionTree ¶
type Message_ConditionTree struct { Field2 []*Message_Condition `protobuf:"bytes,2,rep,name=field2,proto3" json:"field2,omitempty"` // contains filtered or unexported fields }
func (*Message_ConditionTree) Descriptor
deprecated
func (*Message_ConditionTree) Descriptor() ([]byte, []int)
Deprecated: Use Message_ConditionTree.ProtoReflect.Descriptor instead.
func (*Message_ConditionTree) FastWrite ¶
func (x *Message_ConditionTree) FastWrite(buf []byte) (offset int)
func (*Message_ConditionTree) GetField2 ¶
func (x *Message_ConditionTree) GetField2() []*Message_Condition
func (*Message_ConditionTree) ProtoMessage ¶
func (*Message_ConditionTree) ProtoMessage()
func (*Message_ConditionTree) ProtoReflect ¶
func (x *Message_ConditionTree) ProtoReflect() protoreflect.Message
func (*Message_ConditionTree) Reset ¶
func (x *Message_ConditionTree) Reset()
func (*Message_ConditionTree) Size ¶
func (x *Message_ConditionTree) Size() (n int)
func (*Message_ConditionTree) String ¶
func (x *Message_ConditionTree) String() string
type Message_Condition_Field2 ¶
type Message_Condition_Field2 struct {
Field2 int64 `protobuf:"varint,2,opt,name=field2,proto3,oneof"`
}
type Message_Condition_Field3 ¶
type Message_Condition_Field3 struct {
Field3 *Message_ConditionTree `protobuf:"bytes,3,opt,name=field3,proto3,oneof"`
}
type Message_Enum ¶
type Message_Enum int32
const ( Message_ENUM0 Message_Enum = 0 Message_ENUM1 Message_Enum = 1 Message_ENUM2 Message_Enum = 2 )
func (Message_Enum) Descriptor ¶
func (Message_Enum) Descriptor() protoreflect.EnumDescriptor
func (Message_Enum) Enum ¶
func (x Message_Enum) Enum() *Message_Enum
func (Message_Enum) EnumDescriptor
deprecated
func (Message_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use Message_Enum.Descriptor instead.
func (Message_Enum) Number ¶
func (x Message_Enum) Number() protoreflect.EnumNumber
func (Message_Enum) String ¶
func (x Message_Enum) String() string
func (Message_Enum) Type ¶
func (Message_Enum) Type() protoreflect.EnumType
type Message_Field41 ¶
type Message_Field41 struct {
Field41 int64 `protobuf:"varint,41,opt,name=field41,proto3,oneof"`
}
type Message_Field42 ¶
type Message_Field42 struct {
Field42 bool `protobuf:"varint,42,opt,name=field42,proto3,oneof"`
}
type Message_Field43 ¶
type Message_Field43 struct {
Field43 *Message `protobuf:"bytes,43,opt,name=field43,proto3,oneof"`
}
type MsgEnum ¶
type MsgEnum int32
func (MsgEnum) Descriptor ¶
func (MsgEnum) Descriptor() protoreflect.EnumDescriptor
func (MsgEnum) EnumDescriptor
deprecated
func (MsgEnum) Number ¶
func (x MsgEnum) Number() protoreflect.EnumNumber
func (MsgEnum) Type ¶
func (MsgEnum) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.