Interface ActionResponseOrBuilder (0.6.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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the updatedWidget field is set.