Interface ComposeTriggerOrBuilder (2.15.0)

public interface ComposeTriggerOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getActions(int index)

public abstract MenuItemExtensionPoint getActions(int index)

Defines the set of actions for compose time add-on. These are actions that user can trigger on a compose time addon.

repeated .google.apps.script.type.MenuItemExtensionPoint actions = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
MenuItemExtensionPoint

getActionsCount()

public abstract int getActionsCount()

Defines the set of actions for compose time add-on. These are actions that user can trigger on a compose time addon.

repeated .google.apps.script.type.MenuItemExtensionPoint actions = 5;

Returns
TypeDescription
int

getActionsList()

public abstract List<MenuItemExtensionPoint> getActionsList()

Defines the set of actions for compose time add-on. These are actions that user can trigger on a compose time addon.

repeated .google.apps.script.type.MenuItemExtensionPoint actions = 5;

Returns
TypeDescription
List<MenuItemExtensionPoint>

getActionsOrBuilder(int index)

public abstract MenuItemExtensionPointOrBuilder getActionsOrBuilder(int index)

Defines the set of actions for compose time add-on. These are actions that user can trigger on a compose time addon.

repeated .google.apps.script.type.MenuItemExtensionPoint actions = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
MenuItemExtensionPointOrBuilder

getActionsOrBuilderList()

public abstract List<? extends MenuItemExtensionPointOrBuilder> getActionsOrBuilderList()

Defines the set of actions for compose time add-on. These are actions that user can trigger on a compose time addon.

repeated .google.apps.script.type.MenuItemExtensionPoint actions = 5;

Returns
TypeDescription
List<? extends com.google.apps.script.type.MenuItemExtensionPointOrBuilder>

getDraftAccess()

public abstract ComposeTrigger.DraftAccess getDraftAccess()

Define the level of data access when a compose time addon is triggered.

.google.apps.script.type.gmail.ComposeTrigger.DraftAccess draft_access = 4;

Returns
TypeDescription
ComposeTrigger.DraftAccess

The draftAccess.

getDraftAccessValue()

public abstract int getDraftAccessValue()

Define the level of data access when a compose time addon is triggered.

.google.apps.script.type.gmail.ComposeTrigger.DraftAccess draft_access = 4;

Returns
TypeDescription
int

The enum numeric value on the wire for draftAccess.