Interface ConverseConversationResponseOrBuilder

    • Method Detail

      • hasReply

        boolean hasReply()
         Answer to the current query.
         
        .google.cloud.discoveryengine.v1beta.Reply reply = 1;
        Returns:
        Whether the reply field is set.
      • getReply

        Reply getReply()
         Answer to the current query.
         
        .google.cloud.discoveryengine.v1beta.Reply reply = 1;
        Returns:
        The reply.
      • getReplyOrBuilder

        ReplyOrBuilder getReplyOrBuilder()
         Answer to the current query.
         
        .google.cloud.discoveryengine.v1beta.Reply reply = 1;
      • hasConversation

        boolean hasConversation()
         Updated conversation including the answer.
         
        .google.cloud.discoveryengine.v1beta.Conversation conversation = 2;
        Returns:
        Whether the conversation field is set.
      • getConversation

        Conversation getConversation()
         Updated conversation including the answer.
         
        .google.cloud.discoveryengine.v1beta.Conversation conversation = 2;
        Returns:
        The conversation.
      • getConversationOrBuilder

        ConversationOrBuilder getConversationOrBuilder()
         Updated conversation including the answer.
         
        .google.cloud.discoveryengine.v1beta.Conversation conversation = 2;
      • getRelatedQuestionsList

        List<String> getRelatedQuestionsList()
         Suggested related questions.
         
        repeated string related_questions = 6;
        Returns:
        A list containing the relatedQuestions.
      • getRelatedQuestionsCount

        int getRelatedQuestionsCount()
         Suggested related questions.
         
        repeated string related_questions = 6;
        Returns:
        The count of relatedQuestions.
      • getRelatedQuestions

        String getRelatedQuestions​(int index)
         Suggested related questions.
         
        repeated string related_questions = 6;
        Parameters:
        index - The index of the element to return.
        Returns:
        The relatedQuestions at the given index.
      • getRelatedQuestionsBytes

        com.google.protobuf.ByteString getRelatedQuestionsBytes​(int index)
         Suggested related questions.
         
        repeated string related_questions = 6;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the relatedQuestions at the given index.
      • getSearchResultsList

        List<SearchResponse.SearchResult> getSearchResultsList()
         Search Results.
         
        repeated .google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult search_results = 3;
      • getSearchResults

        SearchResponse.SearchResult getSearchResults​(int index)
         Search Results.
         
        repeated .google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult search_results = 3;
      • getSearchResultsCount

        int getSearchResultsCount()
         Search Results.
         
        repeated .google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult search_results = 3;
      • getSearchResultsOrBuilderList

        List<? extends SearchResponse.SearchResultOrBuilder> getSearchResultsOrBuilderList()
         Search Results.
         
        repeated .google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult search_results = 3;
      • getSearchResultsOrBuilder

        SearchResponse.SearchResultOrBuilder getSearchResultsOrBuilder​(int index)
         Search Results.
         
        repeated .google.cloud.discoveryengine.v1beta.SearchResponse.SearchResult search_results = 3;