Package com.google.cloud.dataproc.v1
Enum JobStatus.Substate
- java.lang.Object
-
- java.lang.Enum<JobStatus.Substate>
-
- com.google.cloud.dataproc.v1.JobStatus.Substate
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<JobStatus.Substate>
- Enclosing class:
- JobStatus
public static enum JobStatus.Substate extends Enum<JobStatus.Substate> implements com.google.protobuf.ProtocolMessageEnum
The job substate.
Protobuf enumgoogle.cloud.dataproc.v1.JobStatus.Substate
-
-
Enum Constant Summary
Enum Constants Enum Constant Description QUEUEDThe Job has been received and is awaiting execution (it may be waiting for a condition to be met).STALE_STATUSThe agent-reported status is out of date, which may be caused by a loss of communication between the agent and Dataproc.SUBMITTEDThe Job is submitted to the agent.UNRECOGNIZEDUNSPECIFIEDThe job substate is unknown.
-
Field Summary
Fields Modifier and Type Field Description static intQUEUED_VALUEThe Job has been received and is awaiting execution (it may be waiting for a condition to be met).static intSTALE_STATUS_VALUEThe agent-reported status is out of date, which may be caused by a loss of communication between the agent and Dataproc.static intSUBMITTED_VALUEThe Job is submitted to the agent.static intUNSPECIFIED_VALUEThe job substate is unknown.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static JobStatus.SubstateforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<JobStatus.Substate>internalGetValueMap()static JobStatus.SubstatevalueOf(int value)Deprecated.static JobStatus.SubstatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static JobStatus.SubstatevalueOf(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.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final JobStatus.Substate UNSPECIFIED
The job substate is unknown.
UNSPECIFIED = 0;
-
SUBMITTED
public static final JobStatus.Substate SUBMITTED
The Job is submitted to the agent. Applies to RUNNING state.
SUBMITTED = 1;
-
QUEUED
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;
-
STALE_STATUS
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;
-
UNRECOGNIZED
public static final JobStatus.Substate UNRECOGNIZED
-
-
Field Detail
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUE
The job substate is unknown.
UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
SUBMITTED_VALUE
public static final int SUBMITTED_VALUE
The Job is submitted to the agent. Applies to RUNNING state.
SUBMITTED = 1;- See Also:
- Constant Field Values
-
QUEUED_VALUE
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;- See Also:
- Constant Field Values
-
STALE_STATUS_VALUE
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;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static JobStatus.Substate[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (JobStatus.Substate c : JobStatus.Substate.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JobStatus.Substate valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static JobStatus.Substate valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static JobStatus.Substate forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<JobStatus.Substate> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static JobStatus.Substate valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-