Google BigQuery Storage V1 Client - Class StorageErrorCode (1.5.0)

Reference documentation and code samples for the Google BigQuery Storage V1 Client class StorageErrorCode.

Error code for StorageError.

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

Namespace

Google \ Cloud \ BigQuery \ Storage \ V1 \ StorageError

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
name mixed

Constants

STORAGE_ERROR_CODE_UNSPECIFIED

Value: 0

Default error.

Generated from protobuf enum STORAGE_ERROR_CODE_UNSPECIFIED = 0;

TABLE_NOT_FOUND

Value: 1

Table is not found in the system.

Generated from protobuf enum TABLE_NOT_FOUND = 1;

STREAM_ALREADY_COMMITTED

Value: 2

Stream is already committed.

Generated from protobuf enum STREAM_ALREADY_COMMITTED = 2;

STREAM_NOT_FOUND

Value: 3

Stream is not found.

Generated from protobuf enum STREAM_NOT_FOUND = 3;

INVALID_STREAM_TYPE

Value: 4

Invalid Stream type.

For example, you try to commit a stream that is not pending.

Generated from protobuf enum INVALID_STREAM_TYPE = 4;

INVALID_STREAM_STATE

Value: 5

Invalid Stream state.

For example, you try to commit a stream that is not finalized or is garbaged.

Generated from protobuf enum INVALID_STREAM_STATE = 5;

STREAM_FINALIZED

Value: 6

Stream is finalized.

Generated from protobuf enum STREAM_FINALIZED = 6;

SCHEMA_MISMATCH_EXTRA_FIELDS

Value: 7

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

Generated from protobuf enum SCHEMA_MISMATCH_EXTRA_FIELDS = 7;

OFFSET_ALREADY_EXISTS

Value: 8

Offset already exists.

Generated from protobuf enum OFFSET_ALREADY_EXISTS = 8;

OFFSET_OUT_OF_RANGE

Value: 9

Offset out of range.

Generated from protobuf enum OFFSET_OUT_OF_RANGE = 9;

CMEK_NOT_PROVIDED

Value: 10

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

Generated from protobuf enum CMEK_NOT_PROVIDED = 10;

INVALID_CMEK_PROVIDED

Value: 11

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

Generated from protobuf enum INVALID_CMEK_PROVIDED = 11;

CMEK_ENCRYPTION_ERROR

Value: 12

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

Generated from protobuf enum CMEK_ENCRYPTION_ERROR = 12;

KMS_SERVICE_ERROR

Value: 13

Key Management Service (KMS) service returned an error.

Generated from protobuf enum KMS_SERVICE_ERROR = 13;

KMS_PERMISSION_DENIED

Value: 14

Permission denied while using customer-managed encryption key.

Generated from protobuf enum KMS_PERMISSION_DENIED = 14;