Class SourceTextFilter.Builder (2.27.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SourceTextFilter build()
Returns
TypeDescription
SourceTextFilter

buildPartial()

public SourceTextFilter buildPartial()
Returns
TypeDescription
SourceTextFilter

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public SourceTextFilter getDefaultInstanceForType()
Returns
TypeDescription
SourceTextFilter

getDescriptorForType()

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

The sourceMinLengthFilter.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SourceTextFilter other)

public SourceTextFilter.Builder mergeFrom(SourceTextFilter other)
Parameter
NameDescription
otherSourceTextFilter
Returns
TypeDescription
SourceTextFilter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

The sourceMaxLengthFilter to set.

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

The sourceMinLengthFilter to set.

Returns
TypeDescription
SourceTextFilter.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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