Class ConditionalColumnSetValue.Builder (2.38.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ConditionalColumnSetValue.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ConditionalColumnSetValue.Builder
Overrides

build()

public ConditionalColumnSetValue build()
Returns
TypeDescription
ConditionalColumnSetValue

buildPartial()

public ConditionalColumnSetValue buildPartial()
Returns
TypeDescription
ConditionalColumnSetValue

clear()

public ConditionalColumnSetValue.Builder clear()
Returns
TypeDescription
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
TypeDescription
ConditionalColumnSetValue.Builder

clearField(Descriptors.FieldDescriptor field)

public ConditionalColumnSetValue.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ConditionalColumnSetValue.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ConditionalColumnSetValue.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ConditionalColumnSetValue.Builder
Overrides

clearSourceFilter()

public ConditionalColumnSetValue.Builder clearSourceFilter()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ConditionalColumnSetValue.Builder

clone()

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

getCustomFeaturesBuilder()

public Struct.Builder getCustomFeaturesBuilder()

Optional. Custom engine specific features.

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

Returns
TypeDescription
Builder

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

getDescriptorForType()

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

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

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueStruct
Returns
TypeDescription
ConditionalColumnSetValue.Builder

mergeFrom(ConditionalColumnSetValue other)

public ConditionalColumnSetValue.Builder mergeFrom(ConditionalColumnSetValue other)
Parameter
NameDescription
otherConditionalColumnSetValue
Returns
TypeDescription
ConditionalColumnSetValue.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ConditionalColumnSetValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConditionalColumnSetValue.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ConditionalColumnSetValue.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueSourceNumericFilter
Returns
TypeDescription
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
NameDescription
valueSourceTextFilter
Returns
TypeDescription
ConditionalColumnSetValue.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ConditionalColumnSetValue.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueValueTransformation
Returns
TypeDescription
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
NameDescription
valueStruct
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
ConditionalColumnSetValue.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ConditionalColumnSetValue.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ConditionalColumnSetValue.Builder
Overrides

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

public ConditionalColumnSetValue.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueSourceNumericFilter
Returns
TypeDescription
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
NameDescription
builderForValueSourceNumericFilter.Builder
Returns
TypeDescription
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
NameDescription
valueSourceTextFilter
Returns
TypeDescription
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
NameDescription
builderForValueSourceTextFilter.Builder
Returns
TypeDescription
ConditionalColumnSetValue.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ConditionalColumnSetValue.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueValueTransformation
Returns
TypeDescription
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
NameDescription
builderForValueValueTransformation.Builder
Returns
TypeDescription
ConditionalColumnSetValue.Builder