Package com.google.cloud.clouddms.v1
Class SingleColumnChange
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.clouddms.v1.SingleColumnChange
-
- All Implemented Interfaces:
SingleColumnChangeOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class SingleColumnChange extends com.google.protobuf.GeneratedMessageV3 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 typegoogle.cloud.clouddms.v1.SingleColumnChange- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSingleColumnChange.BuilderOptions to configure rule type SingleColumnChange.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intARRAY_FIELD_NUMBERstatic intARRAY_LENGTH_FIELD_NUMBERstatic intAUTO_GENERATED_FIELD_NUMBERstatic intCHARSET_FIELD_NUMBERstatic intCOLLATION_FIELD_NUMBERstatic intCOMMENT_FIELD_NUMBERstatic intCUSTOM_FEATURES_FIELD_NUMBERstatic intDATA_TYPE_FIELD_NUMBERstatic intFRACTIONAL_SECONDS_PRECISION_FIELD_NUMBERstatic intLENGTH_FIELD_NUMBERstatic intNULLABLE_FIELD_NUMBERstatic intPRECISION_FIELD_NUMBERstatic intSCALE_FIELD_NUMBERstatic intSET_VALUES_FIELD_NUMBERstatic intUDT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)booleangetArray()Optional.intgetArrayLength()Optional.booleangetAutoGenerated()Optional.StringgetCharset()Optional.com.google.protobuf.ByteStringgetCharsetBytes()Optional.StringgetCollation()Optional.com.google.protobuf.ByteStringgetCollationBytes()Optional.StringgetComment()Optional.com.google.protobuf.ByteStringgetCommentBytes()Optional.com.google.protobuf.StructgetCustomFeatures()Optional.com.google.protobuf.StructOrBuildergetCustomFeaturesOrBuilder()Optional.StringgetDataType()Optional.com.google.protobuf.ByteStringgetDataTypeBytes()Optional.static SingleColumnChangegetDefaultInstance()SingleColumnChangegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()intgetFractionalSecondsPrecision()Optional.longgetLength()Optional.booleangetNullable()Optional.com.google.protobuf.Parser<SingleColumnChange>getParserForType()intgetPrecision()Optional.intgetScale()Optional.intgetSerializedSize()StringgetSetValues(int index)Optional.com.google.protobuf.ByteStringgetSetValuesBytes(int index)Optional.intgetSetValuesCount()Optional.com.google.protobuf.ProtocolStringListgetSetValuesList()Optional.booleangetUdt()Optional.booleanhasCustomFeatures()Optional.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static SingleColumnChange.BuildernewBuilder()static SingleColumnChange.BuildernewBuilder(SingleColumnChange prototype)SingleColumnChange.BuildernewBuilderForType()protected SingleColumnChange.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static SingleColumnChangeparseDelimitedFrom(InputStream input)static SingleColumnChangeparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SingleColumnChangeparseFrom(byte[] data)static SingleColumnChangeparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SingleColumnChangeparseFrom(com.google.protobuf.ByteString data)static SingleColumnChangeparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SingleColumnChangeparseFrom(com.google.protobuf.CodedInputStream input)static SingleColumnChangeparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SingleColumnChangeparseFrom(InputStream input)static SingleColumnChangeparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SingleColumnChangeparseFrom(ByteBuffer data)static SingleColumnChangeparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<SingleColumnChange>parser()SingleColumnChange.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
DATA_TYPE_FIELD_NUMBER
public static final int DATA_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CHARSET_FIELD_NUMBER
public static final int CHARSET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COLLATION_FIELD_NUMBER
public static final int COLLATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LENGTH_FIELD_NUMBER
public static final int LENGTH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRECISION_FIELD_NUMBER
public static final int PRECISION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCALE_FIELD_NUMBER
public static final int SCALE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FRACTIONAL_SECONDS_PRECISION_FIELD_NUMBER
public static final int FRACTIONAL_SECONDS_PRECISION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ARRAY_FIELD_NUMBER
public static final int ARRAY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ARRAY_LENGTH_FIELD_NUMBER
public static final int ARRAY_LENGTH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NULLABLE_FIELD_NUMBER
public static final int NULLABLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AUTO_GENERATED_FIELD_NUMBER
public static final int AUTO_GENERATED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UDT_FIELD_NUMBER
public static final int UDT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CUSTOM_FEATURES_FIELD_NUMBER
public static final int CUSTOM_FEATURES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SET_VALUES_FIELD_NUMBER
public static final int SET_VALUES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COMMENT_FIELD_NUMBER
public static final int COMMENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
getDataType
public String getDataType()
Optional. Column data type name.
string data_type = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDataTypein interfaceSingleColumnChangeOrBuilder- Returns:
- The dataType.
-
getDataTypeBytes
public com.google.protobuf.ByteString getDataTypeBytes()
Optional. Column data type name.
string data_type = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDataTypeBytesin interfaceSingleColumnChangeOrBuilder- Returns:
- The bytes for dataType.
-
getCharset
public String getCharset()
Optional. Charset override - instead of table level charset.
string charset = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCharsetin interfaceSingleColumnChangeOrBuilder- Returns:
- The charset.
-
getCharsetBytes
public com.google.protobuf.ByteString getCharsetBytes()
Optional. Charset override - instead of table level charset.
string charset = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCharsetBytesin interfaceSingleColumnChangeOrBuilder- Returns:
- The bytes for charset.
-
getCollation
public String getCollation()
Optional. Collation override - instead of table level collation.
string collation = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCollationin interfaceSingleColumnChangeOrBuilder- Returns:
- The collation.
-
getCollationBytes
public com.google.protobuf.ByteString getCollationBytes()
Optional. Collation override - instead of table level collation.
string collation = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCollationBytesin interfaceSingleColumnChangeOrBuilder- Returns:
- The bytes for collation.
-
getLength
public long getLength()
Optional. Column length - e.g. 50 as in varchar (50) - when relevant.
int64 length = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLengthin interfaceSingleColumnChangeOrBuilder- Returns:
- The length.
-
getPrecision
public int getPrecision()
Optional. Column precision - e.g. 8 as in double (8,2) - when relevant.
int32 precision = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPrecisionin interfaceSingleColumnChangeOrBuilder- Returns:
- The precision.
-
getScale
public int getScale()
Optional. Column scale - e.g. 2 as in double (8,2) - when relevant.
int32 scale = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getScalein interfaceSingleColumnChangeOrBuilder- Returns:
- The scale.
-
getFractionalSecondsPrecision
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];- Specified by:
getFractionalSecondsPrecisionin interfaceSingleColumnChangeOrBuilder- Returns:
- The fractionalSecondsPrecision.
-
getArray
public boolean getArray()
Optional. Is the column of array type.
bool array = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getArrayin interfaceSingleColumnChangeOrBuilder- Returns:
- The array.
-
getArrayLength
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];- Specified by:
getArrayLengthin interfaceSingleColumnChangeOrBuilder- Returns:
- The arrayLength.
-
getNullable
public boolean getNullable()
Optional. Is the column nullable.
bool nullable = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNullablein interfaceSingleColumnChangeOrBuilder- Returns:
- The nullable.
-
getAutoGenerated
public boolean getAutoGenerated()
Optional. Is the column auto-generated/identity.
bool auto_generated = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAutoGeneratedin interfaceSingleColumnChangeOrBuilder- Returns:
- The autoGenerated.
-
getUdt
public boolean getUdt()
Optional. Is the column a UDT (User-defined Type).
bool udt = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getUdtin interfaceSingleColumnChangeOrBuilder- Returns:
- The udt.
-
hasCustomFeatures
public boolean hasCustomFeatures()
Optional. Custom engine specific features.
.google.protobuf.Struct custom_features = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasCustomFeaturesin interfaceSingleColumnChangeOrBuilder- Returns:
- Whether the customFeatures field is set.
-
getCustomFeatures
public com.google.protobuf.Struct getCustomFeatures()
Optional. Custom engine specific features.
.google.protobuf.Struct custom_features = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCustomFeaturesin interfaceSingleColumnChangeOrBuilder- Returns:
- The customFeatures.
-
getCustomFeaturesOrBuilder
public com.google.protobuf.StructOrBuilder getCustomFeaturesOrBuilder()
Optional. Custom engine specific features.
.google.protobuf.Struct custom_features = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCustomFeaturesOrBuilderin interfaceSingleColumnChangeOrBuilder
-
getSetValuesList
public 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];- Specified by:
getSetValuesListin interfaceSingleColumnChangeOrBuilder- Returns:
- A list containing the setValues.
-
getSetValuesCount
public int getSetValuesCount()
Optional. Specifies the list of values allowed in the column.
repeated string set_values = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSetValuesCountin interfaceSingleColumnChangeOrBuilder- Returns:
- The count of setValues.
-
getSetValues
public String getSetValues(int index)
Optional. Specifies the list of values allowed in the column.
repeated string set_values = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSetValuesin interfaceSingleColumnChangeOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The setValues at the given index.
-
getSetValuesBytes
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];- Specified by:
getSetValuesBytesin interfaceSingleColumnChangeOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the setValues at the given index.
-
getComment
public String getComment()
Optional. Comment associated with the column.
string comment = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCommentin interfaceSingleColumnChangeOrBuilder- Returns:
- The comment.
-
getCommentBytes
public com.google.protobuf.ByteString getCommentBytes()
Optional. Comment associated with the column.
string comment = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCommentBytesin interfaceSingleColumnChangeOrBuilder- Returns:
- The bytes for comment.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static SingleColumnChange parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SingleColumnChange parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SingleColumnChange parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SingleColumnChange parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SingleColumnChange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SingleColumnChange parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SingleColumnChange parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static SingleColumnChange parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static SingleColumnChange parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static SingleColumnChange parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static SingleColumnChange parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static SingleColumnChange parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public SingleColumnChange.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static SingleColumnChange.Builder newBuilder()
-
newBuilder
public static SingleColumnChange.Builder newBuilder(SingleColumnChange prototype)
-
toBuilder
public SingleColumnChange.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SingleColumnChange.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static SingleColumnChange getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<SingleColumnChange> parser()
-
getParserForType
public com.google.protobuf.Parser<SingleColumnChange> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public SingleColumnChange getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-