Class SqlTranslationWarning.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<SqlTranslationWarning.Builder>
-
- com.google.cloud.bigquery.migration.v2alpha.SqlTranslationWarning.Builder
-
- All Implemented Interfaces:
SqlTranslationWarningOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SqlTranslationWarning
public static final class SqlTranslationWarning.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SqlTranslationWarning.Builder> implements SqlTranslationWarningOrBuilder
The detailed warning object if the SQL translation job is completed but not semantically correct.
Protobuf typegoogle.cloud.bigquery.migration.v2alpha.SqlTranslationWarning
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SqlTranslationWarning.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)SqlTranslationWarningbuild()SqlTranslationWarningbuildPartial()SqlTranslationWarning.Builderclear()SqlTranslationWarning.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)SqlTranslationWarning.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)SqlTranslationWarning.BuilderclearWarningDetail()Specifies the details of the warning, including the warning message and location from the source text.SqlTranslationWarning.Builderclone()SqlTranslationWarninggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()SqlTranslationErrorDetailgetWarningDetail()Specifies the details of the warning, including the warning message and location from the source text.SqlTranslationErrorDetail.BuildergetWarningDetailBuilder()Specifies the details of the warning, including the warning message and location from the source text.SqlTranslationErrorDetailOrBuildergetWarningDetailOrBuilder()Specifies the details of the warning, including the warning message and location from the source text.booleanhasWarningDetail()Specifies the details of the warning, including the warning message and location from the source text.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()SqlTranslationWarning.BuildermergeFrom(SqlTranslationWarning other)SqlTranslationWarning.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)SqlTranslationWarning.BuildermergeFrom(com.google.protobuf.Message other)SqlTranslationWarning.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)SqlTranslationWarning.BuildermergeWarningDetail(SqlTranslationErrorDetail value)Specifies the details of the warning, including the warning message and location from the source text.SqlTranslationWarning.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)SqlTranslationWarning.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)SqlTranslationWarning.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)SqlTranslationWarning.BuildersetWarningDetail(SqlTranslationErrorDetail value)Specifies the details of the warning, including the warning message and location from the source text.SqlTranslationWarning.BuildersetWarningDetail(SqlTranslationErrorDetail.Builder builderForValue)Specifies the details of the warning, including the warning message and location from the source text.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<SqlTranslationWarning.Builder>
-
clear
public SqlTranslationWarning.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<SqlTranslationWarning.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<SqlTranslationWarning.Builder>
-
getDefaultInstanceForType
public SqlTranslationWarning getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public SqlTranslationWarning build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SqlTranslationWarning buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SqlTranslationWarning.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<SqlTranslationWarning.Builder>
-
setField
public SqlTranslationWarning.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SqlTranslationWarning.Builder>
-
clearField
public SqlTranslationWarning.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SqlTranslationWarning.Builder>
-
clearOneof
public SqlTranslationWarning.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SqlTranslationWarning.Builder>
-
setRepeatedField
public SqlTranslationWarning.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SqlTranslationWarning.Builder>
-
addRepeatedField
public SqlTranslationWarning.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SqlTranslationWarning.Builder>
-
mergeFrom
public SqlTranslationWarning.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SqlTranslationWarning.Builder>
-
mergeFrom
public SqlTranslationWarning.Builder mergeFrom(SqlTranslationWarning other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<SqlTranslationWarning.Builder>
-
mergeFrom
public SqlTranslationWarning.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SqlTranslationWarning.Builder>- Throws:
IOException
-
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;- Specified by:
hasWarningDetailin interfaceSqlTranslationWarningOrBuilder- Returns:
- Whether the warningDetail field is set.
-
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;- Specified by:
getWarningDetailin interfaceSqlTranslationWarningOrBuilder- Returns:
- The warningDetail.
-
setWarningDetail
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;
-
setWarningDetail
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;
-
mergeWarningDetail
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;
-
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;
-
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;
-
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;- Specified by:
getWarningDetailOrBuilderin interfaceSqlTranslationWarningOrBuilder
-
setUnknownFields
public final SqlTranslationWarning.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SqlTranslationWarning.Builder>
-
mergeUnknownFields
public final SqlTranslationWarning.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SqlTranslationWarning.Builder>
-
-