Enum JobStatus.State (0.51.0)

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

Valid Job states.

Protobuf enum google.cloud.batch.v1alpha.JobStatus.State

Implements

ProtocolMessageEnum

Static Fields

Name Description
CANCELLATION_IN_PROGRESS

The Job cancellation is in progress, this is because the resources used by the Job are still being cleaned up.

CANCELLATION_IN_PROGRESS = 7;

CANCELLATION_IN_PROGRESS_VALUE

The Job cancellation is in progress, this is because the resources used by the Job are still being cleaned up.

CANCELLATION_IN_PROGRESS = 7;

CANCELLED

The Job has been cancelled, the task executions were stopped and the resources were cleaned up.

CANCELLED = 8;

CANCELLED_VALUE

The Job has been cancelled, the task executions were stopped and the resources were cleaned up.

CANCELLED = 8;

DELETION_IN_PROGRESS

The Job will be deleted, but has not been deleted yet. Typically this is because resources used by the Job are still being cleaned up.

DELETION_IN_PROGRESS = 6;

DELETION_IN_PROGRESS_VALUE

The Job will be deleted, but has not been deleted yet. Typically this is because resources used by the Job are still being cleaned up.

DELETION_IN_PROGRESS = 6;

FAILED

At least one Task in the Job has failed.

FAILED = 5;

FAILED_VALUE

At least one Task in the Job has failed.

FAILED = 5;

QUEUED

Job is admitted (validated and persisted) and waiting for resources.

QUEUED = 1;

QUEUED_VALUE

Job is admitted (validated and persisted) and waiting for resources.

QUEUED = 1;

RUNNING

Resource allocation has been successful. At least one Task in the Job is RUNNING.

RUNNING = 3;

RUNNING_VALUE

Resource allocation has been successful. At least one Task in the Job is RUNNING.

RUNNING = 3;

SCHEDULED

Job is scheduled to run as soon as resource allocation is ready. The resource allocation may happen at a later time but with a high chance to succeed.

SCHEDULED = 2;

SCHEDULED_VALUE

Job is scheduled to run as soon as resource allocation is ready. The resource allocation may happen at a later time but with a high chance to succeed.

SCHEDULED = 2;

STATE_UNSPECIFIED

Job state unspecified.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

Job state unspecified.

STATE_UNSPECIFIED = 0;

SUCCEEDED

All Tasks in the Job have finished successfully.

SUCCEEDED = 4;

SUCCEEDED_VALUE

All Tasks in the Job have finished successfully.

SUCCEEDED = 4;

UNRECOGNIZED

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()