public static enum RawMetricType.DesiredMetricUnit extends Enum<RawMetricType.DesiredMetricUnit>
Enum Constant and Description |
---|
KiB
Kibibytes.
|
MiB
Mebibites.
|
ORIGINAL
The original unit the metric comes in, unmodified.
|
Modifier and Type | Method and Description |
---|---|
static RawMetricType.DesiredMetricUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RawMetricType.DesiredMetricUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RawMetricType.DesiredMetricUnit KiB
public static final RawMetricType.DesiredMetricUnit MiB
public static final RawMetricType.DesiredMetricUnit ORIGINAL
public static RawMetricType.DesiredMetricUnit[] values()
for (RawMetricType.DesiredMetricUnit c : RawMetricType.DesiredMetricUnit.values()) System.out.println(c);
public static RawMetricType.DesiredMetricUnit 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