Class SearchResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SearchResponse.Builder>
com.google.cloud.discoveryengine.v1beta.SearchResponse.Builder
- All Implemented Interfaces:
SearchResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SearchResponse
public static final class SearchResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SearchResponse.Builder>
implements SearchResponseOrBuilder
Response message for [SearchService.Search][google.cloud.discoveryengine.v1beta.SearchService.Search] method.Protobuf type
google.cloud.discoveryengine.v1beta.SearchResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllAppliedControls(Iterable<String> values) Controls applied as part of the Control service.addAllFacets(Iterable<? extends SearchResponse.Facet> values) Results of facets requested by user.addAllGeoSearchDebugInfo(Iterable<? extends SearchResponse.GeoSearchDebugInfo> values) repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GeoSearchDebugInfo geo_search_debug_info = 16;addAllOneBoxResults(Iterable<? extends SearchResponse.OneBoxResult> values) A list of One Box results.addAllResults(Iterable<? extends SearchResponse.SearchResult> values) A list of matched documents.addAppliedControls(String value) Controls applied as part of the Control service.addAppliedControlsBytes(com.google.protobuf.ByteString value) Controls applied as part of the Control service.addFacets(int index, SearchResponse.Facet value) Results of facets requested by user.addFacets(int index, SearchResponse.Facet.Builder builderForValue) Results of facets requested by user.addFacets(SearchResponse.Facet value) Results of facets requested by user.addFacets(SearchResponse.Facet.Builder builderForValue) Results of facets requested by user.Results of facets requested by user.addFacetsBuilder(int index) Results of facets requested by user.addGeoSearchDebugInfo(int index, SearchResponse.GeoSearchDebugInfo value) repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GeoSearchDebugInfo geo_search_debug_info = 16;addGeoSearchDebugInfo(int index, SearchResponse.GeoSearchDebugInfo.Builder builderForValue) repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GeoSearchDebugInfo geo_search_debug_info = 16;repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GeoSearchDebugInfo geo_search_debug_info = 16;addGeoSearchDebugInfo(SearchResponse.GeoSearchDebugInfo.Builder builderForValue) repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GeoSearchDebugInfo geo_search_debug_info = 16;repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GeoSearchDebugInfo geo_search_debug_info = 16;addGeoSearchDebugInfoBuilder(int index) repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GeoSearchDebugInfo geo_search_debug_info = 16;addOneBoxResults(int index, SearchResponse.OneBoxResult value) A list of One Box results.addOneBoxResults(int index, SearchResponse.OneBoxResult.Builder builderForValue) A list of One Box results.A list of One Box results.addOneBoxResults(SearchResponse.OneBoxResult.Builder builderForValue) A list of One Box results.A list of One Box results.addOneBoxResultsBuilder(int index) A list of One Box results.addResults(int index, SearchResponse.SearchResult value) A list of matched documents.addResults(int index, SearchResponse.SearchResult.Builder builderForValue) A list of matched documents.A list of matched documents.addResults(SearchResponse.SearchResult.Builder builderForValue) A list of matched documents.A list of matched documents.addResultsBuilder(int index) A list of matched documents.build()clear()Controls applied as part of the Control service.A unique search token.Contains the spell corrected query, if found.Results of facets requested by user.repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GeoSearchDebugInfo geo_search_debug_info = 16;Guided search result.Natural language query understanding information for the returned results.A token that can be sent as [SearchRequest.page_token][google.cloud.discoveryengine.v1beta.SearchRequest.page_token] to retrieve the next page.A list of One Box results.Query expansion information for the returned results.The URI of a customer-defined redirect page.A list of matched documents.Session information.A summary as part of the search results.The estimated total count of matched items irrespective of pagination.getAppliedControls(int index) Controls applied as part of the Control service.com.google.protobuf.ByteStringgetAppliedControlsBytes(int index) Controls applied as part of the Control service.intControls applied as part of the Control service.com.google.protobuf.ProtocolStringListControls applied as part of the Control service.A unique search token.com.google.protobuf.ByteStringA unique search token.Contains the spell corrected query, if found.com.google.protobuf.ByteStringContains the spell corrected query, if found.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetFacets(int index) Results of facets requested by user.getFacetsBuilder(int index) Results of facets requested by user.Results of facets requested by user.intResults of facets requested by user.Results of facets requested by user.getFacetsOrBuilder(int index) Results of facets requested by user.List<? extends SearchResponse.FacetOrBuilder>Results of facets requested by user.getGeoSearchDebugInfo(int index) repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GeoSearchDebugInfo geo_search_debug_info = 16;getGeoSearchDebugInfoBuilder(int index) repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GeoSearchDebugInfo geo_search_debug_info = 16;repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GeoSearchDebugInfo geo_search_debug_info = 16;intrepeated .google.cloud.discoveryengine.v1beta.SearchResponse.GeoSearchDebugInfo geo_search_debug_info = 16;repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GeoSearchDebugInfo geo_search_debug_info = 16;getGeoSearchDebugInfoOrBuilder(int index) repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GeoSearchDebugInfo geo_search_debug_info = 16;List<? extends SearchResponse.GeoSearchDebugInfoOrBuilder>repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GeoSearchDebugInfo geo_search_debug_info = 16;Guided search result.Guided search result.Guided search result.Natural language query understanding information for the returned results.Natural language query understanding information for the returned results.Natural language query understanding information for the returned results.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.ByteStringA token that can be sent as [SearchRequest.page_token][google.cloud.discoveryengine.v1beta.SearchRequest.page_token] to retrieve the next page.getOneBoxResults(int index) A list of One Box results.getOneBoxResultsBuilder(int index) A list of One Box results.A list of One Box results.intA list of One Box results.A list of One Box results.getOneBoxResultsOrBuilder(int index) A list of One Box results.List<? extends SearchResponse.OneBoxResultOrBuilder>A list of One Box results.Query expansion information for the returned results.Query expansion information for the returned results.Query expansion information for the returned results.The URI of a customer-defined redirect page.com.google.protobuf.ByteStringThe URI of a customer-defined redirect page.getResults(int index) A list of matched documents.getResultsBuilder(int index) A list of matched documents.A list of matched documents.intA list of matched documents.A list of matched documents.getResultsOrBuilder(int index) A list of matched documents.List<? extends SearchResponse.SearchResultOrBuilder>A list of matched documents.Session information.Session information.Session information.A summary as part of the search results.A summary as part of the search results.A summary as part of the search results.intThe estimated total count of matched items irrespective of pagination.booleanGuided search result.booleanNatural language query understanding information for the returned results.booleanQuery expansion information for the returned results.booleanSession information.booleanA summary as part of the search results.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(SearchResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Guided search result.mergeNaturalLanguageQueryUnderstandingInfo(SearchResponse.NaturalLanguageQueryUnderstandingInfo value) Natural language query understanding information for the returned results.Query expansion information for the returned results.Session information.A summary as part of the search results.removeFacets(int index) Results of facets requested by user.removeGeoSearchDebugInfo(int index) repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GeoSearchDebugInfo geo_search_debug_info = 16;removeOneBoxResults(int index) A list of One Box results.removeResults(int index) A list of matched documents.setAppliedControls(int index, String value) Controls applied as part of the Control service.setAttributionToken(String value) A unique search token.setAttributionTokenBytes(com.google.protobuf.ByteString value) A unique search token.setCorrectedQuery(String value) Contains the spell corrected query, if found.setCorrectedQueryBytes(com.google.protobuf.ByteString value) Contains the spell corrected query, if found.setFacets(int index, SearchResponse.Facet value) Results of facets requested by user.setFacets(int index, SearchResponse.Facet.Builder builderForValue) Results of facets requested by user.setGeoSearchDebugInfo(int index, SearchResponse.GeoSearchDebugInfo value) repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GeoSearchDebugInfo geo_search_debug_info = 16;setGeoSearchDebugInfo(int index, SearchResponse.GeoSearchDebugInfo.Builder builderForValue) repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GeoSearchDebugInfo geo_search_debug_info = 16;Guided search result.setGuidedSearchResult(SearchResponse.GuidedSearchResult.Builder builderForValue) Guided search result.setNaturalLanguageQueryUnderstandingInfo(SearchResponse.NaturalLanguageQueryUnderstandingInfo value) Natural language query understanding information for the returned results.setNaturalLanguageQueryUnderstandingInfo(SearchResponse.NaturalLanguageQueryUnderstandingInfo.Builder builderForValue) Natural language query understanding information for the returned results.setNextPageToken(String value) A token that can be sent as [SearchRequest.page_token][google.cloud.discoveryengine.v1beta.SearchRequest.page_token] to retrieve the next page.setNextPageTokenBytes(com.google.protobuf.ByteString value) A token that can be sent as [SearchRequest.page_token][google.cloud.discoveryengine.v1beta.SearchRequest.page_token] to retrieve the next page.setOneBoxResults(int index, SearchResponse.OneBoxResult value) A list of One Box results.setOneBoxResults(int index, SearchResponse.OneBoxResult.Builder builderForValue) A list of One Box results.Query expansion information for the returned results.setQueryExpansionInfo(SearchResponse.QueryExpansionInfo.Builder builderForValue) Query expansion information for the returned results.setRedirectUri(String value) The URI of a customer-defined redirect page.setRedirectUriBytes(com.google.protobuf.ByteString value) The URI of a customer-defined redirect page.setResults(int index, SearchResponse.SearchResult value) A list of matched documents.setResults(int index, SearchResponse.SearchResult.Builder builderForValue) A list of matched documents.Session information.setSessionInfo(SearchResponse.SessionInfo.Builder builderForValue) Session information.setSummary(SearchResponse.Summary value) A summary as part of the search results.setSummary(SearchResponse.Summary.Builder builderForValue) A summary as part of the search results.setTotalSize(int value) The estimated total count of matched items irrespective of pagination.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SearchResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SearchResponse.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.GeneratedMessage.Builder<SearchResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SearchResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SearchResponse.Builder>
-
mergeFrom
public SearchResponse.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<SearchResponse.Builder>- Throws:
IOException
-
getResultsList
A list of matched documents. The order represents the ranking.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult results = 1;- Specified by:
getResultsListin interfaceSearchResponseOrBuilder
-
getResultsCount
public int getResultsCount()A list of matched documents. The order represents the ranking.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult results = 1;- Specified by:
getResultsCountin interfaceSearchResponseOrBuilder
-
getResults
A list of matched documents. The order represents the ranking.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult results = 1;- Specified by:
getResultsin interfaceSearchResponseOrBuilder
-
setResults
A list of matched documents. The order represents the ranking.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult results = 1; -
setResults
public SearchResponse.Builder setResults(int index, SearchResponse.SearchResult.Builder builderForValue) A list of matched documents. The order represents the ranking.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult results = 1; -
addResults
A list of matched documents. The order represents the ranking.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult results = 1; -
addResults
A list of matched documents. The order represents the ranking.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult results = 1; -
addResults
A list of matched documents. The order represents the ranking.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult results = 1; -
addResults
public SearchResponse.Builder addResults(int index, SearchResponse.SearchResult.Builder builderForValue) A list of matched documents. The order represents the ranking.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult results = 1; -
addAllResults
A list of matched documents. The order represents the ranking.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult results = 1; -
clearResults
A list of matched documents. The order represents the ranking.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult results = 1; -
removeResults
A list of matched documents. The order represents the ranking.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult results = 1; -
getResultsBuilder
A list of matched documents. The order represents the ranking.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult results = 1; -
getResultsOrBuilder
A list of matched documents. The order represents the ranking.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult results = 1;- Specified by:
getResultsOrBuilderin interfaceSearchResponseOrBuilder
-
getResultsOrBuilderList
A list of matched documents. The order represents the ranking.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult results = 1;- Specified by:
getResultsOrBuilderListin interfaceSearchResponseOrBuilder
-
addResultsBuilder
A list of matched documents. The order represents the ranking.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult results = 1; -
addResultsBuilder
A list of matched documents. The order represents the ranking.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult results = 1; -
getResultsBuilderList
A list of matched documents. The order represents the ranking.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult results = 1; -
getFacetsList
Results of facets requested by user.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Facet facets = 2;- Specified by:
getFacetsListin interfaceSearchResponseOrBuilder
-
getFacetsCount
public int getFacetsCount()Results of facets requested by user.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Facet facets = 2;- Specified by:
getFacetsCountin interfaceSearchResponseOrBuilder
-
getFacets
Results of facets requested by user.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Facet facets = 2;- Specified by:
getFacetsin interfaceSearchResponseOrBuilder
-
setFacets
Results of facets requested by user.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Facet facets = 2; -
setFacets
Results of facets requested by user.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Facet facets = 2; -
addFacets
Results of facets requested by user.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Facet facets = 2; -
addFacets
Results of facets requested by user.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Facet facets = 2; -
addFacets
Results of facets requested by user.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Facet facets = 2; -
addFacets
Results of facets requested by user.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Facet facets = 2; -
addAllFacets
Results of facets requested by user.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Facet facets = 2; -
clearFacets
Results of facets requested by user.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Facet facets = 2; -
removeFacets
Results of facets requested by user.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Facet facets = 2; -
getFacetsBuilder
Results of facets requested by user.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Facet facets = 2; -
getFacetsOrBuilder
Results of facets requested by user.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Facet facets = 2;- Specified by:
getFacetsOrBuilderin interfaceSearchResponseOrBuilder
-
getFacetsOrBuilderList
Results of facets requested by user.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Facet facets = 2;- Specified by:
getFacetsOrBuilderListin interfaceSearchResponseOrBuilder
-
addFacetsBuilder
Results of facets requested by user.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Facet facets = 2; -
addFacetsBuilder
Results of facets requested by user.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Facet facets = 2; -
getFacetsBuilderList
Results of facets requested by user.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Facet facets = 2; -
hasGuidedSearchResult
public boolean hasGuidedSearchResult()Guided search result.
.google.cloud.discoveryengine.v1beta.SearchResponse.GuidedSearchResult guided_search_result = 8;- Specified by:
hasGuidedSearchResultin interfaceSearchResponseOrBuilder- Returns:
- Whether the guidedSearchResult field is set.
-
getGuidedSearchResult
Guided search result.
.google.cloud.discoveryengine.v1beta.SearchResponse.GuidedSearchResult guided_search_result = 8;- Specified by:
getGuidedSearchResultin interfaceSearchResponseOrBuilder- Returns:
- The guidedSearchResult.
-
setGuidedSearchResult
Guided search result.
.google.cloud.discoveryengine.v1beta.SearchResponse.GuidedSearchResult guided_search_result = 8; -
setGuidedSearchResult
public SearchResponse.Builder setGuidedSearchResult(SearchResponse.GuidedSearchResult.Builder builderForValue) Guided search result.
.google.cloud.discoveryengine.v1beta.SearchResponse.GuidedSearchResult guided_search_result = 8; -
mergeGuidedSearchResult
Guided search result.
.google.cloud.discoveryengine.v1beta.SearchResponse.GuidedSearchResult guided_search_result = 8; -
clearGuidedSearchResult
Guided search result.
.google.cloud.discoveryengine.v1beta.SearchResponse.GuidedSearchResult guided_search_result = 8; -
getGuidedSearchResultBuilder
Guided search result.
.google.cloud.discoveryengine.v1beta.SearchResponse.GuidedSearchResult guided_search_result = 8; -
getGuidedSearchResultOrBuilder
Guided search result.
.google.cloud.discoveryengine.v1beta.SearchResponse.GuidedSearchResult guided_search_result = 8;- Specified by:
getGuidedSearchResultOrBuilderin interfaceSearchResponseOrBuilder
-
getTotalSize
public 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;- Specified by:
getTotalSizein interfaceSearchResponseOrBuilder- Returns:
- The totalSize.
-
setTotalSize
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;- Parameters:
value- The totalSize to set.- Returns:
- This builder for chaining.
-
clearTotalSize
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;- Returns:
- This builder for chaining.
-
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. This also helps to identify a request during the customer support scenarios.
string attribution_token = 4;- Specified by:
getAttributionTokenin interfaceSearchResponseOrBuilder- Returns:
- The attributionToken.
-
getAttributionTokenBytes
public 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. This also helps to identify a request during the customer support scenarios.
string attribution_token = 4;- Specified by:
getAttributionTokenBytesin interfaceSearchResponseOrBuilder- Returns:
- The bytes for attributionToken.
-
setAttributionToken
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. This also helps to identify a request during the customer support scenarios.
string attribution_token = 4;- Parameters:
value- The attributionToken to set.- Returns:
- This builder for chaining.
-
clearAttributionToken
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. This also helps to identify a request during the customer support scenarios.
string attribution_token = 4;- Returns:
- This builder for chaining.
-
setAttributionTokenBytes
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. This also helps to identify a request during the customer support scenarios.
string attribution_token = 4;- Parameters:
value- The bytes for attributionToken to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getRedirectUriin interfaceSearchResponseOrBuilder- Returns:
- The redirectUri.
-
getRedirectUriBytes
public 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;- Specified by:
getRedirectUriBytesin interfaceSearchResponseOrBuilder- Returns:
- The bytes for redirectUri.
-
setRedirectUri
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;- Parameters:
value- The redirectUri to set.- Returns:
- This builder for chaining.
-
clearRedirectUri
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;- Returns:
- This builder for chaining.
-
setRedirectUriBytes
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;- Parameters:
value- The bytes for redirectUri to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getNextPageTokenin interfaceSearchResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public 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;- Specified by:
getNextPageTokenBytesin interfaceSearchResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
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;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
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;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
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;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getCorrectedQueryin interfaceSearchResponseOrBuilder- Returns:
- The correctedQuery.
-
getCorrectedQueryBytes
public 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;- Specified by:
getCorrectedQueryBytesin interfaceSearchResponseOrBuilder- Returns:
- The bytes for correctedQuery.
-
setCorrectedQuery
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;- Parameters:
value- The correctedQuery to set.- Returns:
- This builder for chaining.
-
clearCorrectedQuery
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;- Returns:
- This builder for chaining.
-
setCorrectedQueryBytes
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;- Parameters:
value- The bytes for correctedQuery to set.- Returns:
- This builder for chaining.
-
hasSummary
public 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;- Specified by:
hasSummaryin interfaceSearchResponseOrBuilder- Returns:
- Whether the summary field is set.
-
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;- Specified by:
getSummaryin interfaceSearchResponseOrBuilder- Returns:
- The summary.
-
setSummary
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; -
setSummary
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; -
mergeSummary
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; -
clearSummary
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; -
getSummaryBuilder
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; -
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;- Specified by:
getSummaryOrBuilderin interfaceSearchResponseOrBuilder
-
getAppliedControlsList
public com.google.protobuf.ProtocolStringList getAppliedControlsList()Controls applied as part of the Control service.
repeated string applied_controls = 10;- Specified by:
getAppliedControlsListin interfaceSearchResponseOrBuilder- Returns:
- A list containing the appliedControls.
-
getAppliedControlsCount
public int getAppliedControlsCount()Controls applied as part of the Control service.
repeated string applied_controls = 10;- Specified by:
getAppliedControlsCountin interfaceSearchResponseOrBuilder- Returns:
- The count of appliedControls.
-
getAppliedControls
Controls applied as part of the Control service.
repeated string applied_controls = 10;- Specified by:
getAppliedControlsin interfaceSearchResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The appliedControls at the given index.
-
getAppliedControlsBytes
public com.google.protobuf.ByteString getAppliedControlsBytes(int index) Controls applied as part of the Control service.
repeated string applied_controls = 10;- Specified by:
getAppliedControlsBytesin interfaceSearchResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the appliedControls at the given index.
-
setAppliedControls
Controls applied as part of the Control service.
repeated string applied_controls = 10;- Parameters:
index- The index to set the value at.value- The appliedControls to set.- Returns:
- This builder for chaining.
-
addAppliedControls
Controls applied as part of the Control service.
repeated string applied_controls = 10;- Parameters:
value- The appliedControls to add.- Returns:
- This builder for chaining.
-
addAllAppliedControls
Controls applied as part of the Control service.
repeated string applied_controls = 10;- Parameters:
values- The appliedControls to add.- Returns:
- This builder for chaining.
-
clearAppliedControls
Controls applied as part of the Control service.
repeated string applied_controls = 10;- Returns:
- This builder for chaining.
-
addAppliedControlsBytes
Controls applied as part of the Control service.
repeated string applied_controls = 10;- Parameters:
value- The bytes of the appliedControls to add.- Returns:
- This builder for chaining.
-
getGeoSearchDebugInfoList
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GeoSearchDebugInfo geo_search_debug_info = 16;- Specified by:
getGeoSearchDebugInfoListin interfaceSearchResponseOrBuilder
-
getGeoSearchDebugInfoCount
public int getGeoSearchDebugInfoCount()repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GeoSearchDebugInfo geo_search_debug_info = 16;- Specified by:
getGeoSearchDebugInfoCountin interfaceSearchResponseOrBuilder
-
getGeoSearchDebugInfo
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GeoSearchDebugInfo geo_search_debug_info = 16;- Specified by:
getGeoSearchDebugInfoin interfaceSearchResponseOrBuilder
-
setGeoSearchDebugInfo
public SearchResponse.Builder setGeoSearchDebugInfo(int index, SearchResponse.GeoSearchDebugInfo value) repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GeoSearchDebugInfo geo_search_debug_info = 16; -
setGeoSearchDebugInfo
public SearchResponse.Builder setGeoSearchDebugInfo(int index, SearchResponse.GeoSearchDebugInfo.Builder builderForValue) repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GeoSearchDebugInfo geo_search_debug_info = 16; -
addGeoSearchDebugInfo
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GeoSearchDebugInfo geo_search_debug_info = 16; -
addGeoSearchDebugInfo
public SearchResponse.Builder addGeoSearchDebugInfo(int index, SearchResponse.GeoSearchDebugInfo value) repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GeoSearchDebugInfo geo_search_debug_info = 16; -
addGeoSearchDebugInfo
public SearchResponse.Builder addGeoSearchDebugInfo(SearchResponse.GeoSearchDebugInfo.Builder builderForValue) repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GeoSearchDebugInfo geo_search_debug_info = 16; -
addGeoSearchDebugInfo
public SearchResponse.Builder addGeoSearchDebugInfo(int index, SearchResponse.GeoSearchDebugInfo.Builder builderForValue) repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GeoSearchDebugInfo geo_search_debug_info = 16; -
addAllGeoSearchDebugInfo
public SearchResponse.Builder addAllGeoSearchDebugInfo(Iterable<? extends SearchResponse.GeoSearchDebugInfo> values) repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GeoSearchDebugInfo geo_search_debug_info = 16; -
clearGeoSearchDebugInfo
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GeoSearchDebugInfo geo_search_debug_info = 16; -
removeGeoSearchDebugInfo
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GeoSearchDebugInfo geo_search_debug_info = 16; -
getGeoSearchDebugInfoBuilder
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GeoSearchDebugInfo geo_search_debug_info = 16; -
getGeoSearchDebugInfoOrBuilder
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GeoSearchDebugInfo geo_search_debug_info = 16;- Specified by:
getGeoSearchDebugInfoOrBuilderin interfaceSearchResponseOrBuilder
-
getGeoSearchDebugInfoOrBuilderList
public List<? extends SearchResponse.GeoSearchDebugInfoOrBuilder> getGeoSearchDebugInfoOrBuilderList()repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GeoSearchDebugInfo geo_search_debug_info = 16;- Specified by:
getGeoSearchDebugInfoOrBuilderListin interfaceSearchResponseOrBuilder
-
addGeoSearchDebugInfoBuilder
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GeoSearchDebugInfo geo_search_debug_info = 16; -
addGeoSearchDebugInfoBuilder
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GeoSearchDebugInfo geo_search_debug_info = 16; -
getGeoSearchDebugInfoBuilderList
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.GeoSearchDebugInfo geo_search_debug_info = 16; -
hasQueryExpansionInfo
public boolean hasQueryExpansionInfo()Query expansion information for the returned results.
.google.cloud.discoveryengine.v1beta.SearchResponse.QueryExpansionInfo query_expansion_info = 14;- Specified by:
hasQueryExpansionInfoin interfaceSearchResponseOrBuilder- Returns:
- Whether the queryExpansionInfo field is set.
-
getQueryExpansionInfo
Query expansion information for the returned results.
.google.cloud.discoveryengine.v1beta.SearchResponse.QueryExpansionInfo query_expansion_info = 14;- Specified by:
getQueryExpansionInfoin interfaceSearchResponseOrBuilder- Returns:
- The queryExpansionInfo.
-
setQueryExpansionInfo
Query expansion information for the returned results.
.google.cloud.discoveryengine.v1beta.SearchResponse.QueryExpansionInfo query_expansion_info = 14; -
setQueryExpansionInfo
public SearchResponse.Builder setQueryExpansionInfo(SearchResponse.QueryExpansionInfo.Builder builderForValue) Query expansion information for the returned results.
.google.cloud.discoveryengine.v1beta.SearchResponse.QueryExpansionInfo query_expansion_info = 14; -
mergeQueryExpansionInfo
Query expansion information for the returned results.
.google.cloud.discoveryengine.v1beta.SearchResponse.QueryExpansionInfo query_expansion_info = 14; -
clearQueryExpansionInfo
Query expansion information for the returned results.
.google.cloud.discoveryengine.v1beta.SearchResponse.QueryExpansionInfo query_expansion_info = 14; -
getQueryExpansionInfoBuilder
Query expansion information for the returned results.
.google.cloud.discoveryengine.v1beta.SearchResponse.QueryExpansionInfo query_expansion_info = 14; -
getQueryExpansionInfoOrBuilder
Query expansion information for the returned results.
.google.cloud.discoveryengine.v1beta.SearchResponse.QueryExpansionInfo query_expansion_info = 14;- Specified by:
getQueryExpansionInfoOrBuilderin interfaceSearchResponseOrBuilder
-
hasNaturalLanguageQueryUnderstandingInfo
public boolean hasNaturalLanguageQueryUnderstandingInfo()Natural language query understanding information for the returned results.
.google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo natural_language_query_understanding_info = 15;- Specified by:
hasNaturalLanguageQueryUnderstandingInfoin interfaceSearchResponseOrBuilder- Returns:
- Whether the naturalLanguageQueryUnderstandingInfo field is set.
-
getNaturalLanguageQueryUnderstandingInfo
public SearchResponse.NaturalLanguageQueryUnderstandingInfo getNaturalLanguageQueryUnderstandingInfo()Natural language query understanding information for the returned results.
.google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo natural_language_query_understanding_info = 15;- Specified by:
getNaturalLanguageQueryUnderstandingInfoin interfaceSearchResponseOrBuilder- Returns:
- The naturalLanguageQueryUnderstandingInfo.
-
setNaturalLanguageQueryUnderstandingInfo
public SearchResponse.Builder setNaturalLanguageQueryUnderstandingInfo(SearchResponse.NaturalLanguageQueryUnderstandingInfo value) Natural language query understanding information for the returned results.
.google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo natural_language_query_understanding_info = 15; -
setNaturalLanguageQueryUnderstandingInfo
public SearchResponse.Builder setNaturalLanguageQueryUnderstandingInfo(SearchResponse.NaturalLanguageQueryUnderstandingInfo.Builder builderForValue) Natural language query understanding information for the returned results.
.google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo natural_language_query_understanding_info = 15; -
mergeNaturalLanguageQueryUnderstandingInfo
public SearchResponse.Builder mergeNaturalLanguageQueryUnderstandingInfo(SearchResponse.NaturalLanguageQueryUnderstandingInfo value) Natural language query understanding information for the returned results.
.google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo natural_language_query_understanding_info = 15; -
clearNaturalLanguageQueryUnderstandingInfo
Natural language query understanding information for the returned results.
.google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo natural_language_query_understanding_info = 15; -
getNaturalLanguageQueryUnderstandingInfoBuilder
public SearchResponse.NaturalLanguageQueryUnderstandingInfo.Builder getNaturalLanguageQueryUnderstandingInfoBuilder()Natural language query understanding information for the returned results.
.google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo natural_language_query_understanding_info = 15; -
getNaturalLanguageQueryUnderstandingInfoOrBuilder
public SearchResponse.NaturalLanguageQueryUnderstandingInfoOrBuilder getNaturalLanguageQueryUnderstandingInfoOrBuilder()Natural language query understanding information for the returned results.
.google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo natural_language_query_understanding_info = 15;- Specified by:
getNaturalLanguageQueryUnderstandingInfoOrBuilderin interfaceSearchResponseOrBuilder
-
hasSessionInfo
public boolean hasSessionInfo()Session information. Only set if [SearchRequest.session][google.cloud.discoveryengine.v1beta.SearchRequest.session] is provided. See its description for more details.
.google.cloud.discoveryengine.v1beta.SearchResponse.SessionInfo session_info = 19;- Specified by:
hasSessionInfoin interfaceSearchResponseOrBuilder- Returns:
- Whether the sessionInfo field is set.
-
getSessionInfo
Session information. Only set if [SearchRequest.session][google.cloud.discoveryengine.v1beta.SearchRequest.session] is provided. See its description for more details.
.google.cloud.discoveryengine.v1beta.SearchResponse.SessionInfo session_info = 19;- Specified by:
getSessionInfoin interfaceSearchResponseOrBuilder- Returns:
- The sessionInfo.
-
setSessionInfo
Session information. Only set if [SearchRequest.session][google.cloud.discoveryengine.v1beta.SearchRequest.session] is provided. See its description for more details.
.google.cloud.discoveryengine.v1beta.SearchResponse.SessionInfo session_info = 19; -
setSessionInfo
Session information. Only set if [SearchRequest.session][google.cloud.discoveryengine.v1beta.SearchRequest.session] is provided. See its description for more details.
.google.cloud.discoveryengine.v1beta.SearchResponse.SessionInfo session_info = 19; -
mergeSessionInfo
Session information. Only set if [SearchRequest.session][google.cloud.discoveryengine.v1beta.SearchRequest.session] is provided. See its description for more details.
.google.cloud.discoveryengine.v1beta.SearchResponse.SessionInfo session_info = 19; -
clearSessionInfo
Session information. Only set if [SearchRequest.session][google.cloud.discoveryengine.v1beta.SearchRequest.session] is provided. See its description for more details.
.google.cloud.discoveryengine.v1beta.SearchResponse.SessionInfo session_info = 19; -
getSessionInfoBuilder
Session information. Only set if [SearchRequest.session][google.cloud.discoveryengine.v1beta.SearchRequest.session] is provided. See its description for more details.
.google.cloud.discoveryengine.v1beta.SearchResponse.SessionInfo session_info = 19; -
getSessionInfoOrBuilder
Session information. Only set if [SearchRequest.session][google.cloud.discoveryengine.v1beta.SearchRequest.session] is provided. See its description for more details.
.google.cloud.discoveryengine.v1beta.SearchResponse.SessionInfo session_info = 19;- Specified by:
getSessionInfoOrBuilderin interfaceSearchResponseOrBuilder
-
getOneBoxResultsList
A list of One Box results. There can be multiple One Box results of different types.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.OneBoxResult one_box_results = 20;- Specified by:
getOneBoxResultsListin interfaceSearchResponseOrBuilder
-
getOneBoxResultsCount
public int getOneBoxResultsCount()A list of One Box results. There can be multiple One Box results of different types.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.OneBoxResult one_box_results = 20;- Specified by:
getOneBoxResultsCountin interfaceSearchResponseOrBuilder
-
getOneBoxResults
A list of One Box results. There can be multiple One Box results of different types.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.OneBoxResult one_box_results = 20;- Specified by:
getOneBoxResultsin interfaceSearchResponseOrBuilder
-
setOneBoxResults
A list of One Box results. There can be multiple One Box results of different types.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.OneBoxResult one_box_results = 20; -
setOneBoxResults
public SearchResponse.Builder setOneBoxResults(int index, SearchResponse.OneBoxResult.Builder builderForValue) A list of One Box results. There can be multiple One Box results of different types.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.OneBoxResult one_box_results = 20; -
addOneBoxResults
A list of One Box results. There can be multiple One Box results of different types.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.OneBoxResult one_box_results = 20; -
addOneBoxResults
A list of One Box results. There can be multiple One Box results of different types.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.OneBoxResult one_box_results = 20; -
addOneBoxResults
A list of One Box results. There can be multiple One Box results of different types.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.OneBoxResult one_box_results = 20; -
addOneBoxResults
public SearchResponse.Builder addOneBoxResults(int index, SearchResponse.OneBoxResult.Builder builderForValue) A list of One Box results. There can be multiple One Box results of different types.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.OneBoxResult one_box_results = 20; -
addAllOneBoxResults
public SearchResponse.Builder addAllOneBoxResults(Iterable<? extends SearchResponse.OneBoxResult> values) A list of One Box results. There can be multiple One Box results of different types.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.OneBoxResult one_box_results = 20; -
clearOneBoxResults
A list of One Box results. There can be multiple One Box results of different types.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.OneBoxResult one_box_results = 20; -
removeOneBoxResults
A list of One Box results. There can be multiple One Box results of different types.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.OneBoxResult one_box_results = 20; -
getOneBoxResultsBuilder
A list of One Box results. There can be multiple One Box results of different types.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.OneBoxResult one_box_results = 20; -
getOneBoxResultsOrBuilder
A list of One Box results. There can be multiple One Box results of different types.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.OneBoxResult one_box_results = 20;- Specified by:
getOneBoxResultsOrBuilderin interfaceSearchResponseOrBuilder
-
getOneBoxResultsOrBuilderList
A list of One Box results. There can be multiple One Box results of different types.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.OneBoxResult one_box_results = 20;- Specified by:
getOneBoxResultsOrBuilderListin interfaceSearchResponseOrBuilder
-
addOneBoxResultsBuilder
A list of One Box results. There can be multiple One Box results of different types.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.OneBoxResult one_box_results = 20; -
addOneBoxResultsBuilder
A list of One Box results. There can be multiple One Box results of different types.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.OneBoxResult one_box_results = 20; -
getOneBoxResultsBuilderList
A list of One Box results. There can be multiple One Box results of different types.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.OneBoxResult one_box_results = 20;
-