Interface SuggestArticlesResponseOrBuilder (4.3.1)

public interface SuggestArticlesResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getArticleAnswers(int index)

public abstract ArticleAnswer getArticleAnswers(int index)

Articles ordered by score in descending order.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ArticleAnswer

getArticleAnswersCount()

public abstract int getArticleAnswersCount()

Articles ordered by score in descending order.

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

Returns
TypeDescription
int

getArticleAnswersList()

public abstract List<ArticleAnswer> getArticleAnswersList()

Articles ordered by score in descending order.

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

Returns
TypeDescription
List<ArticleAnswer>

getArticleAnswersOrBuilder(int index)

public abstract ArticleAnswerOrBuilder getArticleAnswersOrBuilder(int index)

Articles ordered by score in descending order.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ArticleAnswerOrBuilder

getArticleAnswersOrBuilderList()

public abstract List<? extends ArticleAnswerOrBuilder> getArticleAnswersOrBuilderList()

Articles ordered by score in descending order.

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

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.v2.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 SuggestArticlesRequest.context_size field in the request if there aren't that many messages in the conversation.

int32 context_size = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for latestMessage.