public static final class ComposeTrigger.Builder extends GeneratedMessageV3.Builder<ComposeTrigger.Builder> implements ComposeTriggerOrBuilder
A trigger that activates when user is composing an email.
Protobuf type google.apps.script.type.gmail.ComposeTrigger
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
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;
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;
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;
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;
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;
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
|
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ComposeTrigger.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ComposeTrigger build()
buildPartial()
public ComposeTrigger buildPartial()
clear()
public ComposeTrigger.Builder clear()
Overrides
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;
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;
clearField(Descriptors.FieldDescriptor field)
public ComposeTrigger.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ComposeTrigger.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ComposeTrigger.Builder clone()
Overrides
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
|
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
|
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;
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;
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
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ComposeTrigger other)
public ComposeTrigger.Builder mergeFrom(ComposeTrigger other)
public ComposeTrigger.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ComposeTrigger.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ComposeTrigger.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
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;
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;
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;
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 | int
The enum numeric value on the wire for draftAccess to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ComposeTrigger.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ComposeTrigger.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ComposeTrigger.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides