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
ON_FILE_SCOPE_GRANTED_TRIGGER_FIELD_NUMBER
public static final int ON_FILE_SCOPE_GRANTED_TRIGGER_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static DocsAddOnManifest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static DocsAddOnManifest.Builder newBuilder()
Returns
newBuilder(DocsAddOnManifest prototype)
public static DocsAddOnManifest.Builder newBuilder(DocsAddOnManifest prototype)
Parameter
Returns
public static DocsAddOnManifest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static DocsAddOnManifest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static DocsAddOnManifest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DocsAddOnManifest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static DocsAddOnManifest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DocsAddOnManifest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DocsAddOnManifest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static DocsAddOnManifest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DocsAddOnManifest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static DocsAddOnManifest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static DocsAddOnManifest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DocsAddOnManifest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<DocsAddOnManifest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public DocsAddOnManifest getDefaultInstanceForType()
Returns
getHomepageTrigger()
public HomepageExtensionPoint getHomepageTrigger()
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
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
getParserForType()
public Parser<DocsAddOnManifest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public DocsAddOnManifest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DocsAddOnManifest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public DocsAddOnManifest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions