Enum TaskState (0.27.0)

public enum TaskState extends Enum<TaskState> implements ProtocolMessageEnum

The set of states a Task can be in.

Protobuf enum google.cloud.geminidataanalytics.v1beta.TaskState

Implements

ProtocolMessageEnum

Static Fields

Name Description
TASK_STATE_AUTH_REQUIRED

Represents the state that some authentication is needed from the upstream client.

TASK_STATE_AUTH_REQUIRED = 8;

TASK_STATE_AUTH_REQUIRED_VALUE

Represents the state that some authentication is needed from the upstream client.

TASK_STATE_AUTH_REQUIRED = 8;

TASK_STATE_CANCELLED

Represents the status that a task was cancelled before it finished. This is a terminal state.

TASK_STATE_CANCELLED = 5;

TASK_STATE_CANCELLED_VALUE

Represents the status that a task was cancelled before it finished. This is a terminal state.

TASK_STATE_CANCELLED = 5;

TASK_STATE_COMPLETED

Represents the status that a task is completed. This is a terminal state.

TASK_STATE_COMPLETED = 3;

TASK_STATE_COMPLETED_VALUE

Represents the status that a task is completed. This is a terminal state.

TASK_STATE_COMPLETED = 3;

TASK_STATE_FAILED

Represents the status that a task has failed. This is a terminal state.

TASK_STATE_FAILED = 4;

TASK_STATE_FAILED_VALUE

Represents the status that a task has failed. This is a terminal state.

TASK_STATE_FAILED = 4;

TASK_STATE_INPUT_REQUIRED

Represents the status that the task requires information to complete. This is an interrupted state.

TASK_STATE_INPUT_REQUIRED = 6;

TASK_STATE_INPUT_REQUIRED_VALUE

Represents the status that the task requires information to complete. This is an interrupted state.

TASK_STATE_INPUT_REQUIRED = 6;

TASK_STATE_REJECTED

Represents the status that a task has been rejected by the agent. This is a terminal state.

TASK_STATE_REJECTED = 7;

TASK_STATE_REJECTED_VALUE

Represents the status that a task has been rejected by the agent. This is a terminal state.

TASK_STATE_REJECTED = 7;

TASK_STATE_SUBMITTED

Represents the status that acknowledges a task is created.

TASK_STATE_SUBMITTED = 1;

TASK_STATE_SUBMITTED_VALUE

Represents the status that acknowledges a task is created.

TASK_STATE_SUBMITTED = 1;

TASK_STATE_UNSPECIFIED

Default unspecified task state.

TASK_STATE_UNSPECIFIED = 0;

TASK_STATE_UNSPECIFIED_VALUE

Default unspecified task state.

TASK_STATE_UNSPECIFIED = 0;

TASK_STATE_WORKING

Represents the status that a task is currently in progress.

TASK_STATE_WORKING = 2;

TASK_STATE_WORKING_VALUE

Represents the status that a task is currently in progress.

TASK_STATE_WORKING = 2;

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