Enum BatchDeleteTasksMetadata.State (2.95.0)

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

The state of the batch delete operation. This enum is not frozen and new values may be added in the future.

Protobuf enum google.cloud.tasks.v2beta3.BatchDeleteTasksMetadata.State

Implements

ProtocolMessageEnum

Static Fields

Name Description
FAILED

The batch delete has failed. This means the overall batch delete operation failed to complete. This can happen due to an internal error preventing the operation from finishing.

FAILED = 4;

FAILED_VALUE

The batch delete has failed. This means the overall batch delete operation failed to complete. This can happen due to an internal error preventing the operation from finishing.

FAILED = 4;

PARTIALLY_SUCCEEDED

The batch delete has finished with partial success. The tasks that failed to be deleted are reported in failed_requests. When all requests in the batch fail, google.longrunning.Operation.error will be set with code = google.rpc.Code.ABORTED and message = "None of the requests succeeded, refer to BatchDeleteTasksMetadata.failed_requests for individual error details".

PARTIALLY_SUCCEEDED = 3;

PARTIALLY_SUCCEEDED_VALUE

The batch delete has finished with partial success. The tasks that failed to be deleted are reported in failed_requests. When all requests in the batch fail, google.longrunning.Operation.error will be set with code = google.rpc.Code.ABORTED and message = "None of the requests succeeded, refer to BatchDeleteTasksMetadata.failed_requests for individual error details".

PARTIALLY_SUCCEEDED = 3;

RUNNING

The batch delete is running.

RUNNING = 1;

RUNNING_VALUE

The batch delete is running.

RUNNING = 1;

STATE_UNSPECIFIED

The default value. This value is used if the state is omitted.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

The default value. This value is used if the state is omitted.

STATE_UNSPECIFIED = 0;

SUCCEEDED

The batch delete has finished and all tasks were successfully deleted.

SUCCEEDED = 2;

SUCCEEDED_VALUE

The batch delete has finished and all tasks were successfully deleted.

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