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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SheetsAddOnManifest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SheetsAddOnManifest build()
buildPartial()
public SheetsAddOnManifest buildPartial()
clear()
public SheetsAddOnManifest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SheetsAddOnManifest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearHomepageTrigger()
public SheetsAddOnManifest.Builder clearHomepageTrigger()
If present, this overrides the configuration from
addOns.common.homepageTrigger
.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 3;
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public SheetsAddOnManifest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public SheetsAddOnManifest.Builder clone()
Overrides
getDefaultInstanceForType()
public SheetsAddOnManifest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getHomepageTrigger()
public HomepageExtensionPoint getHomepageTrigger()
If present, this overrides the configuration from
addOns.common.homepageTrigger
.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 3;
getHomepageTriggerBuilder()
public HomepageExtensionPoint.Builder getHomepageTriggerBuilder()
If present, this overrides the configuration from
addOns.common.homepageTrigger
.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 3;
getHomepageTriggerOrBuilder()
public HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder()
If present, this overrides the configuration from
addOns.common.homepageTrigger
.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 3;
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;
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;
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SheetsAddOnManifest other)
public SheetsAddOnManifest.Builder mergeFrom(SheetsAddOnManifest other)
public SheetsAddOnManifest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SheetsAddOnManifest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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;
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SheetsAddOnManifest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SheetsAddOnManifest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SheetsAddOnManifest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SheetsAddOnManifest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides