public enum StorageError.StorageErrorCode extends Enum<StorageError.StorageErrorCode> implements ProtocolMessageEnum
Error code for StorageError
.
Protobuf enum google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode
Implements
ProtocolMessageEnumStatic Fields | |
---|---|
Name | Description |
CMEK_ENCRYPTION_ERROR | There is an encryption error while using customer-managed encryption key. |
CMEK_ENCRYPTION_ERROR_VALUE | There is an encryption error while using customer-managed encryption key. |
CMEK_NOT_PROVIDED | Customer-managed encryption key (CMEK) not provided for CMEK-enabled data. |
CMEK_NOT_PROVIDED_VALUE | Customer-managed encryption key (CMEK) not provided for CMEK-enabled data. |
INVALID_CMEK_PROVIDED | Customer-managed encryption key (CMEK) was incorrectly provided. |
INVALID_CMEK_PROVIDED_VALUE | Customer-managed encryption key (CMEK) was incorrectly provided. |
INVALID_STREAM_STATE | Invalid Stream state. For example, you try to commit a stream that is not finalized or is garbaged. |
INVALID_STREAM_STATE_VALUE | Invalid Stream state. For example, you try to commit a stream that is not finalized or is garbaged. |
INVALID_STREAM_TYPE | Invalid Stream type. For example, you try to commit a stream that is not pending. |
INVALID_STREAM_TYPE_VALUE | Invalid Stream type. For example, you try to commit a stream that is not pending. |
KMS_PERMISSION_DENIED | Permission denied while using customer-managed encryption key. |
KMS_PERMISSION_DENIED_VALUE | Permission denied while using customer-managed encryption key. |
KMS_SERVICE_ERROR | Key Management Service (KMS) service returned an error. |
KMS_SERVICE_ERROR_VALUE | Key Management Service (KMS) service returned an error. |
OFFSET_ALREADY_EXISTS | Offset already exists. |
OFFSET_ALREADY_EXISTS_VALUE | Offset already exists. |
OFFSET_OUT_OF_RANGE | Offset out of range. |
OFFSET_OUT_OF_RANGE_VALUE | Offset out of range. |
SCHEMA_MISMATCH_EXTRA_FIELDS | There is a schema mismatch and it is caused by user schema has extra field than bigquery schema. |
SCHEMA_MISMATCH_EXTRA_FIELDS_VALUE | There is a schema mismatch and it is caused by user schema has extra field than bigquery schema. |
STORAGE_ERROR_CODE_UNSPECIFIED | Default error. |
STORAGE_ERROR_CODE_UNSPECIFIED_VALUE | Default error. |
STREAM_ALREADY_COMMITTED | Stream is already committed. |
STREAM_ALREADY_COMMITTED_VALUE | Stream is already committed. |
STREAM_FINALIZED | Stream is finalized. |
STREAM_FINALIZED_VALUE | Stream is finalized. |
STREAM_NOT_FOUND | Stream is not found. |
STREAM_NOT_FOUND_VALUE | Stream is not found. |
TABLE_NOT_FOUND | Table is not found in the system. |
TABLE_NOT_FOUND_VALUE | Table is not found in the system. |
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() |