public static enum MetaDataValue.DataCase extends Enum<MetaDataValue.DataCase> implements com.google.protobuf.Internal.EnumLite
Enum Constant and Description |
---|
BOOLEAN_VALUE |
BYTES_VALUE |
DATA_NOT_SET |
DOUBLE_VALUE |
NUMBER_VALUE |
TEXT_VALUE |
Modifier and Type | Method and Description |
---|---|
static MetaDataValue.DataCase |
forNumber(int value) |
int |
getNumber() |
static MetaDataValue.DataCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static MetaDataValue.DataCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetaDataValue.DataCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetaDataValue.DataCase TEXT_VALUE
public static final MetaDataValue.DataCase NUMBER_VALUE
public static final MetaDataValue.DataCase BOOLEAN_VALUE
public static final MetaDataValue.DataCase DOUBLE_VALUE
public static final MetaDataValue.DataCase BYTES_VALUE
public static final MetaDataValue.DataCase DATA_NOT_SET
public static MetaDataValue.DataCase[] values()
for (MetaDataValue.DataCase c : MetaDataValue.DataCase.values()) System.out.println(c);
public static MetaDataValue.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 MetaDataValue.DataCase valueOf(int value)
forNumber(int)
instead.public static MetaDataValue.DataCase forNumber(int value)
public int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
Copyright © 2010–2018. All rights reserved.