Class SlidesAddOnManifest.Builder (2.35.0)

public static final class SlidesAddOnManifest.Builder extends GeneratedMessageV3.Builder<SlidesAddOnManifest.Builder> implements SlidesAddOnManifestOrBuilder

Slides add-on manifest.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SlidesAddOnManifest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SlidesAddOnManifest.Builder
Overrides

build()

public SlidesAddOnManifest build()
Returns
TypeDescription
SlidesAddOnManifest

buildPartial()

public SlidesAddOnManifest buildPartial()
Returns
TypeDescription
SlidesAddOnManifest

clear()

public SlidesAddOnManifest.Builder clear()
Returns
TypeDescription
SlidesAddOnManifest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SlidesAddOnManifest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SlidesAddOnManifest.Builder
Overrides

clearHomepageTrigger()

public SlidesAddOnManifest.Builder clearHomepageTrigger()

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

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

Returns
TypeDescription
SlidesAddOnManifest.Builder

clearOnFileScopeGrantedTrigger()

public SlidesAddOnManifest.Builder clearOnFileScopeGrantedTrigger()

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
SlidesAddOnManifest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public SlidesAddOnManifest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SlidesAddOnManifest.Builder
Overrides

clone()

public SlidesAddOnManifest.Builder clone()
Returns
TypeDescription
SlidesAddOnManifest.Builder
Overrides

getDefaultInstanceForType()

public SlidesAddOnManifest getDefaultInstanceForType()
Returns
TypeDescription
SlidesAddOnManifest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

getHomepageTriggerBuilder()

public HomepageExtensionPoint.Builder getHomepageTriggerBuilder()

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

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

Returns
TypeDescription
HomepageExtensionPoint.Builder

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.

getOnFileScopeGrantedTriggerBuilder()

public SlidesExtensionPoint.Builder getOnFileScopeGrantedTriggerBuilder()

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.Builder

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SlidesAddOnManifest other)

public SlidesAddOnManifest.Builder mergeFrom(SlidesAddOnManifest other)
Parameter
NameDescription
otherSlidesAddOnManifest
Returns
TypeDescription
SlidesAddOnManifest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SlidesAddOnManifest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SlidesAddOnManifest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SlidesAddOnManifest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SlidesAddOnManifest.Builder
Overrides

mergeHomepageTrigger(HomepageExtensionPoint value)

public SlidesAddOnManifest.Builder mergeHomepageTrigger(HomepageExtensionPoint value)

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

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

Parameter
NameDescription
valueHomepageExtensionPoint
Returns
TypeDescription
SlidesAddOnManifest.Builder

mergeOnFileScopeGrantedTrigger(SlidesExtensionPoint value)

public SlidesAddOnManifest.Builder mergeOnFileScopeGrantedTrigger(SlidesExtensionPoint value)

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;

Parameter
NameDescription
valueSlidesExtensionPoint
Returns
TypeDescription
SlidesAddOnManifest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SlidesAddOnManifest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SlidesAddOnManifest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SlidesAddOnManifest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SlidesAddOnManifest.Builder
Overrides

setHomepageTrigger(HomepageExtensionPoint value)

public SlidesAddOnManifest.Builder setHomepageTrigger(HomepageExtensionPoint value)

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

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

Parameter
NameDescription
valueHomepageExtensionPoint
Returns
TypeDescription
SlidesAddOnManifest.Builder

setHomepageTrigger(HomepageExtensionPoint.Builder builderForValue)

public SlidesAddOnManifest.Builder setHomepageTrigger(HomepageExtensionPoint.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueHomepageExtensionPoint.Builder
Returns
TypeDescription
SlidesAddOnManifest.Builder

setOnFileScopeGrantedTrigger(SlidesExtensionPoint value)

public SlidesAddOnManifest.Builder setOnFileScopeGrantedTrigger(SlidesExtensionPoint value)

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;

Parameter
NameDescription
valueSlidesExtensionPoint
Returns
TypeDescription
SlidesAddOnManifest.Builder

setOnFileScopeGrantedTrigger(SlidesExtensionPoint.Builder builderForValue)

public SlidesAddOnManifest.Builder setOnFileScopeGrantedTrigger(SlidesExtensionPoint.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueSlidesExtensionPoint.Builder
Returns
TypeDescription
SlidesAddOnManifest.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SlidesAddOnManifest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SlidesAddOnManifest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SlidesAddOnManifest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SlidesAddOnManifest.Builder
Overrides