Class SourceTextFilter (2.38.0)

public final class SourceTextFilter extends GeneratedMessageV3 implements SourceTextFilterOrBuilder

Filter for text-based data types like varchar.

Protobuf type google.cloud.clouddms.v1.SourceTextFilter

Static Fields

SOURCE_MAX_LENGTH_FILTER_FIELD_NUMBER

public static final int SOURCE_MAX_LENGTH_FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_MIN_LENGTH_FILTER_FIELD_NUMBER

public static final int SOURCE_MIN_LENGTH_FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SourceTextFilter getDefaultInstance()
Returns
TypeDescription
SourceTextFilter

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SourceTextFilter.Builder newBuilder()
Returns
TypeDescription
SourceTextFilter.Builder

newBuilder(SourceTextFilter prototype)

public static SourceTextFilter.Builder newBuilder(SourceTextFilter prototype)
Parameter
NameDescription
prototypeSourceTextFilter
Returns
TypeDescription
SourceTextFilter.Builder

parseDelimitedFrom(InputStream input)

public static SourceTextFilter parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SourceTextFilter
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SourceTextFilter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SourceTextFilter
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SourceTextFilter parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SourceTextFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SourceTextFilter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SourceTextFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SourceTextFilter parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SourceTextFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SourceTextFilter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SourceTextFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SourceTextFilter parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SourceTextFilter
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SourceTextFilter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SourceTextFilter
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SourceTextFilter parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SourceTextFilter
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SourceTextFilter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SourceTextFilter
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SourceTextFilter parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SourceTextFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SourceTextFilter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SourceTextFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SourceTextFilter> parser()
Returns
TypeDescription
Parser<SourceTextFilter>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public SourceTextFilter getDefaultInstanceForType()
Returns
TypeDescription
SourceTextFilter

getParserForType()

public Parser<SourceTextFilter> getParserForType()
Returns
TypeDescription
Parser<SourceTextFilter>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SourceTextFilter.Builder newBuilderForType()
Returns
TypeDescription
SourceTextFilter.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SourceTextFilter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SourceTextFilter.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SourceTextFilter.Builder toBuilder()
Returns
TypeDescription
SourceTextFilter.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException