Class SourceNumericFilter.Builder (2.46.0)

public static final class SourceNumericFilter.Builder extends GeneratedMessageV3.Builder<SourceNumericFilter.Builder> implements SourceNumericFilterOrBuilder

Filter for fixed point number data types such as NUMERIC/NUMBER

Protobuf type google.cloud.clouddms.v1.SourceNumericFilter

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SourceNumericFilter build()
Returns
Type Description
SourceNumericFilter

buildPartial()

public SourceNumericFilter buildPartial()
Returns
Type Description
SourceNumericFilter

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNumericFilterOption()

public SourceNumericFilter.Builder clearNumericFilterOption()

Required. Enum to set the option defining the datatypes numeric filter has to be applied to

.google.cloud.clouddms.v1.NumericFilterOption numeric_filter_option = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SourceNumericFilter.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSourceMaxPrecisionFilter()

public SourceNumericFilter.Builder clearSourceMaxPrecisionFilter()

Optional. The filter will match columns with precision smaller than or equal to this number.

int32 source_max_precision_filter = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SourceNumericFilter.Builder

This builder for chaining.

clearSourceMaxScaleFilter()

public SourceNumericFilter.Builder clearSourceMaxScaleFilter()

Optional. The filter will match columns with scale smaller than or equal to this number.

int32 source_max_scale_filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SourceNumericFilter.Builder

This builder for chaining.

clearSourceMinPrecisionFilter()

public SourceNumericFilter.Builder clearSourceMinPrecisionFilter()

Optional. The filter will match columns with precision greater than or equal to this number.

int32 source_min_precision_filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SourceNumericFilter.Builder

This builder for chaining.

clearSourceMinScaleFilter()

public SourceNumericFilter.Builder clearSourceMinScaleFilter()

Optional. The filter will match columns with scale greater than or equal to this number.

int32 source_min_scale_filter = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SourceNumericFilter.Builder

This builder for chaining.

clone()

public SourceNumericFilter.Builder clone()
Returns
Type Description
SourceNumericFilter.Builder
Overrides

getDefaultInstanceForType()

public SourceNumericFilter getDefaultInstanceForType()
Returns
Type Description
SourceNumericFilter

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNumericFilterOption()

public NumericFilterOption getNumericFilterOption()

Required. Enum to set the option defining the datatypes numeric filter has to be applied to

.google.cloud.clouddms.v1.NumericFilterOption numeric_filter_option = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
NumericFilterOption

The numericFilterOption.

getNumericFilterOptionValue()

public int getNumericFilterOptionValue()

Required. Enum to set the option defining the datatypes numeric filter has to be applied to

.google.cloud.clouddms.v1.NumericFilterOption numeric_filter_option = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for numericFilterOption.

getSourceMaxPrecisionFilter()

public int getSourceMaxPrecisionFilter()

Optional. The filter will match columns with precision smaller than or equal to this number.

int32 source_max_precision_filter = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The sourceMaxPrecisionFilter.

getSourceMaxScaleFilter()

public int getSourceMaxScaleFilter()

Optional. The filter will match columns with scale smaller than or equal to this number.

int32 source_max_scale_filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The sourceMaxScaleFilter.

getSourceMinPrecisionFilter()

public int getSourceMinPrecisionFilter()

Optional. The filter will match columns with precision greater than or equal to this number.

int32 source_min_precision_filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The sourceMinPrecisionFilter.

getSourceMinScaleFilter()

public int getSourceMinScaleFilter()

Optional. The filter will match columns with scale greater than or equal to this number.

int32 source_min_scale_filter = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The sourceMinScaleFilter.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SourceNumericFilter other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setNumericFilterOption(NumericFilterOption value)

public SourceNumericFilter.Builder setNumericFilterOption(NumericFilterOption value)

Required. Enum to set the option defining the datatypes numeric filter has to be applied to

.google.cloud.clouddms.v1.NumericFilterOption numeric_filter_option = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value NumericFilterOption

The numericFilterOption to set.

Returns
Type Description
SourceNumericFilter.Builder

This builder for chaining.

setNumericFilterOptionValue(int value)

public SourceNumericFilter.Builder setNumericFilterOptionValue(int value)

Required. Enum to set the option defining the datatypes numeric filter has to be applied to

.google.cloud.clouddms.v1.NumericFilterOption numeric_filter_option = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

The enum numeric value on the wire for numericFilterOption to set.

Returns
Type Description
SourceNumericFilter.Builder

This builder for chaining.

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

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

setSourceMaxPrecisionFilter(int value)

public SourceNumericFilter.Builder setSourceMaxPrecisionFilter(int value)

Optional. The filter will match columns with precision smaller than or equal to this number.

int32 source_max_precision_filter = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The sourceMaxPrecisionFilter to set.

Returns
Type Description
SourceNumericFilter.Builder

This builder for chaining.

setSourceMaxScaleFilter(int value)

public SourceNumericFilter.Builder setSourceMaxScaleFilter(int value)

Optional. The filter will match columns with scale smaller than or equal to this number.

int32 source_max_scale_filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The sourceMaxScaleFilter to set.

Returns
Type Description
SourceNumericFilter.Builder

This builder for chaining.

setSourceMinPrecisionFilter(int value)

public SourceNumericFilter.Builder setSourceMinPrecisionFilter(int value)

Optional. The filter will match columns with precision greater than or equal to this number.

int32 source_min_precision_filter = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The sourceMinPrecisionFilter to set.

Returns
Type Description
SourceNumericFilter.Builder

This builder for chaining.

setSourceMinScaleFilter(int value)

public SourceNumericFilter.Builder setSourceMinScaleFilter(int value)

Optional. The filter will match columns with scale greater than or equal to this number.

int32 source_min_scale_filter = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The sourceMinScaleFilter to set.

Returns
Type Description
SourceNumericFilter.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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