Class ConditionalColumnSetValue (2.44.0)

public final class ConditionalColumnSetValue extends GeneratedMessageV3 implements ConditionalColumnSetValueOrBuilder

Options to configure rule type ConditionalColumnSetValue. The rule is used to transform the data which is being replicated/migrated.

The rule filter field can refer to one or more entities.

The rule scope can be one of: Column.

Protobuf type google.cloud.clouddms.v1.ConditionalColumnSetValue

Static Fields

CUSTOM_FEATURES_FIELD_NUMBER

public static final int CUSTOM_FEATURES_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

VALUE_TRANSFORMATION_FIELD_NUMBER

public static final int VALUE_TRANSFORMATION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ConditionalColumnSetValue getDefaultInstance()
Returns
Type Description
ConditionalColumnSetValue

getDescriptor()

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

newBuilder()

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

newBuilder(ConditionalColumnSetValue prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

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 = 2 [(.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 = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StructOrBuilder

getDefaultInstanceForType()

public ConditionalColumnSetValue getDefaultInstanceForType()
Returns
Type Description
ConditionalColumnSetValue

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSourceFilterCase()

public ConditionalColumnSetValue.SourceFilterCase getSourceFilterCase()
Returns
Type Description
ConditionalColumnSetValue.SourceFilterCase

getSourceNumericFilter()

public SourceNumericFilter getSourceNumericFilter()

Optional. Optional filter on source column precision and scale. Used for fixed point numbers such as NUMERIC/NUMBER data types.

.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. Optional filter on source column precision and scale. Used for fixed point numbers such as NUMERIC/NUMBER data types.

.google.cloud.clouddms.v1.SourceNumericFilter source_numeric_filter = 101 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SourceNumericFilterOrBuilder

getSourceTextFilter()

public SourceTextFilter getSourceTextFilter()

Optional. Optional filter on source column length. Used 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. Optional filter on source column length. Used 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

getValueTransformation()

public ValueTransformation getValueTransformation()

Required. Description of data transformation during migration.

.google.cloud.clouddms.v1.ValueTransformation value_transformation = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ValueTransformation

The valueTransformation.

getValueTransformationOrBuilder()

public ValueTransformationOrBuilder getValueTransformationOrBuilder()

Required. Description of data transformation during migration.

.google.cloud.clouddms.v1.ValueTransformation value_transformation = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ValueTransformationOrBuilder

hasCustomFeatures()

public boolean hasCustomFeatures()

Optional. Custom engine specific features.

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

Returns
Type Description
boolean

Whether the customFeatures field is set.

hasSourceNumericFilter()

public boolean hasSourceNumericFilter()

Optional. Optional filter on source column precision and scale. Used for fixed point numbers such as NUMERIC/NUMBER data types.

.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. Optional filter on source column length. Used 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.

hasValueTransformation()

public boolean hasValueTransformation()

Required. Description of data transformation during migration.

.google.cloud.clouddms.v1.ValueTransformation value_transformation = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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