public enum Status extends Enum<Status> implements com.google.protobuf.ProtocolMessageEnum
alluxio.grpc.job.Status
Enum Constant and Description |
---|
CANCELED
CANCELED = 2; |
COMPLETED
COMPLETED = 5; |
CREATED
CREATED = 1; |
FAILED
FAILED = 3; |
RUNNING
RUNNING = 4; |
UNKNOWN
UNKNOWN = 0; |
Modifier and Type | Field and Description |
---|---|
static int |
CANCELED_VALUE
CANCELED = 2; |
static int |
COMPLETED_VALUE
COMPLETED = 5; |
static int |
CREATED_VALUE
CREATED = 1; |
static int |
FAILED_VALUE
FAILED = 3; |
static int |
RUNNING_VALUE
RUNNING = 4; |
static int |
UNKNOWN_VALUE
UNKNOWN = 0; |
Modifier and Type | Method and Description |
---|---|
static Status |
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<Status> |
internalGetValueMap() |
static Status |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Status |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Status UNKNOWN
UNKNOWN = 0;
public static final Status CREATED
CREATED = 1;
public static final Status CANCELED
CANCELED = 2;
public static final Status FAILED
FAILED = 3;
public static final Status RUNNING
RUNNING = 4;
public static final Status COMPLETED
COMPLETED = 5;
public static final int UNKNOWN_VALUE
UNKNOWN = 0;
public static final int CREATED_VALUE
CREATED = 1;
public static final int CANCELED_VALUE
CANCELED = 2;
public static final int FAILED_VALUE
FAILED = 3;
public static final int RUNNING_VALUE
RUNNING = 4;
public static final int COMPLETED_VALUE
COMPLETED = 5;
public static Status[] values()
for (Status c : Status.values()) System.out.println(c);
public static Status 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 Status valueOf(int value)
forNumber(int)
instead.public static Status forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Status> 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 Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023. All Rights Reserved.