public interface TranslateQueryResponseOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getErrors(int index)
public abstract SqlTranslationError getErrors(int index)The list of errors encountered during the translation, if present.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationError errors = 2;
| Name | Description |
index |
int |
| Type | Description |
SqlTranslationError |
getErrorsCount()
public abstract int getErrorsCount()The list of errors encountered during the translation, if present.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationError errors = 2;
| Type | Description |
int |
getErrorsList()
public abstract List<SqlTranslationError> getErrorsList()The list of errors encountered during the translation, if present.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationError errors = 2;
| Type | Description |
List<SqlTranslationError> |
getErrorsOrBuilder(int index)
public abstract SqlTranslationErrorOrBuilder getErrorsOrBuilder(int index)The list of errors encountered during the translation, if present.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationError errors = 2;
| Name | Description |
index |
int |
| Type | Description |
SqlTranslationErrorOrBuilder |
getErrorsOrBuilderList()
public abstract List<? extends SqlTranslationErrorOrBuilder> getErrorsOrBuilderList()The list of errors encountered during the translation, if present.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationError errors = 2;
| Type | Description |
List<? extends com.google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorOrBuilder> |
getTranslatedQuery()
public abstract String getTranslatedQuery()The translated result. This will be empty if the translation fails.
string translated_query = 1;
| Type | Description |
String |
The translatedQuery. |
getTranslatedQueryBytes()
public abstract ByteString getTranslatedQueryBytes()The translated result. This will be empty if the translation fails.
string translated_query = 1;
| Type | Description |
ByteString |
The bytes for translatedQuery. |
getTranslationJob()
public abstract String getTranslationJob() Output only. Immutable. The unique identifier for the SQL translation job.
Example: projects/123/locations/us/translation/1234
string translation_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
| Type | Description |
String |
The translationJob. |
getTranslationJobBytes()
public abstract ByteString getTranslationJobBytes() Output only. Immutable. The unique identifier for the SQL translation job.
Example: projects/123/locations/us/translation/1234
string translation_job = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
| Type | Description |
ByteString |
The bytes for translationJob. |
getWarnings(int index)
public abstract SqlTranslationWarning getWarnings(int index)The list of warnings encountered during the translation, if present, indicates non-semantically correct translation.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationWarning warnings = 3;
| Name | Description |
index |
int |
| Type | Description |
SqlTranslationWarning |
getWarningsCount()
public abstract int getWarningsCount()The list of warnings encountered during the translation, if present, indicates non-semantically correct translation.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationWarning warnings = 3;
| Type | Description |
int |
getWarningsList()
public abstract List<SqlTranslationWarning> getWarningsList()The list of warnings encountered during the translation, if present, indicates non-semantically correct translation.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationWarning warnings = 3;
| Type | Description |
List<SqlTranslationWarning> |
getWarningsOrBuilder(int index)
public abstract SqlTranslationWarningOrBuilder getWarningsOrBuilder(int index)The list of warnings encountered during the translation, if present, indicates non-semantically correct translation.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationWarning warnings = 3;
| Name | Description |
index |
int |
| Type | Description |
SqlTranslationWarningOrBuilder |
getWarningsOrBuilderList()
public abstract List<? extends SqlTranslationWarningOrBuilder> getWarningsOrBuilderList()The list of warnings encountered during the translation, if present, indicates non-semantically correct translation.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationWarning warnings = 3;
| Type | Description |
List<? extends com.google.cloud.bigquery.migration.v2alpha.SqlTranslationWarningOrBuilder> |