Interface DialogflowAssistAnswerOrBuilder (4.55.0)

public interface DialogflowAssistAnswerOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAnswerRecord()

public abstract String getAnswerRecord()

The name of answer record, in the format of "projects/<Project ID>/locations/<Location ID>/answerRecords/<Answer Record ID>"

string answer_record = 2;

Returns
Type Description
String

The answerRecord.

getAnswerRecordBytes()

public abstract ByteString getAnswerRecordBytes()

The name of answer record, in the format of "projects/<Project ID>/locations/<Location ID>/answerRecords/<Answer Record ID>"

string answer_record = 2;

Returns
Type Description
ByteString

The bytes for answerRecord.

getIntentSuggestion()

public abstract IntentSuggestion getIntentSuggestion()

An intent suggestion generated from conversation.

.google.cloud.dialogflow.v2.IntentSuggestion intent_suggestion = 5;

Returns
Type Description
IntentSuggestion

The intentSuggestion.

getIntentSuggestionOrBuilder()

public abstract IntentSuggestionOrBuilder getIntentSuggestionOrBuilder()

An intent suggestion generated from conversation.

.google.cloud.dialogflow.v2.IntentSuggestion intent_suggestion = 5;

Returns
Type Description
IntentSuggestionOrBuilder

getQueryResult()

public abstract QueryResult getQueryResult()

Result from v2 agent.

.google.cloud.dialogflow.v2.QueryResult query_result = 1;

Returns
Type Description
QueryResult

The queryResult.

getQueryResultOrBuilder()

public abstract QueryResultOrBuilder getQueryResultOrBuilder()

Result from v2 agent.

.google.cloud.dialogflow.v2.QueryResult query_result = 1;

Returns
Type Description
QueryResultOrBuilder

getResultCase()

public abstract DialogflowAssistAnswer.ResultCase getResultCase()
Returns
Type Description
DialogflowAssistAnswer.ResultCase

hasIntentSuggestion()

public abstract boolean hasIntentSuggestion()

An intent suggestion generated from conversation.

.google.cloud.dialogflow.v2.IntentSuggestion intent_suggestion = 5;

Returns
Type Description
boolean

Whether the intentSuggestion field is set.

hasQueryResult()

public abstract boolean hasQueryResult()

Result from v2 agent.

.google.cloud.dialogflow.v2.QueryResult query_result = 1;

Returns
Type Description
boolean

Whether the queryResult field is set.