Class SourceTextFilter.Builder (2.47.0)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public SourceTextFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public SourceTextFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
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.

setUnknownFields(UnknownFieldSet unknownFields)

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