Class ConditionalColumnSetValue (2.35.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
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

VALUE_TRANSFORMATION_FIELD_NUMBER

public static final int VALUE_TRANSFORMATION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ConditionalColumnSetValue getDefaultInstance()
Returns
TypeDescription
ConditionalColumnSetValue

getDescriptor()

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

newBuilder()

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

newBuilder(ConditionalColumnSetValue prototype)

public static ConditionalColumnSetValue.Builder newBuilder(ConditionalColumnSetValue prototype)
Parameter
NameDescription
prototypeConditionalColumnSetValue
Returns
TypeDescription
ConditionalColumnSetValue.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

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

Returns
TypeDescription
Struct

The customFeatures.

getCustomFeaturesOrBuilder()

public StructOrBuilder getCustomFeaturesOrBuilder()

Optional. Custom engine specific features.

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

Returns
TypeDescription
StructOrBuilder

getDefaultInstanceForType()

public ConditionalColumnSetValue getDefaultInstanceForType()
Returns
TypeDescription
ConditionalColumnSetValue

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSourceFilterCase()

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

hasCustomFeatures()

public boolean hasCustomFeatures()

Optional. Custom engine specific features.

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

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

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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