Package com.google.cloud.retail.v2alpha
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.retail.v2alpha.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.retail.v2alpha.SearchService.Search] method.Protobuf type
google.cloud.retail.v2alpha.SearchResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllAppliedControls(Iterable<String> values) The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).addAllExperimentInfo(Iterable<? extends ExperimentInfo> values) Metadata related to A/B testing experiment associated with this response.addAllFacets(Iterable<? extends SearchResponse.Facet> values) Results of facets requested by user.addAllInvalidConditionBoostSpecs(Iterable<? extends SearchRequest.BoostSpec.ConditionBoostSpec> values) The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.addAllResults(Iterable<? extends SearchResponse.SearchResult> values) A list of matched items.addAppliedControls(String value) The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).addAppliedControlsBytes(com.google.protobuf.ByteString value) The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).addExperimentInfo(int index, ExperimentInfo value) Metadata related to A/B testing experiment associated with this response.addExperimentInfo(int index, ExperimentInfo.Builder builderForValue) Metadata related to A/B testing experiment associated with this response.addExperimentInfo(ExperimentInfo value) Metadata related to A/B testing experiment associated with this response.addExperimentInfo(ExperimentInfo.Builder builderForValue) Metadata related to A/B testing experiment associated with this response.Metadata related to A/B testing experiment associated with this response.addExperimentInfoBuilder(int index) Metadata related to A/B testing experiment associated with this response.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.addInvalidConditionBoostSpecs(int index, SearchRequest.BoostSpec.ConditionBoostSpec value) The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.addInvalidConditionBoostSpecs(int index, SearchRequest.BoostSpec.ConditionBoostSpec.Builder builderForValue) The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.addInvalidConditionBoostSpecsBuilder(int index) The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.addResults(int index, SearchResponse.SearchResult value) A list of matched items.addResults(int index, SearchResponse.SearchResult.Builder builderForValue) A list of matched items.A list of matched items.addResults(SearchResponse.SearchResult.Builder builderForValue) A list of matched items.A list of matched items.addResultsBuilder(int index) A list of matched items.build()clear()The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).A unique search token.This field specifies all related information that is needed on client side for UI rendering of conversational retail search.Contains the spell corrected query, if found.Metadata related to A/B testing experiment associated with this response.Results of facets requested by user.The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.A token that can be sent as [SearchRequest.page_token][google.cloud.retail.v2alpha.SearchRequest.page_token] to retrieve the next page.Metadata for pin controls which were applicable to the request.Query expansion information for the returned results.The URI of a customer-defined redirect page.A list of matched items.This field specifies all related information for tile navigation that will be used in client side.The estimated total count of matched items irrespective of pagination.getAppliedControls(int index) The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).com.google.protobuf.ByteStringgetAppliedControlsBytes(int index) The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).intThe fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).com.google.protobuf.ProtocolStringListThe fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).A unique search token.com.google.protobuf.ByteStringA unique search token.This field specifies all related information that is needed on client side for UI rendering of conversational retail search.This field specifies all related information that is needed on client side for UI rendering of conversational retail search.This field specifies all related information that is needed on client side for UI rendering of conversational retail search.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.DescriptorgetExperimentInfo(int index) Metadata related to A/B testing experiment associated with this response.getExperimentInfoBuilder(int index) Metadata related to A/B testing experiment associated with this response.Metadata related to A/B testing experiment associated with this response.intMetadata related to A/B testing experiment associated with this response.Metadata related to A/B testing experiment associated with this response.getExperimentInfoOrBuilder(int index) Metadata related to A/B testing experiment associated with this response.List<? extends ExperimentInfoOrBuilder>Metadata related to A/B testing experiment associated with this response.getFacets(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.getInvalidConditionBoostSpecs(int index) The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.getInvalidConditionBoostSpecsBuilder(int index) The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.intThe invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.getInvalidConditionBoostSpecsOrBuilder(int index) The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.A token that can be sent as [SearchRequest.page_token][google.cloud.retail.v2alpha.SearchRequest.page_token] to retrieve the next page.com.google.protobuf.ByteStringA token that can be sent as [SearchRequest.page_token][google.cloud.retail.v2alpha.SearchRequest.page_token] to retrieve the next page.Metadata for pin controls which were applicable to the request.Metadata for pin controls which were applicable to the request.Metadata for pin controls which were applicable to the request.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 items.getResultsBuilder(int index) A list of matched items.A list of matched items.intA list of matched items.A list of matched items.getResultsOrBuilder(int index) A list of matched items.List<? extends SearchResponse.SearchResultOrBuilder>A list of matched items.This field specifies all related information for tile navigation that will be used in client side.This field specifies all related information for tile navigation that will be used in client side.This field specifies all related information for tile navigation that will be used in client side.intThe estimated total count of matched items irrespective of pagination.booleanThis field specifies all related information that is needed on client side for UI rendering of conversational retail search.booleanMetadata for pin controls which were applicable to the request.booleanQuery expansion information for the returned results.booleanThis field specifies all related information for tile navigation that will be used in client side.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanThis field specifies all related information that is needed on client side for UI rendering of conversational retail search.mergeFrom(SearchResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Metadata for pin controls which were applicable to the request.Query expansion information for the returned results.This field specifies all related information for tile navigation that will be used in client side.removeExperimentInfo(int index) Metadata related to A/B testing experiment associated with this response.removeFacets(int index) Results of facets requested by user.removeInvalidConditionBoostSpecs(int index) The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.removeResults(int index) A list of matched items.setAppliedControls(int index, String value) The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).setAttributionToken(String value) A unique search token.setAttributionTokenBytes(com.google.protobuf.ByteString value) A unique search token.This field specifies all related information that is needed on client side for UI rendering of conversational retail search.This field specifies all related information that is needed on client side for UI rendering of conversational retail search.setCorrectedQuery(String value) Contains the spell corrected query, if found.setCorrectedQueryBytes(com.google.protobuf.ByteString value) Contains the spell corrected query, if found.setExperimentInfo(int index, ExperimentInfo value) Metadata related to A/B testing experiment associated with this response.setExperimentInfo(int index, ExperimentInfo.Builder builderForValue) Metadata related to A/B testing experiment associated with this response.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.setInvalidConditionBoostSpecs(int index, SearchRequest.BoostSpec.ConditionBoostSpec value) The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.setInvalidConditionBoostSpecs(int index, SearchRequest.BoostSpec.ConditionBoostSpec.Builder builderForValue) The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.setNextPageToken(String value) A token that can be sent as [SearchRequest.page_token][google.cloud.retail.v2alpha.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.retail.v2alpha.SearchRequest.page_token] to retrieve the next page.Metadata for pin controls which were applicable to the request.setPinControlMetadata(PinControlMetadata.Builder builderForValue) Metadata for pin controls which were applicable to the request.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 items.setResults(int index, SearchResponse.SearchResult.Builder builderForValue) A list of matched items.This field specifies all related information for tile navigation that will be used in client side.setTileNavigationResult(SearchResponse.TileNavigationResult.Builder builderForValue) This field specifies all related information for tile navigation that will be used in client side.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 items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;- Specified by:
getResultsListin interfaceSearchResponseOrBuilder
-
getResultsCount
public int getResultsCount()A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;- Specified by:
getResultsCountin interfaceSearchResponseOrBuilder
-
getResults
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;- Specified by:
getResultsin interfaceSearchResponseOrBuilder
-
setResults
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1; -
setResults
public SearchResponse.Builder setResults(int index, SearchResponse.SearchResult.Builder builderForValue) A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1; -
addResults
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1; -
addResults
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1; -
addResults
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1; -
addResults
public SearchResponse.Builder addResults(int index, SearchResponse.SearchResult.Builder builderForValue) A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1; -
addAllResults
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1; -
clearResults
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1; -
removeResults
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1; -
getResultsBuilder
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1; -
getResultsOrBuilder
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;- Specified by:
getResultsOrBuilderin interfaceSearchResponseOrBuilder
-
getResultsOrBuilderList
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;- Specified by:
getResultsOrBuilderListin interfaceSearchResponseOrBuilder
-
addResultsBuilder
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1; -
addResultsBuilder
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1; -
getResultsBuilderList
A list of matched items. The order represents the ranking.
repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1; -
getFacetsList
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;- Specified by:
getFacetsListin interfaceSearchResponseOrBuilder
-
getFacetsCount
public int getFacetsCount()Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;- Specified by:
getFacetsCountin interfaceSearchResponseOrBuilder
-
getFacets
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;- Specified by:
getFacetsin interfaceSearchResponseOrBuilder
-
setFacets
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2; -
setFacets
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2; -
addFacets
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2; -
addFacets
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2; -
addFacets
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2; -
addFacets
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2; -
addAllFacets
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2; -
clearFacets
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2; -
removeFacets
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2; -
getFacetsBuilder
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2; -
getFacetsOrBuilder
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;- Specified by:
getFacetsOrBuilderin interfaceSearchResponseOrBuilder
-
getFacetsOrBuilderList
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;- Specified by:
getFacetsOrBuilderListin interfaceSearchResponseOrBuilder
-
addFacetsBuilder
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2; -
addFacetsBuilder
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2; -
getFacetsBuilderList
Results of facets requested by user.
repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2; -
getTotalSize
public int getTotalSize()The estimated total count of matched items irrespective of pagination. The count of [results][google.cloud.retail.v2alpha.SearchResponse.results] returned by pagination may be less than the [total_size][google.cloud.retail.v2alpha.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.retail.v2alpha.SearchResponse.results] returned by pagination may be less than the [total_size][google.cloud.retail.v2alpha.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.retail.v2alpha.SearchResponse.results] returned by pagination may be less than the [total_size][google.cloud.retail.v2alpha.SearchResponse.total_size] that matches.
int32 total_size = 3;- 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 = 4;- 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 = 4;- 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 = 4;- 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 = 4;- 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 = 4;- Parameters:
value- The bytes for correctedQuery to set.- Returns:
- This builder for chaining.
-
getAttributionToken
A unique search token. This should be included in the [UserEvent][google.cloud.retail.v2alpha.UserEvent] logs resulting from this search, which enables accurate attribution of search model performance.
string attribution_token = 5;- 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.retail.v2alpha.UserEvent] logs resulting from this search, which enables accurate attribution of search model performance.
string attribution_token = 5;- Specified by:
getAttributionTokenBytesin interfaceSearchResponseOrBuilder- Returns:
- The bytes for attributionToken.
-
setAttributionToken
A unique search token. This should be included in the [UserEvent][google.cloud.retail.v2alpha.UserEvent] logs resulting from this search, which enables accurate attribution of search model performance.
string attribution_token = 5;- 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.retail.v2alpha.UserEvent] logs resulting from this search, which enables accurate attribution of search model performance.
string attribution_token = 5;- Returns:
- This builder for chaining.
-
setAttributionTokenBytes
A unique search token. This should be included in the [UserEvent][google.cloud.retail.v2alpha.UserEvent] logs resulting from this search, which enables accurate attribution of search model performance.
string attribution_token = 5;- Parameters:
value- The bytes for attributionToken to set.- Returns:
- This builder for chaining.
-
getNextPageToken
A token that can be sent as [SearchRequest.page_token][google.cloud.retail.v2alpha.SearchRequest.page_token] to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 6;- 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.retail.v2alpha.SearchRequest.page_token] to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 6;- Specified by:
getNextPageTokenBytesin interfaceSearchResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
A token that can be sent as [SearchRequest.page_token][google.cloud.retail.v2alpha.SearchRequest.page_token] to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 6;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
A token that can be sent as [SearchRequest.page_token][google.cloud.retail.v2alpha.SearchRequest.page_token] to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 6;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
A token that can be sent as [SearchRequest.page_token][google.cloud.retail.v2alpha.SearchRequest.page_token] to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 6;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
hasQueryExpansionInfo
public boolean hasQueryExpansionInfo()Query expansion information for the returned results.
.google.cloud.retail.v2alpha.SearchResponse.QueryExpansionInfo query_expansion_info = 7;- Specified by:
hasQueryExpansionInfoin interfaceSearchResponseOrBuilder- Returns:
- Whether the queryExpansionInfo field is set.
-
getQueryExpansionInfo
Query expansion information for the returned results.
.google.cloud.retail.v2alpha.SearchResponse.QueryExpansionInfo query_expansion_info = 7;- Specified by:
getQueryExpansionInfoin interfaceSearchResponseOrBuilder- Returns:
- The queryExpansionInfo.
-
setQueryExpansionInfo
Query expansion information for the returned results.
.google.cloud.retail.v2alpha.SearchResponse.QueryExpansionInfo query_expansion_info = 7; -
setQueryExpansionInfo
public SearchResponse.Builder setQueryExpansionInfo(SearchResponse.QueryExpansionInfo.Builder builderForValue) Query expansion information for the returned results.
.google.cloud.retail.v2alpha.SearchResponse.QueryExpansionInfo query_expansion_info = 7; -
mergeQueryExpansionInfo
Query expansion information for the returned results.
.google.cloud.retail.v2alpha.SearchResponse.QueryExpansionInfo query_expansion_info = 7; -
clearQueryExpansionInfo
Query expansion information for the returned results.
.google.cloud.retail.v2alpha.SearchResponse.QueryExpansionInfo query_expansion_info = 7; -
getQueryExpansionInfoBuilder
Query expansion information for the returned results.
.google.cloud.retail.v2alpha.SearchResponse.QueryExpansionInfo query_expansion_info = 7; -
getQueryExpansionInfoOrBuilder
Query expansion information for the returned results.
.google.cloud.retail.v2alpha.SearchResponse.QueryExpansionInfo query_expansion_info = 7;- Specified by:
getQueryExpansionInfoOrBuilderin interfaceSearchResponseOrBuilder
-
getRedirectUri
The URI of a customer-defined redirect page. If redirect action is triggered, no search is performed, and only [redirect_uri][google.cloud.retail.v2alpha.SearchResponse.redirect_uri] and [attribution_token][google.cloud.retail.v2alpha.SearchResponse.attribution_token] are set in the response.
string redirect_uri = 10;- 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.retail.v2alpha.SearchResponse.redirect_uri] and [attribution_token][google.cloud.retail.v2alpha.SearchResponse.attribution_token] are set in the response.
string redirect_uri = 10;- 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.retail.v2alpha.SearchResponse.redirect_uri] and [attribution_token][google.cloud.retail.v2alpha.SearchResponse.attribution_token] are set in the response.
string redirect_uri = 10;- 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.retail.v2alpha.SearchResponse.redirect_uri] and [attribution_token][google.cloud.retail.v2alpha.SearchResponse.attribution_token] are set in the response.
string redirect_uri = 10;- 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.retail.v2alpha.SearchResponse.redirect_uri] and [attribution_token][google.cloud.retail.v2alpha.SearchResponse.attribution_token] are set in the response.
string redirect_uri = 10;- Parameters:
value- The bytes for redirectUri to set.- Returns:
- This builder for chaining.
-
getAppliedControlsList
public com.google.protobuf.ProtocolStringList getAppliedControlsList()The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).
repeated string applied_controls = 12;- Specified by:
getAppliedControlsListin interfaceSearchResponseOrBuilder- Returns:
- A list containing the appliedControls.
-
getAppliedControlsCount
public int getAppliedControlsCount()The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).
repeated string applied_controls = 12;- Specified by:
getAppliedControlsCountin interfaceSearchResponseOrBuilder- Returns:
- The count of appliedControls.
-
getAppliedControls
The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).
repeated string applied_controls = 12;- 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) The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).
repeated string applied_controls = 12;- Specified by:
getAppliedControlsBytesin interfaceSearchResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the appliedControls at the given index.
-
setAppliedControls
The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).
repeated string applied_controls = 12;- Parameters:
index- The index to set the value at.value- The appliedControls to set.- Returns:
- This builder for chaining.
-
addAppliedControls
The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).
repeated string applied_controls = 12;- Parameters:
value- The appliedControls to add.- Returns:
- This builder for chaining.
-
addAllAppliedControls
The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).
repeated string applied_controls = 12;- Parameters:
values- The appliedControls to add.- Returns:
- This builder for chaining.
-
clearAppliedControls
The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).
repeated string applied_controls = 12;- Returns:
- This builder for chaining.
-
addAppliedControlsBytes
The fully qualified resource name of applied [controls](https://cloud.google.com/retail/docs/serving-control-rules).
repeated string applied_controls = 12;- Parameters:
value- The bytes of the appliedControls to add.- Returns:
- This builder for chaining.
-
hasPinControlMetadata
public boolean hasPinControlMetadata()Metadata for pin controls which were applicable to the request. This contains two map fields, one for all matched pins and one for pins which were matched but not applied. The two maps are keyed by pin position, and the values are the product ids which were matched to that pin.
.google.cloud.retail.v2alpha.PinControlMetadata pin_control_metadata = 22;- Specified by:
hasPinControlMetadatain interfaceSearchResponseOrBuilder- Returns:
- Whether the pinControlMetadata field is set.
-
getPinControlMetadata
Metadata for pin controls which were applicable to the request. This contains two map fields, one for all matched pins and one for pins which were matched but not applied. The two maps are keyed by pin position, and the values are the product ids which were matched to that pin.
.google.cloud.retail.v2alpha.PinControlMetadata pin_control_metadata = 22;- Specified by:
getPinControlMetadatain interfaceSearchResponseOrBuilder- Returns:
- The pinControlMetadata.
-
setPinControlMetadata
Metadata for pin controls which were applicable to the request. This contains two map fields, one for all matched pins and one for pins which were matched but not applied. The two maps are keyed by pin position, and the values are the product ids which were matched to that pin.
.google.cloud.retail.v2alpha.PinControlMetadata pin_control_metadata = 22; -
setPinControlMetadata
Metadata for pin controls which were applicable to the request. This contains two map fields, one for all matched pins and one for pins which were matched but not applied. The two maps are keyed by pin position, and the values are the product ids which were matched to that pin.
.google.cloud.retail.v2alpha.PinControlMetadata pin_control_metadata = 22; -
mergePinControlMetadata
Metadata for pin controls which were applicable to the request. This contains two map fields, one for all matched pins and one for pins which were matched but not applied. The two maps are keyed by pin position, and the values are the product ids which were matched to that pin.
.google.cloud.retail.v2alpha.PinControlMetadata pin_control_metadata = 22; -
clearPinControlMetadata
Metadata for pin controls which were applicable to the request. This contains two map fields, one for all matched pins and one for pins which were matched but not applied. The two maps are keyed by pin position, and the values are the product ids which were matched to that pin.
.google.cloud.retail.v2alpha.PinControlMetadata pin_control_metadata = 22; -
getPinControlMetadataBuilder
Metadata for pin controls which were applicable to the request. This contains two map fields, one for all matched pins and one for pins which were matched but not applied. The two maps are keyed by pin position, and the values are the product ids which were matched to that pin.
.google.cloud.retail.v2alpha.PinControlMetadata pin_control_metadata = 22; -
getPinControlMetadataOrBuilder
Metadata for pin controls which were applicable to the request. This contains two map fields, one for all matched pins and one for pins which were matched but not applied. The two maps are keyed by pin position, and the values are the product ids which were matched to that pin.
.google.cloud.retail.v2alpha.PinControlMetadata pin_control_metadata = 22;- Specified by:
getPinControlMetadataOrBuilderin interfaceSearchResponseOrBuilder
-
getInvalidConditionBoostSpecsList
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2alpha.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14;- Specified by:
getInvalidConditionBoostSpecsListin interfaceSearchResponseOrBuilder
-
getInvalidConditionBoostSpecsCount
public int getInvalidConditionBoostSpecsCount()The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2alpha.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14;- Specified by:
getInvalidConditionBoostSpecsCountin interfaceSearchResponseOrBuilder
-
getInvalidConditionBoostSpecs
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2alpha.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14;- Specified by:
getInvalidConditionBoostSpecsin interfaceSearchResponseOrBuilder
-
setInvalidConditionBoostSpecs
public SearchResponse.Builder setInvalidConditionBoostSpecs(int index, SearchRequest.BoostSpec.ConditionBoostSpec value) The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2alpha.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14; -
setInvalidConditionBoostSpecs
public SearchResponse.Builder setInvalidConditionBoostSpecs(int index, SearchRequest.BoostSpec.ConditionBoostSpec.Builder builderForValue) The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2alpha.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14; -
addInvalidConditionBoostSpecs
public SearchResponse.Builder addInvalidConditionBoostSpecs(SearchRequest.BoostSpec.ConditionBoostSpec value) The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2alpha.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14; -
addInvalidConditionBoostSpecs
public SearchResponse.Builder addInvalidConditionBoostSpecs(int index, SearchRequest.BoostSpec.ConditionBoostSpec value) The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2alpha.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14; -
addInvalidConditionBoostSpecs
public SearchResponse.Builder addInvalidConditionBoostSpecs(SearchRequest.BoostSpec.ConditionBoostSpec.Builder builderForValue) The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2alpha.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14; -
addInvalidConditionBoostSpecs
public SearchResponse.Builder addInvalidConditionBoostSpecs(int index, SearchRequest.BoostSpec.ConditionBoostSpec.Builder builderForValue) The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2alpha.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14; -
addAllInvalidConditionBoostSpecs
public SearchResponse.Builder addAllInvalidConditionBoostSpecs(Iterable<? extends SearchRequest.BoostSpec.ConditionBoostSpec> values) The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2alpha.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14; -
clearInvalidConditionBoostSpecs
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2alpha.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14; -
removeInvalidConditionBoostSpecs
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2alpha.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14; -
getInvalidConditionBoostSpecsBuilder
public SearchRequest.BoostSpec.ConditionBoostSpec.Builder getInvalidConditionBoostSpecsBuilder(int index) The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2alpha.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14; -
getInvalidConditionBoostSpecsOrBuilder
public SearchRequest.BoostSpec.ConditionBoostSpecOrBuilder getInvalidConditionBoostSpecsOrBuilder(int index) The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2alpha.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14;- Specified by:
getInvalidConditionBoostSpecsOrBuilderin interfaceSearchResponseOrBuilder
-
getInvalidConditionBoostSpecsOrBuilderList
public List<? extends SearchRequest.BoostSpec.ConditionBoostSpecOrBuilder> getInvalidConditionBoostSpecsOrBuilderList()The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2alpha.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14;- Specified by:
getInvalidConditionBoostSpecsOrBuilderListin interfaceSearchResponseOrBuilder
-
addInvalidConditionBoostSpecsBuilder
The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2alpha.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14; -
addInvalidConditionBoostSpecsBuilder
public SearchRequest.BoostSpec.ConditionBoostSpec.Builder addInvalidConditionBoostSpecsBuilder(int index) The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2alpha.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14; -
getInvalidConditionBoostSpecsBuilderList
public List<SearchRequest.BoostSpec.ConditionBoostSpec.Builder> getInvalidConditionBoostSpecsBuilderList()The invalid [SearchRequest.BoostSpec.condition_boost_specs][google.cloud.retail.v2alpha.SearchRequest.BoostSpec.condition_boost_specs] that are not applied during serving.
repeated .google.cloud.retail.v2alpha.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14; -
getExperimentInfoList
Metadata related to A/B testing experiment associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2alpha.ExperimentInfo experiment_info = 17;- Specified by:
getExperimentInfoListin interfaceSearchResponseOrBuilder
-
getExperimentInfoCount
public int getExperimentInfoCount()Metadata related to A/B testing experiment associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2alpha.ExperimentInfo experiment_info = 17;- Specified by:
getExperimentInfoCountin interfaceSearchResponseOrBuilder
-
getExperimentInfo
Metadata related to A/B testing experiment associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2alpha.ExperimentInfo experiment_info = 17;- Specified by:
getExperimentInfoin interfaceSearchResponseOrBuilder
-
setExperimentInfo
Metadata related to A/B testing experiment associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2alpha.ExperimentInfo experiment_info = 17; -
setExperimentInfo
Metadata related to A/B testing experiment associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2alpha.ExperimentInfo experiment_info = 17; -
addExperimentInfo
Metadata related to A/B testing experiment associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2alpha.ExperimentInfo experiment_info = 17; -
addExperimentInfo
Metadata related to A/B testing experiment associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2alpha.ExperimentInfo experiment_info = 17; -
addExperimentInfo
Metadata related to A/B testing experiment associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2alpha.ExperimentInfo experiment_info = 17; -
addExperimentInfo
Metadata related to A/B testing experiment associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2alpha.ExperimentInfo experiment_info = 17; -
addAllExperimentInfo
Metadata related to A/B testing experiment associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2alpha.ExperimentInfo experiment_info = 17; -
clearExperimentInfo
Metadata related to A/B testing experiment associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2alpha.ExperimentInfo experiment_info = 17; -
removeExperimentInfo
Metadata related to A/B testing experiment associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2alpha.ExperimentInfo experiment_info = 17; -
getExperimentInfoBuilder
Metadata related to A/B testing experiment associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2alpha.ExperimentInfo experiment_info = 17; -
getExperimentInfoOrBuilder
Metadata related to A/B testing experiment associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2alpha.ExperimentInfo experiment_info = 17;- Specified by:
getExperimentInfoOrBuilderin interfaceSearchResponseOrBuilder
-
getExperimentInfoOrBuilderList
Metadata related to A/B testing experiment associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2alpha.ExperimentInfo experiment_info = 17;- Specified by:
getExperimentInfoOrBuilderListin interfaceSearchResponseOrBuilder
-
addExperimentInfoBuilder
Metadata related to A/B testing experiment associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2alpha.ExperimentInfo experiment_info = 17; -
addExperimentInfoBuilder
Metadata related to A/B testing experiment associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2alpha.ExperimentInfo experiment_info = 17; -
getExperimentInfoBuilderList
Metadata related to A/B testing experiment associated with this response. Only exists when an experiment is triggered.
repeated .google.cloud.retail.v2alpha.ExperimentInfo experiment_info = 17; -
hasConversationalSearchResult
public boolean hasConversationalSearchResult()This field specifies all related information that is needed on client side for UI rendering of conversational retail search.
.google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult conversational_search_result = 18;- Specified by:
hasConversationalSearchResultin interfaceSearchResponseOrBuilder- Returns:
- Whether the conversationalSearchResult field is set.
-
getConversationalSearchResult
This field specifies all related information that is needed on client side for UI rendering of conversational retail search.
.google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult conversational_search_result = 18;- Specified by:
getConversationalSearchResultin interfaceSearchResponseOrBuilder- Returns:
- The conversationalSearchResult.
-
setConversationalSearchResult
public SearchResponse.Builder setConversationalSearchResult(SearchResponse.ConversationalSearchResult value) This field specifies all related information that is needed on client side for UI rendering of conversational retail search.
.google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult conversational_search_result = 18; -
setConversationalSearchResult
public SearchResponse.Builder setConversationalSearchResult(SearchResponse.ConversationalSearchResult.Builder builderForValue) This field specifies all related information that is needed on client side for UI rendering of conversational retail search.
.google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult conversational_search_result = 18; -
mergeConversationalSearchResult
public SearchResponse.Builder mergeConversationalSearchResult(SearchResponse.ConversationalSearchResult value) This field specifies all related information that is needed on client side for UI rendering of conversational retail search.
.google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult conversational_search_result = 18; -
clearConversationalSearchResult
This field specifies all related information that is needed on client side for UI rendering of conversational retail search.
.google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult conversational_search_result = 18; -
getConversationalSearchResultBuilder
This field specifies all related information that is needed on client side for UI rendering of conversational retail search.
.google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult conversational_search_result = 18; -
getConversationalSearchResultOrBuilder
This field specifies all related information that is needed on client side for UI rendering of conversational retail search.
.google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult conversational_search_result = 18;- Specified by:
getConversationalSearchResultOrBuilderin interfaceSearchResponseOrBuilder
-