_type

package
v1.2.16-alpha.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2023 License: MIT Imports: 5 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL