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 classMultiColumnDatatypeChange.BuilderOptions to configure rule type MultiColumnDatatypeChange.static classMultiColumnDatatypeChange.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 intCUSTOM_FEATURES_FIELD_NUMBERstatic intNEW_DATA_TYPE_FIELD_NUMBERstatic intOVERRIDE_FRACTIONAL_SECONDS_PRECISION_FIELD_NUMBERstatic intOVERRIDE_LENGTH_FIELD_NUMBERstatic intOVERRIDE_PRECISION_FIELD_NUMBERstatic intOVERRIDE_SCALE_FIELD_NUMBERstatic intSOURCE_DATA_TYPE_FILTER_FIELD_NUMBERstatic intSOURCE_NUMERIC_FILTER_FIELD_NUMBERstatic intSOURCE_TEXT_FILTER_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)com.google.protobuf.StructgetCustomFeatures()Optional.com.google.protobuf.StructOrBuildergetCustomFeaturesOrBuilder()Optional.static MultiColumnDatatypeChangegetDefaultInstance()MultiColumnDatatypeChangegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetNewDataType()Required.com.google.protobuf.ByteStringgetNewDataTypeBytes()Required.intgetOverrideFractionalSecondsPrecision()Optional.longgetOverrideLength()Optional.intgetOverridePrecision()Optional.intgetOverrideScale()Optional.com.google.protobuf.Parser<MultiColumnDatatypeChange>getParserForType()intgetSerializedSize()StringgetSourceDataTypeFilter()Required.com.google.protobuf.ByteStringgetSourceDataTypeFilterBytes()Required.MultiColumnDatatypeChange.SourceFilterCasegetSourceFilterCase()SourceNumericFiltergetSourceNumericFilter()Optional.SourceNumericFilterOrBuildergetSourceNumericFilterOrBuilder()Optional.SourceTextFiltergetSourceTextFilter()Optional.SourceTextFilterOrBuildergetSourceTextFilterOrBuilder()Optional.booleanhasCustomFeatures()Optional.inthashCode()booleanhasSourceNumericFilter()Optional.booleanhasSourceTextFilter()Optional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static MultiColumnDatatypeChange.BuildernewBuilder()static MultiColumnDatatypeChange.BuildernewBuilder(MultiColumnDatatypeChange prototype)MultiColumnDatatypeChange.BuildernewBuilderForType()protected MultiColumnDatatypeChange.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static MultiColumnDatatypeChangeparseDelimitedFrom(InputStream input)static MultiColumnDatatypeChangeparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MultiColumnDatatypeChangeparseFrom(byte[] data)static MultiColumnDatatypeChangeparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MultiColumnDatatypeChangeparseFrom(com.google.protobuf.ByteString data)static MultiColumnDatatypeChangeparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MultiColumnDatatypeChangeparseFrom(com.google.protobuf.CodedInputStream input)static MultiColumnDatatypeChangeparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MultiColumnDatatypeChangeparseFrom(InputStream input)static MultiColumnDatatypeChangeparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MultiColumnDatatypeChangeparseFrom(ByteBuffer data)static MultiColumnDatatypeChangeparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<MultiColumnDatatypeChange>parser()MultiColumnDatatypeChange.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
-
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:
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
-
getSourceFilterCase
public MultiColumnDatatypeChange.SourceFilterCase getSourceFilterCase()
- Specified by:
getSourceFilterCasein interfaceMultiColumnDatatypeChangeOrBuilder
-
getSourceDataTypeFilter
public String getSourceDataTypeFilter()
Required. Filter on source data type.
string source_data_type_filter = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getSourceDataTypeFilterin 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:
getSourceDataTypeFilterBytesin 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:
hasSourceTextFilterin 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:
getSourceTextFilterin 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:
getSourceTextFilterOrBuilderin 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:
hasSourceNumericFilterin 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:
getSourceNumericFilterin 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:
getSourceNumericFilterOrBuilderin interfaceMultiColumnDatatypeChangeOrBuilder
-
getNewDataType
public String getNewDataType()
Required. New data type.
string new_data_type = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNewDataTypein 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:
getNewDataTypeBytesin 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:
getOverrideLengthin 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:
getOverrideScalein 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:
getOverridePrecisionin 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:
getOverrideFractionalSecondsPrecisionin 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:
hasCustomFeaturesin 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:
getCustomFeaturesin 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:
getCustomFeaturesOrBuilderin interfaceMultiColumnDatatypeChangeOrBuilder
-
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 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein 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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MultiColumnDatatypeChange.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein 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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public MultiColumnDatatypeChange getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-