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
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>)
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 | |
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SingleColumnChange.Builder newBuilder()
newBuilder(SingleColumnChange prototype)
public static SingleColumnChange.Builder newBuilder(SingleColumnChange prototype)
public static SingleColumnChange parseDelimitedFrom(InputStream input)
public static SingleColumnChange parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SingleColumnChange parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SingleColumnChange parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SingleColumnChange parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SingleColumnChange parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SingleColumnChange parseFrom(CodedInputStream input)
public static SingleColumnChange parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SingleColumnChange parseFrom(InputStream input)
public static SingleColumnChange parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SingleColumnChange parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SingleColumnChange parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SingleColumnChange> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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.
|
public String getComment()
Optional. Comment associated with the column.
string comment = 15 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
String | The comment.
|
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];
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()
getFractionalSecondsPrecision()
public int getFractionalSecondsPrecision()
Optional. Column fractional seconds precision - e.g. 2 as in timestamp (2)
int32 fractional_seconds_precision = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
int | The fractionalSecondsPrecision.
|
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()
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()
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];
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()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SingleColumnChange.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SingleColumnChange.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public SingleColumnChange.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides