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
public interface SuggestArticlesResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.com.google.protobuf.ByteString
getLatestMessageBytes()
The name of the latest conversation message used to compile suggestion for.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.
-
-