Class FileTypeFilter.Builder (0.39.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FileTypeFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FileTypeFilter.Builder
Overrides

build()

public FileTypeFilter build()
Returns
Type Description
FileTypeFilter

buildPartial()

public FileTypeFilter buildPartial()
Returns
Type Description
FileTypeFilter

clear()

public FileTypeFilter.Builder clear()
Returns
Type Description
FileTypeFilter.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public FileTypeFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FileTypeFilter.Builder
Overrides

clearFileType()

public FileTypeFilter.Builder clearFileType()

The type of files to return.

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

Returns
Type Description
FileTypeFilter.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public FileTypeFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FileTypeFilter.Builder
Overrides

clone()

public FileTypeFilter.Builder clone()
Returns
Type Description
FileTypeFilter.Builder
Overrides

getDefaultInstanceForType()

public FileTypeFilter getDefaultInstanceForType()
Returns
Type Description
FileTypeFilter

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FileTypeFilter other)

public FileTypeFilter.Builder mergeFrom(FileTypeFilter other)
Parameter
Name Description
other FileTypeFilter
Returns
Type Description
FileTypeFilter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FileTypeFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FileTypeFilter.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FileTypeFilter.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FileTypeFilter.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FileTypeFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FileTypeFilter.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public FileTypeFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value FileTypeFilter.FileType

The fileType to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FileTypeFilter.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FileTypeFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FileTypeFilter.Builder
Overrides