device

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DeviceType_name = map[int32]string{
		0: "unknown",
		1: "tablet",
		2: "phone",
		3: "console",
		4: "wearable",
		5: "tv",
		6: "computer",
	}
	DeviceType_value = map[string]int32{
		"unknown":  0,
		"tablet":   1,
		"phone":    2,
		"console":  3,
		"wearable": 4,
		"tv":       5,
		"computer": 6,
	}
)

Enum value maps for DeviceType.

View Source
var File_types_device_device_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DeviceType

type DeviceType int32
const (
	DeviceType_unknown  DeviceType = 0
	DeviceType_tablet   DeviceType = 1
	DeviceType_phone    DeviceType = 2
	DeviceType_console  DeviceType = 3
	DeviceType_wearable DeviceType = 4
	DeviceType_tv       DeviceType = 5
	DeviceType_computer DeviceType = 6
)

func (DeviceType) Descriptor

func (DeviceType) Descriptor() protoreflect.EnumDescriptor

func (DeviceType) Enum

func (x DeviceType) Enum() *DeviceType

func (DeviceType) EnumDescriptor deprecated

func (DeviceType) EnumDescriptor() ([]byte, []int)

Deprecated: Use DeviceType.Descriptor instead.

func (DeviceType) Number

func (x DeviceType) Number() protoreflect.EnumNumber

func (DeviceType) String

func (x DeviceType) String() string

func (DeviceType) Type

Jump to

Keyboard shortcuts

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