Interface WidgetMarkup.FormActionOrBuilder (0.6.0)

public static interface WidgetMarkup.FormActionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getActionMethodName()

public abstract String getActionMethodName()

The method name is used to identify which part of the form triggered the form submission. This information is echoed back to the Chat app as part of the card click event. You can use the same method name for several elements that trigger a common behavior.

string action_method_name = 1;

Returns
Type Description
String

The actionMethodName.

getActionMethodNameBytes()

public abstract ByteString getActionMethodNameBytes()

The method name is used to identify which part of the form triggered the form submission. This information is echoed back to the Chat app as part of the card click event. You can use the same method name for several elements that trigger a common behavior.

string action_method_name = 1;

Returns
Type Description
ByteString

The bytes for actionMethodName.

getParameters(int index)

public abstract WidgetMarkup.FormAction.ActionParameter getParameters(int index)

List of action parameters.

repeated .google.chat.v1.WidgetMarkup.FormAction.ActionParameter parameters = 2;

Parameter
Name Description
index int
Returns
Type Description
WidgetMarkup.FormAction.ActionParameter

getParametersCount()

public abstract int getParametersCount()

List of action parameters.

repeated .google.chat.v1.WidgetMarkup.FormAction.ActionParameter parameters = 2;

Returns
Type Description
int

getParametersList()

public abstract List<WidgetMarkup.FormAction.ActionParameter> getParametersList()

List of action parameters.

repeated .google.chat.v1.WidgetMarkup.FormAction.ActionParameter parameters = 2;

Returns
Type Description
List<ActionParameter>

getParametersOrBuilder(int index)

public abstract WidgetMarkup.FormAction.ActionParameterOrBuilder getParametersOrBuilder(int index)

List of action parameters.

repeated .google.chat.v1.WidgetMarkup.FormAction.ActionParameter parameters = 2;

Parameter
Name Description
index int
Returns
Type Description
WidgetMarkup.FormAction.ActionParameterOrBuilder

getParametersOrBuilderList()

public abstract List<? extends WidgetMarkup.FormAction.ActionParameterOrBuilder> getParametersOrBuilderList()

List of action parameters.

repeated .google.chat.v1.WidgetMarkup.FormAction.ActionParameter parameters = 2;

Returns
Type Description
List<? extends com.google.chat.v1.WidgetMarkup.FormAction.ActionParameterOrBuilder>