Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FOO_name = map[int32]string{ 0: "X", } FOO_value = map[string]int32{ "X": 0, } )
Enum value maps for FOO.
View Source
var File_pb_example_test_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type FOO ¶
type FOO int32
const (
FOO_X FOO = 0
)
func (FOO) Descriptor ¶
func (FOO) Descriptor() protoreflect.EnumDescriptor
func (FOO) EnumDescriptor
deprecated
func (FOO) Number ¶
func (x FOO) Number() protoreflect.EnumNumber
func (FOO) Type ¶
func (FOO) Type() protoreflect.EnumType
type Test ¶
type Test struct { Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` Type int32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"` Reps int64 `protobuf:"varint,3,opt,name=reps,proto3" json:"reps,omitempty"` // contains filtered or unexported fields }
func (*Test) Descriptor
deprecated
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.