# Enum OperationErrorType (0.14.0)

0.14.0 (latest) 0.12.0 0.9.0 0.8.0 0.6.0 0.4.0 0.3.0 0.2.0 0.1.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](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ProtocolMessageEnum.html)

## Inherited Members

[Enum.\<T\>valueOf(Class\<T\>,String)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#valueOf-java.lang.Class-java.lang.String-) [Enum.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#clone--) [Enum.compareTo(E)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#compareTo-E-) [Enum.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#equals-java.lang.Object-) [Enum.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#finalize--) [Enum.getDeclaringClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#getDeclaringClass--) [Enum.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#hashCode--) [Enum.name()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#name--) [Enum.ordinal()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#ordinal--) [Enum.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#toString--) [Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) [Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) [Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) [Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) [Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) [Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)

| ## 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)](https://docs.cloud.google.com/java/docs/reference/google-cloud-databasecenter/latest/com.google.cloud.databasecenter.v1beta.OperationErrorType#com_google_cloud_databasecenter_v1beta_OperationErrorType_forNumber_int_) instead.* |
| `valueOf(String name)` |   |
| `values()` |   |

| ## Methods ||
|---|---|
| **Name** | **Description** |
| `getDescriptorForType()` |   |
| `getNumber()` |   |
| `getValueDescriptor()` |   |