public static final class SingleColumnChange.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SingleColumnChange.Builder> implements SingleColumnChangeOrBuilder
Options to configure rule type SingleColumnChange. The rule is used to change the properties of a column. The rule filter field can refer to one entity. The rule scope can be one of: Column. When using this rule, if a field is not specified than the destination column's configuration will be the same as the one in the source column..Protobuf type
google.cloud.clouddms.v1.SingleColumnChangegetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SingleColumnChange.Builder>public SingleColumnChange.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SingleColumnChange.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SingleColumnChange.Builder>public SingleColumnChange getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SingleColumnChange build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SingleColumnChange buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SingleColumnChange.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SingleColumnChange.Builder>public SingleColumnChange.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<SingleColumnChange.Builder>public SingleColumnChange.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SingleColumnChange.Builder>public SingleColumnChange.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SingleColumnChange.Builder>public SingleColumnChange.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SingleColumnChange.Builder>public SingleColumnChange.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SingleColumnChange.Builder>public SingleColumnChange.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SingleColumnChange.Builder>public SingleColumnChange.Builder mergeFrom(SingleColumnChange other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SingleColumnChange.Builder>public SingleColumnChange.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SingleColumnChange.Builder>IOExceptionpublic String getDataType()
Optional. Column data type name.
string data_type = 1 [(.google.api.field_behavior) = OPTIONAL];getDataType in interface SingleColumnChangeOrBuilderpublic com.google.protobuf.ByteString getDataTypeBytes()
Optional. Column data type name.
string data_type = 1 [(.google.api.field_behavior) = OPTIONAL];getDataTypeBytes in interface SingleColumnChangeOrBuilderpublic SingleColumnChange.Builder setDataType(String value)
Optional. Column data type name.
string data_type = 1 [(.google.api.field_behavior) = OPTIONAL];value - The dataType to set.public SingleColumnChange.Builder clearDataType()
Optional. Column data type name.
string data_type = 1 [(.google.api.field_behavior) = OPTIONAL];public SingleColumnChange.Builder setDataTypeBytes(com.google.protobuf.ByteString value)
Optional. Column data type name.
string data_type = 1 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for dataType to set.public String getCharset()
Optional. Charset override - instead of table level charset.
string charset = 2 [(.google.api.field_behavior) = OPTIONAL];getCharset in interface SingleColumnChangeOrBuilderpublic com.google.protobuf.ByteString getCharsetBytes()
Optional. Charset override - instead of table level charset.
string charset = 2 [(.google.api.field_behavior) = OPTIONAL];getCharsetBytes in interface SingleColumnChangeOrBuilderpublic SingleColumnChange.Builder setCharset(String value)
Optional. Charset override - instead of table level charset.
string charset = 2 [(.google.api.field_behavior) = OPTIONAL];value - The charset to set.public SingleColumnChange.Builder clearCharset()
Optional. Charset override - instead of table level charset.
string charset = 2 [(.google.api.field_behavior) = OPTIONAL];public SingleColumnChange.Builder setCharsetBytes(com.google.protobuf.ByteString value)
Optional. Charset override - instead of table level charset.
string charset = 2 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for charset to set.public String getCollation()
Optional. Collation override - instead of table level collation.
string collation = 3 [(.google.api.field_behavior) = OPTIONAL];getCollation in interface SingleColumnChangeOrBuilderpublic com.google.protobuf.ByteString getCollationBytes()
Optional. Collation override - instead of table level collation.
string collation = 3 [(.google.api.field_behavior) = OPTIONAL];getCollationBytes in interface SingleColumnChangeOrBuilderpublic SingleColumnChange.Builder setCollation(String value)
Optional. Collation override - instead of table level collation.
string collation = 3 [(.google.api.field_behavior) = OPTIONAL];value - The collation to set.public SingleColumnChange.Builder clearCollation()
Optional. Collation override - instead of table level collation.
string collation = 3 [(.google.api.field_behavior) = OPTIONAL];public SingleColumnChange.Builder setCollationBytes(com.google.protobuf.ByteString value)
Optional. Collation override - instead of table level collation.
string collation = 3 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for collation to set.public long getLength()
Optional. Column length - e.g. 50 as in varchar (50) - when relevant.
int64 length = 4 [(.google.api.field_behavior) = OPTIONAL];getLength in interface SingleColumnChangeOrBuilderpublic SingleColumnChange.Builder setLength(long value)
Optional. Column length - e.g. 50 as in varchar (50) - when relevant.
int64 length = 4 [(.google.api.field_behavior) = OPTIONAL];value - The length to set.public SingleColumnChange.Builder clearLength()
Optional. Column length - e.g. 50 as in varchar (50) - when relevant.
int64 length = 4 [(.google.api.field_behavior) = OPTIONAL];public int getPrecision()
Optional. Column precision - e.g. 8 as in double (8,2) - when relevant.
int32 precision = 5 [(.google.api.field_behavior) = OPTIONAL];getPrecision in interface SingleColumnChangeOrBuilderpublic SingleColumnChange.Builder setPrecision(int value)
Optional. Column precision - e.g. 8 as in double (8,2) - when relevant.
int32 precision = 5 [(.google.api.field_behavior) = OPTIONAL];value - The precision to set.public SingleColumnChange.Builder clearPrecision()
Optional. Column precision - e.g. 8 as in double (8,2) - when relevant.
int32 precision = 5 [(.google.api.field_behavior) = OPTIONAL];public int getScale()
Optional. Column scale - e.g. 2 as in double (8,2) - when relevant.
int32 scale = 6 [(.google.api.field_behavior) = OPTIONAL];getScale in interface SingleColumnChangeOrBuilderpublic SingleColumnChange.Builder setScale(int value)
Optional. Column scale - e.g. 2 as in double (8,2) - when relevant.
int32 scale = 6 [(.google.api.field_behavior) = OPTIONAL];value - The scale to set.public SingleColumnChange.Builder clearScale()
Optional. Column scale - e.g. 2 as in double (8,2) - when relevant.
int32 scale = 6 [(.google.api.field_behavior) = OPTIONAL];public int getFractionalSecondsPrecision()
Optional. Column fractional seconds precision - e.g. 2 as in timestamp (2) - when relevant.
int32 fractional_seconds_precision = 7 [(.google.api.field_behavior) = OPTIONAL];
getFractionalSecondsPrecision in interface SingleColumnChangeOrBuilderpublic SingleColumnChange.Builder setFractionalSecondsPrecision(int value)
Optional. Column fractional seconds precision - e.g. 2 as in timestamp (2) - when relevant.
int32 fractional_seconds_precision = 7 [(.google.api.field_behavior) = OPTIONAL];
value - The fractionalSecondsPrecision to set.public SingleColumnChange.Builder clearFractionalSecondsPrecision()
Optional. Column fractional seconds precision - e.g. 2 as in timestamp (2) - when relevant.
int32 fractional_seconds_precision = 7 [(.google.api.field_behavior) = OPTIONAL];
public boolean getArray()
Optional. Is the column of array type.
bool array = 8 [(.google.api.field_behavior) = OPTIONAL];getArray in interface SingleColumnChangeOrBuilderpublic SingleColumnChange.Builder setArray(boolean value)
Optional. Is the column of array type.
bool array = 8 [(.google.api.field_behavior) = OPTIONAL];value - The array to set.public SingleColumnChange.Builder clearArray()
Optional. Is the column of array type.
bool array = 8 [(.google.api.field_behavior) = OPTIONAL];public int getArrayLength()
Optional. The length of the array, only relevant if the column type is an array.
int32 array_length = 9 [(.google.api.field_behavior) = OPTIONAL];getArrayLength in interface SingleColumnChangeOrBuilderpublic SingleColumnChange.Builder setArrayLength(int value)
Optional. The length of the array, only relevant if the column type is an array.
int32 array_length = 9 [(.google.api.field_behavior) = OPTIONAL];value - The arrayLength to set.public SingleColumnChange.Builder clearArrayLength()
Optional. The length of the array, only relevant if the column type is an array.
int32 array_length = 9 [(.google.api.field_behavior) = OPTIONAL];public boolean getNullable()
Optional. Is the column nullable.
bool nullable = 10 [(.google.api.field_behavior) = OPTIONAL];getNullable in interface SingleColumnChangeOrBuilderpublic SingleColumnChange.Builder setNullable(boolean value)
Optional. Is the column nullable.
bool nullable = 10 [(.google.api.field_behavior) = OPTIONAL];value - The nullable to set.public SingleColumnChange.Builder clearNullable()
Optional. Is the column nullable.
bool nullable = 10 [(.google.api.field_behavior) = OPTIONAL];public boolean getAutoGenerated()
Optional. Is the column auto-generated/identity.
bool auto_generated = 11 [(.google.api.field_behavior) = OPTIONAL];getAutoGenerated in interface SingleColumnChangeOrBuilderpublic SingleColumnChange.Builder setAutoGenerated(boolean value)
Optional. Is the column auto-generated/identity.
bool auto_generated = 11 [(.google.api.field_behavior) = OPTIONAL];value - The autoGenerated to set.public SingleColumnChange.Builder clearAutoGenerated()
Optional. Is the column auto-generated/identity.
bool auto_generated = 11 [(.google.api.field_behavior) = OPTIONAL];public boolean getUdt()
Optional. Is the column a UDT (User-defined Type).
bool udt = 12 [(.google.api.field_behavior) = OPTIONAL];getUdt in interface SingleColumnChangeOrBuilderpublic SingleColumnChange.Builder setUdt(boolean value)
Optional. Is the column a UDT (User-defined Type).
bool udt = 12 [(.google.api.field_behavior) = OPTIONAL];value - The udt to set.public SingleColumnChange.Builder clearUdt()
Optional. Is the column a UDT (User-defined Type).
bool udt = 12 [(.google.api.field_behavior) = OPTIONAL];public boolean hasCustomFeatures()
Optional. Custom engine specific features.
.google.protobuf.Struct custom_features = 13 [(.google.api.field_behavior) = OPTIONAL];
hasCustomFeatures in interface SingleColumnChangeOrBuilderpublic com.google.protobuf.Struct getCustomFeatures()
Optional. Custom engine specific features.
.google.protobuf.Struct custom_features = 13 [(.google.api.field_behavior) = OPTIONAL];
getCustomFeatures in interface SingleColumnChangeOrBuilderpublic SingleColumnChange.Builder setCustomFeatures(com.google.protobuf.Struct value)
Optional. Custom engine specific features.
.google.protobuf.Struct custom_features = 13 [(.google.api.field_behavior) = OPTIONAL];
public SingleColumnChange.Builder setCustomFeatures(com.google.protobuf.Struct.Builder builderForValue)
Optional. Custom engine specific features.
.google.protobuf.Struct custom_features = 13 [(.google.api.field_behavior) = OPTIONAL];
public SingleColumnChange.Builder mergeCustomFeatures(com.google.protobuf.Struct value)
Optional. Custom engine specific features.
.google.protobuf.Struct custom_features = 13 [(.google.api.field_behavior) = OPTIONAL];
public SingleColumnChange.Builder clearCustomFeatures()
Optional. Custom engine specific features.
.google.protobuf.Struct custom_features = 13 [(.google.api.field_behavior) = OPTIONAL];
public com.google.protobuf.Struct.Builder getCustomFeaturesBuilder()
Optional. Custom engine specific features.
.google.protobuf.Struct custom_features = 13 [(.google.api.field_behavior) = OPTIONAL];
public com.google.protobuf.StructOrBuilder getCustomFeaturesOrBuilder()
Optional. Custom engine specific features.
.google.protobuf.Struct custom_features = 13 [(.google.api.field_behavior) = OPTIONAL];
getCustomFeaturesOrBuilder in interface SingleColumnChangeOrBuilderpublic com.google.protobuf.ProtocolStringList getSetValuesList()
Optional. Specifies the list of values allowed in the column.
repeated string set_values = 14 [(.google.api.field_behavior) = OPTIONAL];getSetValuesList in interface SingleColumnChangeOrBuilderpublic int getSetValuesCount()
Optional. Specifies the list of values allowed in the column.
repeated string set_values = 14 [(.google.api.field_behavior) = OPTIONAL];getSetValuesCount in interface SingleColumnChangeOrBuilderpublic String getSetValues(int index)
Optional. Specifies the list of values allowed in the column.
repeated string set_values = 14 [(.google.api.field_behavior) = OPTIONAL];getSetValues in interface SingleColumnChangeOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getSetValuesBytes(int index)
Optional. Specifies the list of values allowed in the column.
repeated string set_values = 14 [(.google.api.field_behavior) = OPTIONAL];getSetValuesBytes in interface SingleColumnChangeOrBuilderindex - The index of the value to return.public SingleColumnChange.Builder setSetValues(int index, String value)
Optional. Specifies the list of values allowed in the column.
repeated string set_values = 14 [(.google.api.field_behavior) = OPTIONAL];index - The index to set the value at.value - The setValues to set.public SingleColumnChange.Builder addSetValues(String value)
Optional. Specifies the list of values allowed in the column.
repeated string set_values = 14 [(.google.api.field_behavior) = OPTIONAL];value - The setValues to add.public SingleColumnChange.Builder addAllSetValues(Iterable<String> values)
Optional. Specifies the list of values allowed in the column.
repeated string set_values = 14 [(.google.api.field_behavior) = OPTIONAL];values - The setValues to add.public SingleColumnChange.Builder clearSetValues()
Optional. Specifies the list of values allowed in the column.
repeated string set_values = 14 [(.google.api.field_behavior) = OPTIONAL];public SingleColumnChange.Builder addSetValuesBytes(com.google.protobuf.ByteString value)
Optional. Specifies the list of values allowed in the column.
repeated string set_values = 14 [(.google.api.field_behavior) = OPTIONAL];value - The bytes of the setValues to add.public String getComment()
Optional. Comment associated with the column.
string comment = 15 [(.google.api.field_behavior) = OPTIONAL];getComment in interface SingleColumnChangeOrBuilderpublic com.google.protobuf.ByteString getCommentBytes()
Optional. Comment associated with the column.
string comment = 15 [(.google.api.field_behavior) = OPTIONAL];getCommentBytes in interface SingleColumnChangeOrBuilderpublic SingleColumnChange.Builder setComment(String value)
Optional. Comment associated with the column.
string comment = 15 [(.google.api.field_behavior) = OPTIONAL];value - The comment to set.public SingleColumnChange.Builder clearComment()
Optional. Comment associated with the column.
string comment = 15 [(.google.api.field_behavior) = OPTIONAL];public SingleColumnChange.Builder setCommentBytes(com.google.protobuf.ByteString value)
Optional. Comment associated with the column.
string comment = 15 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for comment to set.public final SingleColumnChange.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SingleColumnChange.Builder>public final SingleColumnChange.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SingleColumnChange.Builder>Copyright © 2024 Google LLC. All rights reserved.