public enum MasterInfoField extends Enum<MasterInfoField> implements com.google.protobuf.ProtocolMessageEnum
alluxio.grpc.meta.MasterInfoField
Enum Constant and Description |
---|
CLUSTER_ID
CLUSTER_ID = 10; |
LEADER_MASTER_ADDRESS
LEADER_MASTER_ADDRESS = 0; |
MASTER_ADDRESSES
MASTER_ADDRESSES = 1; |
RPC_PORT
RPC_PORT = 2; |
SAFE_MODE
SAFE_MODE = 3; |
START_TIME_MS
START_TIME_MS = 4; |
UP_TIME_MS
UP_TIME_MS = 5; |
VERSION
VERSION = 6; |
WEB_PORT
WEB_PORT = 7; |
WORKER_ADDRESSES
WORKER_ADDRESSES = 8; |
ZOOKEEPER_ADDRESSES
ZOOKEEPER_ADDRESSES = 9; |
Modifier and Type | Field and Description |
---|---|
static int |
CLUSTER_ID_VALUE
CLUSTER_ID = 10; |
static int |
LEADER_MASTER_ADDRESS_VALUE
LEADER_MASTER_ADDRESS = 0; |
static int |
MASTER_ADDRESSES_VALUE
MASTER_ADDRESSES = 1; |
static int |
RPC_PORT_VALUE
RPC_PORT = 2; |
static int |
SAFE_MODE_VALUE
SAFE_MODE = 3; |
static int |
START_TIME_MS_VALUE
START_TIME_MS = 4; |
static int |
UP_TIME_MS_VALUE
UP_TIME_MS = 5; |
static int |
VERSION_VALUE
VERSION = 6; |
static int |
WEB_PORT_VALUE
WEB_PORT = 7; |
static int |
WORKER_ADDRESSES_VALUE
WORKER_ADDRESSES = 8; |
static int |
ZOOKEEPER_ADDRESSES_VALUE
ZOOKEEPER_ADDRESSES = 9; |
Modifier and Type | Method and Description |
---|---|
static MasterInfoField |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<MasterInfoField> |
internalGetValueMap() |
static MasterInfoField |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static MasterInfoField |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
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
LEADER_MASTER_ADDRESS = 0;
public static final MasterInfoField MASTER_ADDRESSES
MASTER_ADDRESSES = 1;
public static final MasterInfoField RPC_PORT
RPC_PORT = 2;
public static final MasterInfoField SAFE_MODE
SAFE_MODE = 3;
public static final MasterInfoField START_TIME_MS
START_TIME_MS = 4;
public static final MasterInfoField UP_TIME_MS
UP_TIME_MS = 5;
public static final MasterInfoField VERSION
VERSION = 6;
public static final MasterInfoField WEB_PORT
WEB_PORT = 7;
public static final MasterInfoField WORKER_ADDRESSES
WORKER_ADDRESSES = 8;
public static final MasterInfoField ZOOKEEPER_ADDRESSES
ZOOKEEPER_ADDRESSES = 9;
public static final MasterInfoField CLUSTER_ID
CLUSTER_ID = 10;
public static final int LEADER_MASTER_ADDRESS_VALUE
LEADER_MASTER_ADDRESS = 0;
public static final int MASTER_ADDRESSES_VALUE
MASTER_ADDRESSES = 1;
public static final int RPC_PORT_VALUE
RPC_PORT = 2;
public static final int SAFE_MODE_VALUE
SAFE_MODE = 3;
public static final int START_TIME_MS_VALUE
START_TIME_MS = 4;
public static final int UP_TIME_MS_VALUE
UP_TIME_MS = 5;
public static final int VERSION_VALUE
VERSION = 6;
public static final int WEB_PORT_VALUE
WEB_PORT = 7;
public static final int WORKER_ADDRESSES_VALUE
WORKER_ADDRESSES = 8;
public static final int ZOOKEEPER_ADDRESSES_VALUE
ZOOKEEPER_ADDRESSES = 9;
public static final int CLUSTER_ID_VALUE
CLUSTER_ID = 10;
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 final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static MasterInfoField valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static MasterInfoField forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<MasterInfoField> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static MasterInfoField valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023. All Rights Reserved.