public final class DocsAddOnManifest extends GeneratedMessageV3 implements DocsAddOnManifestOrBuilder
Docs add-on manifest.
Protobuf type google.apps.script.type.docs.DocsAddOnManifest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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
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