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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<SearchResponse.Builder>
    • clear

      public SearchResponse.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<SearchResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<SearchResponse.Builder>
    • getDefaultInstanceForType

      public SearchResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public SearchResponse build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public SearchResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public SearchResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SearchResponse.Builder>
    • mergeFrom

      public SearchResponse.Builder mergeFrom(SearchResponse other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SearchResponse.Builder>
      Throws:
      IOException
    • getResultsList

      public List<SearchResponse.SearchResult> getResultsList()
       A list of matched items. The order represents the ranking.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;
      Specified by:
      getResultsList in interface SearchResponseOrBuilder
    • 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:
      getResultsCount in interface SearchResponseOrBuilder
    • getResults

      public SearchResponse.SearchResult getResults(int index)
       A list of matched items. The order represents the ranking.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;
      Specified by:
      getResults in interface SearchResponseOrBuilder
    • setResults

      public SearchResponse.Builder setResults(int index, SearchResponse.SearchResult value)
       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

      public SearchResponse.Builder addResults(int index, SearchResponse.SearchResult value)
       A list of matched items. The order represents the ranking.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;
    • addResults

      public SearchResponse.Builder addResults(SearchResponse.SearchResult.Builder builderForValue)
       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

      public SearchResponse.Builder addAllResults(Iterable<? extends SearchResponse.SearchResult> values)
       A list of matched items. The order represents the ranking.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;
    • clearResults

      public SearchResponse.Builder clearResults()
       A list of matched items. The order represents the ranking.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;
    • removeResults

      public SearchResponse.Builder removeResults(int index)
       A list of matched items. The order represents the ranking.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;
    • getResultsBuilder

      public SearchResponse.SearchResult.Builder getResultsBuilder(int index)
       A list of matched items. The order represents the ranking.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;
    • getResultsOrBuilder

      public SearchResponse.SearchResultOrBuilder getResultsOrBuilder(int index)
       A list of matched items. The order represents the ranking.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;
      Specified by:
      getResultsOrBuilder in interface SearchResponseOrBuilder
    • getResultsOrBuilderList

      public List<? extends SearchResponse.SearchResultOrBuilder> getResultsOrBuilderList()
       A list of matched items. The order represents the ranking.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;
      Specified by:
      getResultsOrBuilderList in interface SearchResponseOrBuilder
    • addResultsBuilder

      public SearchResponse.SearchResult.Builder addResultsBuilder()
       A list of matched items. The order represents the ranking.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;
    • addResultsBuilder

      public SearchResponse.SearchResult.Builder addResultsBuilder(int index)
       A list of matched items. The order represents the ranking.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;
    • getResultsBuilderList

      public List<SearchResponse.SearchResult.Builder> getResultsBuilderList()
       A list of matched items. The order represents the ranking.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.SearchResult results = 1;
    • getFacetsList

      public List<SearchResponse.Facet> getFacetsList()
       Results of facets requested by user.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;
      Specified by:
      getFacetsList in interface SearchResponseOrBuilder
    • getFacetsCount

      public int getFacetsCount()
       Results of facets requested by user.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;
      Specified by:
      getFacetsCount in interface SearchResponseOrBuilder
    • getFacets

      public SearchResponse.Facet getFacets(int index)
       Results of facets requested by user.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;
      Specified by:
      getFacets in interface SearchResponseOrBuilder
    • setFacets

      public SearchResponse.Builder setFacets(int index, SearchResponse.Facet value)
       Results of facets requested by user.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;
    • setFacets

      public SearchResponse.Builder setFacets(int index, SearchResponse.Facet.Builder builderForValue)
       Results of facets requested by user.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;
    • addFacets

      public SearchResponse.Builder addFacets(SearchResponse.Facet value)
       Results of facets requested by user.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;
    • addFacets

      public SearchResponse.Builder addFacets(int index, SearchResponse.Facet value)
       Results of facets requested by user.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;
    • addFacets

      public SearchResponse.Builder addFacets(SearchResponse.Facet.Builder builderForValue)
       Results of facets requested by user.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;
    • addFacets

      public SearchResponse.Builder addFacets(int index, SearchResponse.Facet.Builder builderForValue)
       Results of facets requested by user.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;
    • addAllFacets

      public SearchResponse.Builder addAllFacets(Iterable<? extends SearchResponse.Facet> values)
       Results of facets requested by user.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;
    • clearFacets

      public SearchResponse.Builder clearFacets()
       Results of facets requested by user.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;
    • removeFacets

      public SearchResponse.Builder removeFacets(int index)
       Results of facets requested by user.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;
    • getFacetsBuilder

      public SearchResponse.Facet.Builder getFacetsBuilder(int index)
       Results of facets requested by user.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;
    • getFacetsOrBuilder

      public SearchResponse.FacetOrBuilder getFacetsOrBuilder(int index)
       Results of facets requested by user.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;
      Specified by:
      getFacetsOrBuilder in interface SearchResponseOrBuilder
    • getFacetsOrBuilderList

      public List<? extends SearchResponse.FacetOrBuilder> getFacetsOrBuilderList()
       Results of facets requested by user.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;
      Specified by:
      getFacetsOrBuilderList in interface SearchResponseOrBuilder
    • addFacetsBuilder

      public SearchResponse.Facet.Builder addFacetsBuilder()
       Results of facets requested by user.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;
    • addFacetsBuilder

      public SearchResponse.Facet.Builder addFacetsBuilder(int index)
       Results of facets requested by user.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.Facet facets = 2;
    • getFacetsBuilderList

      public List<SearchResponse.Facet.Builder> 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:
      getTotalSize in interface SearchResponseOrBuilder
      Returns:
      The totalSize.
    • setTotalSize

      public SearchResponse.Builder setTotalSize(int value)
       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

      public SearchResponse.Builder 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

      public String getCorrectedQuery()
       Contains the spell corrected query, if found. If the spell correction type
       is AUTOMATIC, then the search results are based on corrected_query.
       Otherwise the original query is used for search.
       
      string corrected_query = 4;
      Specified by:
      getCorrectedQuery in interface SearchResponseOrBuilder
      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:
      getCorrectedQueryBytes in interface SearchResponseOrBuilder
      Returns:
      The bytes for correctedQuery.
    • setCorrectedQuery

      public SearchResponse.Builder setCorrectedQuery(String value)
       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

      public SearchResponse.Builder 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

      public SearchResponse.Builder setCorrectedQueryBytes(com.google.protobuf.ByteString value)
       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

      public String 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:
      getAttributionToken in interface SearchResponseOrBuilder
      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:
      getAttributionTokenBytes in interface SearchResponseOrBuilder
      Returns:
      The bytes for attributionToken.
    • setAttributionToken

      public SearchResponse.Builder setAttributionToken(String value)
       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

      public SearchResponse.Builder 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

      public SearchResponse.Builder setAttributionTokenBytes(com.google.protobuf.ByteString value)
       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

      public String 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:
      getNextPageToken in interface SearchResponseOrBuilder
      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:
      getNextPageTokenBytes in interface SearchResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public SearchResponse.Builder 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. 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

      public SearchResponse.Builder 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

      public SearchResponse.Builder 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. 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:
      hasQueryExpansionInfo in interface SearchResponseOrBuilder
      Returns:
      Whether the queryExpansionInfo field is set.
    • getQueryExpansionInfo

      public SearchResponse.QueryExpansionInfo getQueryExpansionInfo()
       Query expansion information for the returned results.
       
      .google.cloud.retail.v2alpha.SearchResponse.QueryExpansionInfo query_expansion_info = 7;
      Specified by:
      getQueryExpansionInfo in interface SearchResponseOrBuilder
      Returns:
      The queryExpansionInfo.
    • setQueryExpansionInfo

      public SearchResponse.Builder setQueryExpansionInfo(SearchResponse.QueryExpansionInfo value)
       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

      public SearchResponse.Builder mergeQueryExpansionInfo(SearchResponse.QueryExpansionInfo value)
       Query expansion information for the returned results.
       
      .google.cloud.retail.v2alpha.SearchResponse.QueryExpansionInfo query_expansion_info = 7;
    • clearQueryExpansionInfo

      public SearchResponse.Builder clearQueryExpansionInfo()
       Query expansion information for the returned results.
       
      .google.cloud.retail.v2alpha.SearchResponse.QueryExpansionInfo query_expansion_info = 7;
    • getQueryExpansionInfoBuilder

      public SearchResponse.QueryExpansionInfo.Builder getQueryExpansionInfoBuilder()
       Query expansion information for the returned results.
       
      .google.cloud.retail.v2alpha.SearchResponse.QueryExpansionInfo query_expansion_info = 7;
    • getQueryExpansionInfoOrBuilder

      public SearchResponse.QueryExpansionInfoOrBuilder getQueryExpansionInfoOrBuilder()
       Query expansion information for the returned results.
       
      .google.cloud.retail.v2alpha.SearchResponse.QueryExpansionInfo query_expansion_info = 7;
      Specified by:
      getQueryExpansionInfoOrBuilder in interface SearchResponseOrBuilder
    • getRedirectUri

      public String getRedirectUri()
       The URI of a customer-defined redirect page. If redirect action is
       triggered, no search is performed, and only
       [redirect_uri][google.cloud.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:
      getRedirectUri in interface SearchResponseOrBuilder
      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:
      getRedirectUriBytes in interface SearchResponseOrBuilder
      Returns:
      The bytes for redirectUri.
    • setRedirectUri

      public SearchResponse.Builder setRedirectUri(String value)
       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

      public SearchResponse.Builder 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

      public SearchResponse.Builder setRedirectUriBytes(com.google.protobuf.ByteString value)
       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:
      getAppliedControlsList in interface SearchResponseOrBuilder
      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:
      getAppliedControlsCount in interface SearchResponseOrBuilder
      Returns:
      The count of appliedControls.
    • getAppliedControls

      public String getAppliedControls(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:
      getAppliedControls in interface SearchResponseOrBuilder
      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:
      getAppliedControlsBytes in interface SearchResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the appliedControls at the given index.
    • setAppliedControls

      public SearchResponse.Builder setAppliedControls(int index, String value)
       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

      public SearchResponse.Builder addAppliedControls(String value)
       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

      public SearchResponse.Builder addAllAppliedControls(Iterable<String> values)
       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

      public SearchResponse.Builder 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

      public SearchResponse.Builder addAppliedControlsBytes(com.google.protobuf.ByteString value)
       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:
      hasPinControlMetadata in interface SearchResponseOrBuilder
      Returns:
      Whether the pinControlMetadata field is set.
    • getPinControlMetadata

      public PinControlMetadata 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:
      getPinControlMetadata in interface SearchResponseOrBuilder
      Returns:
      The pinControlMetadata.
    • setPinControlMetadata

      public SearchResponse.Builder setPinControlMetadata(PinControlMetadata value)
       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

      public SearchResponse.Builder setPinControlMetadata(PinControlMetadata.Builder builderForValue)
       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

      public SearchResponse.Builder mergePinControlMetadata(PinControlMetadata value)
       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

      public SearchResponse.Builder 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

      public PinControlMetadata.Builder 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

      public PinControlMetadataOrBuilder 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:
      getPinControlMetadataOrBuilder in interface SearchResponseOrBuilder
    • getInvalidConditionBoostSpecsList

      public List<SearchRequest.BoostSpec.ConditionBoostSpec> 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:
      getInvalidConditionBoostSpecsList in interface SearchResponseOrBuilder
    • 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:
      getInvalidConditionBoostSpecsCount in interface SearchResponseOrBuilder
    • getInvalidConditionBoostSpecs

      public SearchRequest.BoostSpec.ConditionBoostSpec 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.
       
      repeated .google.cloud.retail.v2alpha.SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14;
      Specified by:
      getInvalidConditionBoostSpecs in interface SearchResponseOrBuilder
    • 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

      public SearchResponse.Builder 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

      public SearchResponse.Builder 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.
       
      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:
      getInvalidConditionBoostSpecsOrBuilder in interface SearchResponseOrBuilder
    • 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:
      getInvalidConditionBoostSpecsOrBuilderList in interface SearchResponseOrBuilder
    • addInvalidConditionBoostSpecsBuilder

      public SearchRequest.BoostSpec.ConditionBoostSpec.Builder 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

      public List<ExperimentInfo> 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:
      getExperimentInfoList in interface SearchResponseOrBuilder
    • 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:
      getExperimentInfoCount in interface SearchResponseOrBuilder
    • getExperimentInfo

      public ExperimentInfo getExperimentInfo(int index)
       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:
      getExperimentInfo in interface SearchResponseOrBuilder
    • setExperimentInfo

      public SearchResponse.Builder setExperimentInfo(int index, ExperimentInfo value)
       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

      public SearchResponse.Builder setExperimentInfo(int index, ExperimentInfo.Builder builderForValue)
       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

      public SearchResponse.Builder addExperimentInfo(ExperimentInfo value)
       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

      public SearchResponse.Builder addExperimentInfo(int index, ExperimentInfo value)
       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

      public SearchResponse.Builder addExperimentInfo(ExperimentInfo.Builder builderForValue)
       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

      public SearchResponse.Builder addExperimentInfo(int index, ExperimentInfo.Builder builderForValue)
       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

      public SearchResponse.Builder addAllExperimentInfo(Iterable<? extends ExperimentInfo> values)
       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

      public SearchResponse.Builder 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

      public SearchResponse.Builder removeExperimentInfo(int index)
       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

      public ExperimentInfo.Builder getExperimentInfoBuilder(int index)
       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

      public ExperimentInfoOrBuilder getExperimentInfoOrBuilder(int index)
       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:
      getExperimentInfoOrBuilder in interface SearchResponseOrBuilder
    • getExperimentInfoOrBuilderList

      public List<? extends ExperimentInfoOrBuilder> 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:
      getExperimentInfoOrBuilderList in interface SearchResponseOrBuilder
    • addExperimentInfoBuilder

      public ExperimentInfo.Builder 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

      public ExperimentInfo.Builder addExperimentInfoBuilder(int index)
       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

      public List<ExperimentInfo.Builder> 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:
      hasConversationalSearchResult in interface SearchResponseOrBuilder
      Returns:
      Whether the conversationalSearchResult field is set.
    • getConversationalSearchResult

      public SearchResponse.ConversationalSearchResult 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:
      getConversationalSearchResult in interface SearchResponseOrBuilder
      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

      public SearchResponse.Builder 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

      public SearchResponse.ConversationalSearchResult.Builder 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

      public SearchResponse.ConversationalSearchResultOrBuilder 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:
      getConversationalSearchResultOrBuilder in interface SearchResponseOrBuilder
    • hasTileNavigationResult

      public boolean hasTileNavigationResult()
       This field specifies all related information for tile navigation that will
       be used in client side.
       
      .google.cloud.retail.v2alpha.SearchResponse.TileNavigationResult tile_navigation_result = 19;
      Specified by:
      hasTileNavigationResult in interface SearchResponseOrBuilder
      Returns:
      Whether the tileNavigationResult field is set.
    • getTileNavigationResult

      public SearchResponse.TileNavigationResult getTileNavigationResult()
       This field specifies all related information for tile navigation that will
       be used in client side.
       
      .google.cloud.retail.v2alpha.SearchResponse.TileNavigationResult tile_navigation_result = 19;
      Specified by:
      getTileNavigationResult in interface SearchResponseOrBuilder
      Returns:
      The tileNavigationResult.
    • setTileNavigationResult

      public SearchResponse.Builder setTileNavigationResult(SearchResponse.TileNavigationResult value)
       This field specifies all related information for tile navigation that will
       be used in client side.
       
      .google.cloud.retail.v2alpha.SearchResponse.TileNavigationResult tile_navigation_result = 19;
    • setTileNavigationResult

      public SearchResponse.Builder setTileNavigationResult(SearchResponse.TileNavigationResult.Builder builderForValue)
       This field specifies all related information for tile navigation that will
       be used in client side.
       
      .google.cloud.retail.v2alpha.SearchResponse.TileNavigationResult tile_navigation_result = 19;
    • mergeTileNavigationResult

      public SearchResponse.Builder mergeTileNavigationResult(SearchResponse.TileNavigationResult value)
       This field specifies all related information for tile navigation that will
       be used in client side.
       
      .google.cloud.retail.v2alpha.SearchResponse.TileNavigationResult tile_navigation_result = 19;
    • clearTileNavigationResult

      public SearchResponse.Builder clearTileNavigationResult()
       This field specifies all related information for tile navigation that will
       be used in client side.
       
      .google.cloud.retail.v2alpha.SearchResponse.TileNavigationResult tile_navigation_result = 19;
    • getTileNavigationResultBuilder

      public SearchResponse.TileNavigationResult.Builder getTileNavigationResultBuilder()
       This field specifies all related information for tile navigation that will
       be used in client side.
       
      .google.cloud.retail.v2alpha.SearchResponse.TileNavigationResult tile_navigation_result = 19;
    • getTileNavigationResultOrBuilder

      public SearchResponse.TileNavigationResultOrBuilder getTileNavigationResultOrBuilder()
       This field specifies all related information for tile navigation that will
       be used in client side.
       
      .google.cloud.retail.v2alpha.SearchResponse.TileNavigationResult tile_navigation_result = 19;
      Specified by:
      getTileNavigationResultOrBuilder in interface SearchResponseOrBuilder