Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DeviceKind_name = map[int32]string{ 0: "DEVICE_KIND_UNKNOWN", 1: "DEVICE_KIND_SIMPLE", 2: "DEVICE_KIND_ADVANCED", } DeviceKind_value = map[string]int32{ "DEVICE_KIND_UNKNOWN": 0, "DEVICE_KIND_SIMPLE": 1, "DEVICE_KIND_ADVANCED": 2, } )
Enum value maps for DeviceKind.
View Source
var File_device_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DeviceKind ¶
type DeviceKind int32
const ( DeviceKind_DEVICE_KIND_UNKNOWN DeviceKind = 0 DeviceKind_DEVICE_KIND_SIMPLE DeviceKind = 1 DeviceKind_DEVICE_KIND_ADVANCED DeviceKind = 2 )
func (DeviceKind) Descriptor ¶ added in v1.2.14
func (DeviceKind) Descriptor() protoreflect.EnumDescriptor
func (DeviceKind) Enum ¶ added in v1.2.14
func (x DeviceKind) Enum() *DeviceKind
func (DeviceKind) EnumDescriptor
deprecated
func (DeviceKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeviceKind.Descriptor instead.
func (DeviceKind) Number ¶ added in v1.2.14
func (x DeviceKind) Number() protoreflect.EnumNumber
func (DeviceKind) String ¶
func (x DeviceKind) String() string
func (DeviceKind) Type ¶ added in v1.2.14
func (DeviceKind) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.