Class SingleColumnChange (2.53.0)

public final class SingleColumnChange extends GeneratedMessageV3 implements SingleColumnChangeOrBuilder

Options to configure rule type SingleColumnChange. The rule is used to change the properties of a column.

The rule filter field can refer to one entity.

The rule scope can be one of: Column.

When using this rule, if a field is not specified than the destination column's configuration will be the same as the one in the source column..

Protobuf type google.cloud.clouddms.v1.SingleColumnChange

Static Fields

ARRAY_FIELD_NUMBER

public static final int ARRAY_FIELD_NUMBER
Field Value
Type Description
int

ARRAY_LENGTH_FIELD_NUMBER

public static final int ARRAY_LENGTH_FIELD_NUMBER
Field Value
Type Description
int

AUTO_GENERATED_FIELD_NUMBER

public static final int AUTO_GENERATED_FIELD_NUMBER
Field Value
Type Description
int

CHARSET_FIELD_NUMBER

public static final int CHARSET_FIELD_NUMBER
Field Value
Type Description
int

COLLATION_FIELD_NUMBER

public static final int COLLATION_FIELD_NUMBER
Field Value
Type Description
int

COMMENT_FIELD_NUMBER

public static final int COMMENT_FIELD_NUMBER
Field Value
Type Description
int

CUSTOM_FEATURES_FIELD_NUMBER

public static final int CUSTOM_FEATURES_FIELD_NUMBER
Field Value
Type Description
int

DATA_TYPE_FIELD_NUMBER

public static final int DATA_TYPE_FIELD_NUMBER
Field Value
Type Description
int

FRACTIONAL_SECONDS_PRECISION_FIELD_NUMBER

public static final int FRACTIONAL_SECONDS_PRECISION_FIELD_NUMBER
Field Value
Type Description
int

LENGTH_FIELD_NUMBER

public static final int LENGTH_FIELD_NUMBER
Field Value
Type Description
int

NULLABLE_FIELD_NUMBER

public static final int NULLABLE_FIELD_NUMBER
Field Value
Type Description
int

PRECISION_FIELD_NUMBER

public static final int PRECISION_FIELD_NUMBER
Field Value
Type Description
int

SCALE_FIELD_NUMBER

public static final int SCALE_FIELD_NUMBER
Field Value
Type Description
int

SET_VALUES_FIELD_NUMBER

public static final int SET_VALUES_FIELD_NUMBER
Field Value
Type Description
int

UDT_FIELD_NUMBER

public static final int UDT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SingleColumnChange getDefaultInstance()
Returns
Type Description
SingleColumnChange

getDescriptor()

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

newBuilder()

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

newBuilder(SingleColumnChange prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getArray()

public boolean getArray()

Optional. Is the column of array type.

bool array = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The array.

getArrayLength()

public int getArrayLength()

Optional. The length of the array, only relevant if the column type is an array.

int32 array_length = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The arrayLength.

getAutoGenerated()

public boolean getAutoGenerated()

Optional. Is the column auto-generated/identity.

bool auto_generated = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The autoGenerated.

getCharset()

public String getCharset()

Optional. Charset override - instead of table level charset.

string charset = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The charset.

getCharsetBytes()

public ByteString getCharsetBytes()

Optional. Charset override - instead of table level charset.

string charset = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for charset.

getCollation()

public String getCollation()

Optional. Collation override - instead of table level collation.

string collation = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The collation.

getCollationBytes()

public ByteString getCollationBytes()

Optional. Collation override - instead of table level collation.

string collation = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for collation.

getComment()

public String getComment()

Optional. Comment associated with the column.

string comment = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The comment.

getCommentBytes()

public ByteString getCommentBytes()

Optional. Comment associated with the column.

string comment = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for comment.

getCustomFeatures()

public Struct getCustomFeatures()

Optional. Custom engine specific features.

.google.protobuf.Struct custom_features = 13 [(.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 = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StructOrBuilder

getDataType()

public String getDataType()

Optional. Column data type name.

string data_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The dataType.

getDataTypeBytes()

public ByteString getDataTypeBytes()

Optional. Column data type name.

string data_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for dataType.

getDefaultInstanceForType()

public SingleColumnChange getDefaultInstanceForType()
Returns
Type Description
SingleColumnChange

getFractionalSecondsPrecision()

public int getFractionalSecondsPrecision()

Optional. Column fractional seconds precision - e.g. 2 as in timestamp (2)

  • when relevant.

int32 fractional_seconds_precision = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The fractionalSecondsPrecision.

getLength()

public long getLength()

Optional. Column length - e.g. 50 as in varchar (50) - when relevant.

int64 length = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The length.

getNullable()

public boolean getNullable()

Optional. Is the column nullable.

bool nullable = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The nullable.

getParserForType()

public Parser<SingleColumnChange> getParserForType()
Returns
Type Description
Parser<SingleColumnChange>
Overrides

getPrecision()

public int getPrecision()

Optional. Column precision - e.g. 8 as in double (8,2) - when relevant.

int32 precision = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The precision.

getScale()

public int getScale()

Optional. Column scale - e.g. 2 as in double (8,2) - when relevant.

int32 scale = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The scale.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSetValues(int index)

public String getSetValues(int index)

Optional. Specifies the list of values allowed in the column.

repeated string set_values = 14 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The setValues at the given index.

getSetValuesBytes(int index)

public ByteString getSetValuesBytes(int index)

Optional. Specifies the list of values allowed in the column.

repeated string set_values = 14 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the setValues at the given index.

getSetValuesCount()

public int getSetValuesCount()

Optional. Specifies the list of values allowed in the column.

repeated string set_values = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of setValues.

getSetValuesList()

public ProtocolStringList getSetValuesList()

Optional. Specifies the list of values allowed in the column.

repeated string set_values = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the setValues.

getUdt()

public boolean getUdt()

Optional. Is the column a UDT (User-defined Type).

bool udt = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The udt.

hasCustomFeatures()

public boolean hasCustomFeatures()

Optional. Custom engine specific features.

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

Returns
Type Description
boolean

Whether the customFeatures 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 SingleColumnChange.Builder newBuilderForType()
Returns
Type Description
SingleColumnChange.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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