Class SqlTranslationWarning.Builder (0.86.0)

public static final class SqlTranslationWarning.Builder extends GeneratedMessage.Builder<SqlTranslationWarning.Builder> implements SqlTranslationWarningOrBuilder

The detailed warning object if the SQL translation job is completed but not semantically correct.

Protobuf type google.cloud.bigquery.migration.v2alpha.SqlTranslationWarning

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public SqlTranslationWarning build()
Returns
Type Description
SqlTranslationWarning

buildPartial()

public SqlTranslationWarning buildPartial()
Returns
Type Description
SqlTranslationWarning

clear()

public SqlTranslationWarning.Builder clear()
Returns
Type Description
SqlTranslationWarning.Builder
Overrides

clearWarningDetail()

public SqlTranslationWarning.Builder clearWarningDetail()

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

.google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail warning_detail = 1;

Returns
Type Description
SqlTranslationWarning.Builder

getDefaultInstanceForType()

public SqlTranslationWarning getDefaultInstanceForType()
Returns
Type Description
SqlTranslationWarning

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getWarningDetail()

public SqlTranslationErrorDetail getWarningDetail()

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

.google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail warning_detail = 1;

Returns
Type Description
SqlTranslationErrorDetail

The warningDetail.

getWarningDetailBuilder()

public SqlTranslationErrorDetail.Builder getWarningDetailBuilder()

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

.google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail warning_detail = 1;

Returns
Type Description
SqlTranslationErrorDetail.Builder

getWarningDetailOrBuilder()

public SqlTranslationErrorDetailOrBuilder getWarningDetailOrBuilder()

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

.google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail warning_detail = 1;

Returns
Type Description
SqlTranslationErrorDetailOrBuilder

hasWarningDetail()

public boolean hasWarningDetail()

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

.google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail warning_detail = 1;

Returns
Type Description
boolean

Whether the warningDetail field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SqlTranslationWarning other)

public SqlTranslationWarning.Builder mergeFrom(SqlTranslationWarning other)
Parameter
Name Description
other SqlTranslationWarning
Returns
Type Description
SqlTranslationWarning.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SqlTranslationWarning.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SqlTranslationWarning.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SqlTranslationWarning.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SqlTranslationWarning.Builder
Overrides

mergeWarningDetail(SqlTranslationErrorDetail value)

public SqlTranslationWarning.Builder mergeWarningDetail(SqlTranslationErrorDetail value)

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

.google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail warning_detail = 1;

Parameter
Name Description
value SqlTranslationErrorDetail
Returns
Type Description
SqlTranslationWarning.Builder

setWarningDetail(SqlTranslationErrorDetail value)

public SqlTranslationWarning.Builder setWarningDetail(SqlTranslationErrorDetail value)

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

.google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail warning_detail = 1;

Parameter
Name Description
value SqlTranslationErrorDetail
Returns
Type Description
SqlTranslationWarning.Builder

setWarningDetail(SqlTranslationErrorDetail.Builder builderForValue)

public SqlTranslationWarning.Builder setWarningDetail(SqlTranslationErrorDetail.Builder builderForValue)

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

.google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail warning_detail = 1;

Parameter
Name Description
builderForValue SqlTranslationErrorDetail.Builder
Returns
Type Description
SqlTranslationWarning.Builder