public static enum JobStatus.Substate extends Enum<JobStatus.Substate> implements ProtocolMessageEnum
The job substate.Protobuf enum
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 Dataproc.
|
SUBMITTED
The Job is submitted to the agent.
|
UNRECOGNIZED |
UNSPECIFIED
The job substate is unknown.
|
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 Dataproc.
|
static int |
SUBMITTED_VALUE
The Job is submitted to the agent.
|
static int |
UNSPECIFIED_VALUE
The job substate is unknown.
|
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(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
The job substate is unknown.
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 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
The job substate is unknown.
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 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(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 Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static JobStatus.Substate valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static JobStatus.Substate forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.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)
Copyright © 2022 Google LLC. All rights reserved.