public interface SuggestFaqAnswersResponseOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
int |
getContextSize()
Number of messages prior to and including
[latest_message][google.cloud.dialogflow.v2.SuggestFaqAnswersResponse.latest_message] to compile the
suggestion.
|
FaqAnswer |
getFaqAnswers(int index)
Answers extracted from FAQ documents.
|
int |
getFaqAnswersCount()
Answers extracted from FAQ documents.
|
List<FaqAnswer> |
getFaqAnswersList()
Answers extracted from FAQ documents.
|
FaqAnswerOrBuilder |
getFaqAnswersOrBuilder(int index)
Answers extracted from FAQ documents.
|
List<? extends FaqAnswerOrBuilder> |
getFaqAnswersOrBuilderList()
Answers extracted from FAQ documents.
|
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<FaqAnswer> getFaqAnswersList()
Answers extracted from FAQ documents.
repeated .google.cloud.dialogflow.v2.FaqAnswer faq_answers = 1;
FaqAnswer getFaqAnswers(int index)
Answers extracted from FAQ documents.
repeated .google.cloud.dialogflow.v2.FaqAnswer faq_answers = 1;
int getFaqAnswersCount()
Answers extracted from FAQ documents.
repeated .google.cloud.dialogflow.v2.FaqAnswer faq_answers = 1;
List<? extends FaqAnswerOrBuilder> getFaqAnswersOrBuilderList()
Answers extracted from FAQ documents.
repeated .google.cloud.dialogflow.v2.FaqAnswer faq_answers = 1;
FaqAnswerOrBuilder getFaqAnswersOrBuilder(int index)
Answers extracted from FAQ documents.
repeated .google.cloud.dialogflow.v2.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;
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.SuggestFaqAnswersResponse.latest_message] to compile the suggestion. It may be smaller than the [SuggestFaqAnswersRequest.context_size][google.cloud.dialogflow.v2.SuggestFaqAnswersRequest.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.