public static enum JobStatus.Substate extends java.lang.Enum<JobStatus.Substate> implements ProtocolMessageEnum
google.cloud.dataproc.v1.JobStatus.Substate
Enum Constant and Description |
---|
QUEUED
The Job has been received and is awaiting execution (it may be waiting
for a condition to be met).
|
STALE_STATUS
The agent-reported status is out of date, which may be caused by a
loss of communication between the agent and Cloud Dataproc.
|
SUBMITTED
The Job is submitted to the agent.
|
UNRECOGNIZED |
UNSPECIFIED
UNSPECIFIED = 0; |
Modifier and Type | Field and Description |
---|---|
static int |
QUEUED_VALUE
The Job has been received and is awaiting execution (it may be waiting
for a condition to be met).
|
static int |
STALE_STATUS_VALUE
The agent-reported status is out of date, which may be caused by a
loss of communication between the agent and Cloud Dataproc.
|
static int |
SUBMITTED_VALUE
The Job is submitted to the agent.
|
static int |
UNSPECIFIED_VALUE
UNSPECIFIED = 0; |
Modifier and Type | Method and Description |
---|---|
static JobStatus.Substate |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<JobStatus.Substate> |
internalGetValueMap() |
static JobStatus.Substate |
valueOf(Descriptors.EnumValueDescriptor desc) |
static JobStatus.Substate |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static JobStatus.Substate |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JobStatus.Substate[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobStatus.Substate UNSPECIFIED
UNSPECIFIED = 0;
public static final JobStatus.Substate SUBMITTED
The Job is submitted to the agent. Applies to RUNNING state.
SUBMITTED = 1;
public static final JobStatus.Substate QUEUED
The Job has been received and is awaiting execution (it may be waiting for a condition to be met). See the "details" field for the reason for the delay. Applies to RUNNING state.
QUEUED = 2;
public static final JobStatus.Substate STALE_STATUS
The agent-reported status is out of date, which may be caused by a loss of communication between the agent and Cloud Dataproc. If the agent does not send a timely update, the job will fail. Applies to RUNNING state.
STALE_STATUS = 3;
public static final JobStatus.Substate UNRECOGNIZED
public static final int UNSPECIFIED_VALUE
UNSPECIFIED = 0;
public static final int SUBMITTED_VALUE
The Job is submitted to the agent. Applies to RUNNING state.
SUBMITTED = 1;
public static final int QUEUED_VALUE
The Job has been received and is awaiting execution (it may be waiting for a condition to be met). See the "details" field for the reason for the delay. Applies to RUNNING state.
QUEUED = 2;
public static final int STALE_STATUS_VALUE
The agent-reported status is out of date, which may be caused by a loss of communication between the agent and Cloud Dataproc. If the agent does not send a timely update, the job will fail. Applies to RUNNING state.
STALE_STATUS = 3;
public static JobStatus.Substate[] values()
for (JobStatus.Substate c : JobStatus.Substate.values()) System.out.println(c);
public static JobStatus.Substate 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()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static JobStatus.Substate valueOf(int value)
forNumber(int)
instead.public static JobStatus.Substate forNumber(int value)
public static Internal.EnumLiteMap<JobStatus.Substate> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static JobStatus.Substate valueOf(Descriptors.EnumValueDescriptor desc)