Package com.google.cloud.clouddms.v1
Class MultiColumnDatatypeChange
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.clouddms.v1.MultiColumnDatatypeChange
-
- All Implemented Interfaces:
MultiColumnDatatypeChangeOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class MultiColumnDatatypeChange extends com.google.protobuf.GeneratedMessageV3 implements MultiColumnDatatypeChangeOrBuilder
Options to configure rule type MultiColumnDatatypeChange. The rule is used to change the data type and associated properties of multiple columns at once. The rule filter field can refer to one or more entities. The rule scope can be one of:Column. This rule requires additional filters to be specified beyond the basic rule filter field, which is the source data type, but the rule supports additional filtering capabilities such as the minimum and maximum field length. All additional filters which are specified are required to be met in order for the rule to be applied (logical AND between the fields).
Protobuf typegoogle.cloud.clouddms.v1.MultiColumnDatatypeChange
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MultiColumnDatatypeChange.Builder
Options to configure rule type MultiColumnDatatypeChange.static class
MultiColumnDatatypeChange.SourceFilterCase
-
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
CUSTOM_FEATURES_FIELD_NUMBER
static int
NEW_DATA_TYPE_FIELD_NUMBER
static int
OVERRIDE_FRACTIONAL_SECONDS_PRECISION_FIELD_NUMBER
static int
OVERRIDE_LENGTH_FIELD_NUMBER
static int
OVERRIDE_PRECISION_FIELD_NUMBER
static int
OVERRIDE_SCALE_FIELD_NUMBER
static int
SOURCE_DATA_TYPE_FILTER_FIELD_NUMBER
static int
SOURCE_NUMERIC_FILTER_FIELD_NUMBER
static int
SOURCE_TEXT_FILTER_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
com.google.protobuf.Struct
getCustomFeatures()
Optional.com.google.protobuf.StructOrBuilder
getCustomFeaturesOrBuilder()
Optional.static MultiColumnDatatypeChange
getDefaultInstance()
MultiColumnDatatypeChange
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getNewDataType()
Required.com.google.protobuf.ByteString
getNewDataTypeBytes()
Required.int
getOverrideFractionalSecondsPrecision()
Optional.long
getOverrideLength()
Optional.int
getOverridePrecision()
Optional.int
getOverrideScale()
Optional.com.google.protobuf.Parser<MultiColumnDatatypeChange>
getParserForType()
int
getSerializedSize()
String
getSourceDataTypeFilter()
Required.com.google.protobuf.ByteString
getSourceDataTypeFilterBytes()
Required.MultiColumnDatatypeChange.SourceFilterCase
getSourceFilterCase()
SourceNumericFilter
getSourceNumericFilter()
Optional.SourceNumericFilterOrBuilder
getSourceNumericFilterOrBuilder()
Optional.SourceTextFilter
getSourceTextFilter()
Optional.SourceTextFilterOrBuilder
getSourceTextFilterOrBuilder()
Optional.boolean
hasCustomFeatures()
Optional.int
hashCode()
boolean
hasSourceNumericFilter()
Optional.boolean
hasSourceTextFilter()
Optional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static MultiColumnDatatypeChange.Builder
newBuilder()
static MultiColumnDatatypeChange.Builder
newBuilder(MultiColumnDatatypeChange prototype)
MultiColumnDatatypeChange.Builder
newBuilderForType()
protected MultiColumnDatatypeChange.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static MultiColumnDatatypeChange
parseDelimitedFrom(InputStream input)
static MultiColumnDatatypeChange
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MultiColumnDatatypeChange
parseFrom(byte[] data)
static MultiColumnDatatypeChange
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MultiColumnDatatypeChange
parseFrom(com.google.protobuf.ByteString data)
static MultiColumnDatatypeChange
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MultiColumnDatatypeChange
parseFrom(com.google.protobuf.CodedInputStream input)
static MultiColumnDatatypeChange
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MultiColumnDatatypeChange
parseFrom(InputStream input)
static MultiColumnDatatypeChange
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MultiColumnDatatypeChange
parseFrom(ByteBuffer data)
static MultiColumnDatatypeChange
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<MultiColumnDatatypeChange>
parser()
MultiColumnDatatypeChange.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
-
SOURCE_DATA_TYPE_FILTER_FIELD_NUMBER
public static final int SOURCE_DATA_TYPE_FILTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_TEXT_FILTER_FIELD_NUMBER
public static final int SOURCE_TEXT_FILTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_NUMERIC_FILTER_FIELD_NUMBER
public static final int SOURCE_NUMERIC_FILTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NEW_DATA_TYPE_FIELD_NUMBER
public static final int NEW_DATA_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OVERRIDE_LENGTH_FIELD_NUMBER
public static final int OVERRIDE_LENGTH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OVERRIDE_SCALE_FIELD_NUMBER
public static final int OVERRIDE_SCALE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OVERRIDE_PRECISION_FIELD_NUMBER
public static final int OVERRIDE_PRECISION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OVERRIDE_FRACTIONAL_SECONDS_PRECISION_FIELD_NUMBER
public static final int OVERRIDE_FRACTIONAL_SECONDS_PRECISION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CUSTOM_FEATURES_FIELD_NUMBER
public static final int CUSTOM_FEATURES_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
-
getSourceFilterCase
public MultiColumnDatatypeChange.SourceFilterCase getSourceFilterCase()
- Specified by:
getSourceFilterCase
in interfaceMultiColumnDatatypeChangeOrBuilder
-
getSourceDataTypeFilter
public String getSourceDataTypeFilter()
Required. Filter on source data type.
string source_data_type_filter = 1 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getSourceDataTypeFilter
in interfaceMultiColumnDatatypeChangeOrBuilder
- Returns:
- The sourceDataTypeFilter.
-
getSourceDataTypeFilterBytes
public com.google.protobuf.ByteString getSourceDataTypeFilterBytes()
Required. Filter on source data type.
string source_data_type_filter = 1 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getSourceDataTypeFilterBytes
in interfaceMultiColumnDatatypeChangeOrBuilder
- Returns:
- The bytes for sourceDataTypeFilter.
-
hasSourceTextFilter
public boolean hasSourceTextFilter()
Optional. Filter for text-based data types like varchar.
.google.cloud.clouddms.v1.SourceTextFilter source_text_filter = 100 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasSourceTextFilter
in interfaceMultiColumnDatatypeChangeOrBuilder
- Returns:
- Whether the sourceTextFilter field is set.
-
getSourceTextFilter
public SourceTextFilter getSourceTextFilter()
Optional. Filter for text-based data types like varchar.
.google.cloud.clouddms.v1.SourceTextFilter source_text_filter = 100 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSourceTextFilter
in interfaceMultiColumnDatatypeChangeOrBuilder
- Returns:
- The sourceTextFilter.
-
getSourceTextFilterOrBuilder
public SourceTextFilterOrBuilder getSourceTextFilterOrBuilder()
Optional. Filter for text-based data types like varchar.
.google.cloud.clouddms.v1.SourceTextFilter source_text_filter = 100 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSourceTextFilterOrBuilder
in interfaceMultiColumnDatatypeChangeOrBuilder
-
hasSourceNumericFilter
public boolean hasSourceNumericFilter()
Optional. Filter for fixed point number data types such as NUMERIC/NUMBER.
.google.cloud.clouddms.v1.SourceNumericFilter source_numeric_filter = 101 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasSourceNumericFilter
in interfaceMultiColumnDatatypeChangeOrBuilder
- Returns:
- Whether the sourceNumericFilter field is set.
-
getSourceNumericFilter
public SourceNumericFilter getSourceNumericFilter()
Optional. Filter for fixed point number data types such as NUMERIC/NUMBER.
.google.cloud.clouddms.v1.SourceNumericFilter source_numeric_filter = 101 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSourceNumericFilter
in interfaceMultiColumnDatatypeChangeOrBuilder
- Returns:
- The sourceNumericFilter.
-
getSourceNumericFilterOrBuilder
public SourceNumericFilterOrBuilder getSourceNumericFilterOrBuilder()
Optional. Filter for fixed point number data types such as NUMERIC/NUMBER.
.google.cloud.clouddms.v1.SourceNumericFilter source_numeric_filter = 101 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getSourceNumericFilterOrBuilder
in interfaceMultiColumnDatatypeChangeOrBuilder
-
getNewDataType
public String getNewDataType()
Required. New data type.
string new_data_type = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getNewDataType
in interfaceMultiColumnDatatypeChangeOrBuilder
- Returns:
- The newDataType.
-
getNewDataTypeBytes
public com.google.protobuf.ByteString getNewDataTypeBytes()
Required. New data type.
string new_data_type = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getNewDataTypeBytes
in interfaceMultiColumnDatatypeChangeOrBuilder
- Returns:
- The bytes for newDataType.
-
getOverrideLength
public long getOverrideLength()
Optional. Column length - e.g. varchar (50) - if not specified and relevant uses the source column length.
int64 override_length = 3 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getOverrideLength
in interfaceMultiColumnDatatypeChangeOrBuilder
- Returns:
- The overrideLength.
-
getOverrideScale
public int getOverrideScale()
Optional. Column scale - when relevant - if not specified and relevant uses the source column scale.
int32 override_scale = 4 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getOverrideScale
in interfaceMultiColumnDatatypeChangeOrBuilder
- Returns:
- The overrideScale.
-
getOverridePrecision
public int getOverridePrecision()
Optional. Column precision - when relevant - if not specified and relevant uses the source column precision.
int32 override_precision = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getOverridePrecision
in interfaceMultiColumnDatatypeChangeOrBuilder
- Returns:
- The overridePrecision.
-
getOverrideFractionalSecondsPrecision
public int getOverrideFractionalSecondsPrecision()
Optional. Column fractional seconds precision - used only for timestamp based datatypes - if not specified and relevant uses the source column fractional seconds precision.
int32 override_fractional_seconds_precision = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getOverrideFractionalSecondsPrecision
in interfaceMultiColumnDatatypeChangeOrBuilder
- Returns:
- The overrideFractionalSecondsPrecision.
-
hasCustomFeatures
public boolean hasCustomFeatures()
Optional. Custom engine specific features.
.google.protobuf.Struct custom_features = 7 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasCustomFeatures
in interfaceMultiColumnDatatypeChangeOrBuilder
- Returns:
- Whether the customFeatures field is set.
-
getCustomFeatures
public com.google.protobuf.Struct getCustomFeatures()
Optional. Custom engine specific features.
.google.protobuf.Struct custom_features = 7 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getCustomFeatures
in interfaceMultiColumnDatatypeChangeOrBuilder
- Returns:
- The customFeatures.
-
getCustomFeaturesOrBuilder
public com.google.protobuf.StructOrBuilder getCustomFeaturesOrBuilder()
Optional. Custom engine specific features.
.google.protobuf.Struct custom_features = 7 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getCustomFeaturesOrBuilder
in interfaceMultiColumnDatatypeChangeOrBuilder
-
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 MultiColumnDatatypeChange parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MultiColumnDatatypeChange parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MultiColumnDatatypeChange parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MultiColumnDatatypeChange parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MultiColumnDatatypeChange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MultiColumnDatatypeChange parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MultiColumnDatatypeChange parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static MultiColumnDatatypeChange parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static MultiColumnDatatypeChange parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static MultiColumnDatatypeChange parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static MultiColumnDatatypeChange parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static MultiColumnDatatypeChange parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public MultiColumnDatatypeChange.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static MultiColumnDatatypeChange.Builder newBuilder()
-
newBuilder
public static MultiColumnDatatypeChange.Builder newBuilder(MultiColumnDatatypeChange prototype)
-
toBuilder
public MultiColumnDatatypeChange.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MultiColumnDatatypeChange.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static MultiColumnDatatypeChange getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<MultiColumnDatatypeChange> parser()
-
getParserForType
public com.google.protobuf.Parser<MultiColumnDatatypeChange> 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 MultiColumnDatatypeChange getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-