Send feedback
Class DocsAddOnManifest (2.16.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.16.0 keyboard_arrow_down
public final class DocsAddOnManifest extends GeneratedMessageV3 implements DocsAddOnManifestOrBuilder
Docs add-on manifest.
Protobuf type google.apps.script.type.docs.DocsAddOnManifest
Static Fields
HOMEPAGE_TRIGGER_FIELD_NUMBER
public static final int HOMEPAGE_TRIGGER_FIELD_NUMBER
Field Value Type Description int
ON_FILE_SCOPE_GRANTED_TRIGGER_FIELD_NUMBER
public static final int ON_FILE_SCOPE_GRANTED_TRIGGER_FIELD_NUMBER
Field Value Type Description int
Static Methods
getDefaultInstance()
public static DocsAddOnManifest getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static DocsAddOnManifest . Builder newBuilder ()
newBuilder(DocsAddOnManifest prototype)
public static DocsAddOnManifest . Builder newBuilder ( DocsAddOnManifest prototype )
public static DocsAddOnManifest parseDelimitedFrom ( InputStream input )
public static DocsAddOnManifest parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static DocsAddOnManifest parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DocsAddOnManifest parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static DocsAddOnManifest parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DocsAddOnManifest parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static DocsAddOnManifest parseFrom ( CodedInputStream input )
public static DocsAddOnManifest parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static DocsAddOnManifest parseFrom ( InputStream input )
public static DocsAddOnManifest parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static DocsAddOnManifest parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DocsAddOnManifest parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<DocsAddOnManifest> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
getDefaultInstanceForType()
public DocsAddOnManifest getDefaultInstanceForType ()
getHomepageTrigger()
public HomepageExtensionPoint getHomepageTrigger ()
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;
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;
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;
getParserForType()
public Parser<DocsAddOnManifest> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Overrides
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.
hashCode()
Returns Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public DocsAddOnManifest . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DocsAddOnManifest . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public DocsAddOnManifest . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
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-28 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-28 UTC."],[],[]]