public static enum Protos.Status extends java.lang.Enum<Protos.Status>
Status is used to indicate the state of the scheduler and executor driver after function calls.Protobuf enum
mesos.Status
Enum Constant and Description |
---|
DRIVER_ABORTED
DRIVER_ABORTED = 3; |
DRIVER_NOT_STARTED
DRIVER_NOT_STARTED = 1; |
DRIVER_RUNNING
DRIVER_RUNNING = 2; |
DRIVER_STOPPED
DRIVER_STOPPED = 4; |
Modifier and Type | Field and Description |
---|---|
static int |
DRIVER_ABORTED_VALUE
DRIVER_ABORTED = 3; |
static int |
DRIVER_NOT_STARTED_VALUE
DRIVER_NOT_STARTED = 1; |
static int |
DRIVER_RUNNING_VALUE
DRIVER_RUNNING = 2; |
static int |
DRIVER_STOPPED_VALUE
DRIVER_STOPPED = 4; |
Modifier and Type | Method and Description |
---|---|
static Protos.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 <any> |
internalGetValueMap() |
static Protos.Status |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Protos.Status |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Protos.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Protos.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Protos.Status DRIVER_NOT_STARTED
DRIVER_NOT_STARTED = 1;
public static final Protos.Status DRIVER_RUNNING
DRIVER_RUNNING = 2;
public static final Protos.Status DRIVER_ABORTED
DRIVER_ABORTED = 3;
public static final Protos.Status DRIVER_STOPPED
DRIVER_STOPPED = 4;
public static final int DRIVER_NOT_STARTED_VALUE
DRIVER_NOT_STARTED = 1;
public static final int DRIVER_RUNNING_VALUE
DRIVER_RUNNING = 2;
public static final int DRIVER_ABORTED_VALUE
DRIVER_ABORTED = 3;
public static final int DRIVER_STOPPED_VALUE
DRIVER_STOPPED = 4;
public static Protos.Status[] values()
for (Protos.Status c : Protos.Status.values()) System.out.println(c);
public static Protos.Status valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
@Deprecated public static Protos.Status valueOf(int value)
forNumber(int)
instead.public static Protos.Status forNumber(int value)
public static <any> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Protos.Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)