Interface UniversalActionOrBuilder (2.28.0)

public interface UniversalActionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getActionTypeCase()

public abstract UniversalAction.ActionTypeCase getActionTypeCase()
Returns
TypeDescription
UniversalAction.ActionTypeCase
public abstract String getOpenLink()

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

string open_link = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the runFunction field is set.