Package com.google.cloud.dialogflow.v2
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 TypeMethodDescriptiongetArticleAnswers(int index) Articles ordered by score in descending order.intArticles ordered by score in descending order.Articles ordered by score in descending order.getArticleAnswersOrBuilder(int index) Articles ordered by score in descending order.List<? extends ArticleAnswerOrBuilder>Articles ordered by score in descending order.intNumber 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.ByteStringThe name of the latest conversation message used to compile suggestion for.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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
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
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.
-