Interface ComposeTriggerOrBuilder (2.44.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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
int

The enum numeric value on the wire for draftAccess.