public enum AlluxioNodeType extends Enum<AlluxioNodeType> implements com.google.protobuf.ProtocolMessageEnum
alluxio.hub.proto.AlluxioNodeType
Enum Constant and Description |
---|
ALL
ALL = 1000; |
JOB_MASTER
JOB_MASTER = 3; |
JOB_WORKER
JOB_WORKER = 4; |
MASTER
MASTER = 0; |
PROXY
PROXY = 5; |
SECONDARY_MASTER
SECONDARY_MASTER = 1; |
WORKER
WORKER = 2; |
Modifier and Type | Field and Description |
---|---|
static int |
ALL_VALUE
ALL = 1000; |
static int |
JOB_MASTER_VALUE
JOB_MASTER = 3; |
static int |
JOB_WORKER_VALUE
JOB_WORKER = 4; |
static int |
MASTER_VALUE
MASTER = 0; |
static int |
PROXY_VALUE
PROXY = 5; |
static int |
SECONDARY_MASTER_VALUE
SECONDARY_MASTER = 1; |
static int |
WORKER_VALUE
WORKER = 2; |
Modifier and Type | Method and Description |
---|---|
static AlluxioNodeType |
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<AlluxioNodeType> |
internalGetValueMap() |
static AlluxioNodeType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static AlluxioNodeType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AlluxioNodeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AlluxioNodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlluxioNodeType MASTER
MASTER = 0;
public static final AlluxioNodeType SECONDARY_MASTER
SECONDARY_MASTER = 1;
public static final AlluxioNodeType WORKER
WORKER = 2;
public static final AlluxioNodeType JOB_MASTER
JOB_MASTER = 3;
public static final AlluxioNodeType JOB_WORKER
JOB_WORKER = 4;
public static final AlluxioNodeType PROXY
PROXY = 5;
public static final AlluxioNodeType ALL
ALL = 1000;
public static final int MASTER_VALUE
MASTER = 0;
public static final int SECONDARY_MASTER_VALUE
SECONDARY_MASTER = 1;
public static final int WORKER_VALUE
WORKER = 2;
public static final int JOB_MASTER_VALUE
JOB_MASTER = 3;
public static final int JOB_WORKER_VALUE
JOB_WORKER = 4;
public static final int PROXY_VALUE
PROXY = 5;
public static final int ALL_VALUE
ALL = 1000;
public static AlluxioNodeType[] values()
for (AlluxioNodeType c : AlluxioNodeType.values()) System.out.println(c);
public static AlluxioNodeType 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 AlluxioNodeType valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static AlluxioNodeType forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<AlluxioNodeType> 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 AlluxioNodeType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023. All Rights Reserved.