Interface ActionResponseOrBuilder (0.5.0)

public interface ActionResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDialogAction()

public abstract DialogAction getDialogAction()

Input only. A response to an interaction event related to a dialog. Must be accompanied by ResponseType.Dialog.

.google.chat.v1.DialogAction dialog_action = 3 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
DialogAction

The dialogAction.

getDialogActionOrBuilder()

public abstract DialogActionOrBuilder getDialogActionOrBuilder()

Input only. A response to an interaction event related to a dialog. Must be accompanied by ResponseType.Dialog.

.google.chat.v1.DialogAction dialog_action = 3 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
DialogActionOrBuilder

getType()

public abstract ActionResponse.ResponseType getType()

Input only. The type of Chat app response.

.google.chat.v1.ActionResponse.ResponseType type = 1 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
ActionResponse.ResponseType

The type.

getTypeValue()

public abstract int getTypeValue()

Input only. The type of Chat app response.

.google.chat.v1.ActionResponse.ResponseType type = 1 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for type.

getUpdatedWidget()

public abstract ActionResponse.UpdatedWidget getUpdatedWidget()

Input only. The response of the updated widget.

.google.chat.v1.ActionResponse.UpdatedWidget updated_widget = 4 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
ActionResponse.UpdatedWidget

The updatedWidget.

getUpdatedWidgetOrBuilder()

public abstract ActionResponse.UpdatedWidgetOrBuilder getUpdatedWidgetOrBuilder()

Input only. The response of the updated widget.

.google.chat.v1.ActionResponse.UpdatedWidget updated_widget = 4 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
ActionResponse.UpdatedWidgetOrBuilder

getUrl()

public abstract String getUrl()

Input only. URL for users to authenticate or configure. (Only for REQUEST_CONFIG response types.)

string url = 2 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
String

The url.

getUrlBytes()

public abstract ByteString getUrlBytes()

Input only. URL for users to authenticate or configure. (Only for REQUEST_CONFIG response types.)

string url = 2 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for url.

hasDialogAction()

public abstract boolean hasDialogAction()

Input only. A response to an interaction event related to a dialog. Must be accompanied by ResponseType.Dialog.

.google.chat.v1.DialogAction dialog_action = 3 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
boolean

Whether the dialogAction field is set.

hasUpdatedWidget()

public abstract boolean hasUpdatedWidget()

Input only. The response of the updated widget.

.google.chat.v1.ActionResponse.UpdatedWidget updated_widget = 4 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
TypeDescription
boolean

Whether the updatedWidget field is set.