Class SqlTranslationWarning.Builder (0.19.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SqlTranslationWarning.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SqlTranslationWarning.Builder
Overrides

build()

public SqlTranslationWarning build()
Returns
TypeDescription
SqlTranslationWarning

buildPartial()

public SqlTranslationWarning buildPartial()
Returns
TypeDescription
SqlTranslationWarning

clear()

public SqlTranslationWarning.Builder clear()
Returns
TypeDescription
SqlTranslationWarning.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SqlTranslationWarning.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SqlTranslationWarning.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SqlTranslationWarning.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
SqlTranslationWarning.Builder

clone()

public SqlTranslationWarning.Builder clone()
Returns
TypeDescription
SqlTranslationWarning.Builder
Overrides

getDefaultInstanceForType()

public SqlTranslationWarning getDefaultInstanceForType()
Returns
TypeDescription
SqlTranslationWarning

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the warningDetail field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SqlTranslationWarning other)

public SqlTranslationWarning.Builder mergeFrom(SqlTranslationWarning other)
Parameter
NameDescription
otherSqlTranslationWarning
Returns
TypeDescription
SqlTranslationWarning.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SqlTranslationWarning.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SqlTranslationWarning.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SqlTranslationWarning.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SqlTranslationWarning.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SqlTranslationWarning.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueSqlTranslationErrorDetail
Returns
TypeDescription
SqlTranslationWarning.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SqlTranslationWarning.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SqlTranslationWarning.Builder
Overrides

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

public SqlTranslationWarning.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SqlTranslationWarning.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SqlTranslationWarning.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueSqlTranslationErrorDetail
Returns
TypeDescription
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
NameDescription
builderForValueSqlTranslationErrorDetail.Builder
Returns
TypeDescription
SqlTranslationWarning.Builder