Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DeviceType_name = map[int32]string{ 0: "DEVICE_TYPE_UNKNOWN", 1: "DEVICE_TYPE_SIMPLE", 2: "DEVICE_TYPE_ADVANCED", } DeviceType_value = map[string]int32{ "DEVICE_TYPE_UNKNOWN": 0, "DEVICE_TYPE_SIMPLE": 1, "DEVICE_TYPE_ADVANCED": 2, } )
Enum value maps for DeviceType.
View Source
var File_device_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DeviceType ¶
type DeviceType int32
const ( DeviceType_DEVICE_TYPE_UNKNOWN DeviceType = 0 DeviceType_DEVICE_TYPE_SIMPLE DeviceType = 1 DeviceType_DEVICE_TYPE_ADVANCED DeviceType = 2 )
func (DeviceType) Descriptor ¶ added in v1.2.14
func (DeviceType) Descriptor() protoreflect.EnumDescriptor
func (DeviceType) Enum ¶ added in v1.2.14
func (x DeviceType) Enum() *DeviceType
func (DeviceType) EnumDescriptor
deprecated
func (DeviceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeviceType.Descriptor instead.
func (DeviceType) Number ¶ added in v1.2.14
func (x DeviceType) Number() protoreflect.EnumNumber
func (DeviceType) String ¶
func (x DeviceType) String() string
func (DeviceType) Type ¶ added in v1.2.14
func (DeviceType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.