Interface ConversationalSearchRequest.UserAnswerOrBuilder

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

public static interface ConversationalSearchRequest.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()
       Optional. This field specifies the selected answer during the
       conversational search. This should be a subset of
       [ConversationalSearchResponse.followup_question.suggested_answers][].
       
      .google.cloud.retail.v2alpha.ConversationalSearchRequest.UserAnswer.SelectedAnswer selected_answer = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the selectedAnswer field is set.
    • getSelectedAnswer

       Optional. This field specifies the selected answer during the
       conversational search. This should be a subset of
       [ConversationalSearchResponse.followup_question.suggested_answers][].
       
      .google.cloud.retail.v2alpha.ConversationalSearchRequest.UserAnswer.SelectedAnswer selected_answer = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The selectedAnswer.
    • getSelectedAnswerOrBuilder

       Optional. This field specifies the selected answer during the
       conversational search. This should be a subset of
       [ConversationalSearchResponse.followup_question.suggested_answers][].
       
      .google.cloud.retail.v2alpha.ConversationalSearchRequest.UserAnswer.SelectedAnswer selected_answer = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getTypeCase