Interface TranslateQueryResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TranslateQueryResponse,TranslateQueryResponse.Builder
@Generated
public interface TranslateQueryResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetErrors(int index) The list of errors encountered during the translation, if present.intThe list of errors encountered during the translation, if present.The list of errors encountered during the translation, if present.getErrorsOrBuilder(int index) The list of errors encountered during the translation, if present.List<? extends SqlTranslationErrorOrBuilder>The list of errors encountered during the translation, if present.The translated result.com.google.protobuf.ByteStringThe translated result.Output only.com.google.protobuf.ByteStringOutput only.getWarnings(int index) The list of warnings encountered during the translation, if present, indicates non-semantically correct translation.intThe list of warnings encountered during the translation, if present, indicates non-semantically correct translation.The list of warnings encountered during the translation, if present, indicates non-semantically correct translation.getWarningsOrBuilder(int index) The list of warnings encountered during the translation, if present, indicates non-semantically correct translation.List<? extends SqlTranslationWarningOrBuilder>The list of warnings encountered during the translation, if present, indicates non-semantically correct translation.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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
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
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
The list of warnings encountered during the translation, if present, indicates non-semantically correct translation.
repeated .google.cloud.bigquery.migration.v2alpha.SqlTranslationWarning warnings = 3;
-