- 0.47.0 (latest)
- 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 SearchDocumentsResponseOrBuilder
Response 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()
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;
Name | Description |
values | Iterable<? extends com.google.cloud.contentwarehouse.v1.HistogramQueryResult> |
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;
Name | Description |
values | Iterable<? extends com.google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument> |
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;
Name | Description |
value | HistogramQueryResult |
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;
Name | Description |
builderForValue | HistogramQueryResult.Builder |
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;
Name | Description |
index | int |
value | HistogramQueryResult |
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;
Name | Description |
index | int |
builderForValue | HistogramQueryResult.Builder |
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;
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;
Name | Description |
index | int |
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;
Name | Description |
value | SearchDocumentsResponse.MatchingDocument |
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;
Name | Description |
builderForValue | SearchDocumentsResponse.MatchingDocument.Builder |
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;
Name | Description |
index | int |
value | SearchDocumentsResponse.MatchingDocument |
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;
Name | Description |
index | int |
builderForValue | SearchDocumentsResponse.MatchingDocument.Builder |
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;
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;
Name | Description |
index | int |
Type | Description |
SearchDocumentsResponse.MatchingDocument.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchDocumentsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
SearchDocumentsResponse.Builder |
build()
public SearchDocumentsResponse build()
Type | Description |
SearchDocumentsResponse |
buildPartial()
public SearchDocumentsResponse buildPartial()
Type | Description |
SearchDocumentsResponse |
clear()
public SearchDocumentsResponse.Builder clear()
Type | Description |
SearchDocumentsResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public SearchDocumentsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
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;
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;
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;
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;
Type | Description |
SearchDocumentsResponse.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchDocumentsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
SearchDocumentsResponse.Builder |
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
. Otherwise, the
value will be -1
. total_size
will max at "100,000". If this
is returned, then it can be assumed that the count is equal to or greater
than 100,000. Typically a UI would handle this condition by displaying
"of many", for example: "Displaying 10 of many".
int32 total_size = 3;
Type | Description |
SearchDocumentsResponse.Builder | This builder for chaining. |
clone()
public SearchDocumentsResponse.Builder clone()
Type | Description |
SearchDocumentsResponse.Builder |
getDefaultInstanceForType()
public SearchDocumentsResponse getDefaultInstanceForType()
Type | Description |
SearchDocumentsResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
Name | Description |
index | int |
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;
Name | Description |
index | int |
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;
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;
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;
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;
Name | Description |
index | int |
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;
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;
Name | Description |
index | int |
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;
Name | Description |
index | int |
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;
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;
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;
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;
Name | Description |
index | int |
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;
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;
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;
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;
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;
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;
Type | Description |
ByteString | The bytes for nextPageToken. |
getTotalSize()
public int getTotalSize()
The total number of matched documents which is available only if the client
set SearchDocumentsRequest.require_total_size to true
. Otherwise, the
value will be -1
. total_size
will max at "100,000". If this
is returned, then it can be assumed that the count is equal to or greater
than 100,000. Typically a UI would handle this condition by displaying
"of many", for example: "Displaying 10 of many".
int32 total_size = 3;
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;
Type | Description |
boolean | Whether the metadata field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(SearchDocumentsResponse other)
public SearchDocumentsResponse.Builder mergeFrom(SearchDocumentsResponse other)
Name | Description |
other | SearchDocumentsResponse |
Type | Description |
SearchDocumentsResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SearchDocumentsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SearchDocumentsResponse.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public SearchDocumentsResponse.Builder mergeFrom(Message other)
Name | Description |
other | Message |
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;
Name | Description |
value | ResponseMetadata |
Type | Description |
SearchDocumentsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchDocumentsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
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;
Name | Description |
index | int |
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;
Name | Description |
index | int |
Type | Description |
SearchDocumentsResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public SearchDocumentsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
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;
Name | Description |
index | int |
value | HistogramQueryResult |
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;
Name | Description |
index | int |
builderForValue | HistogramQueryResult.Builder |
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;
Name | Description |
index | int |
value | SearchDocumentsResponse.MatchingDocument |
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;
Name | Description |
index | int |
builderForValue | SearchDocumentsResponse.MatchingDocument.Builder |
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;
Name | Description |
value | ResponseMetadata |
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;
Name | Description |
builderForValue | ResponseMetadata.Builder |
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;
Name | Description |
value | String The nextPageToken to set. |
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;
Name | Description |
value | ByteString The bytes for nextPageToken to set. |
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)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
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
. Otherwise, the
value will be -1
. total_size
will max at "100,000". If this
is returned, then it can be assumed that the count is equal to or greater
than 100,000. Typically a UI would handle this condition by displaying
"of many", for example: "Displaying 10 of many".
int32 total_size = 3;
Name | Description |
value | int The totalSize to set. |
Type | Description |
SearchDocumentsResponse.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchDocumentsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
SearchDocumentsResponse.Builder |