public static enum RowError.RowErrorCode extends Enum<RowError.RowErrorCode> implements com.google.protobuf.ProtocolMessageEnum
Error code for `RowError`.Protobuf enum
google.cloud.bigquery.storage.v1.RowError.RowErrorCode| Enum Constant and Description |
|---|
FIELDS_ERROR
One or more fields in the row has errors.
|
ROW_ERROR_CODE_UNSPECIFIED
Default error.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
FIELDS_ERROR_VALUE
One or more fields in the row has errors.
|
static int |
ROW_ERROR_CODE_UNSPECIFIED_VALUE
Default error.
|
| Modifier and Type | Method and Description |
|---|---|
static RowError.RowErrorCode |
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<RowError.RowErrorCode> |
internalGetValueMap() |
static RowError.RowErrorCode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RowError.RowErrorCode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RowError.RowErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RowError.RowErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RowError.RowErrorCode ROW_ERROR_CODE_UNSPECIFIED
Default error.
ROW_ERROR_CODE_UNSPECIFIED = 0;public static final RowError.RowErrorCode FIELDS_ERROR
One or more fields in the row has errors.
FIELDS_ERROR = 1;public static final RowError.RowErrorCode UNRECOGNIZED
public static final int ROW_ERROR_CODE_UNSPECIFIED_VALUE
Default error.
ROW_ERROR_CODE_UNSPECIFIED = 0;public static final int FIELDS_ERROR_VALUE
One or more fields in the row has errors.
FIELDS_ERROR = 1;public static RowError.RowErrorCode[] values()
for (RowError.RowErrorCode c : RowError.RowErrorCode.values()) System.out.println(c);
public static RowError.RowErrorCode 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 RowError.RowErrorCode valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static RowError.RowErrorCode forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<RowError.RowErrorCode> 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 RowError.RowErrorCode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.