Interface SqlTranslationErrorOrBuilder (0.45.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
Type Description
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
Type Description
SqlTranslationErrorDetailOrBuilder

getErrorType()

public abstract SqlTranslationError.SqlTranslationErrorType getErrorType()

The type of SQL translation error.

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

Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the errorDetail field is set.