public static enum SqlTranslationError.SqlTranslationErrorType extends Enum<SqlTranslationError.SqlTranslationErrorType> implements com.google.protobuf.ProtocolMessageEnum
The error type of the SQL translation job.Protobuf enum
google.cloud.bigquery.migration.v2alpha.SqlTranslationError.SqlTranslationErrorType| Enum Constant and Description |
|---|
SQL_PARSE_ERROR
Failed to parse the input text as a SQL query.
|
SQL_TRANSLATION_ERROR_TYPE_UNSPECIFIED
SqlTranslationErrorType not specified.
|
UNRECOGNIZED |
UNSUPPORTED_SQL_FUNCTION
Found unsupported functions in the input SQL query that are not able to
translate.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
SQL_PARSE_ERROR_VALUE
Failed to parse the input text as a SQL query.
|
static int |
SQL_TRANSLATION_ERROR_TYPE_UNSPECIFIED_VALUE
SqlTranslationErrorType not specified.
|
static int |
UNSUPPORTED_SQL_FUNCTION_VALUE
Found unsupported functions in the input SQL query that are not able to
translate.
|
| Modifier and Type | Method and Description |
|---|---|
static SqlTranslationError.SqlTranslationErrorType |
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<SqlTranslationError.SqlTranslationErrorType> |
internalGetValueMap() |
static SqlTranslationError.SqlTranslationErrorType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SqlTranslationError.SqlTranslationErrorType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SqlTranslationError.SqlTranslationErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SqlTranslationError.SqlTranslationErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SqlTranslationError.SqlTranslationErrorType SQL_TRANSLATION_ERROR_TYPE_UNSPECIFIED
SqlTranslationErrorType not specified.
SQL_TRANSLATION_ERROR_TYPE_UNSPECIFIED = 0;public static final SqlTranslationError.SqlTranslationErrorType SQL_PARSE_ERROR
Failed to parse the input text as a SQL query.
SQL_PARSE_ERROR = 1;public static final SqlTranslationError.SqlTranslationErrorType UNSUPPORTED_SQL_FUNCTION
Found unsupported functions in the input SQL query that are not able to translate.
UNSUPPORTED_SQL_FUNCTION = 2;public static final SqlTranslationError.SqlTranslationErrorType UNRECOGNIZED
public static final int SQL_TRANSLATION_ERROR_TYPE_UNSPECIFIED_VALUE
SqlTranslationErrorType not specified.
SQL_TRANSLATION_ERROR_TYPE_UNSPECIFIED = 0;public static final int SQL_PARSE_ERROR_VALUE
Failed to parse the input text as a SQL query.
SQL_PARSE_ERROR = 1;public static final int UNSUPPORTED_SQL_FUNCTION_VALUE
Found unsupported functions in the input SQL query that are not able to translate.
UNSUPPORTED_SQL_FUNCTION = 2;public static SqlTranslationError.SqlTranslationErrorType[] values()
for (SqlTranslationError.SqlTranslationErrorType c : SqlTranslationError.SqlTranslationErrorType.values()) System.out.println(c);
public static SqlTranslationError.SqlTranslationErrorType 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 SqlTranslationError.SqlTranslationErrorType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SqlTranslationError.SqlTranslationErrorType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SqlTranslationError.SqlTranslationErrorType> 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 SqlTranslationError.SqlTranslationErrorType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.