public enum KeyLocation extends java.lang.Enum<KeyLocation> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum teamdev.browsercore.ui.KeyLocation
Enum Constant and Description |
---|
KEY_LOCATION_UNSPECIFIED
Reserved value.
|
LEFT
The key was the left-hand version of the key.
|
NUMERIC_KEYPAD
The key was on the numeric keypad, or has a virtual key code that
corresponds to the numeric keypad.
|
RIGHT
The key was the right-hand version of the key.
|
STANDARD
The key has only one version, or cannot be distinguished between the left
and right versions of the key, and was not pressed on the numeric keypad
or a key that is considered to be part of the keypad.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
KEY_LOCATION_UNSPECIFIED_VALUE
Reserved value.
|
static int |
LEFT_VALUE
The key was the left-hand version of the key.
|
static int |
NUMERIC_KEYPAD_VALUE
The key was on the numeric keypad, or has a virtual key code that
corresponds to the numeric keypad.
|
static int |
RIGHT_VALUE
The key was the right-hand version of the key.
|
static int |
STANDARD_VALUE
The key has only one version, or cannot be distinguished between the left
and right versions of the key, and was not pressed on the numeric keypad
or a key that is considered to be part of the keypad.
|
Modifier and Type | Method and Description |
---|---|
static KeyLocation |
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<KeyLocation> |
internalGetValueMap() |
static KeyLocation |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static KeyLocation |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static KeyLocation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KeyLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyLocation KEY_LOCATION_UNSPECIFIED
public static final KeyLocation STANDARD
public static final KeyLocation NUMERIC_KEYPAD
public static final KeyLocation LEFT
public static final KeyLocation RIGHT
public static final KeyLocation UNRECOGNIZED
public static final int KEY_LOCATION_UNSPECIFIED_VALUE
public static final int STANDARD_VALUE
public static final int NUMERIC_KEYPAD_VALUE
public static final int LEFT_VALUE
public static final int RIGHT_VALUE
public static KeyLocation[] values()
for (KeyLocation c : KeyLocation.values()) System.out.println(c);
public static KeyLocation valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static KeyLocation valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static KeyLocation forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<KeyLocation> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static KeyLocation valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)