Interface SuggestFaqAnswersResponseOrBuilder (4.39.0)

public interface SuggestFaqAnswersResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContextSize()

public abstract int getContextSize()

Number of messages prior to and including latest_message to compile the suggestion. It may be smaller than the SuggestFaqAnswersRequest.context_size field in the request if there aren't that many messages in the conversation.

int32 context_size = 3;

Returns
Type Description
int

The contextSize.

getFaqAnswers(int index)

public abstract FaqAnswer getFaqAnswers(int index)

Output only. Answers extracted from FAQ documents.

repeated .google.cloud.dialogflow.v2beta1.FaqAnswer faq_answers = 1;

Parameter
Name Description
index int
Returns
Type Description
FaqAnswer

getFaqAnswersCount()

public abstract int getFaqAnswersCount()

Output only. Answers extracted from FAQ documents.

repeated .google.cloud.dialogflow.v2beta1.FaqAnswer faq_answers = 1;

Returns
Type Description
int

getFaqAnswersList()

public abstract List<FaqAnswer> getFaqAnswersList()

Output only. Answers extracted from FAQ documents.

repeated .google.cloud.dialogflow.v2beta1.FaqAnswer faq_answers = 1;

Returns
Type Description
List<FaqAnswer>

getFaqAnswersOrBuilder(int index)

public abstract FaqAnswerOrBuilder getFaqAnswersOrBuilder(int index)

Output only. Answers extracted from FAQ documents.

repeated .google.cloud.dialogflow.v2beta1.FaqAnswer faq_answers = 1;

Parameter
Name Description
index int
Returns
Type Description
FaqAnswerOrBuilder

getFaqAnswersOrBuilderList()

public abstract List<? extends FaqAnswerOrBuilder> getFaqAnswersOrBuilderList()

Output only. Answers extracted from FAQ documents.

repeated .google.cloud.dialogflow.v2beta1.FaqAnswer faq_answers = 1;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2beta1.FaqAnswerOrBuilder>

getLatestMessage()

public abstract 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
Type Description
String

The latestMessage.

getLatestMessageBytes()

public abstract 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
Type Description
ByteString

The bytes for latestMessage.