Class FileTypeFilter.Builder (0.35.0)

public static final class FileTypeFilter.Builder extends GeneratedMessageV3.Builder<FileTypeFilter.Builder> implements FileTypeFilterOrBuilder

Filter for the specific types of documents returned.

Protobuf type google.cloud.contentwarehouse.v1.FileTypeFilter

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FileTypeFilter build()
Returns
TypeDescription
FileTypeFilter

buildPartial()

public FileTypeFilter buildPartial()
Returns
TypeDescription
FileTypeFilter

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFileType()

public FileTypeFilter.Builder clearFileType()

The type of files to return.

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

Returns
TypeDescription
FileTypeFilter.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public FileTypeFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
FileTypeFilter.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public FileTypeFilter getDefaultInstanceForType()
Returns
TypeDescription
FileTypeFilter

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FileTypeFilter other)

public FileTypeFilter.Builder mergeFrom(FileTypeFilter other)
Parameter
NameDescription
otherFileTypeFilter
Returns
TypeDescription
FileTypeFilter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFileType(FileTypeFilter.FileType value)

public FileTypeFilter.Builder setFileType(FileTypeFilter.FileType value)

The type of files to return.

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

Parameter
NameDescription
valueFileTypeFilter.FileType

The fileType to set.

Returns
TypeDescription
FileTypeFilter.Builder

This builder for chaining.

setFileTypeValue(int value)

public FileTypeFilter.Builder setFileTypeValue(int value)

The type of files to return.

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for fileType to set.

Returns
TypeDescription
FileTypeFilter.Builder

This builder for chaining.

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

public FileTypeFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FileTypeFilter.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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