Class SlidesAddOnManifest (2.23.0)

public final class SlidesAddOnManifest extends GeneratedMessageV3 implements SlidesAddOnManifestOrBuilder

Slides add-on manifest.

Protobuf type google.apps.script.type.slides.SlidesAddOnManifest

Static Fields

HOMEPAGE_TRIGGER_FIELD_NUMBER

public static final int HOMEPAGE_TRIGGER_FIELD_NUMBER
Field Value
TypeDescription
int

ON_FILE_SCOPE_GRANTED_TRIGGER_FIELD_NUMBER

public static final int ON_FILE_SCOPE_GRANTED_TRIGGER_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SlidesAddOnManifest getDefaultInstance()
Returns
TypeDescription
SlidesAddOnManifest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SlidesAddOnManifest.Builder newBuilder()
Returns
TypeDescription
SlidesAddOnManifest.Builder

newBuilder(SlidesAddOnManifest prototype)

public static SlidesAddOnManifest.Builder newBuilder(SlidesAddOnManifest prototype)
Parameter
NameDescription
prototypeSlidesAddOnManifest
Returns
TypeDescription
SlidesAddOnManifest.Builder

parseDelimitedFrom(InputStream input)

public static SlidesAddOnManifest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SlidesAddOnManifest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SlidesAddOnManifest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SlidesAddOnManifest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SlidesAddOnManifest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SlidesAddOnManifest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SlidesAddOnManifest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SlidesAddOnManifest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SlidesAddOnManifest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SlidesAddOnManifest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SlidesAddOnManifest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SlidesAddOnManifest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SlidesAddOnManifest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SlidesAddOnManifest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SlidesAddOnManifest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SlidesAddOnManifest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SlidesAddOnManifest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SlidesAddOnManifest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SlidesAddOnManifest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SlidesAddOnManifest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SlidesAddOnManifest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SlidesAddOnManifest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SlidesAddOnManifest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SlidesAddOnManifest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SlidesAddOnManifest> parser()
Returns
TypeDescription
Parser<SlidesAddOnManifest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public SlidesAddOnManifest getDefaultInstanceForType()
Returns
TypeDescription
SlidesAddOnManifest

getHomepageTrigger()

public HomepageExtensionPoint getHomepageTrigger()

If present, this overrides the configuration from addOns.common.homepageTrigger.

.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;

Returns
TypeDescription
HomepageExtensionPoint

The homepageTrigger.

getHomepageTriggerOrBuilder()

public HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder()

If present, this overrides the configuration from addOns.common.homepageTrigger.

.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;

Returns
TypeDescription
HomepageExtensionPointOrBuilder

getOnFileScopeGrantedTrigger()

public SlidesExtensionPoint getOnFileScopeGrantedTrigger()

Endpoint to execute when file scope authorization is granted for this document/user pair.

.google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2;

Returns
TypeDescription
SlidesExtensionPoint

The onFileScopeGrantedTrigger.

getOnFileScopeGrantedTriggerOrBuilder()

public SlidesExtensionPointOrBuilder getOnFileScopeGrantedTriggerOrBuilder()

Endpoint to execute when file scope authorization is granted for this document/user pair.

.google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2;

Returns
TypeDescription
SlidesExtensionPointOrBuilder

getParserForType()

public Parser<SlidesAddOnManifest> getParserForType()
Returns
TypeDescription
Parser<SlidesAddOnManifest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2;

Returns
TypeDescription
boolean

Whether the onFileScopeGrantedTrigger field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SlidesAddOnManifest.Builder newBuilderForType()
Returns
TypeDescription
SlidesAddOnManifest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SlidesAddOnManifest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SlidesAddOnManifest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SlidesAddOnManifest.Builder toBuilder()
Returns
TypeDescription
SlidesAddOnManifest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException