public static enum Sort.Mode extends java.lang.Enum<Sort.Mode> implements com.google.protobuf.ProtocolMessageEnum
dstore.elastic.Sort.Mode| Enum Constant and Description |
|---|
AVG
AVG = 4; |
MAX
MAX = 2; |
MEDIAN
MEDIAN = 5; |
MIN
MIN = 1; |
SUM
SUM = 3; |
UNDEFINED
UNDEFINED = 0; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
AVG_VALUE
AVG = 4; |
static int |
MAX_VALUE
MAX = 2; |
static int |
MEDIAN_VALUE
MEDIAN = 5; |
static int |
MIN_VALUE
MIN = 1; |
static int |
SUM_VALUE
SUM = 3; |
static int |
UNDEFINED_VALUE
UNDEFINED = 0; |
| Modifier and Type | Method and Description |
|---|---|
static Sort.Mode |
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<Sort.Mode> |
internalGetValueMap() |
static Sort.Mode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Sort.Mode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Sort.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Sort.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Sort.Mode UNDEFINED
UNDEFINED = 0;public static final Sort.Mode MIN
MIN = 1;public static final Sort.Mode MAX
MAX = 2;public static final Sort.Mode SUM
SUM = 3;public static final Sort.Mode AVG
AVG = 4;public static final Sort.Mode MEDIAN
MEDIAN = 5;public static final Sort.Mode UNRECOGNIZED
public static final int UNDEFINED_VALUE
UNDEFINED = 0;public static final int MIN_VALUE
MIN = 1;public static final int MAX_VALUE
MAX = 2;public static final int SUM_VALUE
SUM = 3;public static final int AVG_VALUE
AVG = 4;public static final int MEDIAN_VALUE
MEDIAN = 5;public static Sort.Mode[] values()
for (Sort.Mode c : Sort.Mode.values()) System.out.println(c);
public static Sort.Mode 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.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Sort.Mode valueOf(int value)
forNumber(int) instead.public static Sort.Mode forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Sort.Mode> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Sort.Mode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)