public enum MasterInfoField extends Enum<MasterInfoField> implements org.apache.thrift.TEnum
Enum Constant and Description |
---|
LEADER_MASTER_ADDRESS |
MASTER_ADDRESSES |
RPC_PORT |
SAFE_MODE |
START_TIME_MS |
UP_TIME_MS |
VERSION |
WEB_PORT |
WORKER_ADDRESSES |
ZOOKEEPER_ADDRESSES |
Modifier and Type | Method and Description |
---|---|
static MasterInfoField |
findByValue(int value)
Find a the enum type by its integer value, as defined in the Thrift IDL.
|
int |
getValue()
Get the integer value of this enum value, as defined in the Thrift IDL.
|
static MasterInfoField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MasterInfoField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MasterInfoField LEADER_MASTER_ADDRESS
public static final MasterInfoField MASTER_ADDRESSES
public static final MasterInfoField RPC_PORT
public static final MasterInfoField SAFE_MODE
public static final MasterInfoField START_TIME_MS
public static final MasterInfoField UP_TIME_MS
public static final MasterInfoField VERSION
public static final MasterInfoField WEB_PORT
public static final MasterInfoField WORKER_ADDRESSES
public static final MasterInfoField ZOOKEEPER_ADDRESSES
public static MasterInfoField[] values()
for (MasterInfoField c : MasterInfoField.values()) System.out.println(c);
public static MasterInfoField 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 nullpublic int getValue()
getValue
in interface org.apache.thrift.TEnum
public static MasterInfoField findByValue(int value)
Copyright © 2023. All Rights Reserved.