public static enum StorageError.StorageErrorCode extends Enum<StorageError.StorageErrorCode> implements com.google.protobuf.ProtocolMessageEnum
Error code for `StorageError`.Protobuf enum
google.cloud.bigquery.storage.v1beta2.StorageError.StorageErrorCode| Enum Constant and Description |
|---|
INVALID_STREAM_STATE
Invalid Stream state.
|
INVALID_STREAM_TYPE
Invalid Stream type.
|
STORAGE_ERROR_CODE_UNSPECIFIED
Default error.
|
STREAM_ALREADY_COMMITTED
Stream is already committed.
|
STREAM_FINALIZED
Stream is finalized.
|
STREAM_NOT_FOUND
Stream is not found.
|
TABLE_NOT_FOUND
Table is not found in the system.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
INVALID_STREAM_STATE_VALUE
Invalid Stream state.
|
static int |
INVALID_STREAM_TYPE_VALUE
Invalid Stream type.
|
static int |
STORAGE_ERROR_CODE_UNSPECIFIED_VALUE
Default error.
|
static int |
STREAM_ALREADY_COMMITTED_VALUE
Stream is already committed.
|
static int |
STREAM_FINALIZED_VALUE
Stream is finalized.
|
static int |
STREAM_NOT_FOUND_VALUE
Stream is not found.
|
static int |
TABLE_NOT_FOUND_VALUE
Table is not found in the system.
|
| Modifier and Type | Method and Description |
|---|---|
static StorageError.StorageErrorCode |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<StorageError.StorageErrorCode> |
internalGetValueMap() |
static StorageError.StorageErrorCode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static StorageError.StorageErrorCode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static StorageError.StorageErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StorageError.StorageErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StorageError.StorageErrorCode STORAGE_ERROR_CODE_UNSPECIFIED
Default error.
STORAGE_ERROR_CODE_UNSPECIFIED = 0;public static final StorageError.StorageErrorCode TABLE_NOT_FOUND
Table is not found in the system.
TABLE_NOT_FOUND = 1;public static final StorageError.StorageErrorCode STREAM_ALREADY_COMMITTED
Stream is already committed.
STREAM_ALREADY_COMMITTED = 2;public static final StorageError.StorageErrorCode STREAM_NOT_FOUND
Stream is not found.
STREAM_NOT_FOUND = 3;public static final StorageError.StorageErrorCode INVALID_STREAM_TYPE
Invalid Stream type. For example, you try to commit a stream that is not pending.
INVALID_STREAM_TYPE = 4;public static final StorageError.StorageErrorCode 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;public static final StorageError.StorageErrorCode STREAM_FINALIZED
Stream is finalized.
STREAM_FINALIZED = 6;public static final StorageError.StorageErrorCode UNRECOGNIZED
public static final int STORAGE_ERROR_CODE_UNSPECIFIED_VALUE
Default error.
STORAGE_ERROR_CODE_UNSPECIFIED = 0;public static final int TABLE_NOT_FOUND_VALUE
Table is not found in the system.
TABLE_NOT_FOUND = 1;public static final int STREAM_ALREADY_COMMITTED_VALUE
Stream is already committed.
STREAM_ALREADY_COMMITTED = 2;public static final int STREAM_NOT_FOUND_VALUE
Stream is not found.
STREAM_NOT_FOUND = 3;public static final int INVALID_STREAM_TYPE_VALUE
Invalid Stream type. For example, you try to commit a stream that is not pending.
INVALID_STREAM_TYPE = 4;public static final int 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;public static final int STREAM_FINALIZED_VALUE
Stream is finalized.
STREAM_FINALIZED = 6;public static StorageError.StorageErrorCode[] values()
for (StorageError.StorageErrorCode c : StorageError.StorageErrorCode.values()) System.out.println(c);
public static StorageError.StorageErrorCode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static StorageError.StorageErrorCode valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static StorageError.StorageErrorCode forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<StorageError.StorageErrorCode> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static StorageError.StorageErrorCode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.