public static enum MeterData.MetricCase extends Enum<MeterData.MetricCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
HISTOGRAM |
METRIC_NOT_SET |
SINGLEVALUE |
| Modifier and Type | Method and Description |
|---|---|
static MeterData.MetricCase |
forNumber(int value) |
int |
getNumber() |
static MeterData.MetricCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static MeterData.MetricCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MeterData.MetricCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MeterData.MetricCase SINGLEVALUE
public static final MeterData.MetricCase HISTOGRAM
public static final MeterData.MetricCase METRIC_NOT_SET
public static MeterData.MetricCase[] values()
for (MeterData.MetricCase c : MeterData.MetricCase.values()) System.out.println(c);
public static MeterData.MetricCase 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 MeterData.MetricCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static MeterData.MetricCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2022 The Apache Software Foundation. All rights reserved.