public enum SortCriteria extends java.lang.Enum<SortCriteria>
SortCriteriaProtobuf enum
kaikosdk.SortCriteria
Enum Constant and Description |
---|
ASC
ASC (ascendant).
|
DESC
DESC (descendant).
|
SORT_UNKNOWN
SORT_UNKNOWN (sorting not specified).
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
ASC_VALUE
ASC (ascendant).
|
static int |
DESC_VALUE
DESC (descendant).
|
static int |
SORT_UNKNOWN_VALUE
SORT_UNKNOWN (sorting not specified).
|
Modifier and Type | Method and Description |
---|---|
static SortCriteria |
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 <any> |
internalGetValueMap() |
static SortCriteria |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SortCriteria |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SortCriteria |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SortCriteria[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SortCriteria SORT_UNKNOWN
SORT_UNKNOWN (sorting not specified).
SORT_UNKNOWN = 0;
public static final SortCriteria ASC
ASC (ascendant).
ASC = 1;
public static final SortCriteria DESC
DESC (descendant).
DESC = 2;
public static final SortCriteria UNRECOGNIZED
public static final int SORT_UNKNOWN_VALUE
SORT_UNKNOWN (sorting not specified).
SORT_UNKNOWN = 0;
public static final int ASC_VALUE
ASC (ascendant).
ASC = 1;
public static final int DESC_VALUE
DESC (descendant).
DESC = 2;
public static SortCriteria[] values()
for (SortCriteria c : SortCriteria.values()) System.out.println(c);
public static SortCriteria 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()
@Deprecated public static SortCriteria valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static SortCriteria forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static <any> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static SortCriteria valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)