Interface SuggestArticlesResponseOrBuilder (4.6.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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
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.