public enum ConsensusDiagnosticInfoType extends Enum<ConsensusDiagnosticInfoType>
| 枚举常量和说明 |
|---|
MSG_TYPE_STATUS_RESP_CONSENSUS_DIAGNOSTIC_INFO |
| 限定符和类型 | 方法和说明 |
|---|---|
static ConsensusDiagnosticInfoType |
forNumber(int value) |
static ConsensusDiagnosticInfoType |
getType(int value)
Get type consensus algorithm type.
|
int |
getValue()
Get value int.
|
static ConsensusDiagnosticInfoType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ConsensusDiagnosticInfoType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final ConsensusDiagnosticInfoType MSG_TYPE_STATUS_RESP_CONSENSUS_DIAGNOSTIC_INFO
public static ConsensusDiagnosticInfoType[] values()
for (ConsensusDiagnosticInfoType c : ConsensusDiagnosticInfoType.values()) System.out.println(c);
public static ConsensusDiagnosticInfoType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public static ConsensusDiagnosticInfoType getType(int value)
value - the valuepublic static ConsensusDiagnosticInfoType forNumber(int value)
public int getValue()
Copyright © 2022. All rights reserved.