Interface SearchKnowledgeResponseOrBuilder (4.38.0)

public interface SearchKnowledgeResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAnswers(int index)

public abstract SearchKnowledgeAnswer getAnswers(int index)

Most relevant snippets extracted from articles in the given knowledge base, ordered by confidence.

repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeAnswer answers = 2;

Parameter
Name Description
index int
Returns
Type Description
SearchKnowledgeAnswer

getAnswersCount()

public abstract int getAnswersCount()

Most relevant snippets extracted from articles in the given knowledge base, ordered by confidence.

repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeAnswer answers = 2;

Returns
Type Description
int

getAnswersList()

public abstract List<SearchKnowledgeAnswer> getAnswersList()

Most relevant snippets extracted from articles in the given knowledge base, ordered by confidence.

repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeAnswer answers = 2;

Returns
Type Description
List<SearchKnowledgeAnswer>

getAnswersOrBuilder(int index)

public abstract SearchKnowledgeAnswerOrBuilder getAnswersOrBuilder(int index)

Most relevant snippets extracted from articles in the given knowledge base, ordered by confidence.

repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeAnswer answers = 2;

Parameter
Name Description
index int
Returns
Type Description
SearchKnowledgeAnswerOrBuilder

getAnswersOrBuilderList()

public abstract List<? extends SearchKnowledgeAnswerOrBuilder> getAnswersOrBuilderList()

Most relevant snippets extracted from articles in the given knowledge base, ordered by confidence.

repeated .google.cloud.dialogflow.v2beta1.SearchKnowledgeAnswer answers = 2;

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