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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DriveAddOnManifest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DriveAddOnManifest build()
buildPartial()
public DriveAddOnManifest buildPartial()
clear()
public DriveAddOnManifest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public DriveAddOnManifest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearHomepageTrigger()
public DriveAddOnManifest.Builder clearHomepageTrigger()
If present, this overrides the configuration from
addOns.common.homepageTrigger
.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public DriveAddOnManifest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public DriveAddOnManifest.Builder clone()
Overrides
getDefaultInstanceForType()
public DriveAddOnManifest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getHomepageTrigger()
public HomepageExtensionPoint getHomepageTrigger()
If present, this overrides the configuration from
addOns.common.homepageTrigger
.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
getHomepageTriggerBuilder()
public HomepageExtensionPoint.Builder getHomepageTriggerBuilder()
If present, this overrides the configuration from
addOns.common.homepageTrigger
.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
getHomepageTriggerOrBuilder()
public HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder()
If present, this overrides the configuration from
addOns.common.homepageTrigger
.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
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;
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;
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DriveAddOnManifest other)
public DriveAddOnManifest.Builder mergeFrom(DriveAddOnManifest other)
public DriveAddOnManifest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DriveAddOnManifest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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;
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DriveAddOnManifest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DriveAddOnManifest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DriveAddOnManifest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DriveAddOnManifest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides