Enum StorageError.StorageErrorCode (3.11.0)

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

Error code for StorageError.

Protobuf enum google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode

Implements

ProtocolMessageEnum

Static Fields

Name Description
CMEK_ENCRYPTION_ERROR

There is an encryption error while using customer-managed encryption key.

CMEK_ENCRYPTION_ERROR = 12;

CMEK_ENCRYPTION_ERROR_VALUE

There is an encryption error while using customer-managed encryption key.

CMEK_ENCRYPTION_ERROR = 12;

CMEK_NOT_PROVIDED

Customer-managed encryption key (CMEK) not provided for CMEK-enabled data.

CMEK_NOT_PROVIDED = 10;

CMEK_NOT_PROVIDED_VALUE

Customer-managed encryption key (CMEK) not provided for CMEK-enabled data.

CMEK_NOT_PROVIDED = 10;

INVALID_CMEK_PROVIDED

Customer-managed encryption key (CMEK) was incorrectly provided.

INVALID_CMEK_PROVIDED = 11;

INVALID_CMEK_PROVIDED_VALUE

Customer-managed encryption key (CMEK) was incorrectly provided.

INVALID_CMEK_PROVIDED = 11;

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;

KMS_PERMISSION_DENIED

Permission denied while using customer-managed encryption key.

KMS_PERMISSION_DENIED = 14;

KMS_PERMISSION_DENIED_VALUE

Permission denied while using customer-managed encryption key.

KMS_PERMISSION_DENIED = 14;

KMS_SERVICE_ERROR

Key Management Service (KMS) service returned an error, which can be retried.

KMS_SERVICE_ERROR = 13;

KMS_SERVICE_ERROR_VALUE

Key Management Service (KMS) service returned an error, which can be retried.

KMS_SERVICE_ERROR = 13;

OFFSET_ALREADY_EXISTS

Offset already exists.

OFFSET_ALREADY_EXISTS = 8;

OFFSET_ALREADY_EXISTS_VALUE

Offset already exists.

OFFSET_ALREADY_EXISTS = 8;

OFFSET_OUT_OF_RANGE

Offset out of range.

OFFSET_OUT_OF_RANGE = 9;

OFFSET_OUT_OF_RANGE_VALUE

Offset out of range.

OFFSET_OUT_OF_RANGE = 9;

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 = 7;

SCHEMA_MISMATCH_EXTRA_FIELDS_VALUE

There is a schema mismatch and it is caused by user schema has extra field than bigquery schema.

SCHEMA_MISMATCH_EXTRA_FIELDS = 7;

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) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()