Class SingleColumnChange (2.27.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
TypeDescription
int

ARRAY_LENGTH_FIELD_NUMBER

public static final int ARRAY_LENGTH_FIELD_NUMBER
Field Value
TypeDescription
int

AUTO_GENERATED_FIELD_NUMBER

public static final int AUTO_GENERATED_FIELD_NUMBER
Field Value
TypeDescription
int

CHARSET_FIELD_NUMBER

public static final int CHARSET_FIELD_NUMBER
Field Value
TypeDescription
int

COLLATION_FIELD_NUMBER

public static final int COLLATION_FIELD_NUMBER
Field Value
TypeDescription
int

COMMENT_FIELD_NUMBER

public static final int COMMENT_FIELD_NUMBER
Field Value
TypeDescription
int

CUSTOM_FEATURES_FIELD_NUMBER

public static final int CUSTOM_FEATURES_FIELD_NUMBER
Field Value
TypeDescription
int

DATA_TYPE_FIELD_NUMBER

public static final int DATA_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

FRACTIONAL_SECONDS_PRECISION_FIELD_NUMBER

public static final int FRACTIONAL_SECONDS_PRECISION_FIELD_NUMBER
Field Value
TypeDescription
int

LENGTH_FIELD_NUMBER

public static final int LENGTH_FIELD_NUMBER
Field Value
TypeDescription
int

NULLABLE_FIELD_NUMBER

public static final int NULLABLE_FIELD_NUMBER
Field Value
TypeDescription
int

PRECISION_FIELD_NUMBER

public static final int PRECISION_FIELD_NUMBER
Field Value
TypeDescription
int

SCALE_FIELD_NUMBER

public static final int SCALE_FIELD_NUMBER
Field Value
TypeDescription
int

SET_VALUES_FIELD_NUMBER

public static final int SET_VALUES_FIELD_NUMBER
Field Value
TypeDescription
int

UDT_FIELD_NUMBER

public static final int UDT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SingleColumnChange getDefaultInstance()
Returns
TypeDescription
SingleColumnChange

getDescriptor()

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

newBuilder()

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

newBuilder(SingleColumnChange prototype)

public static SingleColumnChange.Builder newBuilder(SingleColumnChange prototype)
Parameter
NameDescription
prototypeSingleColumnChange
Returns
TypeDescription
SingleColumnChange.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getArray()

public boolean getArray()

Optional. Is the column of array type.

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

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

The arrayLength.

getAutoGenerated()

public boolean getAutoGenerated()

Optional. Is the column auto-generated/identity.

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

Returns
TypeDescription
boolean

The autoGenerated.

getCharset()

public String getCharset()

Optional. Charset override - instead of table level charset.

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

Returns
TypeDescription
String

The charset.

getCharsetBytes()

public ByteString getCharsetBytes()

Optional. Charset override - instead of table level charset.

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

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

The collation.

getCollationBytes()

public ByteString getCollationBytes()

Optional. Collation override - instead of table level collation.

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

Returns
TypeDescription
ByteString

The bytes for collation.

getComment()

public String getComment()

Optional. Comment associated with the column.

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

Returns
TypeDescription
String

The comment.

getCommentBytes()

public ByteString getCommentBytes()

Optional. Comment associated with the column.

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

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

The customFeatures.

getCustomFeaturesOrBuilder()

public StructOrBuilder getCustomFeaturesOrBuilder()

Optional. Custom engine specific features.

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

Returns
TypeDescription
StructOrBuilder

getDataType()

public String getDataType()

Optional. Column data type name.

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

Returns
TypeDescription
String

The dataType.

getDataTypeBytes()

public ByteString getDataTypeBytes()

Optional. Column data type name.

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

Returns
TypeDescription
ByteString

The bytes for dataType.

getDefaultInstanceForType()

public SingleColumnChange getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
long

The length.

getNullable()

public boolean getNullable()

Optional. Is the column nullable.

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

Returns
TypeDescription
boolean

The nullable.

getParserForType()

public Parser<SingleColumnChange> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The scale.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

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

The udt.

hasCustomFeatures()

public boolean hasCustomFeatures()

Optional. Custom engine specific features.

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

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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