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