public interface SuggestFaqAnswersResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
int |
getContextSize()
Number of messages prior to and including
[latest_message][google.cloud.dialogflow.v2beta1.SuggestFaqAnswersResponse.latest_message]
to compile the suggestion.
|
FaqAnswer |
getFaqAnswers(int index)
Output only.
|
int |
getFaqAnswersCount()
Output only.
|
List<FaqAnswer> |
getFaqAnswersList()
Output only.
|
FaqAnswerOrBuilder |
getFaqAnswersOrBuilder(int index)
Output only.
|
List<? extends FaqAnswerOrBuilder> |
getFaqAnswersOrBuilderList()
Output only.
|
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.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofList<FaqAnswer> getFaqAnswersList()
Output only. Answers extracted from FAQ documents.
repeated .google.cloud.dialogflow.v2beta1.FaqAnswer faq_answers = 1;FaqAnswer getFaqAnswers(int index)
Output only. Answers extracted from FAQ documents.
repeated .google.cloud.dialogflow.v2beta1.FaqAnswer faq_answers = 1;int getFaqAnswersCount()
Output only. Answers extracted from FAQ documents.
repeated .google.cloud.dialogflow.v2beta1.FaqAnswer faq_answers = 1;List<? extends FaqAnswerOrBuilder> getFaqAnswersOrBuilderList()
Output only. Answers extracted from FAQ documents.
repeated .google.cloud.dialogflow.v2beta1.FaqAnswer faq_answers = 1;FaqAnswerOrBuilder getFaqAnswersOrBuilder(int index)
Output only. Answers extracted from FAQ documents.
repeated .google.cloud.dialogflow.v2beta1.FaqAnswer faq_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;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;int getContextSize()
Number of messages prior to and including [latest_message][google.cloud.dialogflow.v2beta1.SuggestFaqAnswersResponse.latest_message] to compile the suggestion. It may be smaller than the [SuggestFaqAnswersRequest.context_size][google.cloud.dialogflow.v2beta1.SuggestFaqAnswersRequest.context_size] field in the request if there aren't that many messages in the conversation.
int32 context_size = 3;Copyright © 2023 Google LLC. All rights reserved.