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