public static enum DeviceInfo.DeviceType extends Enum<DeviceInfo.DeviceType> implements com.google.protobuf.ProtocolMessageEnum
An enumeration describing an API access portal and exposure mechanism.Protobuf enum
google.cloud.talent.v4beta1.DeviceInfo.DeviceType| Enum Constant and Description |
|---|
ANDROID
An Android device native application.
|
BOT
A bot, as opposed to a device operated by human beings, such as a web
crawler.
|
DEVICE_TYPE_UNSPECIFIED
The device type isn't specified.
|
IOS
An iOS device native application.
|
MOBILE_WEB
A mobile device web browser, such as a phone or tablet with a Chrome
browser.
|
OTHER
Other devices types.
|
UNRECOGNIZED |
WEB
A desktop web browser, such as, Chrome, Firefox, Safari, or Internet
Explorer)
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ANDROID_VALUE
An Android device native application.
|
static int |
BOT_VALUE
A bot, as opposed to a device operated by human beings, such as a web
crawler.
|
static int |
DEVICE_TYPE_UNSPECIFIED_VALUE
The device type isn't specified.
|
static int |
IOS_VALUE
An iOS device native application.
|
static int |
MOBILE_WEB_VALUE
A mobile device web browser, such as a phone or tablet with a Chrome
browser.
|
static int |
OTHER_VALUE
Other devices types.
|
static int |
WEB_VALUE
A desktop web browser, such as, Chrome, Firefox, Safari, or Internet
Explorer)
|
| Modifier and Type | Method and Description |
|---|---|
static DeviceInfo.DeviceType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<DeviceInfo.DeviceType> |
internalGetValueMap() |
static DeviceInfo.DeviceType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static DeviceInfo.DeviceType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static DeviceInfo.DeviceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeviceInfo.DeviceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceInfo.DeviceType DEVICE_TYPE_UNSPECIFIED
The device type isn't specified.
DEVICE_TYPE_UNSPECIFIED = 0;public static final DeviceInfo.DeviceType WEB
A desktop web browser, such as, Chrome, Firefox, Safari, or Internet Explorer)
WEB = 1;public static final DeviceInfo.DeviceType MOBILE_WEB
A mobile device web browser, such as a phone or tablet with a Chrome browser.
MOBILE_WEB = 2;public static final DeviceInfo.DeviceType ANDROID
An Android device native application.
ANDROID = 3;public static final DeviceInfo.DeviceType IOS
An iOS device native application.
IOS = 4;public static final DeviceInfo.DeviceType BOT
A bot, as opposed to a device operated by human beings, such as a web crawler.
BOT = 5;public static final DeviceInfo.DeviceType OTHER
Other devices types.
OTHER = 6;public static final DeviceInfo.DeviceType UNRECOGNIZED
public static final int DEVICE_TYPE_UNSPECIFIED_VALUE
The device type isn't specified.
DEVICE_TYPE_UNSPECIFIED = 0;public static final int WEB_VALUE
A desktop web browser, such as, Chrome, Firefox, Safari, or Internet Explorer)
WEB = 1;public static final int MOBILE_WEB_VALUE
A mobile device web browser, such as a phone or tablet with a Chrome browser.
MOBILE_WEB = 2;public static final int ANDROID_VALUE
An Android device native application.
ANDROID = 3;public static final int IOS_VALUE
An iOS device native application.
IOS = 4;public static final int BOT_VALUE
A bot, as opposed to a device operated by human beings, such as a web crawler.
BOT = 5;public static final int OTHER_VALUE
Other devices types.
OTHER = 6;public static DeviceInfo.DeviceType[] values()
for (DeviceInfo.DeviceType c : DeviceInfo.DeviceType.values()) System.out.println(c);
public static DeviceInfo.DeviceType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static DeviceInfo.DeviceType valueOf(int value)
forNumber(int) instead.public static DeviceInfo.DeviceType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<DeviceInfo.DeviceType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static DeviceInfo.DeviceType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019 Google LLC. All rights reserved.