# Enum StorageError.StorageErrorCode (3.29.0)

3.27.0 (latest) 3.24.0 3.23.0 3.21.0 3.20.0 3.19.1 3.18.0 3.17.3 3.16.3 3.15.3 3.14.1 3.12.0 3.11.4 3.10.3 3.9.3 3.8.0 3.6.1 3.5.2 3.4.0 3.3.1 3.2.0 3.1.0 3.0.1 2.47.0 2.45.0 2.44.1 2.43.0

    public enum StorageError.StorageErrorCode extends Enum<StorageError.StorageErrorCode> implements ProtocolMessageEnum

Error code for `StorageError`.

Protobuf enum `google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode`

## 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** |
| `INVALID_STREAM_STATE` | Invalid Stream state. For example, you try to commit a stream that is not finalized or is garbaged. `INVALID_STREAM_STATE = 5;` |
| `INVALID_STREAM_STATE_VALUE` | Invalid Stream state. For example, you try to commit a stream that is not finalized or is garbaged. `INVALID_STREAM_STATE = 5;` |
| `INVALID_STREAM_TYPE` | Invalid Stream type. For example, you try to commit a stream that is not pending. `INVALID_STREAM_TYPE = 4;` |
| `INVALID_STREAM_TYPE_VALUE` | Invalid Stream type. For example, you try to commit a stream that is not pending. `INVALID_STREAM_TYPE = 4;` |
| `STORAGE_ERROR_CODE_UNSPECIFIED` | Default error. `STORAGE_ERROR_CODE_UNSPECIFIED = 0;` |
| `STORAGE_ERROR_CODE_UNSPECIFIED_VALUE` | Default error. `STORAGE_ERROR_CODE_UNSPECIFIED = 0;` |
| `STREAM_ALREADY_COMMITTED` | Stream is already committed. `STREAM_ALREADY_COMMITTED = 2;` |
| `STREAM_ALREADY_COMMITTED_VALUE` | Stream is already committed. `STREAM_ALREADY_COMMITTED = 2;` |
| `STREAM_FINALIZED` | Stream is finalized. `STREAM_FINALIZED = 6;` |
| `STREAM_FINALIZED_VALUE` | Stream is finalized. `STREAM_FINALIZED = 6;` |
| `STREAM_NOT_FOUND` | Stream is not found. `STREAM_NOT_FOUND = 3;` |
| `STREAM_NOT_FOUND_VALUE` | Stream is not found. `STREAM_NOT_FOUND = 3;` |
| `TABLE_NOT_FOUND` | Table is not found in the system. `TABLE_NOT_FOUND = 1;` |
| `TABLE_NOT_FOUND_VALUE` | Table is not found in the system. `TABLE_NOT_FOUND = 1;` |
| `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-bigquerystorage/latest/com.google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode#com_google_cloud_bigquery_storage_v1beta2_StorageError_StorageErrorCode_forNumber_int_) instead.* |
| `valueOf(String name)` |   |
| `values()` |   |

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