Class SourceTextFilter.Builder (2.84.0)

public static final class SourceTextFilter.Builder extends GeneratedMessage.Builder<SourceTextFilter.Builder> implements SourceTextFilterOrBuilder

Filter for text-based data types like varchar.

Protobuf type google.cloud.clouddms.v1.SourceTextFilter

Static Methods

getDescriptor()

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

Methods

build()

public SourceTextFilter build()
Returns
Type Description
SourceTextFilter

buildPartial()

public SourceTextFilter buildPartial()
Returns
Type Description
SourceTextFilter

clear()

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

clearSourceMaxLengthFilter()

public SourceTextFilter.Builder clearSourceMaxLengthFilter()

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

int64 source_max_length_filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SourceTextFilter.Builder

This builder for chaining.

clearSourceMinLengthFilter()

public SourceTextFilter.Builder clearSourceMinLengthFilter()

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

int64 source_min_length_filter = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SourceTextFilter.Builder

This builder for chaining.

getDefaultInstanceForType()

public SourceTextFilter getDefaultInstanceForType()
Returns
Type Description
SourceTextFilter

getDescriptorForType()

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

getSourceMaxLengthFilter()

public long getSourceMaxLengthFilter()

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

int64 source_max_length_filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The sourceMaxLengthFilter.

getSourceMinLengthFilter()

public long getSourceMinLengthFilter()

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

int64 source_min_length_filter = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The sourceMinLengthFilter.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SourceTextFilter other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setSourceMaxLengthFilter(long value)

public SourceTextFilter.Builder setSourceMaxLengthFilter(long value)

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

int64 source_max_length_filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value long

The sourceMaxLengthFilter to set.

Returns
Type Description
SourceTextFilter.Builder

This builder for chaining.

setSourceMinLengthFilter(long value)

public SourceTextFilter.Builder setSourceMinLengthFilter(long value)

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

int64 source_min_length_filter = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value long

The sourceMinLengthFilter to set.

Returns
Type Description
SourceTextFilter.Builder

This builder for chaining.