public static interface WidgetMarkup.OnClickOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAction()
public abstract WidgetMarkup.FormAction getAction() A form action is triggered by this onclick action if specified.
 .google.chat.v1.WidgetMarkup.FormAction action = 1;
| Returns | |
|---|---|
| Type | Description | 
| WidgetMarkup.FormAction | The action. | 
getActionOrBuilder()
public abstract WidgetMarkup.FormActionOrBuilder getActionOrBuilder() A form action is triggered by this onclick action if specified.
 .google.chat.v1.WidgetMarkup.FormAction action = 1;
| Returns | |
|---|---|
| Type | Description | 
| WidgetMarkup.FormActionOrBuilder | |
getDataCase()
public abstract WidgetMarkup.OnClick.DataCase getDataCase()| Returns | |
|---|---|
| Type | Description | 
| WidgetMarkup.OnClick.DataCase | |
getOpenLink()
public abstract WidgetMarkup.OpenLink getOpenLink() This onclick action triggers an open link action if specified.
 .google.chat.v1.WidgetMarkup.OpenLink open_link = 2;
| Returns | |
|---|---|
| Type | Description | 
| WidgetMarkup.OpenLink | The openLink. | 
getOpenLinkOrBuilder()
public abstract WidgetMarkup.OpenLinkOrBuilder getOpenLinkOrBuilder() This onclick action triggers an open link action if specified.
 .google.chat.v1.WidgetMarkup.OpenLink open_link = 2;
| Returns | |
|---|---|
| Type | Description | 
| WidgetMarkup.OpenLinkOrBuilder | |
hasAction()
public abstract boolean hasAction() A form action is triggered by this onclick action if specified.
 .google.chat.v1.WidgetMarkup.FormAction action = 1;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the action field is set. | 
hasOpenLink()
public abstract boolean hasOpenLink() This onclick action triggers an open link action if specified.
 .google.chat.v1.WidgetMarkup.OpenLink open_link = 2;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the openLink field is set. |