Interface KnowledgeAssistAnswerOrBuilder (4.60.0)

public interface KnowledgeAssistAnswerOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAnswerRecord()

public abstract String getAnswerRecord()

The name of the answer record. Format: projects/<Project ID>/locations/<location ID>/answer Records/<Answer Record ID>.

string answer_record = 3;

Returns
Type Description
String

The answerRecord.

getAnswerRecordBytes()

public abstract ByteString getAnswerRecordBytes()

The name of the answer record. Format: projects/<Project ID>/locations/<location ID>/answer Records/<Answer Record ID>.

string answer_record = 3;

Returns
Type Description
ByteString

The bytes for answerRecord.

getSuggestedQuery()

public abstract KnowledgeAssistAnswer.SuggestedQuery getSuggestedQuery()

The query suggested based on the context. Suggestion is made only if it is different from the previous suggestion.

.google.cloud.dialogflow.v2beta1.KnowledgeAssistAnswer.SuggestedQuery suggested_query = 1;

Returns
Type Description
KnowledgeAssistAnswer.SuggestedQuery

The suggestedQuery.

getSuggestedQueryAnswer()

public abstract KnowledgeAssistAnswer.KnowledgeAnswer getSuggestedQueryAnswer()

The answer generated for the suggested query. Whether or not an answer is generated depends on how confident we are about the generated query.

.google.cloud.dialogflow.v2beta1.KnowledgeAssistAnswer.KnowledgeAnswer suggested_query_answer = 2;

Returns
Type Description
KnowledgeAssistAnswer.KnowledgeAnswer

The suggestedQueryAnswer.

getSuggestedQueryAnswerOrBuilder()

public abstract KnowledgeAssistAnswer.KnowledgeAnswerOrBuilder getSuggestedQueryAnswerOrBuilder()

The answer generated for the suggested query. Whether or not an answer is generated depends on how confident we are about the generated query.

.google.cloud.dialogflow.v2beta1.KnowledgeAssistAnswer.KnowledgeAnswer suggested_query_answer = 2;

Returns
Type Description
KnowledgeAssistAnswer.KnowledgeAnswerOrBuilder

getSuggestedQueryOrBuilder()

public abstract KnowledgeAssistAnswer.SuggestedQueryOrBuilder getSuggestedQueryOrBuilder()

The query suggested based on the context. Suggestion is made only if it is different from the previous suggestion.

.google.cloud.dialogflow.v2beta1.KnowledgeAssistAnswer.SuggestedQuery suggested_query = 1;

Returns
Type Description
KnowledgeAssistAnswer.SuggestedQueryOrBuilder

hasSuggestedQuery()

public abstract boolean hasSuggestedQuery()

The query suggested based on the context. Suggestion is made only if it is different from the previous suggestion.

.google.cloud.dialogflow.v2beta1.KnowledgeAssistAnswer.SuggestedQuery suggested_query = 1;

Returns
Type Description
boolean

Whether the suggestedQuery field is set.

hasSuggestedQueryAnswer()

public abstract boolean hasSuggestedQueryAnswer()

The answer generated for the suggested query. Whether or not an answer is generated depends on how confident we are about the generated query.

.google.cloud.dialogflow.v2beta1.KnowledgeAssistAnswer.KnowledgeAnswer suggested_query_answer = 2;

Returns
Type Description
boolean

Whether the suggestedQueryAnswer field is set.