public interface SearchResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getAppliedControls(int index)
Controls applied as part of the Control service.
|
com.google.protobuf.ByteString |
getAppliedControlsBytes(int index)
Controls applied as part of the Control service.
|
int |
getAppliedControlsCount()
Controls applied as part of the Control service.
|
List<String> |
getAppliedControlsList()
Controls applied as part of the Control service.
|
String |
getAttributionToken()
A unique search token.
|
com.google.protobuf.ByteString |
getAttributionTokenBytes()
A unique search token.
|
String |
getCorrectedQuery()
Contains the spell corrected query, if found.
|
com.google.protobuf.ByteString |
getCorrectedQueryBytes()
Contains the spell corrected query, if found.
|
SearchResponse.Facet |
getFacets(int index)
Results of facets requested by user.
|
int |
getFacetsCount()
Results of facets requested by user.
|
List<SearchResponse.Facet> |
getFacetsList()
Results of facets requested by user.
|
SearchResponse.FacetOrBuilder |
getFacetsOrBuilder(int index)
Results of facets requested by user.
|
List<? extends SearchResponse.FacetOrBuilder> |
getFacetsOrBuilderList()
Results of facets requested by user.
|
SearchResponse.GuidedSearchResult |
getGuidedSearchResult()
Guided search result.
|
SearchResponse.GuidedSearchResultOrBuilder |
getGuidedSearchResultOrBuilder()
Guided search result.
|
String |
getNextPageToken()
A token that can be sent as
[SearchRequest.page_token][google.cloud.discoveryengine.v1beta.SearchRequest.page_token]
to retrieve the next page.
|
com.google.protobuf.ByteString |
getNextPageTokenBytes()
A token that can be sent as
[SearchRequest.page_token][google.cloud.discoveryengine.v1beta.SearchRequest.page_token]
to retrieve the next page.
|
SearchResponse.QueryExpansionInfo |
getQueryExpansionInfo()
Query expansion information for the returned results.
|
SearchResponse.QueryExpansionInfoOrBuilder |
getQueryExpansionInfoOrBuilder()
Query expansion information for the returned results.
|
String |
getRedirectUri()
The URI of a customer-defined redirect page.
|
com.google.protobuf.ByteString |
getRedirectUriBytes()
The URI of a customer-defined redirect page.
|
SearchResponse.SearchResult |
getResults(int index)
A list of matched documents.
|
int |
getResultsCount()
A list of matched documents.
|
List<SearchResponse.SearchResult> |
getResultsList()
A list of matched documents.
|
SearchResponse.SearchResultOrBuilder |
getResultsOrBuilder(int index)
A list of matched documents.
|
List<? extends SearchResponse.SearchResultOrBuilder> |
getResultsOrBuilderList()
A list of matched documents.
|
SearchResponse.Summary |
getSummary()
A summary as part of the search results.
|
SearchResponse.SummaryOrBuilder |
getSummaryOrBuilder()
A summary as part of the search results.
|
int |
getTotalSize()
The estimated total count of matched items irrespective of pagination.
|
boolean |
hasGuidedSearchResult()
Guided search result.
|
boolean |
hasQueryExpansionInfo()
Query expansion information for the returned results.
|
boolean |
hasSummary()
A summary as part of the search results.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofList<SearchResponse.SearchResult> getResultsList()
A list of matched documents. The order represents the ranking.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult results = 1;
SearchResponse.SearchResult getResults(int index)
A list of matched documents. The order represents the ranking.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult results = 1;
int getResultsCount()
A list of matched documents. The order represents the ranking.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult results = 1;
List<? extends SearchResponse.SearchResultOrBuilder> getResultsOrBuilderList()
A list of matched documents. The order represents the ranking.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult results = 1;
SearchResponse.SearchResultOrBuilder getResultsOrBuilder(int index)
A list of matched documents. The order represents the ranking.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult results = 1;
List<SearchResponse.Facet> getFacetsList()
Results of facets requested by user.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Facet facets = 2;SearchResponse.Facet getFacets(int index)
Results of facets requested by user.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Facet facets = 2;int getFacetsCount()
Results of facets requested by user.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Facet facets = 2;List<? extends SearchResponse.FacetOrBuilder> getFacetsOrBuilderList()
Results of facets requested by user.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Facet facets = 2;SearchResponse.FacetOrBuilder getFacetsOrBuilder(int index)
Results of facets requested by user.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Facet facets = 2;boolean hasGuidedSearchResult()
Guided search result.
.google.cloud.discoveryengine.v1beta.SearchResponse.GuidedSearchResult guided_search_result = 8;
SearchResponse.GuidedSearchResult getGuidedSearchResult()
Guided search result.
.google.cloud.discoveryengine.v1beta.SearchResponse.GuidedSearchResult guided_search_result = 8;
SearchResponse.GuidedSearchResultOrBuilder getGuidedSearchResultOrBuilder()
Guided search result.
.google.cloud.discoveryengine.v1beta.SearchResponse.GuidedSearchResult guided_search_result = 8;
int getTotalSize()
The estimated total count of matched items irrespective of pagination. The count of [results][google.cloud.discoveryengine.v1beta.SearchResponse.results] returned by pagination may be less than the [total_size][google.cloud.discoveryengine.v1beta.SearchResponse.total_size] that matches.
int32 total_size = 3;String getAttributionToken()
A unique search token. This should be included in the [UserEvent][google.cloud.discoveryengine.v1beta.UserEvent] logs resulting from this search, which enables accurate attribution of search model performance.
string attribution_token = 4;com.google.protobuf.ByteString getAttributionTokenBytes()
A unique search token. This should be included in the [UserEvent][google.cloud.discoveryengine.v1beta.UserEvent] logs resulting from this search, which enables accurate attribution of search model performance.
string attribution_token = 4;String getRedirectUri()
The URI of a customer-defined redirect page. If redirect action is triggered, no search is performed, and only [redirect_uri][google.cloud.discoveryengine.v1beta.SearchResponse.redirect_uri] and [attribution_token][google.cloud.discoveryengine.v1beta.SearchResponse.attribution_token] are set in the response.
string redirect_uri = 12;com.google.protobuf.ByteString getRedirectUriBytes()
The URI of a customer-defined redirect page. If redirect action is triggered, no search is performed, and only [redirect_uri][google.cloud.discoveryengine.v1beta.SearchResponse.redirect_uri] and [attribution_token][google.cloud.discoveryengine.v1beta.SearchResponse.attribution_token] are set in the response.
string redirect_uri = 12;String getNextPageToken()
A token that can be sent as [SearchRequest.page_token][google.cloud.discoveryengine.v1beta.SearchRequest.page_token] to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 5;com.google.protobuf.ByteString getNextPageTokenBytes()
A token that can be sent as [SearchRequest.page_token][google.cloud.discoveryengine.v1beta.SearchRequest.page_token] to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 5;String getCorrectedQuery()
Contains the spell corrected query, if found. If the spell correction type is AUTOMATIC, then the search results are based on corrected_query. Otherwise the original query is used for search.
string corrected_query = 7;com.google.protobuf.ByteString getCorrectedQueryBytes()
Contains the spell corrected query, if found. If the spell correction type is AUTOMATIC, then the search results are based on corrected_query. Otherwise the original query is used for search.
string corrected_query = 7;boolean hasSummary()
A summary as part of the search results. This field is only returned if [SearchRequest.ContentSearchSpec.summary_spec][google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.summary_spec] is set.
.google.cloud.discoveryengine.v1beta.SearchResponse.Summary summary = 9;SearchResponse.Summary getSummary()
A summary as part of the search results. This field is only returned if [SearchRequest.ContentSearchSpec.summary_spec][google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.summary_spec] is set.
.google.cloud.discoveryengine.v1beta.SearchResponse.Summary summary = 9;SearchResponse.SummaryOrBuilder getSummaryOrBuilder()
A summary as part of the search results. This field is only returned if [SearchRequest.ContentSearchSpec.summary_spec][google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.summary_spec] is set.
.google.cloud.discoveryengine.v1beta.SearchResponse.Summary summary = 9;List<String> getAppliedControlsList()
Controls applied as part of the Control service.
repeated string applied_controls = 10;int getAppliedControlsCount()
Controls applied as part of the Control service.
repeated string applied_controls = 10;String getAppliedControls(int index)
Controls applied as part of the Control service.
repeated string applied_controls = 10;index - The index of the element to return.com.google.protobuf.ByteString getAppliedControlsBytes(int index)
Controls applied as part of the Control service.
repeated string applied_controls = 10;index - The index of the value to return.boolean hasQueryExpansionInfo()
Query expansion information for the returned results.
.google.cloud.discoveryengine.v1beta.SearchResponse.QueryExpansionInfo query_expansion_info = 14;
SearchResponse.QueryExpansionInfo getQueryExpansionInfo()
Query expansion information for the returned results.
.google.cloud.discoveryengine.v1beta.SearchResponse.QueryExpansionInfo query_expansion_info = 14;
SearchResponse.QueryExpansionInfoOrBuilder getQueryExpansionInfoOrBuilder()
Query expansion information for the returned results.
.google.cloud.discoveryengine.v1beta.SearchResponse.QueryExpansionInfo query_expansion_info = 14;
Copyright © 2024 Google LLC. All rights reserved.