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