Enum MigrationSubtask.State (0.56.0)

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

Possible states of a migration subtask.

Protobuf enum google.cloud.bigquery.migration.v2.MigrationSubtask.State

Implements

ProtocolMessageEnum

Static Fields

Name Description
ACTIVE

The subtask is ready, i.e. it is ready for execution.

ACTIVE = 1;

ACTIVE_VALUE

The subtask is ready, i.e. it is ready for execution.

ACTIVE = 1;

FAILED

The subtask finished unsuccessfully.

FAILED = 4;

FAILED_VALUE

The subtask finished unsuccessfully.

FAILED = 4;

PAUSED

The subtask is paused, i.e., it will not be scheduled. If it was already assigned,it might still finish but no new lease renewals will be granted.

PAUSED = 5;

PAUSED_VALUE

The subtask is paused, i.e., it will not be scheduled. If it was already assigned,it might still finish but no new lease renewals will be granted.

PAUSED = 5;

PENDING_DEPENDENCY

The subtask is pending a dependency. It will be scheduled once its dependencies are done.

PENDING_DEPENDENCY = 6;

PENDING_DEPENDENCY_VALUE

The subtask is pending a dependency. It will be scheduled once its dependencies are done.

PENDING_DEPENDENCY = 6;

RUNNING

The subtask is running, i.e. it is assigned to a worker for execution.

RUNNING = 2;

RUNNING_VALUE

The subtask is running, i.e. it is assigned to a worker for execution.

RUNNING = 2;

STATE_UNSPECIFIED

The state is unspecified.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

The state is unspecified.

STATE_UNSPECIFIED = 0;

SUCCEEDED

The subtask finished successfully.

SUCCEEDED = 3;

SUCCEEDED_VALUE

The subtask finished successfully.

SUCCEEDED = 3;

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