public final class MultiColumnDatatypeChange extends 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 type google.cloud.clouddms.v1.MultiColumnDatatypeChange
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CUSTOM_FEATURES_FIELD_NUMBER
public static final int CUSTOM_FEATURES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NEW_DATA_TYPE_FIELD_NUMBER
public static final int NEW_DATA_TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
OVERRIDE_FRACTIONAL_SECONDS_PRECISION_FIELD_NUMBER
public static final int OVERRIDE_FRACTIONAL_SECONDS_PRECISION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
OVERRIDE_LENGTH_FIELD_NUMBER
public static final int OVERRIDE_LENGTH_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
OVERRIDE_PRECISION_FIELD_NUMBER
public static final int OVERRIDE_PRECISION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
OVERRIDE_SCALE_FIELD_NUMBER
public static final int OVERRIDE_SCALE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SOURCE_DATA_TYPE_FILTER_FIELD_NUMBER
public static final int SOURCE_DATA_TYPE_FILTER_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SOURCE_NUMERIC_FILTER_FIELD_NUMBER
public static final int SOURCE_NUMERIC_FILTER_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SOURCE_TEXT_FILTER_FIELD_NUMBER
public static final int SOURCE_TEXT_FILTER_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static MultiColumnDatatypeChange getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static MultiColumnDatatypeChange.Builder newBuilder()
newBuilder(MultiColumnDatatypeChange prototype)
public static MultiColumnDatatypeChange.Builder newBuilder(MultiColumnDatatypeChange prototype)
public static MultiColumnDatatypeChange parseDelimitedFrom(InputStream input)
public static MultiColumnDatatypeChange parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static MultiColumnDatatypeChange parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MultiColumnDatatypeChange parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static MultiColumnDatatypeChange parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MultiColumnDatatypeChange parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MultiColumnDatatypeChange parseFrom(CodedInputStream input)
public static MultiColumnDatatypeChange parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MultiColumnDatatypeChange parseFrom(InputStream input)
public static MultiColumnDatatypeChange parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static MultiColumnDatatypeChange parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MultiColumnDatatypeChange parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<MultiColumnDatatypeChange> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getCustomFeatures()
public Struct getCustomFeatures()
Optional. Custom engine specific features.
.google.protobuf.Struct custom_features = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
Struct | The customFeatures.
|
getCustomFeaturesOrBuilder()
public StructOrBuilder getCustomFeaturesOrBuilder()
Optional. Custom engine specific features.
.google.protobuf.Struct custom_features = 7 [(.google.api.field_behavior) = OPTIONAL];
getDefaultInstanceForType()
public MultiColumnDatatypeChange getDefaultInstanceForType()
getNewDataType()
public String getNewDataType()
Required. New data type.
string new_data_type = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
String | The newDataType.
|
getNewDataTypeBytes()
public ByteString getNewDataTypeBytes()
Required. New data type.
string new_data_type = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ByteString | The bytes for newDataType.
|
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];
Returns |
---|
Type | Description |
int | The overrideFractionalSecondsPrecision.
|
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];
Returns |
---|
Type | Description |
long | The overrideLength.
|
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];
Returns |
---|
Type | Description |
int | The overridePrecision.
|
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];
Returns |
---|
Type | Description |
int | The overrideScale.
|
getParserForType()
public Parser<MultiColumnDatatypeChange> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getSourceDataTypeFilter()
public String getSourceDataTypeFilter()
Required. Filter on source data type.
string source_data_type_filter = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
String | The sourceDataTypeFilter.
|
getSourceDataTypeFilterBytes()
public ByteString getSourceDataTypeFilterBytes()
Required. Filter on source data type.
string source_data_type_filter = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ByteString | The bytes for sourceDataTypeFilter.
|
getSourceFilterCase()
public MultiColumnDatatypeChange.SourceFilterCase getSourceFilterCase()
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];
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];
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];
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];
hasCustomFeatures()
public boolean hasCustomFeatures()
Optional. Custom engine specific features.
.google.protobuf.Struct custom_features = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
boolean | Whether the customFeatures field is set.
|
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];
Returns |
---|
Type | Description |
boolean | Whether the sourceNumericFilter field is set.
|
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];
Returns |
---|
Type | Description |
boolean | Whether the sourceTextFilter field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public MultiColumnDatatypeChange.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MultiColumnDatatypeChange.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public MultiColumnDatatypeChange.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides