Send feedback
Class DocsAddOnManifest.Builder
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.1.11 keyboard_arrow_down
public static final class DocsAddOnManifest . Builder extends GeneratedMessageV3 . Builder<DocsAddOnManifest . Builder > implements DocsAddOnManifestOrBuilder
Docs add-on manifest.
Protobuf type google.apps.script.type.docs.DocsAddOnManifest
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DocsAddOnManifest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public DocsAddOnManifest build ()
Returns
buildPartial()
public DocsAddOnManifest buildPartial ()
Returns
clear()
public DocsAddOnManifest . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public DocsAddOnManifest . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearHomepageTrigger()
public DocsAddOnManifest . Builder clearHomepageTrigger ()
If present, this overrides the configuration from
addOns.common.homepageTrigger
.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
Returns
clearOnFileScopeGrantedTrigger()
public DocsAddOnManifest . Builder clearOnFileScopeGrantedTrigger ()
Endpoint to execute when file scope authorization is granted
for this document/user pair.
.google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public DocsAddOnManifest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public DocsAddOnManifest . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public DocsAddOnManifest 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
getOnFileScopeGrantedTrigger()
public DocsExtensionPoint getOnFileScopeGrantedTrigger ()
Endpoint to execute when file scope authorization is granted
for this document/user pair.
.google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2;
Returns
getOnFileScopeGrantedTriggerBuilder()
public DocsExtensionPoint . Builder getOnFileScopeGrantedTriggerBuilder ()
Endpoint to execute when file scope authorization is granted
for this document/user pair.
.google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2;
Returns
getOnFileScopeGrantedTriggerOrBuilder()
public DocsExtensionPointOrBuilder getOnFileScopeGrantedTriggerOrBuilder ()
Endpoint to execute when file scope authorization is granted
for this document/user pair.
.google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_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.
hasOnFileScopeGrantedTrigger()
public boolean hasOnFileScopeGrantedTrigger ()
Endpoint to execute when file scope authorization is granted
for this document/user pair.
.google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2;
Returns
Type Description boolean Whether the onFileScopeGrantedTrigger field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(DocsAddOnManifest other)
public DocsAddOnManifest . Builder mergeFrom ( DocsAddOnManifest other )
Parameter
Returns
public DocsAddOnManifest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DocsAddOnManifest . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeHomepageTrigger(HomepageExtensionPoint value)
public DocsAddOnManifest . Builder mergeHomepageTrigger ( HomepageExtensionPoint value )
If present, this overrides the configuration from
addOns.common.homepageTrigger
.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
Parameter
Returns
mergeOnFileScopeGrantedTrigger(DocsExtensionPoint value)
public DocsAddOnManifest . Builder mergeOnFileScopeGrantedTrigger ( DocsExtensionPoint value )
Endpoint to execute when file scope authorization is granted
for this document/user pair.
.google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DocsAddOnManifest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DocsAddOnManifest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setHomepageTrigger(HomepageExtensionPoint value)
public DocsAddOnManifest . 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 DocsAddOnManifest . 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
setOnFileScopeGrantedTrigger(DocsExtensionPoint value)
public DocsAddOnManifest . Builder setOnFileScopeGrantedTrigger ( DocsExtensionPoint value )
Endpoint to execute when file scope authorization is granted
for this document/user pair.
.google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2;
Parameter
Returns
setOnFileScopeGrantedTrigger(DocsExtensionPoint.Builder builderForValue)
public DocsAddOnManifest . Builder setOnFileScopeGrantedTrigger ( DocsExtensionPoint . Builder builderForValue )
Endpoint to execute when file scope authorization is granted
for this document/user pair.
.google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DocsAddOnManifest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DocsAddOnManifest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]