Interface SuggestArticlesResponseOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SuggestArticlesResponse, SuggestArticlesResponse.Builder

@Generated public interface SuggestArticlesResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getArticleAnswers(int index)
    Articles ordered by score in descending order.
    int
    Articles ordered by score in descending order.
    Articles ordered by score in descending order.
    Articles ordered by score in descending order.
    Articles ordered by score in descending order.
    int
    Number of messages prior to and including [latest_message][google.cloud.dialogflow.v2.SuggestArticlesResponse.latest_message] to compile the suggestion.
    The name of the latest conversation message used to compile suggestion for.
    com.google.protobuf.ByteString
    The name of the latest conversation message used to compile suggestion for.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getArticleAnswersList

      List<ArticleAnswer> getArticleAnswersList()
       Articles ordered by score in descending order.
       
      repeated .google.cloud.dialogflow.v2.ArticleAnswer article_answers = 1;
    • getArticleAnswers

      ArticleAnswer getArticleAnswers(int index)
       Articles ordered by score in descending order.
       
      repeated .google.cloud.dialogflow.v2.ArticleAnswer article_answers = 1;
    • getArticleAnswersCount

      int getArticleAnswersCount()
       Articles ordered by score in descending order.
       
      repeated .google.cloud.dialogflow.v2.ArticleAnswer article_answers = 1;
    • getArticleAnswersOrBuilderList

      List<? extends ArticleAnswerOrBuilder> getArticleAnswersOrBuilderList()
       Articles ordered by score in descending order.
       
      repeated .google.cloud.dialogflow.v2.ArticleAnswer article_answers = 1;
    • getArticleAnswersOrBuilder

      ArticleAnswerOrBuilder getArticleAnswersOrBuilder(int index)
       Articles ordered by score in descending order.
       
      repeated .google.cloud.dialogflow.v2.ArticleAnswer article_answers = 1;
    • getLatestMessage

      String getLatestMessage()
       The name of the latest conversation message used to compile
       suggestion for.
      
       Format: `projects/<Project ID>/locations/<Location
       ID>/conversations/<Conversation ID>/messages/<Message ID>`.
       
      string latest_message = 2;
      Returns:
      The latestMessage.
    • getLatestMessageBytes

      com.google.protobuf.ByteString getLatestMessageBytes()
       The name of the latest conversation message used to compile
       suggestion for.
      
       Format: `projects/<Project ID>/locations/<Location
       ID>/conversations/<Conversation ID>/messages/<Message ID>`.
       
      string latest_message = 2;
      Returns:
      The bytes for latestMessage.
    • getContextSize

      int getContextSize()
       Number of messages prior to and including
       [latest_message][google.cloud.dialogflow.v2.SuggestArticlesResponse.latest_message]
       to compile the suggestion. It may be smaller than the
       [SuggestArticlesRequest.context_size][google.cloud.dialogflow.v2.SuggestArticlesRequest.context_size]
       field in the request if there aren't that many messages in the
       conversation.
       
      int32 context_size = 3;
      Returns:
      The contextSize.