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 ¶
func (DeviceType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.