Class SqlTranslationWarning.Builder (0.45.0)

public static final class SqlTranslationWarning.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SqlTranslationWarning.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SqlTranslationWarning.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public SqlTranslationWarning.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SqlTranslationWarning.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SqlTranslationWarning.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SqlTranslationWarning.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

public SqlTranslationWarning.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SqlTranslationWarning.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SqlTranslationWarning.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SqlTranslationWarning.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SqlTranslationWarning.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SqlTranslationWarning.Builder
Overrides

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