Class ConditionalColumnSetValue.Builder (2.47.0)

public static final class ConditionalColumnSetValue.Builder extends GeneratedMessageV3.Builder<ConditionalColumnSetValue.Builder> 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 Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ConditionalColumnSetValue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ConditionalColumnSetValue.Builder
Overrides

build()

public ConditionalColumnSetValue build()
Returns
Type Description
ConditionalColumnSetValue

buildPartial()

public ConditionalColumnSetValue buildPartial()
Returns
Type Description
ConditionalColumnSetValue

clear()

public ConditionalColumnSetValue.Builder clear()
Returns
Type Description
ConditionalColumnSetValue.Builder
Overrides

clearCustomFeatures()

public ConditionalColumnSetValue.Builder clearCustomFeatures()

Optional. Custom engine specific features.

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

Returns
Type Description
ConditionalColumnSetValue.Builder

clearField(Descriptors.FieldDescriptor field)

public ConditionalColumnSetValue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ConditionalColumnSetValue.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ConditionalColumnSetValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ConditionalColumnSetValue.Builder
Overrides

clearSourceFilter()

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

clearSourceNumericFilter()

public ConditionalColumnSetValue.Builder clearSourceNumericFilter()

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
ConditionalColumnSetValue.Builder

clearSourceTextFilter()

public ConditionalColumnSetValue.Builder clearSourceTextFilter()

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
ConditionalColumnSetValue.Builder

clearValueTransformation()

public ConditionalColumnSetValue.Builder clearValueTransformation()

Required. Description of data transformation during migration.

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

Returns
Type Description
ConditionalColumnSetValue.Builder

clone()

public ConditionalColumnSetValue.Builder clone()
Returns
Type Description
ConditionalColumnSetValue.Builder
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.

getCustomFeaturesBuilder()

public Struct.Builder getCustomFeaturesBuilder()

Optional. Custom engine specific features.

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

Returns
Type Description
Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

getSourceNumericFilterBuilder()

public SourceNumericFilter.Builder getSourceNumericFilterBuilder()

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.Builder

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.

getSourceTextFilterBuilder()

public SourceTextFilter.Builder getSourceTextFilterBuilder()

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.Builder

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.

getValueTransformationBuilder()

public ValueTransformation.Builder getValueTransformationBuilder()

Required. Description of data transformation during migration.

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

Returns
Type Description
ValueTransformation.Builder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCustomFeatures(Struct value)

public ConditionalColumnSetValue.Builder mergeCustomFeatures(Struct value)

Optional. Custom engine specific features.

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

Parameter
Name Description
value Struct
Returns
Type Description
ConditionalColumnSetValue.Builder

mergeFrom(ConditionalColumnSetValue other)

public ConditionalColumnSetValue.Builder mergeFrom(ConditionalColumnSetValue other)
Parameter
Name Description
other ConditionalColumnSetValue
Returns
Type Description
ConditionalColumnSetValue.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ConditionalColumnSetValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConditionalColumnSetValue.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ConditionalColumnSetValue.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ConditionalColumnSetValue.Builder
Overrides

mergeSourceNumericFilter(SourceNumericFilter value)

public ConditionalColumnSetValue.Builder mergeSourceNumericFilter(SourceNumericFilter value)

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];

Parameter
Name Description
value SourceNumericFilter
Returns
Type Description
ConditionalColumnSetValue.Builder

mergeSourceTextFilter(SourceTextFilter value)

public ConditionalColumnSetValue.Builder mergeSourceTextFilter(SourceTextFilter value)

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];

Parameter
Name Description
value SourceTextFilter
Returns
Type Description
ConditionalColumnSetValue.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ConditionalColumnSetValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ConditionalColumnSetValue.Builder
Overrides

mergeValueTransformation(ValueTransformation value)

public ConditionalColumnSetValue.Builder mergeValueTransformation(ValueTransformation value)

Required. Description of data transformation during migration.

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

Parameter
Name Description
value ValueTransformation
Returns
Type Description
ConditionalColumnSetValue.Builder

setCustomFeatures(Struct value)

public ConditionalColumnSetValue.Builder setCustomFeatures(Struct value)

Optional. Custom engine specific features.

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

Parameter
Name Description
value Struct
Returns
Type Description
ConditionalColumnSetValue.Builder

setCustomFeatures(Struct.Builder builderForValue)

public ConditionalColumnSetValue.Builder setCustomFeatures(Struct.Builder builderForValue)

Optional. Custom engine specific features.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ConditionalColumnSetValue.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ConditionalColumnSetValue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ConditionalColumnSetValue.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ConditionalColumnSetValue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ConditionalColumnSetValue.Builder
Overrides

setSourceNumericFilter(SourceNumericFilter value)

public ConditionalColumnSetValue.Builder setSourceNumericFilter(SourceNumericFilter value)

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];

Parameter
Name Description
value SourceNumericFilter
Returns
Type Description
ConditionalColumnSetValue.Builder

setSourceNumericFilter(SourceNumericFilter.Builder builderForValue)

public ConditionalColumnSetValue.Builder setSourceNumericFilter(SourceNumericFilter.Builder builderForValue)

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];

Parameter
Name Description
builderForValue SourceNumericFilter.Builder
Returns
Type Description
ConditionalColumnSetValue.Builder

setSourceTextFilter(SourceTextFilter value)

public ConditionalColumnSetValue.Builder setSourceTextFilter(SourceTextFilter value)

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];

Parameter
Name Description
value SourceTextFilter
Returns
Type Description
ConditionalColumnSetValue.Builder

setSourceTextFilter(SourceTextFilter.Builder builderForValue)

public ConditionalColumnSetValue.Builder setSourceTextFilter(SourceTextFilter.Builder builderForValue)

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];

Parameter
Name Description
builderForValue SourceTextFilter.Builder
Returns
Type Description
ConditionalColumnSetValue.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ConditionalColumnSetValue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ConditionalColumnSetValue.Builder
Overrides

setValueTransformation(ValueTransformation value)

public ConditionalColumnSetValue.Builder setValueTransformation(ValueTransformation value)

Required. Description of data transformation during migration.

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

Parameter
Name Description
value ValueTransformation
Returns
Type Description
ConditionalColumnSetValue.Builder

setValueTransformation(ValueTransformation.Builder builderForValue)

public ConditionalColumnSetValue.Builder setValueTransformation(ValueTransformation.Builder builderForValue)

Required. Description of data transformation during migration.

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

Parameter
Name Description
builderForValue ValueTransformation.Builder
Returns
Type Description
ConditionalColumnSetValue.Builder