public static enum Prometheus.Operand.ValueCase extends Enum<Prometheus.Operand.ValueCase> implements com.google.protobuf.Internal.EnumLite
| 枚举常量和说明 |
|---|
FLOAT_VAL |
SELECTOR |
STRING_VAL |
VALUE_NOT_SET |
| 限定符和类型 | 方法和说明 |
|---|---|
static Prometheus.Operand.ValueCase |
forNumber(int value) |
int |
getNumber() |
static Prometheus.Operand.ValueCase |
valueOf(int value)
已过时。
Use
forNumber(int) instead. |
static Prometheus.Operand.ValueCase |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static Prometheus.Operand.ValueCase[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final Prometheus.Operand.ValueCase FLOAT_VAL
public static final Prometheus.Operand.ValueCase STRING_VAL
public static final Prometheus.Operand.ValueCase SELECTOR
public static final Prometheus.Operand.ValueCase VALUE_NOT_SET
public static Prometheus.Operand.ValueCase[] values()
for (Prometheus.Operand.ValueCase c : Prometheus.Operand.ValueCase.values()) System.out.println(c);
public static Prometheus.Operand.ValueCase valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值@Deprecated public static Prometheus.Operand.ValueCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static Prometheus.Operand.ValueCase forNumber(int value)
public int getNumber()
getNumber 在接口中 com.google.protobuf.Internal.EnumLiteCopyright © 2023. All rights reserved.