public static final class DriveAddOnManifest.Builder extends GeneratedMessageV3.Builder<DriveAddOnManifest.Builder> implements DriveAddOnManifestOrBuilder
Drive add-on manifest.
Protobuf type google.apps.script.type.drive.DriveAddOnManifest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DriveAddOnManifest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public DriveAddOnManifest build()
Returns
buildPartial()
public DriveAddOnManifest buildPartial()
Returns
clear()
public DriveAddOnManifest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public DriveAddOnManifest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearHomepageTrigger()
public DriveAddOnManifest.Builder clearHomepageTrigger()
If present, this overrides the configuration from
addOns.common.homepageTrigger
.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
Returns
clearOnItemsSelectedTrigger()
public DriveAddOnManifest.Builder clearOnItemsSelectedTrigger()
Corresponds to behvior that should execute when items are selected
in relevant Drive view (e.g. the My Drive Doclist).
.google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public DriveAddOnManifest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public DriveAddOnManifest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public DriveAddOnManifest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getHomepageTrigger()
public HomepageExtensionPoint getHomepageTrigger()
If present, this overrides the configuration from
addOns.common.homepageTrigger
.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
Returns
getHomepageTriggerBuilder()
public HomepageExtensionPoint.Builder getHomepageTriggerBuilder()
If present, this overrides the configuration from
addOns.common.homepageTrigger
.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
Returns
getHomepageTriggerOrBuilder()
public HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder()
If present, this overrides the configuration from
addOns.common.homepageTrigger
.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
Returns
getOnItemsSelectedTrigger()
public DriveExtensionPoint getOnItemsSelectedTrigger()
Corresponds to behvior that should execute when items are selected
in relevant Drive view (e.g. the My Drive Doclist).
.google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2;
Returns
getOnItemsSelectedTriggerBuilder()
public DriveExtensionPoint.Builder getOnItemsSelectedTriggerBuilder()
Corresponds to behvior that should execute when items are selected
in relevant Drive view (e.g. the My Drive Doclist).
.google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2;
Returns
getOnItemsSelectedTriggerOrBuilder()
public DriveExtensionPointOrBuilder getOnItemsSelectedTriggerOrBuilder()
Corresponds to behvior that should execute when items are selected
in relevant Drive view (e.g. the My Drive Doclist).
.google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2;
Returns
hasHomepageTrigger()
public boolean hasHomepageTrigger()
If present, this overrides the configuration from
addOns.common.homepageTrigger
.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
Returns
Type | Description |
boolean | Whether the homepageTrigger field is set.
|
hasOnItemsSelectedTrigger()
public boolean hasOnItemsSelectedTrigger()
Corresponds to behvior that should execute when items are selected
in relevant Drive view (e.g. the My Drive Doclist).
.google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2;
Returns
Type | Description |
boolean | Whether the onItemsSelectedTrigger field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(DriveAddOnManifest other)
public DriveAddOnManifest.Builder mergeFrom(DriveAddOnManifest other)
Parameter
Returns
public DriveAddOnManifest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DriveAddOnManifest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeHomepageTrigger(HomepageExtensionPoint value)
public DriveAddOnManifest.Builder mergeHomepageTrigger(HomepageExtensionPoint value)
If present, this overrides the configuration from
addOns.common.homepageTrigger
.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
Parameter
Returns
mergeOnItemsSelectedTrigger(DriveExtensionPoint value)
public DriveAddOnManifest.Builder mergeOnItemsSelectedTrigger(DriveExtensionPoint value)
Corresponds to behvior that should execute when items are selected
in relevant Drive view (e.g. the My Drive Doclist).
.google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DriveAddOnManifest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DriveAddOnManifest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setHomepageTrigger(HomepageExtensionPoint value)
public DriveAddOnManifest.Builder setHomepageTrigger(HomepageExtensionPoint value)
If present, this overrides the configuration from
addOns.common.homepageTrigger
.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
Parameter
Returns
setHomepageTrigger(HomepageExtensionPoint.Builder builderForValue)
public DriveAddOnManifest.Builder setHomepageTrigger(HomepageExtensionPoint.Builder builderForValue)
If present, this overrides the configuration from
addOns.common.homepageTrigger
.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
Parameter
Returns
setOnItemsSelectedTrigger(DriveExtensionPoint value)
public DriveAddOnManifest.Builder setOnItemsSelectedTrigger(DriveExtensionPoint value)
Corresponds to behvior that should execute when items are selected
in relevant Drive view (e.g. the My Drive Doclist).
.google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2;
Parameter
Returns
setOnItemsSelectedTrigger(DriveExtensionPoint.Builder builderForValue)
public DriveAddOnManifest.Builder setOnItemsSelectedTrigger(DriveExtensionPoint.Builder builderForValue)
Corresponds to behvior that should execute when items are selected
in relevant Drive view (e.g. the My Drive Doclist).
.google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DriveAddOnManifest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DriveAddOnManifest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides