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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SqlTranslationWarning.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SqlTranslationWarning build()
Returns
buildPartial()
public SqlTranslationWarning buildPartial()
Returns
clear()
public SqlTranslationWarning.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public SqlTranslationWarning.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SqlTranslationWarning.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public SqlTranslationWarning.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SqlTranslationWarning getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SqlTranslationWarning other)
public SqlTranslationWarning.Builder mergeFrom(SqlTranslationWarning other)
Parameter
Returns
public SqlTranslationWarning.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SqlTranslationWarning.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SqlTranslationWarning.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public SqlTranslationWarning.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SqlTranslationWarning.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SqlTranslationWarning.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns