Interface AssistantConfirmationResponseOrBuilder (0.19.0)

public interface AssistantConfirmationResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAnswerText()

public abstract String getAnswerText()

The chosen option's submit_text, or free-form user text. The paused action is cancelled and the text is handed to the agent to act on.

string answer_text = 3;

Returns
Type Description
String

The answerText.

getAnswerTextBytes()

public abstract ByteString getAnswerTextBytes()

The chosen option's submit_text, or free-form user text. The paused action is cancelled and the text is handed to the agent to act on.

string answer_text = 3;

Returns
Type Description
ByteString

The bytes for answerText.

getConfirmationId()

public abstract String getConfirmationId()

The AssistantConfirmationRequest.confirmation_id being answered.

string confirmation_id = 1;

Returns
Type Description
String

The confirmationId.

getConfirmationIdBytes()

public abstract ByteString getConfirmationIdBytes()

The AssistantConfirmationRequest.confirmation_id being answered.

string confirmation_id = 1;

Returns
Type Description
ByteString

The bytes for confirmationId.

getConfirmed()

public abstract boolean getConfirmed()

Binary answer: true approves the paused action, false declines it.

bool confirmed = 2;

Returns
Type Description
boolean

The confirmed.

getResponseCase()

public abstract AssistantConfirmationResponse.ResponseCase getResponseCase()
Returns
Type Description
AssistantConfirmationResponse.ResponseCase

hasAnswerText()

public abstract boolean hasAnswerText()

The chosen option's submit_text, or free-form user text. The paused action is cancelled and the text is handed to the agent to act on.

string answer_text = 3;

Returns
Type Description
boolean

Whether the answerText field is set.

hasConfirmed()

public abstract boolean hasConfirmed()

Binary answer: true approves the paused action, false declines it.

bool confirmed = 2;

Returns
Type Description
boolean

Whether the confirmed field is set.