public static enum Sort.SortByCase extends java.lang.Enum<Sort.SortByCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
FIELD_SORT |
SCORE_SORT |
SORTBY_NOT_SET |
| Modifier and Type | Method and Description |
|---|---|
static Sort.SortByCase |
forNumber(int value) |
int |
getNumber() |
static Sort.SortByCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Sort.SortByCase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Sort.SortByCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Sort.SortByCase FIELD_SORT
public static final Sort.SortByCase SCORE_SORT
public static final Sort.SortByCase SORTBY_NOT_SET
public static Sort.SortByCase[] values()
for (Sort.SortByCase c : Sort.SortByCase.values()) System.out.println(c);
public static Sort.SortByCase 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 null@Deprecated public static Sort.SortByCase valueOf(int value)
forNumber(int) instead.public static Sort.SortByCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLite