public static enum GenericCollectionValue.ValueCase extends Enum<GenericCollectionValue.ValueCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
BOOL_VALUE |
BYTES_VALUE |
DOUBLE_VALUE |
FLOAT_VALUE |
INT_VALUE |
LONG_INT_VALUE |
STRING_VALUE |
VALUE_NOT_SET |
| Modifier and Type | Method and Description |
|---|---|
static GenericCollectionValue.ValueCase |
forNumber(int value) |
int |
getNumber() |
static GenericCollectionValue.ValueCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static GenericCollectionValue.ValueCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GenericCollectionValue.ValueCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GenericCollectionValue.ValueCase INT_VALUE
public static final GenericCollectionValue.ValueCase LONG_INT_VALUE
public static final GenericCollectionValue.ValueCase BOOL_VALUE
public static final GenericCollectionValue.ValueCase STRING_VALUE
public static final GenericCollectionValue.ValueCase BYTES_VALUE
public static final GenericCollectionValue.ValueCase FLOAT_VALUE
public static final GenericCollectionValue.ValueCase DOUBLE_VALUE
public static final GenericCollectionValue.ValueCase VALUE_NOT_SET
public static GenericCollectionValue.ValueCase[] values()
for (GenericCollectionValue.ValueCase c : GenericCollectionValue.ValueCase.values()) System.out.println(c);
public static GenericCollectionValue.ValueCase 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 GenericCollectionValue.ValueCase valueOf(int value)
forNumber(int) instead.public static GenericCollectionValue.ValueCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2019 LeanCloud. All rights reserved.