public static enum QueryValue.DataCase extends Enum<QueryValue.DataCase> implements com.google.protobuf.Internal.EnumLite
Enum Constant and Description |
---|
BOOLEAN_VALUE |
DATA_NOT_SET |
DOUBLE_VALUE |
NUMBER_VALUE |
TEXT_VALUE |
Modifier and Type | Method and Description |
---|---|
static QueryValue.DataCase |
forNumber(int value) |
int |
getNumber() |
static QueryValue.DataCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static QueryValue.DataCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryValue.DataCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryValue.DataCase TEXT_VALUE
public static final QueryValue.DataCase NUMBER_VALUE
public static final QueryValue.DataCase BOOLEAN_VALUE
public static final QueryValue.DataCase DOUBLE_VALUE
public static final QueryValue.DataCase DATA_NOT_SET
public static QueryValue.DataCase[] values()
for (QueryValue.DataCase c : QueryValue.DataCase.values()) System.out.println(c);
public static QueryValue.DataCase valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null@Deprecated public static QueryValue.DataCase valueOf(int value)
forNumber(int)
instead.public static QueryValue.DataCase forNumber(int value)
public int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
Copyright © 2010–2019. All rights reserved.