Interface TranslateQueryResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TranslateQueryResponse,TranslateQueryResponse.Builder
public interface TranslateQueryResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SqlTranslationErrorgetErrors(int index)The list of errors encountered during the translation, if present.intgetErrorsCount()The list of errors encountered during the translation, if present.List<SqlTranslationError>getErrorsList()The list of errors encountered during the translation, if present.SqlTranslationErrorOrBuildergetErrorsOrBuilder(int index)The list of errors encountered during the translation, if present.List<? extends SqlTranslationErrorOrBuilder>getErrorsOrBuilderList()The list of errors encountered during the translation, if present.StringgetTranslatedQuery()The translated result.com.google.protobuf.ByteStringgetTranslatedQueryBytes()The translated result.StringgetTranslationJob()Output only.com.google.protobuf.ByteStringgetTranslationJobBytes()Output only.SqlTranslationWarninggetWarnings(int index)The list of warnings encountered during the translation, if present, indicates non-semantically correct translation.intgetWarningsCount()The list of warnings encountered during the translation, if present, indicates non-semantically correct translation.List<SqlTranslationWarning>getWarningsList()The list of warnings encountered during the translation, if present, indicates non-semantically correct translation.SqlTranslationWarningOrBuildergetWarningsOrBuilder(int index)The list of warnings encountered during the translation, if present, indicates non-semantically correct translation.List<? extends SqlTranslationWarningOrBuilder>getWarningsOrBuilderList()The list of warnings encountered during the translation, if present, indicates non-semantically correct translation.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTranslationJob
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];- Returns:
- The translationJob.
-
getTranslationJobBytes
com.google.protobuf.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];- Returns:
- The bytes for translationJob.
-
getTranslatedQuery
String getTranslatedQuery()
The translated result. This will be empty if the translation fails.
string translated_query = 1;- Returns:
- The translatedQuery.
-
getTranslatedQueryBytes
com.google.protobuf.ByteString getTranslatedQueryBytes()
The translated result. This will be empty if the translation fails.
string translated_query = 1;- Returns:
- The bytes for translatedQuery.
-
getErrorsList
List<SqlTranslationError> getErrorsList()
The list of errors encountered during the translation, if present.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationError errors = 2;
-
getErrors
SqlTranslationError getErrors(int index)
The list of errors encountered during the translation, if present.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationError errors = 2;
-
getErrorsCount
int getErrorsCount()
The list of errors encountered during the translation, if present.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationError errors = 2;
-
getErrorsOrBuilderList
List<? extends SqlTranslationErrorOrBuilder> getErrorsOrBuilderList()
The list of errors encountered during the translation, if present.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationError errors = 2;
-
getErrorsOrBuilder
SqlTranslationErrorOrBuilder getErrorsOrBuilder(int index)
The list of errors encountered during the translation, if present.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationError errors = 2;
-
getWarningsList
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;
-
getWarnings
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;
-
getWarningsCount
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;
-
getWarningsOrBuilderList
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;
-
getWarningsOrBuilder
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;
-
-