public enum TaskStatus extends Enum<TaskStatus> implements com.google.protobuf.ProtocolMessageEnum
alluxio.grpc.block.TaskStatus
Enum Constant and Description |
---|
FAILURE
FAILURE = 1; |
PARTIAL_FAILURE
PARTIAL_FAILURE = 2; |
SUCCESS
SUCCESS = 0; |
Modifier and Type | Field and Description |
---|---|
static int |
FAILURE_VALUE
FAILURE = 1; |
static int |
PARTIAL_FAILURE_VALUE
PARTIAL_FAILURE = 2; |
static int |
SUCCESS_VALUE
SUCCESS = 0; |
Modifier and Type | Method and Description |
---|---|
static TaskStatus |
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<TaskStatus> |
internalGetValueMap() |
static TaskStatus |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static TaskStatus |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TaskStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskStatus SUCCESS
SUCCESS = 0;
public static final TaskStatus FAILURE
FAILURE = 1;
public static final TaskStatus PARTIAL_FAILURE
PARTIAL_FAILURE = 2;
public static final int SUCCESS_VALUE
SUCCESS = 0;
public static final int FAILURE_VALUE
FAILURE = 1;
public static final int PARTIAL_FAILURE_VALUE
PARTIAL_FAILURE = 2;
public static TaskStatus[] values()
for (TaskStatus c : TaskStatus.values()) System.out.println(c);
public static TaskStatus 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 TaskStatus valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static TaskStatus forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<TaskStatus> 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 TaskStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023. All Rights Reserved.