Class SearchResponse.ConversationalSearchResult.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SearchResponse.ConversationalSearchResult.Builder>
com.google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.Builder
All Implemented Interfaces:
SearchResponse.ConversationalSearchResultOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
SearchResponse.ConversationalSearchResult

public static final class SearchResponse.ConversationalSearchResult.Builder extends com.google.protobuf.GeneratedMessage.Builder<SearchResponse.ConversationalSearchResult.Builder> implements SearchResponse.ConversationalSearchResultOrBuilder
 This field specifies all related information that is needed on client
 side for UI rendering of conversational retail search.
 
Protobuf type google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult
  • 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.ConversationalSearchResult.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.ConversationalSearchResult.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.ConversationalSearchResult.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<SearchResponse.ConversationalSearchResult.Builder>
    • mergeFrom

      public SearchResponse.ConversationalSearchResult.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.ConversationalSearchResult.Builder>
      Throws:
      IOException
    • getConversationId

      public String getConversationId()
       Conversation UUID. This field will be stored in client side storage to
       maintain the conversation session with server and will be used for next
       search request's
       [SearchRequest.ConversationalSearchSpec.conversation_id][google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec.conversation_id]
       to restore conversation state in server.
       
      string conversation_id = 1;
      Specified by:
      getConversationId in interface SearchResponse.ConversationalSearchResultOrBuilder
      Returns:
      The conversationId.
    • getConversationIdBytes

      public com.google.protobuf.ByteString getConversationIdBytes()
       Conversation UUID. This field will be stored in client side storage to
       maintain the conversation session with server and will be used for next
       search request's
       [SearchRequest.ConversationalSearchSpec.conversation_id][google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec.conversation_id]
       to restore conversation state in server.
       
      string conversation_id = 1;
      Specified by:
      getConversationIdBytes in interface SearchResponse.ConversationalSearchResultOrBuilder
      Returns:
      The bytes for conversationId.
    • setConversationId

       Conversation UUID. This field will be stored in client side storage to
       maintain the conversation session with server and will be used for next
       search request's
       [SearchRequest.ConversationalSearchSpec.conversation_id][google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec.conversation_id]
       to restore conversation state in server.
       
      string conversation_id = 1;
      Parameters:
      value - The conversationId to set.
      Returns:
      This builder for chaining.
    • clearConversationId

       Conversation UUID. This field will be stored in client side storage to
       maintain the conversation session with server and will be used for next
       search request's
       [SearchRequest.ConversationalSearchSpec.conversation_id][google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec.conversation_id]
       to restore conversation state in server.
       
      string conversation_id = 1;
      Returns:
      This builder for chaining.
    • setConversationIdBytes

      public SearchResponse.ConversationalSearchResult.Builder setConversationIdBytes(com.google.protobuf.ByteString value)
       Conversation UUID. This field will be stored in client side storage to
       maintain the conversation session with server and will be used for next
       search request's
       [SearchRequest.ConversationalSearchSpec.conversation_id][google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec.conversation_id]
       to restore conversation state in server.
       
      string conversation_id = 1;
      Parameters:
      value - The bytes for conversationId to set.
      Returns:
      This builder for chaining.
    • getRefinedQuery

      public String getRefinedQuery()
       The current refined query for the conversational search. This field
       will be used in customer UI that the query in the search bar should be
       replaced with the refined query. For example, if
       [SearchRequest.query][google.cloud.retail.v2alpha.SearchRequest.query] is
       `dress` and next
       [SearchRequest.ConversationalSearchSpec.UserAnswer.text_answer][google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec.UserAnswer.text_answer]
       is `red color`, which does not match any product attribute value filters,
       the refined query will be `dress, red color`.
       
      string refined_query = 2;
      Specified by:
      getRefinedQuery in interface SearchResponse.ConversationalSearchResultOrBuilder
      Returns:
      The refinedQuery.
    • getRefinedQueryBytes

      public com.google.protobuf.ByteString getRefinedQueryBytes()
       The current refined query for the conversational search. This field
       will be used in customer UI that the query in the search bar should be
       replaced with the refined query. For example, if
       [SearchRequest.query][google.cloud.retail.v2alpha.SearchRequest.query] is
       `dress` and next
       [SearchRequest.ConversationalSearchSpec.UserAnswer.text_answer][google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec.UserAnswer.text_answer]
       is `red color`, which does not match any product attribute value filters,
       the refined query will be `dress, red color`.
       
      string refined_query = 2;
      Specified by:
      getRefinedQueryBytes in interface SearchResponse.ConversationalSearchResultOrBuilder
      Returns:
      The bytes for refinedQuery.
    • setRefinedQuery

       The current refined query for the conversational search. This field
       will be used in customer UI that the query in the search bar should be
       replaced with the refined query. For example, if
       [SearchRequest.query][google.cloud.retail.v2alpha.SearchRequest.query] is
       `dress` and next
       [SearchRequest.ConversationalSearchSpec.UserAnswer.text_answer][google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec.UserAnswer.text_answer]
       is `red color`, which does not match any product attribute value filters,
       the refined query will be `dress, red color`.
       
      string refined_query = 2;
      Parameters:
      value - The refinedQuery to set.
      Returns:
      This builder for chaining.
    • clearRefinedQuery

       The current refined query for the conversational search. This field
       will be used in customer UI that the query in the search bar should be
       replaced with the refined query. For example, if
       [SearchRequest.query][google.cloud.retail.v2alpha.SearchRequest.query] is
       `dress` and next
       [SearchRequest.ConversationalSearchSpec.UserAnswer.text_answer][google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec.UserAnswer.text_answer]
       is `red color`, which does not match any product attribute value filters,
       the refined query will be `dress, red color`.
       
      string refined_query = 2;
      Returns:
      This builder for chaining.
    • setRefinedQueryBytes

      public SearchResponse.ConversationalSearchResult.Builder setRefinedQueryBytes(com.google.protobuf.ByteString value)
       The current refined query for the conversational search. This field
       will be used in customer UI that the query in the search bar should be
       replaced with the refined query. For example, if
       [SearchRequest.query][google.cloud.retail.v2alpha.SearchRequest.query] is
       `dress` and next
       [SearchRequest.ConversationalSearchSpec.UserAnswer.text_answer][google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec.UserAnswer.text_answer]
       is `red color`, which does not match any product attribute value filters,
       the refined query will be `dress, red color`.
       
      string refined_query = 2;
      Parameters:
      value - The bytes for refinedQuery to set.
      Returns:
      This builder for chaining.
    • getAdditionalFiltersList

      Deprecated.
       This field is deprecated but will be kept for backward compatibility.
       There is expected to have only one additional filter and the value will
       be the same to the same as field `additional_filter`.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filters = 3 [deprecated = true];
      Specified by:
      getAdditionalFiltersList in interface SearchResponse.ConversationalSearchResultOrBuilder
    • getAdditionalFiltersCount

      @Deprecated public int getAdditionalFiltersCount()
      Deprecated.
       This field is deprecated but will be kept for backward compatibility.
       There is expected to have only one additional filter and the value will
       be the same to the same as field `additional_filter`.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filters = 3 [deprecated = true];
      Specified by:
      getAdditionalFiltersCount in interface SearchResponse.ConversationalSearchResultOrBuilder
    • getAdditionalFilters

      Deprecated.
       This field is deprecated but will be kept for backward compatibility.
       There is expected to have only one additional filter and the value will
       be the same to the same as field `additional_filter`.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filters = 3 [deprecated = true];
      Specified by:
      getAdditionalFilters in interface SearchResponse.ConversationalSearchResultOrBuilder
    • setAdditionalFilters

      Deprecated.
       This field is deprecated but will be kept for backward compatibility.
       There is expected to have only one additional filter and the value will
       be the same to the same as field `additional_filter`.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filters = 3 [deprecated = true];
    • setAdditionalFilters

      Deprecated.
       This field is deprecated but will be kept for backward compatibility.
       There is expected to have only one additional filter and the value will
       be the same to the same as field `additional_filter`.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filters = 3 [deprecated = true];
    • addAdditionalFilters

      Deprecated.
       This field is deprecated but will be kept for backward compatibility.
       There is expected to have only one additional filter and the value will
       be the same to the same as field `additional_filter`.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filters = 3 [deprecated = true];
    • addAdditionalFilters

      Deprecated.
       This field is deprecated but will be kept for backward compatibility.
       There is expected to have only one additional filter and the value will
       be the same to the same as field `additional_filter`.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filters = 3 [deprecated = true];
    • addAdditionalFilters

      Deprecated.
       This field is deprecated but will be kept for backward compatibility.
       There is expected to have only one additional filter and the value will
       be the same to the same as field `additional_filter`.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filters = 3 [deprecated = true];
    • addAdditionalFilters

      Deprecated.
       This field is deprecated but will be kept for backward compatibility.
       There is expected to have only one additional filter and the value will
       be the same to the same as field `additional_filter`.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filters = 3 [deprecated = true];
    • addAllAdditionalFilters

      Deprecated.
       This field is deprecated but will be kept for backward compatibility.
       There is expected to have only one additional filter and the value will
       be the same to the same as field `additional_filter`.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filters = 3 [deprecated = true];
    • clearAdditionalFilters

      Deprecated.
       This field is deprecated but will be kept for backward compatibility.
       There is expected to have only one additional filter and the value will
       be the same to the same as field `additional_filter`.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filters = 3 [deprecated = true];
    • removeAdditionalFilters

      @Deprecated public SearchResponse.ConversationalSearchResult.Builder removeAdditionalFilters(int index)
      Deprecated.
       This field is deprecated but will be kept for backward compatibility.
       There is expected to have only one additional filter and the value will
       be the same to the same as field `additional_filter`.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filters = 3 [deprecated = true];
    • getAdditionalFiltersBuilder

      Deprecated.
       This field is deprecated but will be kept for backward compatibility.
       There is expected to have only one additional filter and the value will
       be the same to the same as field `additional_filter`.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filters = 3 [deprecated = true];
    • getAdditionalFiltersOrBuilder

      @Deprecated public SearchResponse.ConversationalSearchResult.AdditionalFilterOrBuilder getAdditionalFiltersOrBuilder(int index)
      Deprecated.
       This field is deprecated but will be kept for backward compatibility.
       There is expected to have only one additional filter and the value will
       be the same to the same as field `additional_filter`.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filters = 3 [deprecated = true];
      Specified by:
      getAdditionalFiltersOrBuilder in interface SearchResponse.ConversationalSearchResultOrBuilder
    • getAdditionalFiltersOrBuilderList

      @Deprecated public List<? extends SearchResponse.ConversationalSearchResult.AdditionalFilterOrBuilder> getAdditionalFiltersOrBuilderList()
      Deprecated.
       This field is deprecated but will be kept for backward compatibility.
       There is expected to have only one additional filter and the value will
       be the same to the same as field `additional_filter`.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filters = 3 [deprecated = true];
      Specified by:
      getAdditionalFiltersOrBuilderList in interface SearchResponse.ConversationalSearchResultOrBuilder
    • addAdditionalFiltersBuilder

      Deprecated.
       This field is deprecated but will be kept for backward compatibility.
       There is expected to have only one additional filter and the value will
       be the same to the same as field `additional_filter`.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filters = 3 [deprecated = true];
    • addAdditionalFiltersBuilder

      Deprecated.
       This field is deprecated but will be kept for backward compatibility.
       There is expected to have only one additional filter and the value will
       be the same to the same as field `additional_filter`.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filters = 3 [deprecated = true];
    • getAdditionalFiltersBuilderList

      Deprecated.
       This field is deprecated but will be kept for backward compatibility.
       There is expected to have only one additional filter and the value will
       be the same to the same as field `additional_filter`.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filters = 3 [deprecated = true];
    • getFollowupQuestion

      public String getFollowupQuestion()
       The follow-up question. e.g., `What is the color?`
       
      string followup_question = 4;
      Specified by:
      getFollowupQuestion in interface SearchResponse.ConversationalSearchResultOrBuilder
      Returns:
      The followupQuestion.
    • getFollowupQuestionBytes

      public com.google.protobuf.ByteString getFollowupQuestionBytes()
       The follow-up question. e.g., `What is the color?`
       
      string followup_question = 4;
      Specified by:
      getFollowupQuestionBytes in interface SearchResponse.ConversationalSearchResultOrBuilder
      Returns:
      The bytes for followupQuestion.
    • setFollowupQuestion

      public SearchResponse.ConversationalSearchResult.Builder setFollowupQuestion(String value)
       The follow-up question. e.g., `What is the color?`
       
      string followup_question = 4;
      Parameters:
      value - The followupQuestion to set.
      Returns:
      This builder for chaining.
    • clearFollowupQuestion

      public SearchResponse.ConversationalSearchResult.Builder clearFollowupQuestion()
       The follow-up question. e.g., `What is the color?`
       
      string followup_question = 4;
      Returns:
      This builder for chaining.
    • setFollowupQuestionBytes

      public SearchResponse.ConversationalSearchResult.Builder setFollowupQuestionBytes(com.google.protobuf.ByteString value)
       The follow-up question. e.g., `What is the color?`
       
      string followup_question = 4;
      Parameters:
      value - The bytes for followupQuestion to set.
      Returns:
      This builder for chaining.
    • getSuggestedAnswersList

       The answer options provided to client for the follow-up question.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.SuggestedAnswer suggested_answers = 5;
      Specified by:
      getSuggestedAnswersList in interface SearchResponse.ConversationalSearchResultOrBuilder
    • getSuggestedAnswersCount

      public int getSuggestedAnswersCount()
       The answer options provided to client for the follow-up question.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.SuggestedAnswer suggested_answers = 5;
      Specified by:
      getSuggestedAnswersCount in interface SearchResponse.ConversationalSearchResultOrBuilder
    • getSuggestedAnswers

      public SearchResponse.ConversationalSearchResult.SuggestedAnswer getSuggestedAnswers(int index)
       The answer options provided to client for the follow-up question.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.SuggestedAnswer suggested_answers = 5;
      Specified by:
      getSuggestedAnswers in interface SearchResponse.ConversationalSearchResultOrBuilder
    • setSuggestedAnswers

       The answer options provided to client for the follow-up question.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.SuggestedAnswer suggested_answers = 5;
    • setSuggestedAnswers

       The answer options provided to client for the follow-up question.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.SuggestedAnswer suggested_answers = 5;
    • addSuggestedAnswers

       The answer options provided to client for the follow-up question.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.SuggestedAnswer suggested_answers = 5;
    • addSuggestedAnswers

       The answer options provided to client for the follow-up question.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.SuggestedAnswer suggested_answers = 5;
    • addSuggestedAnswers

       The answer options provided to client for the follow-up question.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.SuggestedAnswer suggested_answers = 5;
    • addSuggestedAnswers

       The answer options provided to client for the follow-up question.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.SuggestedAnswer suggested_answers = 5;
    • addAllSuggestedAnswers

       The answer options provided to client for the follow-up question.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.SuggestedAnswer suggested_answers = 5;
    • clearSuggestedAnswers

      public SearchResponse.ConversationalSearchResult.Builder clearSuggestedAnswers()
       The answer options provided to client for the follow-up question.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.SuggestedAnswer suggested_answers = 5;
    • removeSuggestedAnswers

      public SearchResponse.ConversationalSearchResult.Builder removeSuggestedAnswers(int index)
       The answer options provided to client for the follow-up question.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.SuggestedAnswer suggested_answers = 5;
    • getSuggestedAnswersBuilder

      public SearchResponse.ConversationalSearchResult.SuggestedAnswer.Builder getSuggestedAnswersBuilder(int index)
       The answer options provided to client for the follow-up question.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.SuggestedAnswer suggested_answers = 5;
    • getSuggestedAnswersOrBuilder

      public SearchResponse.ConversationalSearchResult.SuggestedAnswerOrBuilder getSuggestedAnswersOrBuilder(int index)
       The answer options provided to client for the follow-up question.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.SuggestedAnswer suggested_answers = 5;
      Specified by:
      getSuggestedAnswersOrBuilder in interface SearchResponse.ConversationalSearchResultOrBuilder
    • getSuggestedAnswersOrBuilderList

      public List<? extends SearchResponse.ConversationalSearchResult.SuggestedAnswerOrBuilder> getSuggestedAnswersOrBuilderList()
       The answer options provided to client for the follow-up question.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.SuggestedAnswer suggested_answers = 5;
      Specified by:
      getSuggestedAnswersOrBuilderList in interface SearchResponse.ConversationalSearchResultOrBuilder
    • addSuggestedAnswersBuilder

       The answer options provided to client for the follow-up question.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.SuggestedAnswer suggested_answers = 5;
    • addSuggestedAnswersBuilder

      public SearchResponse.ConversationalSearchResult.SuggestedAnswer.Builder addSuggestedAnswersBuilder(int index)
       The answer options provided to client for the follow-up question.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.SuggestedAnswer suggested_answers = 5;
    • getSuggestedAnswersBuilderList

       The answer options provided to client for the follow-up question.
       
      repeated .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.SuggestedAnswer suggested_answers = 5;
    • hasAdditionalFilter

      public boolean hasAdditionalFilter()
       This is the incremental additional filters implied from the current
       user answer. User should add the suggested addition filters to the
       previous
       [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter],
       and use the merged filter in the follow up search request.
       
      .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filter = 6;
      Specified by:
      hasAdditionalFilter in interface SearchResponse.ConversationalSearchResultOrBuilder
      Returns:
      Whether the additionalFilter field is set.
    • getAdditionalFilter

       This is the incremental additional filters implied from the current
       user answer. User should add the suggested addition filters to the
       previous
       [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter],
       and use the merged filter in the follow up search request.
       
      .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filter = 6;
      Specified by:
      getAdditionalFilter in interface SearchResponse.ConversationalSearchResultOrBuilder
      Returns:
      The additionalFilter.
    • setAdditionalFilter

       This is the incremental additional filters implied from the current
       user answer. User should add the suggested addition filters to the
       previous
       [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter],
       and use the merged filter in the follow up search request.
       
      .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filter = 6;
    • setAdditionalFilter

       This is the incremental additional filters implied from the current
       user answer. User should add the suggested addition filters to the
       previous
       [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter],
       and use the merged filter in the follow up search request.
       
      .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filter = 6;
    • mergeAdditionalFilter

       This is the incremental additional filters implied from the current
       user answer. User should add the suggested addition filters to the
       previous
       [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter],
       and use the merged filter in the follow up search request.
       
      .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filter = 6;
    • clearAdditionalFilter

      public SearchResponse.ConversationalSearchResult.Builder clearAdditionalFilter()
       This is the incremental additional filters implied from the current
       user answer. User should add the suggested addition filters to the
       previous
       [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter],
       and use the merged filter in the follow up search request.
       
      .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filter = 6;
    • getAdditionalFilterBuilder

       This is the incremental additional filters implied from the current
       user answer. User should add the suggested addition filters to the
       previous
       [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter],
       and use the merged filter in the follow up search request.
       
      .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filter = 6;
    • getAdditionalFilterOrBuilder

       This is the incremental additional filters implied from the current
       user answer. User should add the suggested addition filters to the
       previous
       [SearchRequest.filter][google.cloud.retail.v2alpha.SearchRequest.filter],
       and use the merged filter in the follow up search request.
       
      .google.cloud.retail.v2alpha.SearchResponse.ConversationalSearchResult.AdditionalFilter additional_filter = 6;
      Specified by:
      getAdditionalFilterOrBuilder in interface SearchResponse.ConversationalSearchResultOrBuilder