- 0.74.0 (latest)
- 0.72.0
- 0.71.0
- 0.70.0
- 0.69.0
- 0.68.0
- 0.66.0
- 0.64.0
- 0.63.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class SearchDocumentsResponse.Builder extends GeneratedMessageV3.Builder<SearchDocumentsResponse.Builder> implements SearchDocumentsResponseOrBuilderResponse message for DocumentService.SearchDocuments.
 Protobuf type google.cloud.contentwarehouse.v1.SearchDocumentsResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SearchDocumentsResponse.BuilderImplements
SearchDocumentsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addAllHistogramQueryResults(Iterable<? extends HistogramQueryResult> values)
public SearchDocumentsResponse.Builder addAllHistogramQueryResults(Iterable<? extends HistogramQueryResult> values)The histogram results that match with the specified SearchDocumentsRequest.histogram_queries.
 
 repeated .google.cloud.contentwarehouse.v1.HistogramQueryResult histogram_query_results = 6;
 
| Parameter | |
|---|---|
| Name | Description | 
| values | Iterable<? extends com.google.cloud.contentwarehouse.v1.HistogramQueryResult> | 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | |
addAllMatchingDocuments(Iterable<? extends SearchDocumentsResponse.MatchingDocument> values)
public SearchDocumentsResponse.Builder addAllMatchingDocuments(Iterable<? extends SearchDocumentsResponse.MatchingDocument> values)The document entities that match the specified SearchDocumentsRequest.
 
 repeated .google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument matching_documents = 1;
 
| Parameter | |
|---|---|
| Name | Description | 
| values | Iterable<? extends com.google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument> | 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | |
addHistogramQueryResults(HistogramQueryResult value)
public SearchDocumentsResponse.Builder addHistogramQueryResults(HistogramQueryResult value)The histogram results that match with the specified SearchDocumentsRequest.histogram_queries.
 
 repeated .google.cloud.contentwarehouse.v1.HistogramQueryResult histogram_query_results = 6;
 
| Parameter | |
|---|---|
| Name | Description | 
| value | HistogramQueryResult | 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | |
addHistogramQueryResults(HistogramQueryResult.Builder builderForValue)
public SearchDocumentsResponse.Builder addHistogramQueryResults(HistogramQueryResult.Builder builderForValue)The histogram results that match with the specified SearchDocumentsRequest.histogram_queries.
 
 repeated .google.cloud.contentwarehouse.v1.HistogramQueryResult histogram_query_results = 6;
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | HistogramQueryResult.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | |
addHistogramQueryResults(int index, HistogramQueryResult value)
public SearchDocumentsResponse.Builder addHistogramQueryResults(int index, HistogramQueryResult value)The histogram results that match with the specified SearchDocumentsRequest.histogram_queries.
 
 repeated .google.cloud.contentwarehouse.v1.HistogramQueryResult histogram_query_results = 6;
 
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| value | HistogramQueryResult | 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | |
addHistogramQueryResults(int index, HistogramQueryResult.Builder builderForValue)
public SearchDocumentsResponse.Builder addHistogramQueryResults(int index, HistogramQueryResult.Builder builderForValue)The histogram results that match with the specified SearchDocumentsRequest.histogram_queries.
 
 repeated .google.cloud.contentwarehouse.v1.HistogramQueryResult histogram_query_results = 6;
 
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| builderForValue | HistogramQueryResult.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | |
addHistogramQueryResultsBuilder()
public HistogramQueryResult.Builder addHistogramQueryResultsBuilder()The histogram results that match with the specified SearchDocumentsRequest.histogram_queries.
 
 repeated .google.cloud.contentwarehouse.v1.HistogramQueryResult histogram_query_results = 6;
 
| Returns | |
|---|---|
| Type | Description | 
| HistogramQueryResult.Builder | |
addHistogramQueryResultsBuilder(int index)
public HistogramQueryResult.Builder addHistogramQueryResultsBuilder(int index)The histogram results that match with the specified SearchDocumentsRequest.histogram_queries.
 
 repeated .google.cloud.contentwarehouse.v1.HistogramQueryResult histogram_query_results = 6;
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| HistogramQueryResult.Builder | |
addMatchingDocuments(SearchDocumentsResponse.MatchingDocument value)
public SearchDocumentsResponse.Builder addMatchingDocuments(SearchDocumentsResponse.MatchingDocument value)The document entities that match the specified SearchDocumentsRequest.
 
 repeated .google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument matching_documents = 1;
 
| Parameter | |
|---|---|
| Name | Description | 
| value | SearchDocumentsResponse.MatchingDocument | 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | |
addMatchingDocuments(SearchDocumentsResponse.MatchingDocument.Builder builderForValue)
public SearchDocumentsResponse.Builder addMatchingDocuments(SearchDocumentsResponse.MatchingDocument.Builder builderForValue)The document entities that match the specified SearchDocumentsRequest.
 
 repeated .google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument matching_documents = 1;
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | SearchDocumentsResponse.MatchingDocument.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | |
addMatchingDocuments(int index, SearchDocumentsResponse.MatchingDocument value)
public SearchDocumentsResponse.Builder addMatchingDocuments(int index, SearchDocumentsResponse.MatchingDocument value)The document entities that match the specified SearchDocumentsRequest.
 
 repeated .google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument matching_documents = 1;
 
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| value | SearchDocumentsResponse.MatchingDocument | 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | |
addMatchingDocuments(int index, SearchDocumentsResponse.MatchingDocument.Builder builderForValue)
public SearchDocumentsResponse.Builder addMatchingDocuments(int index, SearchDocumentsResponse.MatchingDocument.Builder builderForValue)The document entities that match the specified SearchDocumentsRequest.
 
 repeated .google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument matching_documents = 1;
 
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| builderForValue | SearchDocumentsResponse.MatchingDocument.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | |
addMatchingDocumentsBuilder()
public SearchDocumentsResponse.MatchingDocument.Builder addMatchingDocumentsBuilder()The document entities that match the specified SearchDocumentsRequest.
 
 repeated .google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument matching_documents = 1;
 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.MatchingDocument.Builder | |
addMatchingDocumentsBuilder(int index)
public SearchDocumentsResponse.MatchingDocument.Builder addMatchingDocumentsBuilder(int index)The document entities that match the specified SearchDocumentsRequest.
 
 repeated .google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument matching_documents = 1;
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.MatchingDocument.Builder | |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchDocumentsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | |
build()
public SearchDocumentsResponse build()| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse | |
buildPartial()
public SearchDocumentsResponse buildPartial()| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse | |
clear()
public SearchDocumentsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | |
clearField(Descriptors.FieldDescriptor field)
public SearchDocumentsResponse.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | |
clearHistogramQueryResults()
public SearchDocumentsResponse.Builder clearHistogramQueryResults()The histogram results that match with the specified SearchDocumentsRequest.histogram_queries.
 
 repeated .google.cloud.contentwarehouse.v1.HistogramQueryResult histogram_query_results = 6;
 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | |
clearMatchingDocuments()
public SearchDocumentsResponse.Builder clearMatchingDocuments()The document entities that match the specified SearchDocumentsRequest.
 
 repeated .google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument matching_documents = 1;
 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | |
clearMetadata()
public SearchDocumentsResponse.Builder clearMetadata()Additional information for the API invocation, such as the request tracking id.
 .google.cloud.contentwarehouse.v1.ResponseMetadata metadata = 4;
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | |
clearNextPageToken()
public SearchDocumentsResponse.Builder clearNextPageToken()The token that specifies the starting position of the next page of results. This field is empty if there are no more results.
 string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | This builder for chaining. | 
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchDocumentsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | |
clearQuestionAnswer()
public SearchDocumentsResponse.Builder clearQuestionAnswer()Experimental. Question answer from the query against the document.
 string question_answer = 7;
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | This builder for chaining. | 
clearTotalSize()
public SearchDocumentsResponse.Builder clearTotalSize() The total number of matched documents which is available only if the client
 set
 SearchDocumentsRequest.require_total_size
 to true or set
 SearchDocumentsRequest.total_result_size
 to ESTIMATED_SIZE or ACTUAL_SIZE. Otherwise, the value will be -1.
 Typically a UI would handle this condition by displaying "of
 many", for example: "Displaying 10 of many".
 int32 total_size = 3;
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | This builder for chaining. | 
clone()
public SearchDocumentsResponse.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | |
getDefaultInstanceForType()
public SearchDocumentsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getHistogramQueryResults(int index)
public HistogramQueryResult getHistogramQueryResults(int index)The histogram results that match with the specified SearchDocumentsRequest.histogram_queries.
 
 repeated .google.cloud.contentwarehouse.v1.HistogramQueryResult histogram_query_results = 6;
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| HistogramQueryResult | |
getHistogramQueryResultsBuilder(int index)
public HistogramQueryResult.Builder getHistogramQueryResultsBuilder(int index)The histogram results that match with the specified SearchDocumentsRequest.histogram_queries.
 
 repeated .google.cloud.contentwarehouse.v1.HistogramQueryResult histogram_query_results = 6;
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| HistogramQueryResult.Builder | |
getHistogramQueryResultsBuilderList()
public List<HistogramQueryResult.Builder> getHistogramQueryResultsBuilderList()The histogram results that match with the specified SearchDocumentsRequest.histogram_queries.
 
 repeated .google.cloud.contentwarehouse.v1.HistogramQueryResult histogram_query_results = 6;
 
| Returns | |
|---|---|
| Type | Description | 
| List<Builder> | |
getHistogramQueryResultsCount()
public int getHistogramQueryResultsCount()The histogram results that match with the specified SearchDocumentsRequest.histogram_queries.
 
 repeated .google.cloud.contentwarehouse.v1.HistogramQueryResult histogram_query_results = 6;
 
| Returns | |
|---|---|
| Type | Description | 
| int | |
getHistogramQueryResultsList()
public List<HistogramQueryResult> getHistogramQueryResultsList()The histogram results that match with the specified SearchDocumentsRequest.histogram_queries.
 
 repeated .google.cloud.contentwarehouse.v1.HistogramQueryResult histogram_query_results = 6;
 
| Returns | |
|---|---|
| Type | Description | 
| List<HistogramQueryResult> | |
getHistogramQueryResultsOrBuilder(int index)
public HistogramQueryResultOrBuilder getHistogramQueryResultsOrBuilder(int index)The histogram results that match with the specified SearchDocumentsRequest.histogram_queries.
 
 repeated .google.cloud.contentwarehouse.v1.HistogramQueryResult histogram_query_results = 6;
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| HistogramQueryResultOrBuilder | |
getHistogramQueryResultsOrBuilderList()
public List<? extends HistogramQueryResultOrBuilder> getHistogramQueryResultsOrBuilderList()The histogram results that match with the specified SearchDocumentsRequest.histogram_queries.
 
 repeated .google.cloud.contentwarehouse.v1.HistogramQueryResult histogram_query_results = 6;
 
| Returns | |
|---|---|
| Type | Description | 
| List<? extends com.google.cloud.contentwarehouse.v1.HistogramQueryResultOrBuilder> | |
getMatchingDocuments(int index)
public SearchDocumentsResponse.MatchingDocument getMatchingDocuments(int index)The document entities that match the specified SearchDocumentsRequest.
 
 repeated .google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument matching_documents = 1;
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.MatchingDocument | |
getMatchingDocumentsBuilder(int index)
public SearchDocumentsResponse.MatchingDocument.Builder getMatchingDocumentsBuilder(int index)The document entities that match the specified SearchDocumentsRequest.
 
 repeated .google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument matching_documents = 1;
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.MatchingDocument.Builder | |
getMatchingDocumentsBuilderList()
public List<SearchDocumentsResponse.MatchingDocument.Builder> getMatchingDocumentsBuilderList()The document entities that match the specified SearchDocumentsRequest.
 
 repeated .google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument matching_documents = 1;
 
| Returns | |
|---|---|
| Type | Description | 
| List<Builder> | |
getMatchingDocumentsCount()
public int getMatchingDocumentsCount()The document entities that match the specified SearchDocumentsRequest.
 
 repeated .google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument matching_documents = 1;
 
| Returns | |
|---|---|
| Type | Description | 
| int | |
getMatchingDocumentsList()
public List<SearchDocumentsResponse.MatchingDocument> getMatchingDocumentsList()The document entities that match the specified SearchDocumentsRequest.
 
 repeated .google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument matching_documents = 1;
 
| Returns | |
|---|---|
| Type | Description | 
| List<MatchingDocument> | |
getMatchingDocumentsOrBuilder(int index)
public SearchDocumentsResponse.MatchingDocumentOrBuilder getMatchingDocumentsOrBuilder(int index)The document entities that match the specified SearchDocumentsRequest.
 
 repeated .google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument matching_documents = 1;
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.MatchingDocumentOrBuilder | |
getMatchingDocumentsOrBuilderList()
public List<? extends SearchDocumentsResponse.MatchingDocumentOrBuilder> getMatchingDocumentsOrBuilderList()The document entities that match the specified SearchDocumentsRequest.
 
 repeated .google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument matching_documents = 1;
 
| Returns | |
|---|---|
| Type | Description | 
| List<? extends com.google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocumentOrBuilder> | |
getMetadata()
public ResponseMetadata getMetadata()Additional information for the API invocation, such as the request tracking id.
 .google.cloud.contentwarehouse.v1.ResponseMetadata metadata = 4;
| Returns | |
|---|---|
| Type | Description | 
| ResponseMetadata | The metadata. | 
getMetadataBuilder()
public ResponseMetadata.Builder getMetadataBuilder()Additional information for the API invocation, such as the request tracking id.
 .google.cloud.contentwarehouse.v1.ResponseMetadata metadata = 4;
| Returns | |
|---|---|
| Type | Description | 
| ResponseMetadata.Builder | |
getMetadataOrBuilder()
public ResponseMetadataOrBuilder getMetadataOrBuilder()Additional information for the API invocation, such as the request tracking id.
 .google.cloud.contentwarehouse.v1.ResponseMetadata metadata = 4;
| Returns | |
|---|---|
| Type | Description | 
| ResponseMetadataOrBuilder | |
getNextPageToken()
public String getNextPageToken()The token that specifies the starting position of the next page of results. This field is empty if there are no more results.
 string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description | 
| String | The nextPageToken. | 
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()The token that specifies the starting position of the next page of results. This field is empty if there are no more results.
 string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for nextPageToken. | 
getQuestionAnswer()
public String getQuestionAnswer()Experimental. Question answer from the query against the document.
 string question_answer = 7;
| Returns | |
|---|---|
| Type | Description | 
| String | The questionAnswer. | 
getQuestionAnswerBytes()
public ByteString getQuestionAnswerBytes()Experimental. Question answer from the query against the document.
 string question_answer = 7;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for questionAnswer. | 
getTotalSize()
public int getTotalSize() The total number of matched documents which is available only if the client
 set
 SearchDocumentsRequest.require_total_size
 to true or set
 SearchDocumentsRequest.total_result_size
 to ESTIMATED_SIZE or ACTUAL_SIZE. Otherwise, the value will be -1.
 Typically a UI would handle this condition by displaying "of
 many", for example: "Displaying 10 of many".
 int32 total_size = 3;
| Returns | |
|---|---|
| Type | Description | 
| int | The totalSize. | 
hasMetadata()
public boolean hasMetadata()Additional information for the API invocation, such as the request tracking id.
 .google.cloud.contentwarehouse.v1.ResponseMetadata metadata = 4;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the metadata field is set. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeFrom(SearchDocumentsResponse other)
public SearchDocumentsResponse.Builder mergeFrom(SearchDocumentsResponse other)| Parameter | |
|---|---|
| Name | Description | 
| other | SearchDocumentsResponse | 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SearchDocumentsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public SearchDocumentsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | |
mergeMetadata(ResponseMetadata value)
public SearchDocumentsResponse.Builder mergeMetadata(ResponseMetadata value)Additional information for the API invocation, such as the request tracking id.
 .google.cloud.contentwarehouse.v1.ResponseMetadata metadata = 4;
| Parameter | |
|---|---|
| Name | Description | 
| value | ResponseMetadata | 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchDocumentsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | |
removeHistogramQueryResults(int index)
public SearchDocumentsResponse.Builder removeHistogramQueryResults(int index)The histogram results that match with the specified SearchDocumentsRequest.histogram_queries.
 
 repeated .google.cloud.contentwarehouse.v1.HistogramQueryResult histogram_query_results = 6;
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | |
removeMatchingDocuments(int index)
public SearchDocumentsResponse.Builder removeMatchingDocuments(int index)The document entities that match the specified SearchDocumentsRequest.
 
 repeated .google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument matching_documents = 1;
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | |
setField(Descriptors.FieldDescriptor field, Object value)
public SearchDocumentsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | |
setHistogramQueryResults(int index, HistogramQueryResult value)
public SearchDocumentsResponse.Builder setHistogramQueryResults(int index, HistogramQueryResult value)The histogram results that match with the specified SearchDocumentsRequest.histogram_queries.
 
 repeated .google.cloud.contentwarehouse.v1.HistogramQueryResult histogram_query_results = 6;
 
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| value | HistogramQueryResult | 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | |
setHistogramQueryResults(int index, HistogramQueryResult.Builder builderForValue)
public SearchDocumentsResponse.Builder setHistogramQueryResults(int index, HistogramQueryResult.Builder builderForValue)The histogram results that match with the specified SearchDocumentsRequest.histogram_queries.
 
 repeated .google.cloud.contentwarehouse.v1.HistogramQueryResult histogram_query_results = 6;
 
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| builderForValue | HistogramQueryResult.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | |
setMatchingDocuments(int index, SearchDocumentsResponse.MatchingDocument value)
public SearchDocumentsResponse.Builder setMatchingDocuments(int index, SearchDocumentsResponse.MatchingDocument value)The document entities that match the specified SearchDocumentsRequest.
 
 repeated .google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument matching_documents = 1;
 
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| value | SearchDocumentsResponse.MatchingDocument | 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | |
setMatchingDocuments(int index, SearchDocumentsResponse.MatchingDocument.Builder builderForValue)
public SearchDocumentsResponse.Builder setMatchingDocuments(int index, SearchDocumentsResponse.MatchingDocument.Builder builderForValue)The document entities that match the specified SearchDocumentsRequest.
 
 repeated .google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument matching_documents = 1;
 
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| builderForValue | SearchDocumentsResponse.MatchingDocument.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | |
setMetadata(ResponseMetadata value)
public SearchDocumentsResponse.Builder setMetadata(ResponseMetadata value)Additional information for the API invocation, such as the request tracking id.
 .google.cloud.contentwarehouse.v1.ResponseMetadata metadata = 4;
| Parameter | |
|---|---|
| Name | Description | 
| value | ResponseMetadata | 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | |
setMetadata(ResponseMetadata.Builder builderForValue)
public SearchDocumentsResponse.Builder setMetadata(ResponseMetadata.Builder builderForValue)Additional information for the API invocation, such as the request tracking id.
 .google.cloud.contentwarehouse.v1.ResponseMetadata metadata = 4;
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | ResponseMetadata.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | |
setNextPageToken(String value)
public SearchDocumentsResponse.Builder setNextPageToken(String value)The token that specifies the starting position of the next page of results. This field is empty if there are no more results.
 string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe nextPageToken to set. | 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | This builder for chaining. | 
setNextPageTokenBytes(ByteString value)
public SearchDocumentsResponse.Builder setNextPageTokenBytes(ByteString value)The token that specifies the starting position of the next page of results. This field is empty if there are no more results.
 string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for nextPageToken to set. | 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | This builder for chaining. | 
setQuestionAnswer(String value)
public SearchDocumentsResponse.Builder setQuestionAnswer(String value)Experimental. Question answer from the query against the document.
 string question_answer = 7;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe questionAnswer to set. | 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | This builder for chaining. | 
setQuestionAnswerBytes(ByteString value)
public SearchDocumentsResponse.Builder setQuestionAnswerBytes(ByteString value)Experimental. Question answer from the query against the document.
 string question_answer = 7;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for questionAnswer to set. | 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | This builder for chaining. | 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchDocumentsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | |
setTotalSize(int value)
public SearchDocumentsResponse.Builder setTotalSize(int value) The total number of matched documents which is available only if the client
 set
 SearchDocumentsRequest.require_total_size
 to true or set
 SearchDocumentsRequest.total_result_size
 to ESTIMATED_SIZE or ACTUAL_SIZE. Otherwise, the value will be -1.
 Typically a UI would handle this condition by displaying "of
 many", for example: "Displaying 10 of many".
 int32 total_size = 3;
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe totalSize to set. | 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | This builder for chaining. | 
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchDocumentsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| SearchDocumentsResponse.Builder | |