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) Output only.intOutput only.Output only.getArticleAnswersOrBuilder(int index) Output only.List<? extends ArticleAnswerOrBuilder>Output only.intNumber of messages prior to and including [latest_message][google.cloud.dialogflow.v2beta1.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()Output only. Articles ordered by score in descending order.
repeated .google.cloud.dialogflow.v2beta1.ArticleAnswer article_answers = 1; -
getArticleAnswers
Output only. Articles ordered by score in descending order.
repeated .google.cloud.dialogflow.v2beta1.ArticleAnswer article_answers = 1; -
getArticleAnswersCount
int getArticleAnswersCount()Output only. Articles ordered by score in descending order.
repeated .google.cloud.dialogflow.v2beta1.ArticleAnswer article_answers = 1; -
getArticleAnswersOrBuilderList
List<? extends ArticleAnswerOrBuilder> getArticleAnswersOrBuilderList()Output only. Articles ordered by score in descending order.
repeated .google.cloud.dialogflow.v2beta1.ArticleAnswer article_answers = 1; -
getArticleAnswersOrBuilder
Output only. Articles ordered by score in descending order.
repeated .google.cloud.dialogflow.v2beta1.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.v2beta1.SuggestArticlesResponse.latest_message] to compile the suggestion. It may be smaller than the [SuggestArticlesResponse.context_size][google.cloud.dialogflow.v2beta1.SuggestArticlesResponse.context_size] field in the request if there aren't that many messages in the conversation.
int32 context_size = 3;- Returns:
- The contextSize.
-