Class SearchDocumentsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<SearchDocumentsResponse.Builder>
-
- com.google.cloud.contentwarehouse.v1.SearchDocumentsResponse.Builder
-
- All Implemented Interfaces:
SearchDocumentsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SearchDocumentsResponse
public static final class SearchDocumentsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SearchDocumentsResponse.Builder> implements SearchDocumentsResponseOrBuilder
Response message for DocumentService.SearchDocuments.
Protobuf typegoogle.cloud.contentwarehouse.v1.SearchDocumentsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchDocumentsResponse.BuilderaddAllHistogramQueryResults(Iterable<? extends HistogramQueryResult> values)The histogram results that match with the specified [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries].SearchDocumentsResponse.BuilderaddAllMatchingDocuments(Iterable<? extends SearchDocumentsResponse.MatchingDocument> values)The document entities that match the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest].SearchDocumentsResponse.BuilderaddHistogramQueryResults(int index, HistogramQueryResult value)The histogram results that match with the specified [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries].SearchDocumentsResponse.BuilderaddHistogramQueryResults(int index, HistogramQueryResult.Builder builderForValue)The histogram results that match with the specified [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries].SearchDocumentsResponse.BuilderaddHistogramQueryResults(HistogramQueryResult value)The histogram results that match with the specified [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries].SearchDocumentsResponse.BuilderaddHistogramQueryResults(HistogramQueryResult.Builder builderForValue)The histogram results that match with the specified [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries].HistogramQueryResult.BuilderaddHistogramQueryResultsBuilder()The histogram results that match with the specified [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries].HistogramQueryResult.BuilderaddHistogramQueryResultsBuilder(int index)The histogram results that match with the specified [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries].SearchDocumentsResponse.BuilderaddMatchingDocuments(int index, SearchDocumentsResponse.MatchingDocument value)The document entities that match the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest].SearchDocumentsResponse.BuilderaddMatchingDocuments(int index, SearchDocumentsResponse.MatchingDocument.Builder builderForValue)The document entities that match the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest].SearchDocumentsResponse.BuilderaddMatchingDocuments(SearchDocumentsResponse.MatchingDocument value)The document entities that match the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest].SearchDocumentsResponse.BuilderaddMatchingDocuments(SearchDocumentsResponse.MatchingDocument.Builder builderForValue)The document entities that match the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest].SearchDocumentsResponse.MatchingDocument.BuilderaddMatchingDocumentsBuilder()The document entities that match the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest].SearchDocumentsResponse.MatchingDocument.BuilderaddMatchingDocumentsBuilder(int index)The document entities that match the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest].SearchDocumentsResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)SearchDocumentsResponsebuild()SearchDocumentsResponsebuildPartial()SearchDocumentsResponse.Builderclear()SearchDocumentsResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)SearchDocumentsResponse.BuilderclearHistogramQueryResults()The histogram results that match with the specified [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries].SearchDocumentsResponse.BuilderclearMatchingDocuments()The document entities that match the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest].SearchDocumentsResponse.BuilderclearMetadata()Additional information for the API invocation, such as the request tracking id.SearchDocumentsResponse.BuilderclearNextPageToken()The token that specifies the starting position of the next page of results.SearchDocumentsResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)SearchDocumentsResponse.BuilderclearQuestionAnswer()Experimental.SearchDocumentsResponse.BuilderclearTotalSize()The total number of matched documents which is available only if the client set [SearchDocumentsRequest.require_total_size][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.require_total_size] to `true` or set [SearchDocumentsRequest.total_result_size][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.total_result_size] to `ESTIMATED_SIZE` or `ACTUAL_SIZE`.SearchDocumentsResponse.Builderclone()SearchDocumentsResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()HistogramQueryResultgetHistogramQueryResults(int index)The histogram results that match with the specified [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries].HistogramQueryResult.BuildergetHistogramQueryResultsBuilder(int index)The histogram results that match with the specified [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries].List<HistogramQueryResult.Builder>getHistogramQueryResultsBuilderList()The histogram results that match with the specified [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries].intgetHistogramQueryResultsCount()The histogram results that match with the specified [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries].List<HistogramQueryResult>getHistogramQueryResultsList()The histogram results that match with the specified [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries].HistogramQueryResultOrBuildergetHistogramQueryResultsOrBuilder(int index)The histogram results that match with the specified [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries].List<? extends HistogramQueryResultOrBuilder>getHistogramQueryResultsOrBuilderList()The histogram results that match with the specified [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries].SearchDocumentsResponse.MatchingDocumentgetMatchingDocuments(int index)The document entities that match the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest].SearchDocumentsResponse.MatchingDocument.BuildergetMatchingDocumentsBuilder(int index)The document entities that match the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest].List<SearchDocumentsResponse.MatchingDocument.Builder>getMatchingDocumentsBuilderList()The document entities that match the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest].intgetMatchingDocumentsCount()The document entities that match the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest].List<SearchDocumentsResponse.MatchingDocument>getMatchingDocumentsList()The document entities that match the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest].SearchDocumentsResponse.MatchingDocumentOrBuildergetMatchingDocumentsOrBuilder(int index)The document entities that match the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest].List<? extends SearchDocumentsResponse.MatchingDocumentOrBuilder>getMatchingDocumentsOrBuilderList()The document entities that match the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest].ResponseMetadatagetMetadata()Additional information for the API invocation, such as the request tracking id.ResponseMetadata.BuildergetMetadataBuilder()Additional information for the API invocation, such as the request tracking id.ResponseMetadataOrBuildergetMetadataOrBuilder()Additional information for the API invocation, such as the request tracking id.StringgetNextPageToken()The token that specifies the starting position of the next page of results.com.google.protobuf.ByteStringgetNextPageTokenBytes()The token that specifies the starting position of the next page of results.StringgetQuestionAnswer()Experimental.com.google.protobuf.ByteStringgetQuestionAnswerBytes()Experimental.intgetTotalSize()The total number of matched documents which is available only if the client set [SearchDocumentsRequest.require_total_size][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.require_total_size] to `true` or set [SearchDocumentsRequest.total_result_size][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.total_result_size] to `ESTIMATED_SIZE` or `ACTUAL_SIZE`.booleanhasMetadata()Additional information for the API invocation, such as the request tracking id.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()SearchDocumentsResponse.BuildermergeFrom(SearchDocumentsResponse other)SearchDocumentsResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)SearchDocumentsResponse.BuildermergeFrom(com.google.protobuf.Message other)SearchDocumentsResponse.BuildermergeMetadata(ResponseMetadata value)Additional information for the API invocation, such as the request tracking id.SearchDocumentsResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)SearchDocumentsResponse.BuilderremoveHistogramQueryResults(int index)The histogram results that match with the specified [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries].SearchDocumentsResponse.BuilderremoveMatchingDocuments(int index)The document entities that match the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest].SearchDocumentsResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)SearchDocumentsResponse.BuildersetHistogramQueryResults(int index, HistogramQueryResult value)The histogram results that match with the specified [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries].SearchDocumentsResponse.BuildersetHistogramQueryResults(int index, HistogramQueryResult.Builder builderForValue)The histogram results that match with the specified [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries].SearchDocumentsResponse.BuildersetMatchingDocuments(int index, SearchDocumentsResponse.MatchingDocument value)The document entities that match the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest].SearchDocumentsResponse.BuildersetMatchingDocuments(int index, SearchDocumentsResponse.MatchingDocument.Builder builderForValue)The document entities that match the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest].SearchDocumentsResponse.BuildersetMetadata(ResponseMetadata value)Additional information for the API invocation, such as the request tracking id.SearchDocumentsResponse.BuildersetMetadata(ResponseMetadata.Builder builderForValue)Additional information for the API invocation, such as the request tracking id.SearchDocumentsResponse.BuildersetNextPageToken(String value)The token that specifies the starting position of the next page of results.SearchDocumentsResponse.BuildersetNextPageTokenBytes(com.google.protobuf.ByteString value)The token that specifies the starting position of the next page of results.SearchDocumentsResponse.BuildersetQuestionAnswer(String value)Experimental.SearchDocumentsResponse.BuildersetQuestionAnswerBytes(com.google.protobuf.ByteString value)Experimental.SearchDocumentsResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)SearchDocumentsResponse.BuildersetTotalSize(int value)The total number of matched documents which is available only if the client set [SearchDocumentsRequest.require_total_size][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.require_total_size] to `true` or set [SearchDocumentsRequest.total_result_size][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.total_result_size] to `ESTIMATED_SIZE` or `ACTUAL_SIZE`.SearchDocumentsResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<SearchDocumentsResponse.Builder>
-
clear
public SearchDocumentsResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchDocumentsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<SearchDocumentsResponse.Builder>
-
getDefaultInstanceForType
public SearchDocumentsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public SearchDocumentsResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SearchDocumentsResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SearchDocumentsResponse.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<SearchDocumentsResponse.Builder>
-
setField
public SearchDocumentsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchDocumentsResponse.Builder>
-
clearField
public SearchDocumentsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchDocumentsResponse.Builder>
-
clearOneof
public SearchDocumentsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchDocumentsResponse.Builder>
-
setRepeatedField
public SearchDocumentsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchDocumentsResponse.Builder>
-
addRepeatedField
public SearchDocumentsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchDocumentsResponse.Builder>
-
mergeFrom
public SearchDocumentsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SearchDocumentsResponse.Builder>
-
mergeFrom
public SearchDocumentsResponse.Builder mergeFrom(SearchDocumentsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchDocumentsResponse.Builder>
-
mergeFrom
public SearchDocumentsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SearchDocumentsResponse.Builder>- Throws:
IOException
-
getMatchingDocumentsList
public List<SearchDocumentsResponse.MatchingDocument> getMatchingDocumentsList()
The document entities that match the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest].
repeated .google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument matching_documents = 1;- Specified by:
getMatchingDocumentsListin interfaceSearchDocumentsResponseOrBuilder
-
getMatchingDocumentsCount
public int getMatchingDocumentsCount()
The document entities that match the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest].
repeated .google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument matching_documents = 1;- Specified by:
getMatchingDocumentsCountin interfaceSearchDocumentsResponseOrBuilder
-
getMatchingDocuments
public SearchDocumentsResponse.MatchingDocument getMatchingDocuments(int index)
The document entities that match the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest].
repeated .google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument matching_documents = 1;- Specified by:
getMatchingDocumentsin interfaceSearchDocumentsResponseOrBuilder
-
setMatchingDocuments
public SearchDocumentsResponse.Builder setMatchingDocuments(int index, SearchDocumentsResponse.MatchingDocument value)
The document entities that match the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest].
repeated .google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument matching_documents = 1;
-
setMatchingDocuments
public SearchDocumentsResponse.Builder setMatchingDocuments(int index, SearchDocumentsResponse.MatchingDocument.Builder builderForValue)
The document entities that match the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest].
repeated .google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument matching_documents = 1;
-
addMatchingDocuments
public SearchDocumentsResponse.Builder addMatchingDocuments(SearchDocumentsResponse.MatchingDocument value)
The document entities that match the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest].
repeated .google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument matching_documents = 1;
-
addMatchingDocuments
public SearchDocumentsResponse.Builder addMatchingDocuments(int index, SearchDocumentsResponse.MatchingDocument value)
The document entities that match the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest].
repeated .google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument matching_documents = 1;
-
addMatchingDocuments
public SearchDocumentsResponse.Builder addMatchingDocuments(SearchDocumentsResponse.MatchingDocument.Builder builderForValue)
The document entities that match the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest].
repeated .google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument matching_documents = 1;
-
addMatchingDocuments
public SearchDocumentsResponse.Builder addMatchingDocuments(int index, SearchDocumentsResponse.MatchingDocument.Builder builderForValue)
The document entities that match the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest].
repeated .google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument matching_documents = 1;
-
addAllMatchingDocuments
public SearchDocumentsResponse.Builder addAllMatchingDocuments(Iterable<? extends SearchDocumentsResponse.MatchingDocument> values)
The document entities that match the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest].
repeated .google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument matching_documents = 1;
-
clearMatchingDocuments
public SearchDocumentsResponse.Builder clearMatchingDocuments()
The document entities that match the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest].
repeated .google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument matching_documents = 1;
-
removeMatchingDocuments
public SearchDocumentsResponse.Builder removeMatchingDocuments(int index)
The document entities that match the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest].
repeated .google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument matching_documents = 1;
-
getMatchingDocumentsBuilder
public SearchDocumentsResponse.MatchingDocument.Builder getMatchingDocumentsBuilder(int index)
The document entities that match the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest].
repeated .google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument matching_documents = 1;
-
getMatchingDocumentsOrBuilder
public SearchDocumentsResponse.MatchingDocumentOrBuilder getMatchingDocumentsOrBuilder(int index)
The document entities that match the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest].
repeated .google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument matching_documents = 1;- Specified by:
getMatchingDocumentsOrBuilderin interfaceSearchDocumentsResponseOrBuilder
-
getMatchingDocumentsOrBuilderList
public List<? extends SearchDocumentsResponse.MatchingDocumentOrBuilder> getMatchingDocumentsOrBuilderList()
The document entities that match the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest].
repeated .google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument matching_documents = 1;- Specified by:
getMatchingDocumentsOrBuilderListin interfaceSearchDocumentsResponseOrBuilder
-
addMatchingDocumentsBuilder
public SearchDocumentsResponse.MatchingDocument.Builder addMatchingDocumentsBuilder()
The document entities that match the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest].
repeated .google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument matching_documents = 1;
-
addMatchingDocumentsBuilder
public SearchDocumentsResponse.MatchingDocument.Builder addMatchingDocumentsBuilder(int index)
The document entities that match the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest].
repeated .google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument matching_documents = 1;
-
getMatchingDocumentsBuilderList
public List<SearchDocumentsResponse.MatchingDocument.Builder> getMatchingDocumentsBuilderList()
The document entities that match the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest].
repeated .google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument matching_documents = 1;
-
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;- Specified by:
getNextPageTokenin interfaceSearchDocumentsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.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;- Specified by:
getNextPageTokenBytesin interfaceSearchDocumentsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
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;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNextPageTokenBytes
public SearchDocumentsResponse.Builder setNextPageTokenBytes(com.google.protobuf.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;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
getTotalSize
public int getTotalSize()
The total number of matched documents which is available only if the client set [SearchDocumentsRequest.require_total_size][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.require_total_size] to `true` or set [SearchDocumentsRequest.total_result_size][google.cloud.contentwarehouse.v1.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;- Specified by:
getTotalSizein interfaceSearchDocumentsResponseOrBuilder- Returns:
- The totalSize.
-
setTotalSize
public SearchDocumentsResponse.Builder setTotalSize(int value)
The total number of matched documents which is available only if the client set [SearchDocumentsRequest.require_total_size][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.require_total_size] to `true` or set [SearchDocumentsRequest.total_result_size][google.cloud.contentwarehouse.v1.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;- Parameters:
value- The totalSize to set.- Returns:
- 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][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.require_total_size] to `true` or set [SearchDocumentsRequest.total_result_size][google.cloud.contentwarehouse.v1.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:
- This builder for chaining.
-
hasMetadata
public boolean hasMetadata()
Additional information for the API invocation, such as the request tracking id.
.google.cloud.contentwarehouse.v1.ResponseMetadata metadata = 4;- Specified by:
hasMetadatain interfaceSearchDocumentsResponseOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
public ResponseMetadata getMetadata()
Additional information for the API invocation, such as the request tracking id.
.google.cloud.contentwarehouse.v1.ResponseMetadata metadata = 4;- Specified by:
getMetadatain interfaceSearchDocumentsResponseOrBuilder- Returns:
- The metadata.
-
setMetadata
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;
-
setMetadata
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;
-
mergeMetadata
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;
-
clearMetadata
public SearchDocumentsResponse.Builder clearMetadata()
Additional information for the API invocation, such as the request tracking id.
.google.cloud.contentwarehouse.v1.ResponseMetadata metadata = 4;
-
getMetadataBuilder
public ResponseMetadata.Builder getMetadataBuilder()
Additional information for the API invocation, such as the request tracking id.
.google.cloud.contentwarehouse.v1.ResponseMetadata metadata = 4;
-
getMetadataOrBuilder
public ResponseMetadataOrBuilder getMetadataOrBuilder()
Additional information for the API invocation, such as the request tracking id.
.google.cloud.contentwarehouse.v1.ResponseMetadata metadata = 4;- Specified by:
getMetadataOrBuilderin interfaceSearchDocumentsResponseOrBuilder
-
getHistogramQueryResultsList
public List<HistogramQueryResult> getHistogramQueryResultsList()
The histogram results that match with the specified [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries].
repeated .google.cloud.contentwarehouse.v1.HistogramQueryResult histogram_query_results = 6;- Specified by:
getHistogramQueryResultsListin interfaceSearchDocumentsResponseOrBuilder
-
getHistogramQueryResultsCount
public int getHistogramQueryResultsCount()
The histogram results that match with the specified [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries].
repeated .google.cloud.contentwarehouse.v1.HistogramQueryResult histogram_query_results = 6;- Specified by:
getHistogramQueryResultsCountin interfaceSearchDocumentsResponseOrBuilder
-
getHistogramQueryResults
public HistogramQueryResult getHistogramQueryResults(int index)
The histogram results that match with the specified [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries].
repeated .google.cloud.contentwarehouse.v1.HistogramQueryResult histogram_query_results = 6;- Specified by:
getHistogramQueryResultsin interfaceSearchDocumentsResponseOrBuilder
-
setHistogramQueryResults
public SearchDocumentsResponse.Builder setHistogramQueryResults(int index, HistogramQueryResult value)
The histogram results that match with the specified [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries].
repeated .google.cloud.contentwarehouse.v1.HistogramQueryResult histogram_query_results = 6;
-
setHistogramQueryResults
public SearchDocumentsResponse.Builder setHistogramQueryResults(int index, HistogramQueryResult.Builder builderForValue)
The histogram results that match with the specified [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries].
repeated .google.cloud.contentwarehouse.v1.HistogramQueryResult histogram_query_results = 6;
-
addHistogramQueryResults
public SearchDocumentsResponse.Builder addHistogramQueryResults(HistogramQueryResult value)
The histogram results that match with the specified [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries].
repeated .google.cloud.contentwarehouse.v1.HistogramQueryResult histogram_query_results = 6;
-
addHistogramQueryResults
public SearchDocumentsResponse.Builder addHistogramQueryResults(int index, HistogramQueryResult value)
The histogram results that match with the specified [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries].
repeated .google.cloud.contentwarehouse.v1.HistogramQueryResult histogram_query_results = 6;
-
addHistogramQueryResults
public SearchDocumentsResponse.Builder addHistogramQueryResults(HistogramQueryResult.Builder builderForValue)
The histogram results that match with the specified [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries].
repeated .google.cloud.contentwarehouse.v1.HistogramQueryResult histogram_query_results = 6;
-
addHistogramQueryResults
public SearchDocumentsResponse.Builder addHistogramQueryResults(int index, HistogramQueryResult.Builder builderForValue)
The histogram results that match with the specified [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries].
repeated .google.cloud.contentwarehouse.v1.HistogramQueryResult histogram_query_results = 6;
-
addAllHistogramQueryResults
public SearchDocumentsResponse.Builder addAllHistogramQueryResults(Iterable<? extends HistogramQueryResult> values)
The histogram results that match with the specified [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries].
repeated .google.cloud.contentwarehouse.v1.HistogramQueryResult histogram_query_results = 6;
-
clearHistogramQueryResults
public SearchDocumentsResponse.Builder clearHistogramQueryResults()
The histogram results that match with the specified [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries].
repeated .google.cloud.contentwarehouse.v1.HistogramQueryResult histogram_query_results = 6;
-
removeHistogramQueryResults
public SearchDocumentsResponse.Builder removeHistogramQueryResults(int index)
The histogram results that match with the specified [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries].
repeated .google.cloud.contentwarehouse.v1.HistogramQueryResult histogram_query_results = 6;
-
getHistogramQueryResultsBuilder
public HistogramQueryResult.Builder getHistogramQueryResultsBuilder(int index)
The histogram results that match with the specified [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries].
repeated .google.cloud.contentwarehouse.v1.HistogramQueryResult histogram_query_results = 6;
-
getHistogramQueryResultsOrBuilder
public HistogramQueryResultOrBuilder getHistogramQueryResultsOrBuilder(int index)
The histogram results that match with the specified [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries].
repeated .google.cloud.contentwarehouse.v1.HistogramQueryResult histogram_query_results = 6;- Specified by:
getHistogramQueryResultsOrBuilderin interfaceSearchDocumentsResponseOrBuilder
-
getHistogramQueryResultsOrBuilderList
public List<? extends HistogramQueryResultOrBuilder> getHistogramQueryResultsOrBuilderList()
The histogram results that match with the specified [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries].
repeated .google.cloud.contentwarehouse.v1.HistogramQueryResult histogram_query_results = 6;- Specified by:
getHistogramQueryResultsOrBuilderListin interfaceSearchDocumentsResponseOrBuilder
-
addHistogramQueryResultsBuilder
public HistogramQueryResult.Builder addHistogramQueryResultsBuilder()
The histogram results that match with the specified [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries].
repeated .google.cloud.contentwarehouse.v1.HistogramQueryResult histogram_query_results = 6;
-
addHistogramQueryResultsBuilder
public HistogramQueryResult.Builder addHistogramQueryResultsBuilder(int index)
The histogram results that match with the specified [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries].
repeated .google.cloud.contentwarehouse.v1.HistogramQueryResult histogram_query_results = 6;
-
getHistogramQueryResultsBuilderList
public List<HistogramQueryResult.Builder> getHistogramQueryResultsBuilderList()
The histogram results that match with the specified [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries].
repeated .google.cloud.contentwarehouse.v1.HistogramQueryResult histogram_query_results = 6;
-
getQuestionAnswer
public String getQuestionAnswer()
Experimental. Question answer from the query against the document.
string question_answer = 7;- Specified by:
getQuestionAnswerin interfaceSearchDocumentsResponseOrBuilder- Returns:
- The questionAnswer.
-
getQuestionAnswerBytes
public com.google.protobuf.ByteString getQuestionAnswerBytes()
Experimental. Question answer from the query against the document.
string question_answer = 7;- Specified by:
getQuestionAnswerBytesin interfaceSearchDocumentsResponseOrBuilder- Returns:
- The bytes for questionAnswer.
-
setQuestionAnswer
public SearchDocumentsResponse.Builder setQuestionAnswer(String value)
Experimental. Question answer from the query against the document.
string question_answer = 7;- Parameters:
value- The questionAnswer to set.- Returns:
- This builder for chaining.
-
clearQuestionAnswer
public SearchDocumentsResponse.Builder clearQuestionAnswer()
Experimental. Question answer from the query against the document.
string question_answer = 7;- Returns:
- This builder for chaining.
-
setQuestionAnswerBytes
public SearchDocumentsResponse.Builder setQuestionAnswerBytes(com.google.protobuf.ByteString value)
Experimental. Question answer from the query against the document.
string question_answer = 7;- Parameters:
value- The bytes for questionAnswer to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final SearchDocumentsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchDocumentsResponse.Builder>
-
mergeUnknownFields
public final SearchDocumentsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SearchDocumentsResponse.Builder>
-
-