public static enum Tiller.ListSort.SortOrder extends Enum<Tiller.ListSort.SortOrder> implements ProtocolMessageEnum
SortOrder defines sort orders to augment sorting operations.Protobuf enum
hapi.services.tiller.ListSort.SortOrder
Enum Constant and Description |
---|
ASC
ASC = 0; |
DESC
DESC = 1; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
ASC_VALUE
ASC = 0; |
static int |
DESC_VALUE
DESC = 1; |
Modifier and Type | Method and Description |
---|---|
static Tiller.ListSort.SortOrder |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<Tiller.ListSort.SortOrder> |
internalGetValueMap() |
static Tiller.ListSort.SortOrder |
valueOf(Descriptors.EnumValueDescriptor desc) |
static Tiller.ListSort.SortOrder |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Tiller.ListSort.SortOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Tiller.ListSort.SortOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Tiller.ListSort.SortOrder ASC
ASC = 0;
public static final Tiller.ListSort.SortOrder DESC
DESC = 1;
public static final Tiller.ListSort.SortOrder UNRECOGNIZED
public static final int ASC_VALUE
ASC = 0;
public static final int DESC_VALUE
DESC = 1;
public static Tiller.ListSort.SortOrder[] values()
for (Tiller.ListSort.SortOrder c : Tiller.ListSort.SortOrder.values()) System.out.println(c);
public static Tiller.ListSort.SortOrder 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 Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static Tiller.ListSort.SortOrder valueOf(int value)
forNumber(int)
instead.public static Tiller.ListSort.SortOrder forNumber(int value)
public static Internal.EnumLiteMap<Tiller.ListSort.SortOrder> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static Tiller.ListSort.SortOrder valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2017–2018, microBean. All rights reserved.