Class MultiColumnDatatypeChange (2.32.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
TypeDescription
int

NEW_DATA_TYPE_FIELD_NUMBER

public static final int NEW_DATA_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

OVERRIDE_FRACTIONAL_SECONDS_PRECISION_FIELD_NUMBER

public static final int OVERRIDE_FRACTIONAL_SECONDS_PRECISION_FIELD_NUMBER
Field Value
TypeDescription
int

OVERRIDE_LENGTH_FIELD_NUMBER

public static final int OVERRIDE_LENGTH_FIELD_NUMBER
Field Value
TypeDescription
int

OVERRIDE_PRECISION_FIELD_NUMBER

public static final int OVERRIDE_PRECISION_FIELD_NUMBER
Field Value
TypeDescription
int

OVERRIDE_SCALE_FIELD_NUMBER

public static final int OVERRIDE_SCALE_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_DATA_TYPE_FILTER_FIELD_NUMBER

public static final int SOURCE_DATA_TYPE_FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_NUMERIC_FILTER_FIELD_NUMBER

public static final int SOURCE_NUMERIC_FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_TEXT_FILTER_FIELD_NUMBER

public static final int SOURCE_TEXT_FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MultiColumnDatatypeChange getDefaultInstance()
Returns
TypeDescription
MultiColumnDatatypeChange

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static MultiColumnDatatypeChange.Builder newBuilder()
Returns
TypeDescription
MultiColumnDatatypeChange.Builder

newBuilder(MultiColumnDatatypeChange prototype)

public static MultiColumnDatatypeChange.Builder newBuilder(MultiColumnDatatypeChange prototype)
Parameter
NameDescription
prototypeMultiColumnDatatypeChange
Returns
TypeDescription
MultiColumnDatatypeChange.Builder

parseDelimitedFrom(InputStream input)

public static MultiColumnDatatypeChange parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MultiColumnDatatypeChange
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MultiColumnDatatypeChange parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MultiColumnDatatypeChange
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static MultiColumnDatatypeChange parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
MultiColumnDatatypeChange
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MultiColumnDatatypeChange parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MultiColumnDatatypeChange
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MultiColumnDatatypeChange parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
MultiColumnDatatypeChange
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MultiColumnDatatypeChange parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MultiColumnDatatypeChange
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MultiColumnDatatypeChange parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
MultiColumnDatatypeChange
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MultiColumnDatatypeChange parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MultiColumnDatatypeChange
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static MultiColumnDatatypeChange parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MultiColumnDatatypeChange
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MultiColumnDatatypeChange parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MultiColumnDatatypeChange
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static MultiColumnDatatypeChange parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
MultiColumnDatatypeChange
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MultiColumnDatatypeChange parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MultiColumnDatatypeChange
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<MultiColumnDatatypeChange> parser()
Returns
TypeDescription
Parser<MultiColumnDatatypeChange>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCustomFeatures()

public Struct getCustomFeatures()

Optional. Custom engine specific features.

.google.protobuf.Struct custom_features = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Struct

The customFeatures.

getCustomFeaturesOrBuilder()

public StructOrBuilder getCustomFeaturesOrBuilder()

Optional. Custom engine specific features.

.google.protobuf.Struct custom_features = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
StructOrBuilder

getDefaultInstanceForType()

public MultiColumnDatatypeChange getDefaultInstanceForType()
Returns
TypeDescription
MultiColumnDatatypeChange

getNewDataType()

public String getNewDataType()

Required. New data type.

string new_data_type = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The newDataType.

getNewDataTypeBytes()

public ByteString getNewDataTypeBytes()

Required. New data type.

string new_data_type = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The overrideScale.

getParserForType()

public Parser<MultiColumnDatatypeChange> getParserForType()
Returns
TypeDescription
Parser<MultiColumnDatatypeChange>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSourceDataTypeFilter()

public String getSourceDataTypeFilter()

Required. Filter on source data type.

string source_data_type_filter = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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
TypeDescription
ByteString

The bytes for sourceDataTypeFilter.

getSourceFilterCase()

public MultiColumnDatatypeChange.SourceFilterCase getSourceFilterCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
SourceTextFilterOrBuilder

hasCustomFeatures()

public boolean hasCustomFeatures()

Optional. Custom engine specific features.

.google.protobuf.Struct custom_features = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the sourceTextFilter field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public MultiColumnDatatypeChange.Builder newBuilderForType()
Returns
TypeDescription
MultiColumnDatatypeChange.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MultiColumnDatatypeChange.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
MultiColumnDatatypeChange.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public MultiColumnDatatypeChange.Builder toBuilder()
Returns
TypeDescription
MultiColumnDatatypeChange.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException