Enum OperationErrorType (0.6.0)

public enum OperationErrorType extends Enum<OperationErrorType> implements ProtocolMessageEnum

OperationErrorType is used to expose specific error type which can happen in database resource while performing an operation. For example, an error can happen while database resource being backed up.

Protobuf enum google.cloud.databasecenter.v1beta.OperationErrorType

Implements

ProtocolMessageEnum

Static Fields

Name Description
CANCELLATION_ERROR

User initiated cancellation.

CANCELLATION_ERROR = 4;

CANCELLATION_ERROR_VALUE

User initiated cancellation.

CANCELLATION_ERROR = 4;

DATABASE_ERROR

Database is not accessible.

DATABASE_ERROR = 2;

DATABASE_ERROR_VALUE

Database is not accessible.

DATABASE_ERROR = 2;

INTERNAL_ERROR

Any other internal error.

INTERNAL_ERROR = 6;

INTERNAL_ERROR_VALUE

Any other internal error.

INTERNAL_ERROR = 6;

KMS_KEY_ERROR

Key destroyed, expired, not found, unreachable or permission denied.

KMS_KEY_ERROR = 1;

KMS_KEY_ERROR_VALUE

Key destroyed, expired, not found, unreachable or permission denied.

KMS_KEY_ERROR = 1;

OPERATION_ERROR_TYPE_UNSPECIFIED

UNSPECIFIED means operation error type is not known or available.

OPERATION_ERROR_TYPE_UNSPECIFIED = 0;

OPERATION_ERROR_TYPE_UNSPECIFIED_VALUE

UNSPECIFIED means operation error type is not known or available.

OPERATION_ERROR_TYPE_UNSPECIFIED = 0;

SQLSERVER_ERROR

SQL server specific error.

SQLSERVER_ERROR = 5;

SQLSERVER_ERROR_VALUE

SQL server specific error.

SQLSERVER_ERROR = 5;

STOCKOUT_ERROR

The zone or region does not have sufficient resources to handle the request at the moment.

STOCKOUT_ERROR = 3;

STOCKOUT_ERROR_VALUE

The zone or region does not have sufficient resources to handle the request at the moment.

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