public final class FileTypeFilter extends GeneratedMessageV3 implements FileTypeFilterOrBuilder
Filter for the specific types of documents returned.
Protobuf type google.cloud.contentwarehouse.v1.FileTypeFilter
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > FileTypeFilterImplements
FileTypeFilterOrBuilderStatic Fields
FILE_TYPE_FIELD_NUMBER
public static final int FILE_TYPE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static FileTypeFilter getDefaultInstance()
Returns | |
---|---|
Type | Description |
FileTypeFilter |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static FileTypeFilter.Builder newBuilder()
Returns | |
---|---|
Type | Description |
FileTypeFilter.Builder |
newBuilder(FileTypeFilter prototype)
public static FileTypeFilter.Builder newBuilder(FileTypeFilter prototype)
Parameter | |
---|---|
Name | Description |
prototype | FileTypeFilter |
Returns | |
---|---|
Type | Description |
FileTypeFilter.Builder |
parseDelimitedFrom(InputStream input)
public static FileTypeFilter parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
FileTypeFilter |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static FileTypeFilter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
FileTypeFilter |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static FileTypeFilter parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
FileTypeFilter |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FileTypeFilter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
FileTypeFilter |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static FileTypeFilter parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
FileTypeFilter |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FileTypeFilter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
FileTypeFilter |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static FileTypeFilter parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
FileTypeFilter |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static FileTypeFilter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
FileTypeFilter |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static FileTypeFilter parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
FileTypeFilter |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static FileTypeFilter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
FileTypeFilter |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static FileTypeFilter parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
FileTypeFilter |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FileTypeFilter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
FileTypeFilter |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<FileTypeFilter> parser()
Returns | |
---|---|
Type | Description |
Parser<FileTypeFilter> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public FileTypeFilter getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
FileTypeFilter |
getFileType()
public FileTypeFilter.FileType getFileType()
The type of files to return.
.google.cloud.contentwarehouse.v1.FileTypeFilter.FileType file_type = 1;
Returns | |
---|---|
Type | Description |
FileTypeFilter.FileType | The fileType. |
getFileTypeValue()
public int getFileTypeValue()
The type of files to return.
.google.cloud.contentwarehouse.v1.FileTypeFilter.FileType file_type = 1;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for fileType. |
getParserForType()
public Parser<FileTypeFilter> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<FileTypeFilter> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public FileTypeFilter.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
FileTypeFilter.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected FileTypeFilter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
FileTypeFilter.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public FileTypeFilter.Builder toBuilder()
Returns | |
---|---|
Type | Description |
FileTypeFilter.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |