public interface SuggestArticlesResponseOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
ArticleAnswer |
getArticleAnswers(int index)
Articles ordered by score in descending order.
|
int |
getArticleAnswersCount()
Articles ordered by score in descending order.
|
List<ArticleAnswer> |
getArticleAnswersList()
Articles ordered by score in descending order.
|
ArticleAnswerOrBuilder |
getArticleAnswersOrBuilder(int index)
Articles ordered by score in descending order.
|
List<? extends ArticleAnswerOrBuilder> |
getArticleAnswersOrBuilderList()
Articles ordered by score in descending order.
|
int |
getContextSize()
Number of messages prior to and including
[latest_message][google.cloud.dialogflow.v2.SuggestArticlesResponse.latest_message] to compile the
suggestion.
|
String |
getLatestMessage()
The name of the latest conversation message used to compile
suggestion for.
|
ByteString |
getLatestMessageBytes()
The name of the latest conversation message used to compile
suggestion for.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
List<ArticleAnswer> getArticleAnswersList()
Articles ordered by score in descending order.
repeated .google.cloud.dialogflow.v2.ArticleAnswer article_answers = 1;
ArticleAnswer getArticleAnswers(int index)
Articles ordered by score in descending order.
repeated .google.cloud.dialogflow.v2.ArticleAnswer article_answers = 1;
int getArticleAnswersCount()
Articles ordered by score in descending order.
repeated .google.cloud.dialogflow.v2.ArticleAnswer article_answers = 1;
List<? extends ArticleAnswerOrBuilder> getArticleAnswersOrBuilderList()
Articles ordered by score in descending order.
repeated .google.cloud.dialogflow.v2.ArticleAnswer article_answers = 1;
ArticleAnswerOrBuilder getArticleAnswersOrBuilder(int index)
Articles ordered by score in descending order.
repeated .google.cloud.dialogflow.v2.ArticleAnswer article_answers = 1;
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;
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;
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;
Copyright © 2022 Google LLC. All rights reserved.