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