public enum ScrollType extends java.lang.Enum<ScrollType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum teamdev.browsercore.ui.ScrollType
Enum Constant and Description |
---|
BLOCK_SCROLL
Defines the scroll by page.
|
SCROLL_TYPE_UNSPECIFIED
Reserved value.
|
UNIT_SCROLL
Defines the scroll by units.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
BLOCK_SCROLL_VALUE
Defines the scroll by page.
|
static int |
SCROLL_TYPE_UNSPECIFIED_VALUE
Reserved value.
|
static int |
UNIT_SCROLL_VALUE
Defines the scroll by units.
|
Modifier and Type | Method and Description |
---|---|
static ScrollType |
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<ScrollType> |
internalGetValueMap() |
static ScrollType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ScrollType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ScrollType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScrollType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScrollType SCROLL_TYPE_UNSPECIFIED
public static final ScrollType UNIT_SCROLL
public static final ScrollType BLOCK_SCROLL
public static final ScrollType UNRECOGNIZED
public static final int SCROLL_TYPE_UNSPECIFIED_VALUE
public static final int UNIT_SCROLL_VALUE
public static final int BLOCK_SCROLL_VALUE
public static ScrollType[] values()
for (ScrollType c : ScrollType.values()) System.out.println(c);
public static ScrollType 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 ScrollType valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static ScrollType forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ScrollType> 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 ScrollType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)