Class FileTypeFilter (0.24.0)

public final class FileTypeFilter extends GeneratedMessageV3 implements FileTypeFilterOrBuilder

Filter for the specific types of documents returned.

Protobuf type google.cloud.contentwarehouse.v1.FileTypeFilter

Static Fields

FILE_TYPE_FIELD_NUMBER

public static final int FILE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static FileTypeFilter getDefaultInstance()
Returns
TypeDescription
FileTypeFilter

getDescriptor()

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

newBuilder()

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

newBuilder(FileTypeFilter prototype)

public static FileTypeFilter.Builder newBuilder(FileTypeFilter prototype)
Parameter
NameDescription
prototypeFileTypeFilter
Returns
TypeDescription
FileTypeFilter.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public FileTypeFilter getDefaultInstanceForType()
Returns
TypeDescription
FileTypeFilter

getFileType()

public FileTypeFilter.FileType getFileType()

The type of files to return.

.google.cloud.contentwarehouse.v1.FileTypeFilter.FileType file_type = 1;

Returns
TypeDescription
FileTypeFilter.FileType

The fileType.

getFileTypeValue()

public int getFileTypeValue()

The type of files to return.

.google.cloud.contentwarehouse.v1.FileTypeFilter.FileType file_type = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for fileType.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 FileTypeFilter.Builder newBuilderForType()
Returns
TypeDescription
FileTypeFilter.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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