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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FileTypeFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public FileTypeFilter build()
Returns
buildPartial()
public FileTypeFilter buildPartial()
Returns
clear()
public FileTypeFilter.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public FileTypeFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearFileType()
public FileTypeFilter.Builder clearFileType()
The type of files to return.
.google.cloud.contentwarehouse.v1.FileTypeFilter.FileType file_type = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public FileTypeFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public FileTypeFilter.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public FileTypeFilter getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getFileType()
public FileTypeFilter.FileType getFileType()
The type of files to return.
.google.cloud.contentwarehouse.v1.FileTypeFilter.FileType file_type = 1;
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(FileTypeFilter other)
public FileTypeFilter.Builder mergeFrom(FileTypeFilter other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FileTypeFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public FileTypeFilter.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FileTypeFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public FileTypeFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FileTypeFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final FileTypeFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides