Interface SqlTranslationErrorOrBuilder (0.19.0)

public interface SqlTranslationErrorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getErrorDetail()

public abstract SqlTranslationErrorDetail getErrorDetail()

Specifies the details of the error, including the error message and location from the source text.

.google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail error_detail = 2;

Returns
TypeDescription
SqlTranslationErrorDetail

The errorDetail.

getErrorDetailOrBuilder()

public abstract SqlTranslationErrorDetailOrBuilder getErrorDetailOrBuilder()

Specifies the details of the error, including the error message and location from the source text.

.google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail error_detail = 2;

Returns
TypeDescription
SqlTranslationErrorDetailOrBuilder

getErrorType()

public abstract SqlTranslationError.SqlTranslationErrorType getErrorType()

The type of SQL translation error.

.google.cloud.bigquery.migration.v2alpha.SqlTranslationError.SqlTranslationErrorType error_type = 1;

Returns
TypeDescription
SqlTranslationError.SqlTranslationErrorType

The errorType.

getErrorTypeValue()

public abstract int getErrorTypeValue()

The type of SQL translation error.

.google.cloud.bigquery.migration.v2alpha.SqlTranslationError.SqlTranslationErrorType error_type = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for errorType.

hasErrorDetail()

public abstract boolean hasErrorDetail()

Specifies the details of the error, including the error message and location from the source text.

.google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail error_detail = 2;

Returns
TypeDescription
boolean

Whether the errorDetail field is set.