public enum BlockMasterInfoField extends Enum<BlockMasterInfoField> implements com.google.protobuf.ProtocolMessageEnum
alluxio.grpc.block.BlockMasterInfoField
Enum Constant and Description |
---|
CAPACITY_BYTES
CAPACITY_BYTES = 1; |
CAPACITY_BYTES_ON_TIERS
CAPACITY_BYTES_ON_TIERS = 2; |
DECOMMISSIONED_WORKER_NUM
DECOMMISSIONED_WORKER_NUM = 8; |
FREE_BYTES
FREE_BYTES = 3; |
LIVE_WORKER_NUM
LIVE_WORKER_NUM = 4; |
LOST_WORKER_NUM
LOST_WORKER_NUM = 5; |
USED_BYTES
USED_BYTES = 6; |
USED_BYTES_ON_TIERS
USED_BYTES_ON_TIERS = 7; |
Modifier and Type | Field and Description |
---|---|
static int |
CAPACITY_BYTES_ON_TIERS_VALUE
CAPACITY_BYTES_ON_TIERS = 2; |
static int |
CAPACITY_BYTES_VALUE
CAPACITY_BYTES = 1; |
static int |
DECOMMISSIONED_WORKER_NUM_VALUE
DECOMMISSIONED_WORKER_NUM = 8; |
static int |
FREE_BYTES_VALUE
FREE_BYTES = 3; |
static int |
LIVE_WORKER_NUM_VALUE
LIVE_WORKER_NUM = 4; |
static int |
LOST_WORKER_NUM_VALUE
LOST_WORKER_NUM = 5; |
static int |
USED_BYTES_ON_TIERS_VALUE
USED_BYTES_ON_TIERS = 7; |
static int |
USED_BYTES_VALUE
USED_BYTES = 6; |
Modifier and Type | Method and Description |
---|---|
static BlockMasterInfoField |
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<BlockMasterInfoField> |
internalGetValueMap() |
static BlockMasterInfoField |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static BlockMasterInfoField |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static BlockMasterInfoField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlockMasterInfoField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockMasterInfoField CAPACITY_BYTES
CAPACITY_BYTES = 1;
public static final BlockMasterInfoField CAPACITY_BYTES_ON_TIERS
CAPACITY_BYTES_ON_TIERS = 2;
public static final BlockMasterInfoField FREE_BYTES
FREE_BYTES = 3;
public static final BlockMasterInfoField LIVE_WORKER_NUM
LIVE_WORKER_NUM = 4;
public static final BlockMasterInfoField LOST_WORKER_NUM
LOST_WORKER_NUM = 5;
public static final BlockMasterInfoField USED_BYTES
USED_BYTES = 6;
public static final BlockMasterInfoField USED_BYTES_ON_TIERS
USED_BYTES_ON_TIERS = 7;
public static final BlockMasterInfoField DECOMMISSIONED_WORKER_NUM
DECOMMISSIONED_WORKER_NUM = 8;
public static final int CAPACITY_BYTES_VALUE
CAPACITY_BYTES = 1;
public static final int CAPACITY_BYTES_ON_TIERS_VALUE
CAPACITY_BYTES_ON_TIERS = 2;
public static final int FREE_BYTES_VALUE
FREE_BYTES = 3;
public static final int LIVE_WORKER_NUM_VALUE
LIVE_WORKER_NUM = 4;
public static final int LOST_WORKER_NUM_VALUE
LOST_WORKER_NUM = 5;
public static final int USED_BYTES_VALUE
USED_BYTES = 6;
public static final int USED_BYTES_ON_TIERS_VALUE
USED_BYTES_ON_TIERS = 7;
public static final int DECOMMISSIONED_WORKER_NUM_VALUE
DECOMMISSIONED_WORKER_NUM = 8;
public static BlockMasterInfoField[] values()
for (BlockMasterInfoField c : BlockMasterInfoField.values()) System.out.println(c);
public static BlockMasterInfoField 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 BlockMasterInfoField valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static BlockMasterInfoField forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<BlockMasterInfoField> 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 BlockMasterInfoField valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023. All Rights Reserved.