Interface SearchKnowledgeResponseOrBuilder (4.54.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>

getRewrittenQuery()

public abstract String getRewrittenQuery()

The rewritten query used to search knowledge.

string rewritten_query = 3;

Returns
Type Description
String

The rewrittenQuery.

getRewrittenQueryBytes()

public abstract ByteString getRewrittenQueryBytes()

The rewritten query used to search knowledge.

string rewritten_query = 3;

Returns
Type Description
ByteString

The bytes for rewrittenQuery.