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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > FileTypeFilter.BuilderImplements
FileTypeFilterOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public FileTypeFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
FileTypeFilter.Builder |
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 |
clone()
public FileTypeFilter.Builder clone()
Returns | |
---|---|
Type | Description |
FileTypeFilter.Builder |
getDefaultInstanceForType()
public FileTypeFilter getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
FileTypeFilter |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public FileTypeFilter.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
FileTypeFilter.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FileTypeFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
FileTypeFilter.Builder |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final FileTypeFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
FileTypeFilter.Builder |