Class SourceNumericFilter.Builder (2.28.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SourceNumericFilter build()
Returns
TypeDescription
SourceNumericFilter

buildPartial()

public SourceNumericFilter buildPartial()
Returns
TypeDescription
SourceNumericFilter

clear()

public SourceNumericFilter.Builder clear()
Returns
TypeDescription
SourceNumericFilter.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SourceNumericFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
SourceNumericFilter.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SourceNumericFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
SourceNumericFilter.Builder

This builder for chaining.

clone()

public SourceNumericFilter.Builder clone()
Returns
TypeDescription
SourceNumericFilter.Builder
Overrides

getDefaultInstanceForType()

public SourceNumericFilter getDefaultInstanceForType()
Returns
TypeDescription
SourceNumericFilter

getDescriptorForType()

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

The sourceMinScaleFilter.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SourceNumericFilter other)

public SourceNumericFilter.Builder mergeFrom(SourceNumericFilter other)
Parameter
NameDescription
otherSourceNumericFilter
Returns
TypeDescription
SourceNumericFilter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public SourceNumericFilter.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SourceNumericFilter.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SourceNumericFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SourceNumericFilter.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SourceNumericFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueNumericFilterOption

The numericFilterOption to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The sourceMaxPrecisionFilter to set.

Returns
TypeDescription
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
NameDescription
valueint

The sourceMaxScaleFilter to set.

Returns
TypeDescription
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
NameDescription
valueint

The sourceMinPrecisionFilter to set.

Returns
TypeDescription
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
NameDescription
valueint

The sourceMinScaleFilter to set.

Returns
TypeDescription
SourceNumericFilter.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SourceNumericFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SourceNumericFilter.Builder
Overrides