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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SlidesAddOnManifest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SlidesAddOnManifest build()
Returns
buildPartial()
public SlidesAddOnManifest buildPartial()
Returns
clear()
public SlidesAddOnManifest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public SlidesAddOnManifest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
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
clearOneof(Descriptors.OneofDescriptor oneof)
public SlidesAddOnManifest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public SlidesAddOnManifest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SlidesAddOnManifest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getHomepageTrigger()
public HomepageExtensionPoint getHomepageTrigger()
If present, this overrides the configuration from
addOns.common.homepageTrigger
.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
Returns
getHomepageTriggerBuilder()
public HomepageExtensionPoint.Builder getHomepageTriggerBuilder()
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 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
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
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
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.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2;
Returns
Type | Description |
boolean | Whether the onFileScopeGrantedTrigger field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SlidesAddOnManifest other)
public SlidesAddOnManifest.Builder mergeFrom(SlidesAddOnManifest other)
Parameter
Returns
public SlidesAddOnManifest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SlidesAddOnManifest.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SlidesAddOnManifest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SlidesAddOnManifest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SlidesAddOnManifest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SlidesAddOnManifest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides