Interface WidgetMarkup.FormActionOrBuilder (0.5.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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
WidgetMarkup.FormAction.ActionParameter

getParametersCount()

public abstract int getParametersCount()

List of action parameters.

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

Returns
TypeDescription
int

getParametersList()

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

List of action parameters.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.chat.v1.WidgetMarkup.FormAction.ActionParameterOrBuilder>