Interface SearchRequest.ConversationalSearchSpec.UserAnswerOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SearchRequest.ConversationalSearchSpec.UserAnswer, SearchRequest.ConversationalSearchSpec.UserAnswer.Builder
Enclosing class:
SearchRequest.ConversationalSearchSpec

public static interface SearchRequest.ConversationalSearchSpec.UserAnswerOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasTextAnswer

      boolean hasTextAnswer()
       This field specifies the incremental input text from the user during
       the conversational search.
       
      string text_answer = 1;
      Returns:
      Whether the textAnswer field is set.
    • getTextAnswer

      String getTextAnswer()
       This field specifies the incremental input text from the user during
       the conversational search.
       
      string text_answer = 1;
      Returns:
      The textAnswer.
    • getTextAnswerBytes

      com.google.protobuf.ByteString getTextAnswerBytes()
       This field specifies the incremental input text from the user during
       the conversational search.
       
      string text_answer = 1;
      Returns:
      The bytes for textAnswer.
    • hasSelectedAnswer

      boolean hasSelectedAnswer()
       This field specifies the selected attributes during the
       conversational search. This should be a subset of
       [ConversationalSearchResult.suggested_answers][].
       
      .google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer selected_answer = 2;
      Returns:
      Whether the selectedAnswer field is set.
    • getSelectedAnswer

       This field specifies the selected attributes during the
       conversational search. This should be a subset of
       [ConversationalSearchResult.suggested_answers][].
       
      .google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer selected_answer = 2;
      Returns:
      The selectedAnswer.
    • getSelectedAnswerOrBuilder

       This field specifies the selected attributes during the
       conversational search. This should be a subset of
       [ConversationalSearchResult.suggested_answers][].
       
      .google.cloud.retail.v2alpha.SearchRequest.ConversationalSearchSpec.UserAnswer.SelectedAnswer selected_answer = 2;
    • getTypeCase