- 2.85.0 (latest)
- 2.83.0
- 2.82.0
- 2.81.0
- 2.80.0
- 2.78.0
- 2.76.0
- 2.75.0
- 2.74.0
- 2.73.0
- 2.72.0
- 2.70.0
- 2.68.0
- 2.67.0
- 2.64.0
- 2.63.0
- 2.62.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.6
- 2.2.1
- 2.1.12
public static final class ComposeTrigger.Builder extends GeneratedMessage.Builder<ComposeTrigger.Builder> implements ComposeTriggerOrBuilderA trigger that activates when user is composing an email.
Protobuf type google.apps.script.type.gmail.ComposeTrigger
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ComposeTrigger.BuilderImplements
ComposeTriggerOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addActions(MenuItemExtensionPoint value)
public ComposeTrigger.Builder addActions(MenuItemExtensionPoint value)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 |
value |
MenuItemExtensionPoint |
| Returns | |
|---|---|
| Type | Description |
ComposeTrigger.Builder |
|
addActions(MenuItemExtensionPoint.Builder builderForValue)
public ComposeTrigger.Builder addActions(MenuItemExtensionPoint.Builder builderForValue)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 |
builderForValue |
MenuItemExtensionPoint.Builder |
| Returns | |
|---|---|
| Type | Description |
ComposeTrigger.Builder |
|
addActions(int index, MenuItemExtensionPoint value)
public ComposeTrigger.Builder addActions(int index, MenuItemExtensionPoint value)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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
MenuItemExtensionPoint |
| Returns | |
|---|---|
| Type | Description |
ComposeTrigger.Builder |
|
addActions(int index, MenuItemExtensionPoint.Builder builderForValue)
public ComposeTrigger.Builder addActions(int index, MenuItemExtensionPoint.Builder builderForValue)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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
MenuItemExtensionPoint.Builder |
| Returns | |
|---|---|
| Type | Description |
ComposeTrigger.Builder |
|
addActionsBuilder()
public MenuItemExtensionPoint.Builder addActionsBuilder()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 |
MenuItemExtensionPoint.Builder |
|
addActionsBuilder(int index)
public MenuItemExtensionPoint.Builder addActionsBuilder(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.Builder |
|
addAllActions(Iterable<? extends MenuItemExtensionPoint> values)
public ComposeTrigger.Builder addAllActions(Iterable<? extends MenuItemExtensionPoint> values)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 |
values |
Iterable<? extends com.google.apps.script.type.MenuItemExtensionPoint> |
| Returns | |
|---|---|
| Type | Description |
ComposeTrigger.Builder |
|
build()
public ComposeTrigger build()| Returns | |
|---|---|
| Type | Description |
ComposeTrigger |
|
buildPartial()
public ComposeTrigger buildPartial()| Returns | |
|---|---|
| Type | Description |
ComposeTrigger |
|
clear()
public ComposeTrigger.Builder clear()| Returns | |
|---|---|
| Type | Description |
ComposeTrigger.Builder |
|
clearActions()
public ComposeTrigger.Builder clearActions()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 |
ComposeTrigger.Builder |
|
clearDraftAccess()
public ComposeTrigger.Builder clearDraftAccess()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.Builder |
This builder for chaining. |
getActions(int index)
public 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 |
|
getActionsBuilder(int index)
public MenuItemExtensionPoint.Builder getActionsBuilder(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.Builder |
|
getActionsBuilderList()
public List<MenuItemExtensionPoint.Builder> getActionsBuilderList()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<Builder> |
|
getActionsCount()
public 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 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 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 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> |
|
getDefaultInstanceForType()
public ComposeTrigger getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ComposeTrigger |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDraftAccess()
public 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ComposeTrigger other)
public ComposeTrigger.Builder mergeFrom(ComposeTrigger other)| Parameter | |
|---|---|
| Name | Description |
other |
ComposeTrigger |
| Returns | |
|---|---|
| Type | Description |
ComposeTrigger.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ComposeTrigger.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ComposeTrigger.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ComposeTrigger.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ComposeTrigger.Builder |
|
removeActions(int index)
public ComposeTrigger.Builder removeActions(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 |
ComposeTrigger.Builder |
|
setActions(int index, MenuItemExtensionPoint value)
public ComposeTrigger.Builder setActions(int index, MenuItemExtensionPoint value)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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
MenuItemExtensionPoint |
| Returns | |
|---|---|
| Type | Description |
ComposeTrigger.Builder |
|
setActions(int index, MenuItemExtensionPoint.Builder builderForValue)
public ComposeTrigger.Builder setActions(int index, MenuItemExtensionPoint.Builder builderForValue)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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
MenuItemExtensionPoint.Builder |
| Returns | |
|---|---|
| Type | Description |
ComposeTrigger.Builder |
|
setDraftAccess(ComposeTrigger.DraftAccess value)
public ComposeTrigger.Builder setDraftAccess(ComposeTrigger.DraftAccess value)Define the level of data access when a compose time addon is triggered.
.google.apps.script.type.gmail.ComposeTrigger.DraftAccess draft_access = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ComposeTrigger.DraftAccessThe draftAccess to set. |
| Returns | |
|---|---|
| Type | Description |
ComposeTrigger.Builder |
This builder for chaining. |
setDraftAccessValue(int value)
public ComposeTrigger.Builder setDraftAccessValue(int value)Define the level of data access when a compose time addon is triggered.
.google.apps.script.type.gmail.ComposeTrigger.DraftAccess draft_access = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for draftAccess to set. |
| Returns | |
|---|---|
| Type | Description |
ComposeTrigger.Builder |
This builder for chaining. |