Enum JobStatus.State (4.8.0)

public enum JobStatus.State extends Enum<JobStatus.State> implements ProtocolMessageEnum

The job state.

Protobuf enum google.cloud.dataproc.v1.JobStatus.State

Implements

ProtocolMessageEnum

Static Fields

NameDescription
ATTEMPT_FAILURE

Job attempt has failed. The detail field contains failure details for this attempt. Applies to restartable jobs only.

ATTEMPT_FAILURE = 9;

ATTEMPT_FAILURE_VALUE

Job attempt has failed. The detail field contains failure details for this attempt. Applies to restartable jobs only.

ATTEMPT_FAILURE = 9;

CANCELLED

The job cancellation was successful.

CANCELLED = 4;

CANCELLED_VALUE

The job cancellation was successful.

CANCELLED = 4;

CANCEL_PENDING

A CancelJob request has been received, but is pending.

CANCEL_PENDING = 3;

CANCEL_PENDING_VALUE

A CancelJob request has been received, but is pending.

CANCEL_PENDING = 3;

CANCEL_STARTED

Transient in-flight resources have been canceled, and the request to cancel the running job has been issued to the cluster.

CANCEL_STARTED = 7;

CANCEL_STARTED_VALUE

Transient in-flight resources have been canceled, and the request to cancel the running job has been issued to the cluster.

CANCEL_STARTED = 7;

DONE

The job has completed successfully.

DONE = 5;

DONE_VALUE

The job has completed successfully.

DONE = 5;

ERROR

The job has completed, but encountered an error.

ERROR = 6;

ERROR_VALUE

The job has completed, but encountered an error.

ERROR = 6;

PENDING

The job is pending; it has been submitted, but is not yet running.

PENDING = 1;

PENDING_VALUE

The job is pending; it has been submitted, but is not yet running.

PENDING = 1;

RUNNING

The job is running on the cluster.

RUNNING = 2;

RUNNING_VALUE

The job is running on the cluster.

RUNNING = 2;

SETUP_DONE

Job has been received by the service and completed initial setup; it will soon be submitted to the cluster.

SETUP_DONE = 8;

SETUP_DONE_VALUE

Job has been received by the service and completed initial setup; it will soon be submitted to the cluster.

SETUP_DONE = 8;

STATE_UNSPECIFIED

The job state is unknown.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

The job state is unknown.

STATE_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()