Class ConversationalSearchResponse.Builder

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

public static final class ConversationalSearchResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ConversationalSearchResponse.Builder> implements ConversationalSearchResponseOrBuilder
 Response message for
 [ConversationalSearchService.ConversationalSearch][google.cloud.retail.v2alpha.ConversationalSearchService.ConversationalSearch]
 method.
 
Protobuf type google.cloud.retail.v2alpha.ConversationalSearchResponse
  • 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<ConversationalSearchResponse.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<ConversationalSearchResponse.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<ConversationalSearchResponse.Builder>
    • getDefaultInstanceForType

      public ConversationalSearchResponse 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

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

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

      public ConversationalSearchResponse.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<ConversationalSearchResponse.Builder>
      Throws:
      IOException
    • getUserQueryTypesList

      public com.google.protobuf.ProtocolStringList getUserQueryTypesList()
       The types Retail classifies the search query as.
      
       Supported values are:
      
       - "ORDER_SUPPORT"
       - "SIMPLE_PRODUCT_SEARCH"
       - "INTENT_REFINEMENT"
       - "PRODUCT_DETAILS"
       - "PRODUCT_COMPARISON"
       - "DEALS_AND_COUPONS"
       - "STORE_RELEVANT"
       - "BLOCKLISTED"
       - "BEST_PRODUCT"
       - "RETAIL_SUPPORT"
       - "DISABLED"
       clang-format off
       clang-format on
       
      repeated string user_query_types = 10;
      Specified by:
      getUserQueryTypesList in interface ConversationalSearchResponseOrBuilder
      Returns:
      A list containing the userQueryTypes.
    • getUserQueryTypesCount

      public int getUserQueryTypesCount()
       The types Retail classifies the search query as.
      
       Supported values are:
      
       - "ORDER_SUPPORT"
       - "SIMPLE_PRODUCT_SEARCH"
       - "INTENT_REFINEMENT"
       - "PRODUCT_DETAILS"
       - "PRODUCT_COMPARISON"
       - "DEALS_AND_COUPONS"
       - "STORE_RELEVANT"
       - "BLOCKLISTED"
       - "BEST_PRODUCT"
       - "RETAIL_SUPPORT"
       - "DISABLED"
       clang-format off
       clang-format on
       
      repeated string user_query_types = 10;
      Specified by:
      getUserQueryTypesCount in interface ConversationalSearchResponseOrBuilder
      Returns:
      The count of userQueryTypes.
    • getUserQueryTypes

      public String getUserQueryTypes(int index)
       The types Retail classifies the search query as.
      
       Supported values are:
      
       - "ORDER_SUPPORT"
       - "SIMPLE_PRODUCT_SEARCH"
       - "INTENT_REFINEMENT"
       - "PRODUCT_DETAILS"
       - "PRODUCT_COMPARISON"
       - "DEALS_AND_COUPONS"
       - "STORE_RELEVANT"
       - "BLOCKLISTED"
       - "BEST_PRODUCT"
       - "RETAIL_SUPPORT"
       - "DISABLED"
       clang-format off
       clang-format on
       
      repeated string user_query_types = 10;
      Specified by:
      getUserQueryTypes in interface ConversationalSearchResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The userQueryTypes at the given index.
    • getUserQueryTypesBytes

      public com.google.protobuf.ByteString getUserQueryTypesBytes(int index)
       The types Retail classifies the search query as.
      
       Supported values are:
      
       - "ORDER_SUPPORT"
       - "SIMPLE_PRODUCT_SEARCH"
       - "INTENT_REFINEMENT"
       - "PRODUCT_DETAILS"
       - "PRODUCT_COMPARISON"
       - "DEALS_AND_COUPONS"
       - "STORE_RELEVANT"
       - "BLOCKLISTED"
       - "BEST_PRODUCT"
       - "RETAIL_SUPPORT"
       - "DISABLED"
       clang-format off
       clang-format on
       
      repeated string user_query_types = 10;
      Specified by:
      getUserQueryTypesBytes in interface ConversationalSearchResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the userQueryTypes at the given index.
    • setUserQueryTypes

      public ConversationalSearchResponse.Builder setUserQueryTypes(int index, String value)
       The types Retail classifies the search query as.
      
       Supported values are:
      
       - "ORDER_SUPPORT"
       - "SIMPLE_PRODUCT_SEARCH"
       - "INTENT_REFINEMENT"
       - "PRODUCT_DETAILS"
       - "PRODUCT_COMPARISON"
       - "DEALS_AND_COUPONS"
       - "STORE_RELEVANT"
       - "BLOCKLISTED"
       - "BEST_PRODUCT"
       - "RETAIL_SUPPORT"
       - "DISABLED"
       clang-format off
       clang-format on
       
      repeated string user_query_types = 10;
      Parameters:
      index - The index to set the value at.
      value - The userQueryTypes to set.
      Returns:
      This builder for chaining.
    • addUserQueryTypes

      public ConversationalSearchResponse.Builder addUserQueryTypes(String value)
       The types Retail classifies the search query as.
      
       Supported values are:
      
       - "ORDER_SUPPORT"
       - "SIMPLE_PRODUCT_SEARCH"
       - "INTENT_REFINEMENT"
       - "PRODUCT_DETAILS"
       - "PRODUCT_COMPARISON"
       - "DEALS_AND_COUPONS"
       - "STORE_RELEVANT"
       - "BLOCKLISTED"
       - "BEST_PRODUCT"
       - "RETAIL_SUPPORT"
       - "DISABLED"
       clang-format off
       clang-format on
       
      repeated string user_query_types = 10;
      Parameters:
      value - The userQueryTypes to add.
      Returns:
      This builder for chaining.
    • addAllUserQueryTypes

      public ConversationalSearchResponse.Builder addAllUserQueryTypes(Iterable<String> values)
       The types Retail classifies the search query as.
      
       Supported values are:
      
       - "ORDER_SUPPORT"
       - "SIMPLE_PRODUCT_SEARCH"
       - "INTENT_REFINEMENT"
       - "PRODUCT_DETAILS"
       - "PRODUCT_COMPARISON"
       - "DEALS_AND_COUPONS"
       - "STORE_RELEVANT"
       - "BLOCKLISTED"
       - "BEST_PRODUCT"
       - "RETAIL_SUPPORT"
       - "DISABLED"
       clang-format off
       clang-format on
       
      repeated string user_query_types = 10;
      Parameters:
      values - The userQueryTypes to add.
      Returns:
      This builder for chaining.
    • clearUserQueryTypes

      public ConversationalSearchResponse.Builder clearUserQueryTypes()
       The types Retail classifies the search query as.
      
       Supported values are:
      
       - "ORDER_SUPPORT"
       - "SIMPLE_PRODUCT_SEARCH"
       - "INTENT_REFINEMENT"
       - "PRODUCT_DETAILS"
       - "PRODUCT_COMPARISON"
       - "DEALS_AND_COUPONS"
       - "STORE_RELEVANT"
       - "BLOCKLISTED"
       - "BEST_PRODUCT"
       - "RETAIL_SUPPORT"
       - "DISABLED"
       clang-format off
       clang-format on
       
      repeated string user_query_types = 10;
      Returns:
      This builder for chaining.
    • addUserQueryTypesBytes

      public ConversationalSearchResponse.Builder addUserQueryTypesBytes(com.google.protobuf.ByteString value)
       The types Retail classifies the search query as.
      
       Supported values are:
      
       - "ORDER_SUPPORT"
       - "SIMPLE_PRODUCT_SEARCH"
       - "INTENT_REFINEMENT"
       - "PRODUCT_DETAILS"
       - "PRODUCT_COMPARISON"
       - "DEALS_AND_COUPONS"
       - "STORE_RELEVANT"
       - "BLOCKLISTED"
       - "BEST_PRODUCT"
       - "RETAIL_SUPPORT"
       - "DISABLED"
       clang-format off
       clang-format on
       
      repeated string user_query_types = 10;
      Parameters:
      value - The bytes of the userQueryTypes to add.
      Returns:
      This builder for chaining.
    • getConversationalTextResponse

      public String getConversationalTextResponse()
       The conversational answer-based text response generated by the Server.
       
      string conversational_text_response = 2;
      Specified by:
      getConversationalTextResponse in interface ConversationalSearchResponseOrBuilder
      Returns:
      The conversationalTextResponse.
    • getConversationalTextResponseBytes

      public com.google.protobuf.ByteString getConversationalTextResponseBytes()
       The conversational answer-based text response generated by the Server.
       
      string conversational_text_response = 2;
      Specified by:
      getConversationalTextResponseBytes in interface ConversationalSearchResponseOrBuilder
      Returns:
      The bytes for conversationalTextResponse.
    • setConversationalTextResponse

      public ConversationalSearchResponse.Builder setConversationalTextResponse(String value)
       The conversational answer-based text response generated by the Server.
       
      string conversational_text_response = 2;
      Parameters:
      value - The conversationalTextResponse to set.
      Returns:
      This builder for chaining.
    • clearConversationalTextResponse

      public ConversationalSearchResponse.Builder clearConversationalTextResponse()
       The conversational answer-based text response generated by the Server.
       
      string conversational_text_response = 2;
      Returns:
      This builder for chaining.
    • setConversationalTextResponseBytes

      public ConversationalSearchResponse.Builder setConversationalTextResponseBytes(com.google.protobuf.ByteString value)
       The conversational answer-based text response generated by the Server.
       
      string conversational_text_response = 2;
      Parameters:
      value - The bytes for conversationalTextResponse to set.
      Returns:
      This builder for chaining.
    • hasFollowupQuestion

      public boolean hasFollowupQuestion()
       The conversational followup question generated for Intent refinement.
       
      .google.cloud.retail.v2alpha.ConversationalSearchResponse.FollowupQuestion followup_question = 3;
      Specified by:
      hasFollowupQuestion in interface ConversationalSearchResponseOrBuilder
      Returns:
      Whether the followupQuestion field is set.
    • getFollowupQuestion

      public ConversationalSearchResponse.FollowupQuestion getFollowupQuestion()
       The conversational followup question generated for Intent refinement.
       
      .google.cloud.retail.v2alpha.ConversationalSearchResponse.FollowupQuestion followup_question = 3;
      Specified by:
      getFollowupQuestion in interface ConversationalSearchResponseOrBuilder
      Returns:
      The followupQuestion.
    • setFollowupQuestion

       The conversational followup question generated for Intent refinement.
       
      .google.cloud.retail.v2alpha.ConversationalSearchResponse.FollowupQuestion followup_question = 3;
    • setFollowupQuestion

       The conversational followup question generated for Intent refinement.
       
      .google.cloud.retail.v2alpha.ConversationalSearchResponse.FollowupQuestion followup_question = 3;
    • mergeFollowupQuestion

       The conversational followup question generated for Intent refinement.
       
      .google.cloud.retail.v2alpha.ConversationalSearchResponse.FollowupQuestion followup_question = 3;
    • clearFollowupQuestion

      public ConversationalSearchResponse.Builder clearFollowupQuestion()
       The conversational followup question generated for Intent refinement.
       
      .google.cloud.retail.v2alpha.ConversationalSearchResponse.FollowupQuestion followup_question = 3;
    • getFollowupQuestionBuilder

      public ConversationalSearchResponse.FollowupQuestion.Builder getFollowupQuestionBuilder()
       The conversational followup question generated for Intent refinement.
       
      .google.cloud.retail.v2alpha.ConversationalSearchResponse.FollowupQuestion followup_question = 3;
    • getFollowupQuestionOrBuilder

      public ConversationalSearchResponse.FollowupQuestionOrBuilder getFollowupQuestionOrBuilder()
       The conversational followup question generated for Intent refinement.
       
      .google.cloud.retail.v2alpha.ConversationalSearchResponse.FollowupQuestion followup_question = 3;
      Specified by:
      getFollowupQuestionOrBuilder in interface ConversationalSearchResponseOrBuilder
    • 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
       [ConversationalSearchRequest.conversation_id][google.cloud.retail.v2alpha.ConversationalSearchRequest.conversation_id]
       to restore conversation state in server.
       
      string conversation_id = 4;
      Specified by:
      getConversationId in interface ConversationalSearchResponseOrBuilder
      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
       [ConversationalSearchRequest.conversation_id][google.cloud.retail.v2alpha.ConversationalSearchRequest.conversation_id]
       to restore conversation state in server.
       
      string conversation_id = 4;
      Specified by:
      getConversationIdBytes in interface ConversationalSearchResponseOrBuilder
      Returns:
      The bytes for conversationId.
    • setConversationId

      public ConversationalSearchResponse.Builder setConversationId(String 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
       [ConversationalSearchRequest.conversation_id][google.cloud.retail.v2alpha.ConversationalSearchRequest.conversation_id]
       to restore conversation state in server.
       
      string conversation_id = 4;
      Parameters:
      value - The conversationId to set.
      Returns:
      This builder for chaining.
    • clearConversationId

      public ConversationalSearchResponse.Builder 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
       [ConversationalSearchRequest.conversation_id][google.cloud.retail.v2alpha.ConversationalSearchRequest.conversation_id]
       to restore conversation state in server.
       
      string conversation_id = 4;
      Returns:
      This builder for chaining.
    • setConversationIdBytes

      public ConversationalSearchResponse.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
       [ConversationalSearchRequest.conversation_id][google.cloud.retail.v2alpha.ConversationalSearchRequest.conversation_id]
       to restore conversation state in server.
       
      string conversation_id = 4;
      Parameters:
      value - The bytes for conversationId to set.
      Returns:
      This builder for chaining.
    • getRefinedSearchList

      public List<ConversationalSearchResponse.RefinedSearch> getRefinedSearchList()
       The proposed refined search queries. They can be used to fetch the relevant
       search results. When using CONVERSATIONAL_FILTER_ONLY mode, the
       refined_query from search response will be populated here.
       
      repeated .google.cloud.retail.v2alpha.ConversationalSearchResponse.RefinedSearch refined_search = 6;
      Specified by:
      getRefinedSearchList in interface ConversationalSearchResponseOrBuilder
    • getRefinedSearchCount

      public int getRefinedSearchCount()
       The proposed refined search queries. They can be used to fetch the relevant
       search results. When using CONVERSATIONAL_FILTER_ONLY mode, the
       refined_query from search response will be populated here.
       
      repeated .google.cloud.retail.v2alpha.ConversationalSearchResponse.RefinedSearch refined_search = 6;
      Specified by:
      getRefinedSearchCount in interface ConversationalSearchResponseOrBuilder
    • getRefinedSearch

      public ConversationalSearchResponse.RefinedSearch getRefinedSearch(int index)
       The proposed refined search queries. They can be used to fetch the relevant
       search results. When using CONVERSATIONAL_FILTER_ONLY mode, the
       refined_query from search response will be populated here.
       
      repeated .google.cloud.retail.v2alpha.ConversationalSearchResponse.RefinedSearch refined_search = 6;
      Specified by:
      getRefinedSearch in interface ConversationalSearchResponseOrBuilder
    • setRefinedSearch

       The proposed refined search queries. They can be used to fetch the relevant
       search results. When using CONVERSATIONAL_FILTER_ONLY mode, the
       refined_query from search response will be populated here.
       
      repeated .google.cloud.retail.v2alpha.ConversationalSearchResponse.RefinedSearch refined_search = 6;
    • setRefinedSearch

       The proposed refined search queries. They can be used to fetch the relevant
       search results. When using CONVERSATIONAL_FILTER_ONLY mode, the
       refined_query from search response will be populated here.
       
      repeated .google.cloud.retail.v2alpha.ConversationalSearchResponse.RefinedSearch refined_search = 6;
    • addRefinedSearch

       The proposed refined search queries. They can be used to fetch the relevant
       search results. When using CONVERSATIONAL_FILTER_ONLY mode, the
       refined_query from search response will be populated here.
       
      repeated .google.cloud.retail.v2alpha.ConversationalSearchResponse.RefinedSearch refined_search = 6;
    • addRefinedSearch

       The proposed refined search queries. They can be used to fetch the relevant
       search results. When using CONVERSATIONAL_FILTER_ONLY mode, the
       refined_query from search response will be populated here.
       
      repeated .google.cloud.retail.v2alpha.ConversationalSearchResponse.RefinedSearch refined_search = 6;
    • addRefinedSearch

       The proposed refined search queries. They can be used to fetch the relevant
       search results. When using CONVERSATIONAL_FILTER_ONLY mode, the
       refined_query from search response will be populated here.
       
      repeated .google.cloud.retail.v2alpha.ConversationalSearchResponse.RefinedSearch refined_search = 6;
    • addRefinedSearch

       The proposed refined search queries. They can be used to fetch the relevant
       search results. When using CONVERSATIONAL_FILTER_ONLY mode, the
       refined_query from search response will be populated here.
       
      repeated .google.cloud.retail.v2alpha.ConversationalSearchResponse.RefinedSearch refined_search = 6;
    • addAllRefinedSearch

       The proposed refined search queries. They can be used to fetch the relevant
       search results. When using CONVERSATIONAL_FILTER_ONLY mode, the
       refined_query from search response will be populated here.
       
      repeated .google.cloud.retail.v2alpha.ConversationalSearchResponse.RefinedSearch refined_search = 6;
    • clearRefinedSearch

      public ConversationalSearchResponse.Builder clearRefinedSearch()
       The proposed refined search queries. They can be used to fetch the relevant
       search results. When using CONVERSATIONAL_FILTER_ONLY mode, the
       refined_query from search response will be populated here.
       
      repeated .google.cloud.retail.v2alpha.ConversationalSearchResponse.RefinedSearch refined_search = 6;
    • removeRefinedSearch

      public ConversationalSearchResponse.Builder removeRefinedSearch(int index)
       The proposed refined search queries. They can be used to fetch the relevant
       search results. When using CONVERSATIONAL_FILTER_ONLY mode, the
       refined_query from search response will be populated here.
       
      repeated .google.cloud.retail.v2alpha.ConversationalSearchResponse.RefinedSearch refined_search = 6;
    • getRefinedSearchBuilder

      public ConversationalSearchResponse.RefinedSearch.Builder getRefinedSearchBuilder(int index)
       The proposed refined search queries. They can be used to fetch the relevant
       search results. When using CONVERSATIONAL_FILTER_ONLY mode, the
       refined_query from search response will be populated here.
       
      repeated .google.cloud.retail.v2alpha.ConversationalSearchResponse.RefinedSearch refined_search = 6;
    • getRefinedSearchOrBuilder

      public ConversationalSearchResponse.RefinedSearchOrBuilder getRefinedSearchOrBuilder(int index)
       The proposed refined search queries. They can be used to fetch the relevant
       search results. When using CONVERSATIONAL_FILTER_ONLY mode, the
       refined_query from search response will be populated here.
       
      repeated .google.cloud.retail.v2alpha.ConversationalSearchResponse.RefinedSearch refined_search = 6;
      Specified by:
      getRefinedSearchOrBuilder in interface ConversationalSearchResponseOrBuilder
    • getRefinedSearchOrBuilderList

      public List<? extends ConversationalSearchResponse.RefinedSearchOrBuilder> getRefinedSearchOrBuilderList()
       The proposed refined search queries. They can be used to fetch the relevant
       search results. When using CONVERSATIONAL_FILTER_ONLY mode, the
       refined_query from search response will be populated here.
       
      repeated .google.cloud.retail.v2alpha.ConversationalSearchResponse.RefinedSearch refined_search = 6;
      Specified by:
      getRefinedSearchOrBuilderList in interface ConversationalSearchResponseOrBuilder
    • addRefinedSearchBuilder

      public ConversationalSearchResponse.RefinedSearch.Builder addRefinedSearchBuilder()
       The proposed refined search queries. They can be used to fetch the relevant
       search results. When using CONVERSATIONAL_FILTER_ONLY mode, the
       refined_query from search response will be populated here.
       
      repeated .google.cloud.retail.v2alpha.ConversationalSearchResponse.RefinedSearch refined_search = 6;
    • addRefinedSearchBuilder

      public ConversationalSearchResponse.RefinedSearch.Builder addRefinedSearchBuilder(int index)
       The proposed refined search queries. They can be used to fetch the relevant
       search results. When using CONVERSATIONAL_FILTER_ONLY mode, the
       refined_query from search response will be populated here.
       
      repeated .google.cloud.retail.v2alpha.ConversationalSearchResponse.RefinedSearch refined_search = 6;
    • getRefinedSearchBuilderList

      public List<ConversationalSearchResponse.RefinedSearch.Builder> getRefinedSearchBuilderList()
       The proposed refined search queries. They can be used to fetch the relevant
       search results. When using CONVERSATIONAL_FILTER_ONLY mode, the
       refined_query from search response will be populated here.
       
      repeated .google.cloud.retail.v2alpha.ConversationalSearchResponse.RefinedSearch refined_search = 6;
    • hasConversationalFilteringResult

      public boolean hasConversationalFilteringResult()
       This field specifies all related information that is needed on client
       side for UI rendering of conversational filtering search.
       
      .google.cloud.retail.v2alpha.ConversationalSearchResponse.ConversationalFilteringResult conversational_filtering_result = 7;
      Specified by:
      hasConversationalFilteringResult in interface ConversationalSearchResponseOrBuilder
      Returns:
      Whether the conversationalFilteringResult field is set.
    • getConversationalFilteringResult

      public ConversationalSearchResponse.ConversationalFilteringResult getConversationalFilteringResult()
       This field specifies all related information that is needed on client
       side for UI rendering of conversational filtering search.
       
      .google.cloud.retail.v2alpha.ConversationalSearchResponse.ConversationalFilteringResult conversational_filtering_result = 7;
      Specified by:
      getConversationalFilteringResult in interface ConversationalSearchResponseOrBuilder
      Returns:
      The conversationalFilteringResult.
    • setConversationalFilteringResult

       This field specifies all related information that is needed on client
       side for UI rendering of conversational filtering search.
       
      .google.cloud.retail.v2alpha.ConversationalSearchResponse.ConversationalFilteringResult conversational_filtering_result = 7;
    • setConversationalFilteringResult

       This field specifies all related information that is needed on client
       side for UI rendering of conversational filtering search.
       
      .google.cloud.retail.v2alpha.ConversationalSearchResponse.ConversationalFilteringResult conversational_filtering_result = 7;
    • mergeConversationalFilteringResult

       This field specifies all related information that is needed on client
       side for UI rendering of conversational filtering search.
       
      .google.cloud.retail.v2alpha.ConversationalSearchResponse.ConversationalFilteringResult conversational_filtering_result = 7;
    • clearConversationalFilteringResult

      public ConversationalSearchResponse.Builder clearConversationalFilteringResult()
       This field specifies all related information that is needed on client
       side for UI rendering of conversational filtering search.
       
      .google.cloud.retail.v2alpha.ConversationalSearchResponse.ConversationalFilteringResult conversational_filtering_result = 7;
    • getConversationalFilteringResultBuilder

      public ConversationalSearchResponse.ConversationalFilteringResult.Builder getConversationalFilteringResultBuilder()
       This field specifies all related information that is needed on client
       side for UI rendering of conversational filtering search.
       
      .google.cloud.retail.v2alpha.ConversationalSearchResponse.ConversationalFilteringResult conversational_filtering_result = 7;
    • getConversationalFilteringResultOrBuilder

      public ConversationalSearchResponse.ConversationalFilteringResultOrBuilder getConversationalFilteringResultOrBuilder()
       This field specifies all related information that is needed on client
       side for UI rendering of conversational filtering search.
       
      .google.cloud.retail.v2alpha.ConversationalSearchResponse.ConversationalFilteringResult conversational_filtering_result = 7;
      Specified by:
      getConversationalFilteringResultOrBuilder in interface ConversationalSearchResponseOrBuilder
    • getStateValue

      public int getStateValue()
       Output only. The state of the response generation.
       
      .google.cloud.retail.v2alpha.ConversationalSearchResponse.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface ConversationalSearchResponseOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public ConversationalSearchResponse.Builder setStateValue(int value)
       Output only. The state of the response generation.
       
      .google.cloud.retail.v2alpha.ConversationalSearchResponse.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • getState

       Output only. The state of the response generation.
       
      .google.cloud.retail.v2alpha.ConversationalSearchResponse.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface ConversationalSearchResponseOrBuilder
      Returns:
      The state.
    • setState

       Output only. The state of the response generation.
       
      .google.cloud.retail.v2alpha.ConversationalSearchResponse.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

       Output only. The state of the response generation.
       
      .google.cloud.retail.v2alpha.ConversationalSearchResponse.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.