public enum WorkerInfoField extends Enum<WorkerInfoField> implements com.google.protobuf.ProtocolMessageEnum
alluxio.grpc.block.WorkerInfoField
Enum Constant and Description |
---|
ADDRESS
ADDRESS = 1; |
ID
ID = 4; |
LAST_CONTACT_SEC
LAST_CONTACT_SEC = 5; |
START_TIME_MS
START_TIME_MS = 6; |
STATE
STATE = 7; |
WORKER_CAPACITY_BYTES
WORKER_CAPACITY_BYTES = 2; |
WORKER_CAPACITY_BYTES_ON_TIERS
WORKER_CAPACITY_BYTES_ON_TIERS = 3; |
WORKER_USED_BYTES
WORKER_USED_BYTES = 8; |
WORKER_USED_BYTES_ON_TIERS
WORKER_USED_BYTES_ON_TIERS = 9; |
Modifier and Type | Field and Description |
---|---|
static int |
ADDRESS_VALUE
ADDRESS = 1; |
static int |
ID_VALUE
ID = 4; |
static int |
LAST_CONTACT_SEC_VALUE
LAST_CONTACT_SEC = 5; |
static int |
START_TIME_MS_VALUE
START_TIME_MS = 6; |
static int |
STATE_VALUE
STATE = 7; |
static int |
WORKER_CAPACITY_BYTES_ON_TIERS_VALUE
WORKER_CAPACITY_BYTES_ON_TIERS = 3; |
static int |
WORKER_CAPACITY_BYTES_VALUE
WORKER_CAPACITY_BYTES = 2; |
static int |
WORKER_USED_BYTES_ON_TIERS_VALUE
WORKER_USED_BYTES_ON_TIERS = 9; |
static int |
WORKER_USED_BYTES_VALUE
WORKER_USED_BYTES = 8; |
Modifier and Type | Method and Description |
---|---|
static WorkerInfoField |
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<WorkerInfoField> |
internalGetValueMap() |
static WorkerInfoField |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static WorkerInfoField |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static WorkerInfoField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorkerInfoField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorkerInfoField ADDRESS
ADDRESS = 1;
public static final WorkerInfoField WORKER_CAPACITY_BYTES
WORKER_CAPACITY_BYTES = 2;
public static final WorkerInfoField WORKER_CAPACITY_BYTES_ON_TIERS
WORKER_CAPACITY_BYTES_ON_TIERS = 3;
public static final WorkerInfoField ID
ID = 4;
public static final WorkerInfoField LAST_CONTACT_SEC
LAST_CONTACT_SEC = 5;
public static final WorkerInfoField START_TIME_MS
START_TIME_MS = 6;
public static final WorkerInfoField STATE
STATE = 7;
public static final WorkerInfoField WORKER_USED_BYTES
WORKER_USED_BYTES = 8;
public static final WorkerInfoField WORKER_USED_BYTES_ON_TIERS
WORKER_USED_BYTES_ON_TIERS = 9;
public static final int ADDRESS_VALUE
ADDRESS = 1;
public static final int WORKER_CAPACITY_BYTES_VALUE
WORKER_CAPACITY_BYTES = 2;
public static final int WORKER_CAPACITY_BYTES_ON_TIERS_VALUE
WORKER_CAPACITY_BYTES_ON_TIERS = 3;
public static final int ID_VALUE
ID = 4;
public static final int LAST_CONTACT_SEC_VALUE
LAST_CONTACT_SEC = 5;
public static final int START_TIME_MS_VALUE
START_TIME_MS = 6;
public static final int STATE_VALUE
STATE = 7;
public static final int WORKER_USED_BYTES_VALUE
WORKER_USED_BYTES = 8;
public static final int WORKER_USED_BYTES_ON_TIERS_VALUE
WORKER_USED_BYTES_ON_TIERS = 9;
public static WorkerInfoField[] values()
for (WorkerInfoField c : WorkerInfoField.values()) System.out.println(c);
public static WorkerInfoField 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 WorkerInfoField valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static WorkerInfoField forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<WorkerInfoField> 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 WorkerInfoField valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023. All Rights Reserved.