@Generated(value="Generated by the protocol buffer compiler") public enum TouchType extends java.lang.Enum<TouchType> implements com.google.protobuf.ProtocolMessageEnum
| Enum Constant and Description |
|---|
MOVED |
PRESSED |
RELEASED |
TOUCH_TYPE_UNSPECIFIED
Reserved value.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
MOVED_VALUE |
static int |
PRESSED_VALUE |
static int |
RELEASED_VALUE |
static int |
TOUCH_TYPE_UNSPECIFIED_VALUE
Reserved value.
|
| Modifier and Type | Method and Description |
|---|---|
static TouchType |
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<TouchType> |
internalGetValueMap() |
static TouchType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static TouchType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TouchType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TouchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TouchType TOUCH_TYPE_UNSPECIFIED
public static final TouchType PRESSED
public static final TouchType MOVED
public static final TouchType RELEASED
public static final TouchType UNRECOGNIZED
public static final int TOUCH_TYPE_UNSPECIFIED_VALUE
public static final int PRESSED_VALUE
public static final int MOVED_VALUE
public static final int RELEASED_VALUE
public static TouchType[] values()
for (TouchType c : TouchType.values()) System.out.println(c);
public static TouchType 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.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static TouchType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static TouchType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<TouchType> 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 TouchType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)