Class MultiColumnDatatypeChange (2.48.0)

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

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()
Returns
Type Description
MultiColumnDatatypeChange

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static MultiColumnDatatypeChange.Builder newBuilder()
Returns
Type Description
MultiColumnDatatypeChange.Builder

newBuilder(MultiColumnDatatypeChange prototype)

public static MultiColumnDatatypeChange.Builder newBuilder(MultiColumnDatatypeChange prototype)
Parameter
Name Description
prototype MultiColumnDatatypeChange
Returns
Type Description
MultiColumnDatatypeChange.Builder

parseDelimitedFrom(InputStream input)

public static MultiColumnDatatypeChange parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MultiColumnDatatypeChange
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MultiColumnDatatypeChange parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MultiColumnDatatypeChange
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static MultiColumnDatatypeChange parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
MultiColumnDatatypeChange
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MultiColumnDatatypeChange parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MultiColumnDatatypeChange
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MultiColumnDatatypeChange parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
MultiColumnDatatypeChange
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MultiColumnDatatypeChange parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MultiColumnDatatypeChange
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MultiColumnDatatypeChange parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
MultiColumnDatatypeChange
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MultiColumnDatatypeChange parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MultiColumnDatatypeChange
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static MultiColumnDatatypeChange parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MultiColumnDatatypeChange
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MultiColumnDatatypeChange parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MultiColumnDatatypeChange
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static MultiColumnDatatypeChange parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
MultiColumnDatatypeChange
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MultiColumnDatatypeChange parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MultiColumnDatatypeChange
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<MultiColumnDatatypeChange> parser()
Returns
Type Description
Parser<MultiColumnDatatypeChange>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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];

Returns
Type Description
StructOrBuilder

getDefaultInstanceForType()

public MultiColumnDatatypeChange getDefaultInstanceForType()
Returns
Type Description
MultiColumnDatatypeChange

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()
Returns
Type Description
Parser<MultiColumnDatatypeChange>
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()
Returns
Type Description
MultiColumnDatatypeChange.SourceFilterCase

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];

Returns
Type Description
SourceNumericFilter

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];

Returns
Type Description
SourceNumericFilterOrBuilder

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];

Returns
Type Description
SourceTextFilter

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];

Returns
Type Description
SourceTextFilterOrBuilder

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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public MultiColumnDatatypeChange.Builder newBuilderForType()
Returns
Type Description
MultiColumnDatatypeChange.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MultiColumnDatatypeChange.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
MultiColumnDatatypeChange.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public MultiColumnDatatypeChange.Builder toBuilder()
Returns
Type Description
MultiColumnDatatypeChange.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException