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 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

      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;