Documentation ¶
Index ¶
- Variables
- type Enum
- func (Enum) Descriptor() protoreflect.EnumDescriptor
- func (x Enum) Enum() *Enum
- func (Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (x Enum) Number() protoreflect.EnumNumber
- func (x Enum) String() string
- func (Enum) Type() protoreflect.EnumType
- func (x *Enum) UnmarshalJSON(b []byte) errordeprecated
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Enum_name = map[int32]string{ 1337: "DEFAULT", 0: "ZERO", 1: "ONE", 11: "ELEVENT", 17: "SEVENTEEN", 37: "THIRTYSEVEN", 67: "SIXTYSEVEN", -1: "NEGATIVE", } Enum_value = map[string]int32{ "DEFAULT": 1337, "ZERO": 0, "ONE": 1, "ELEVENT": 11, "SEVENTEEN": 17, "THIRTYSEVEN": 37, "SIXTYSEVEN": 67, "NEGATIVE": -1, } )
Enum value maps for Enum.
View Source
var File_internal_testprotos_enums_enums_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Enum ¶
type Enum int32
func (Enum) Descriptor ¶
func (Enum) Descriptor() protoreflect.EnumDescriptor
func (Enum) EnumDescriptor
deprecated
func (Enum) Number ¶
func (x Enum) Number() protoreflect.EnumNumber
func (Enum) Type ¶
func (Enum) Type() protoreflect.EnumType
func (*Enum) UnmarshalJSON
deprecated
Click to show internal directories.
Click to hide internal directories.