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 class
SingleColumnChange.Builder
Options 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 int
ARRAY_FIELD_NUMBER
static int
ARRAY_LENGTH_FIELD_NUMBER
static int
AUTO_GENERATED_FIELD_NUMBER
static int
CHARSET_FIELD_NUMBER
static int
COLLATION_FIELD_NUMBER
static int
COMMENT_FIELD_NUMBER
static int
CUSTOM_FEATURES_FIELD_NUMBER
static int
DATA_TYPE_FIELD_NUMBER
static int
FRACTIONAL_SECONDS_PRECISION_FIELD_NUMBER
static int
LENGTH_FIELD_NUMBER
static int
NULLABLE_FIELD_NUMBER
static int
PRECISION_FIELD_NUMBER
static int
SCALE_FIELD_NUMBER
static int
SET_VALUES_FIELD_NUMBER
static int
UDT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
boolean
getArray()
Optional.int
getArrayLength()
Optional.boolean
getAutoGenerated()
Optional.String
getCharset()
Optional.com.google.protobuf.ByteString
getCharsetBytes()
Optional.String
getCollation()
Optional.com.google.protobuf.ByteString
getCollationBytes()
Optional.String
getComment()
Optional.com.google.protobuf.ByteString
getCommentBytes()
Optional.com.google.protobuf.Struct
getCustomFeatures()
Optional.com.google.protobuf.StructOrBuilder
getCustomFeaturesOrBuilder()
Optional.String
getDataType()
Optional.com.google.protobuf.ByteString
getDataTypeBytes()
Optional.static SingleColumnChange
getDefaultInstance()
SingleColumnChange
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
int
getFractionalSecondsPrecision()
Optional.long
getLength()
Optional.boolean
getNullable()
Optional.com.google.protobuf.Parser<SingleColumnChange>
getParserForType()
int
getPrecision()
Optional.int
getScale()
Optional.int
getSerializedSize()
String
getSetValues(int index)
Optional.com.google.protobuf.ByteString
getSetValuesBytes(int index)
Optional.int
getSetValuesCount()
Optional.com.google.protobuf.ProtocolStringList
getSetValuesList()
Optional.boolean
getUdt()
Optional.boolean
hasCustomFeatures()
Optional.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static SingleColumnChange.Builder
newBuilder()
static SingleColumnChange.Builder
newBuilder(SingleColumnChange prototype)
SingleColumnChange.Builder
newBuilderForType()
protected SingleColumnChange.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static SingleColumnChange
parseDelimitedFrom(InputStream input)
static SingleColumnChange
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SingleColumnChange
parseFrom(byte[] data)
static SingleColumnChange
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SingleColumnChange
parseFrom(com.google.protobuf.ByteString data)
static SingleColumnChange
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SingleColumnChange
parseFrom(com.google.protobuf.CodedInputStream input)
static SingleColumnChange
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SingleColumnChange
parseFrom(InputStream input)
static SingleColumnChange
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SingleColumnChange
parseFrom(ByteBuffer data)
static SingleColumnChange
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<SingleColumnChange>
parser()
SingleColumnChange.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getDataType
public String getDataType()
Optional. Column data type name.
string data_type = 1 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDataType
in 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:
getDataTypeBytes
in 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:
getCharset
in 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:
getCharsetBytes
in 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:
getCollation
in 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:
getCollationBytes
in 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:
getLength
in 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:
getPrecision
in 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:
getScale
in 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:
getFractionalSecondsPrecision
in 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:
getArray
in 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:
getArrayLength
in interfaceSingleColumnChangeOrBuilder
- Returns:
- The arrayLength.
-
getNullable
public boolean getNullable()
Optional. Is the column nullable.
bool nullable = 10 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getNullable
in 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:
getAutoGenerated
in 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:
getUdt
in 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:
hasCustomFeatures
in 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:
getCustomFeatures
in 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:
getCustomFeaturesOrBuilder
in 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:
getSetValuesList
in 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:
getSetValuesCount
in 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:
getSetValues
in 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:
getSetValuesBytes
in 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:
getComment
in 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:
getCommentBytes
in interfaceSingleColumnChangeOrBuilder
- Returns:
- The bytes for comment.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SingleColumnChange.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public SingleColumnChange getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-