Enum TaskStatus.State (0.32.0)

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

Task states.

Protobuf enum google.cloud.batch.v1.TaskStatus.State

Implements

ProtocolMessageEnum

Static Fields

Name Description
ASSIGNED

The Task is assigned to at least one VM.

ASSIGNED = 2;

ASSIGNED_VALUE

The Task is assigned to at least one VM.

ASSIGNED = 2;

FAILED

The Task has failed.

FAILED = 4;

FAILED_VALUE

The Task has failed.

FAILED = 4;

PENDING

The Task is created and waiting for resources.

PENDING = 1;

PENDING_VALUE

The Task is created and waiting for resources.

PENDING = 1;

RUNNING

The Task is running.

RUNNING = 3;

RUNNING_VALUE

The Task is running.

RUNNING = 3;

STATE_UNSPECIFIED

Unknown state.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

Unknown state.

STATE_UNSPECIFIED = 0;

SUCCEEDED

The Task has succeeded.

SUCCEEDED = 5;

SUCCEEDED_VALUE

The Task has succeeded.

SUCCEEDED = 5;

UNEXECUTED

The Task has not been executed when the Job finishes.

UNEXECUTED = 6;

UNEXECUTED_VALUE

The Task has not been executed when the Job finishes.

UNEXECUTED = 6;

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()