Class SheetsAddOnManifest.Builder (2.55.0)

public static final class SheetsAddOnManifest.Builder extends GeneratedMessageV3.Builder<SheetsAddOnManifest.Builder> implements SheetsAddOnManifestOrBuilder

Sheets add-on manifest.

Protobuf type google.apps.script.type.sheets.SheetsAddOnManifest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SheetsAddOnManifest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SheetsAddOnManifest.Builder
Overrides

build()

public SheetsAddOnManifest build()
Returns
Type Description
SheetsAddOnManifest

buildPartial()

public SheetsAddOnManifest buildPartial()
Returns
Type Description
SheetsAddOnManifest

clear()

public SheetsAddOnManifest.Builder clear()
Returns
Type Description
SheetsAddOnManifest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SheetsAddOnManifest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SheetsAddOnManifest.Builder
Overrides

clearHomepageTrigger()

public SheetsAddOnManifest.Builder clearHomepageTrigger()

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

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

Returns
Type Description
SheetsAddOnManifest.Builder

clearOnFileScopeGrantedTrigger()

public SheetsAddOnManifest.Builder clearOnFileScopeGrantedTrigger()

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

.google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5;

Returns
Type Description
SheetsAddOnManifest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public SheetsAddOnManifest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SheetsAddOnManifest.Builder
Overrides

clone()

public SheetsAddOnManifest.Builder clone()
Returns
Type Description
SheetsAddOnManifest.Builder
Overrides

getDefaultInstanceForType()

public SheetsAddOnManifest getDefaultInstanceForType()
Returns
Type Description
SheetsAddOnManifest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getHomepageTrigger()

public HomepageExtensionPoint getHomepageTrigger()

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

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

Returns
Type Description
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 = 3;

Returns
Type Description
HomepageExtensionPoint.Builder

getHomepageTriggerOrBuilder()

public HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder()

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

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

Returns
Type Description
HomepageExtensionPointOrBuilder

getOnFileScopeGrantedTrigger()

public SheetsExtensionPoint getOnFileScopeGrantedTrigger()

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

.google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5;

Returns
Type Description
SheetsExtensionPoint

The onFileScopeGrantedTrigger.

getOnFileScopeGrantedTriggerBuilder()

public SheetsExtensionPoint.Builder getOnFileScopeGrantedTriggerBuilder()

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

.google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5;

Returns
Type Description
SheetsExtensionPoint.Builder

getOnFileScopeGrantedTriggerOrBuilder()

public SheetsExtensionPointOrBuilder getOnFileScopeGrantedTriggerOrBuilder()

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

.google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5;

Returns
Type Description
SheetsExtensionPointOrBuilder

hasHomepageTrigger()

public boolean hasHomepageTrigger()

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

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

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.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5;

Returns
Type Description
boolean

Whether the onFileScopeGrantedTrigger field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SheetsAddOnManifest other)

public SheetsAddOnManifest.Builder mergeFrom(SheetsAddOnManifest other)
Parameter
Name Description
other SheetsAddOnManifest
Returns
Type Description
SheetsAddOnManifest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SheetsAddOnManifest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SheetsAddOnManifest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SheetsAddOnManifest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SheetsAddOnManifest.Builder
Overrides

mergeHomepageTrigger(HomepageExtensionPoint value)

public SheetsAddOnManifest.Builder mergeHomepageTrigger(HomepageExtensionPoint value)

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

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

Parameter
Name Description
value HomepageExtensionPoint
Returns
Type Description
SheetsAddOnManifest.Builder

mergeOnFileScopeGrantedTrigger(SheetsExtensionPoint value)

public SheetsAddOnManifest.Builder mergeOnFileScopeGrantedTrigger(SheetsExtensionPoint value)

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

.google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5;

Parameter
Name Description
value SheetsExtensionPoint
Returns
Type Description
SheetsAddOnManifest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SheetsAddOnManifest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SheetsAddOnManifest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SheetsAddOnManifest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SheetsAddOnManifest.Builder
Overrides

setHomepageTrigger(HomepageExtensionPoint value)

public SheetsAddOnManifest.Builder setHomepageTrigger(HomepageExtensionPoint value)

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

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

Parameter
Name Description
value HomepageExtensionPoint
Returns
Type Description
SheetsAddOnManifest.Builder

setHomepageTrigger(HomepageExtensionPoint.Builder builderForValue)

public SheetsAddOnManifest.Builder setHomepageTrigger(HomepageExtensionPoint.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue HomepageExtensionPoint.Builder
Returns
Type Description
SheetsAddOnManifest.Builder

setOnFileScopeGrantedTrigger(SheetsExtensionPoint value)

public SheetsAddOnManifest.Builder setOnFileScopeGrantedTrigger(SheetsExtensionPoint value)

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

.google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5;

Parameter
Name Description
value SheetsExtensionPoint
Returns
Type Description
SheetsAddOnManifest.Builder

setOnFileScopeGrantedTrigger(SheetsExtensionPoint.Builder builderForValue)

public SheetsAddOnManifest.Builder setOnFileScopeGrantedTrigger(SheetsExtensionPoint.Builder builderForValue)

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

.google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5;

Parameter
Name Description
builderForValue SheetsExtensionPoint.Builder
Returns
Type Description
SheetsAddOnManifest.Builder

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

public SheetsAddOnManifest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SheetsAddOnManifest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SheetsAddOnManifest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SheetsAddOnManifest.Builder
Overrides