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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SheetsAddOnManifest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SheetsAddOnManifest build()
Returns
buildPartial()
public SheetsAddOnManifest buildPartial()
Returns
clear()
public SheetsAddOnManifest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public SheetsAddOnManifest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
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
clearOneof(Descriptors.OneofDescriptor oneof)
public SheetsAddOnManifest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public SheetsAddOnManifest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SheetsAddOnManifest 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 = 3;
Returns
getHomepageTriggerBuilder()
public HomepageExtensionPoint.Builder getHomepageTriggerBuilder()
If present, this overrides the configuration from
addOns.common.homepageTrigger
.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 3;
Returns
getHomepageTriggerOrBuilder()
public HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder()
If present, this overrides the configuration from
addOns.common.homepageTrigger
.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 3;
Returns
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
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
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SheetsAddOnManifest other)
public SheetsAddOnManifest.Builder mergeFrom(SheetsAddOnManifest other)
Parameter
Returns
public SheetsAddOnManifest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SheetsAddOnManifest.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SheetsAddOnManifest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SheetsAddOnManifest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SheetsAddOnManifest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SheetsAddOnManifest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides