Interface UniversalActionOrBuilder (2.54.0)

public interface UniversalActionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getActionTypeCase()

public abstract UniversalAction.ActionTypeCase getActionTypeCase()
Returns
Type Description
UniversalAction.ActionTypeCase
public abstract String getOpenLink()

A link that is opened by Gmail when the user triggers the action.

string open_link = 2;

Returns
Type Description
String

The openLink.

getOpenLinkBytes()

public abstract ByteString getOpenLinkBytes()

A link that is opened by Gmail when the user triggers the action.

string open_link = 2;

Returns
Type Description
ByteString

The bytes for openLink.

getRunFunction()

public abstract String getRunFunction()

An endpoint that is called when the user triggers the action. See the universal actions guide for details.

string run_function = 3;

Returns
Type Description
String

The runFunction.

getRunFunctionBytes()

public abstract ByteString getRunFunctionBytes()

An endpoint that is called when the user triggers the action. See the universal actions guide for details.

string run_function = 3;

Returns
Type Description
ByteString

The bytes for runFunction.

getText()

public abstract String getText()

Required. User-visible text describing the action, for example, "Add a new contact."

string text = 1;

Returns
Type Description
String

The text.

getTextBytes()

public abstract ByteString getTextBytes()

Required. User-visible text describing the action, for example, "Add a new contact."

string text = 1;

Returns
Type Description
ByteString

The bytes for text.

public abstract boolean hasOpenLink()

A link that is opened by Gmail when the user triggers the action.

string open_link = 2;

Returns
Type Description
boolean

Whether the openLink field is set.

hasRunFunction()

public abstract boolean hasRunFunction()

An endpoint that is called when the user triggers the action. See the universal actions guide for details.

string run_function = 3;

Returns
Type Description
boolean

Whether the runFunction field is set.