Documentation ¶
Index ¶
- Variables
- type Elem
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetElems() map[string]*Elem
- func (x *Message) GetEls() []*Elem
- func (x *Message) GetLarge() int64
- func (x *Message) GetStr() string
- func (x *Message) GetTenum() TestEnum
- func (x *Message) GetTiny() int32
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- type TestEnum
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TestEnum_name = map[int32]string{ 0: "Zero", 1: "First", } TestEnum_value = map[string]int32{ "Zero": 0, "First": 1, } )
Enum value maps for TestEnum.
View Source
var File_echo_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Elem ¶
type Elem struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*Elem) Descriptor
deprecated
func (*Elem) ProtoMessage ¶
func (*Elem) ProtoMessage()
func (*Elem) ProtoReflect ¶
func (x *Elem) ProtoReflect() protoreflect.Message
type Message ¶
type Message struct { Tiny int32 `protobuf:"varint,1,opt,name=tiny,proto3" json:"tiny,omitempty"` Large int64 `protobuf:"varint,2,opt,name=large,proto3" json:"large,omitempty"` Tenum TestEnum `protobuf:"varint,3,opt,name=tenum,proto3,enum=idl.TestEnum" json:"tenum,omitempty"` Str string `protobuf:"bytes,4,opt,name=str,proto3" json:"str,omitempty"` Elems map[string]*Elem `` /* 151-byte string literal not displayed */ Els []*Elem `protobuf:"bytes,6,rep,name=els,proto3" json:"els,omitempty"` // map<int32, Elem> els = 7; // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type TestEnum ¶
type TestEnum int32
func (TestEnum) Descriptor ¶
func (TestEnum) Descriptor() protoreflect.EnumDescriptor
func (TestEnum) EnumDescriptor
deprecated
func (TestEnum) Number ¶
func (x TestEnum) Number() protoreflect.EnumNumber
func (TestEnum) Type ¶
func (TestEnum) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.