Interface SuggestArticlesResponseOrBuilder (4.59.0)

public interface SuggestArticlesResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getArticleAnswers(int index)

public abstract ArticleAnswer getArticleAnswers(int index)

Output only. Articles ordered by score in descending order.

repeated .google.cloud.dialogflow.v2beta1.ArticleAnswer article_answers = 1;

Parameter
Name Description
index int
Returns
Type Description
ArticleAnswer

getArticleAnswersCount()

public abstract int getArticleAnswersCount()

Output only. Articles ordered by score in descending order.

repeated .google.cloud.dialogflow.v2beta1.ArticleAnswer article_answers = 1;

Returns
Type Description
int

getArticleAnswersList()

public abstract List<ArticleAnswer> getArticleAnswersList()

Output only. Articles ordered by score in descending order.

repeated .google.cloud.dialogflow.v2beta1.ArticleAnswer article_answers = 1;

Returns
Type Description
List<ArticleAnswer>

getArticleAnswersOrBuilder(int index)

public abstract ArticleAnswerOrBuilder getArticleAnswersOrBuilder(int index)

Output only. Articles ordered by score in descending order.

repeated .google.cloud.dialogflow.v2beta1.ArticleAnswer article_answers = 1;

Parameter
Name Description
index int
Returns
Type Description
ArticleAnswerOrBuilder

getArticleAnswersOrBuilderList()

public abstract List<? extends ArticleAnswerOrBuilder> getArticleAnswersOrBuilderList()

Output only. Articles ordered by score in descending order.

repeated .google.cloud.dialogflow.v2beta1.ArticleAnswer article_answers = 1;

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

getContextSize()

public abstract int getContextSize()

Number of messages prior to and including latest_message to compile the suggestion. It may be smaller than the SuggestArticlesResponse.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.

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.