Interface TranslateQueryResponseOrBuilder (0.19.0)

public interface TranslateQueryResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Parameter
NameDescription
indexint
Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
String

The translatedQuery.

getTranslatedQueryBytes()

public abstract ByteString getTranslatedQueryBytes()

The translated result. This will be empty if the translation fails.

string translated_query = 1;

Returns
TypeDescription
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];

Returns
TypeDescription
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];

Returns
TypeDescription
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;

Parameter
NameDescription
indexint
Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Parameter
NameDescription
indexint
Returns
TypeDescription
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;

Returns
TypeDescription
List<? extends com.google.cloud.bigquery.migration.v2alpha.SqlTranslationWarningOrBuilder>