public static final class DocsAddOnManifest.Builder extends GeneratedMessageV3.Builder<DocsAddOnManifest.Builder> implements DocsAddOnManifestOrBuilder
Docs add-on manifest.
Protobuf type google.apps.script.type.docs.DocsAddOnManifest
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 DocsAddOnManifest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DocsAddOnManifest build()
buildPartial()
public DocsAddOnManifest buildPartial()
clear()
public DocsAddOnManifest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public DocsAddOnManifest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearHomepageTrigger()
public DocsAddOnManifest.Builder clearHomepageTrigger()
If present, this overrides the configuration from
addOns.common.homepageTrigger
.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
clearOnFileScopeGrantedTrigger()
public DocsAddOnManifest.Builder clearOnFileScopeGrantedTrigger()
Endpoint to execute when file scope authorization is granted
for this document/user pair.
.google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public DocsAddOnManifest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public DocsAddOnManifest.Builder clone()
Overrides
getDefaultInstanceForType()
public DocsAddOnManifest 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 = 1;
getHomepageTriggerBuilder()
public HomepageExtensionPoint.Builder getHomepageTriggerBuilder()
If present, this overrides the configuration from
addOns.common.homepageTrigger
.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
getHomepageTriggerOrBuilder()
public HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder()
If present, this overrides the configuration from
addOns.common.homepageTrigger
.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
getOnFileScopeGrantedTrigger()
public DocsExtensionPoint getOnFileScopeGrantedTrigger()
Endpoint to execute when file scope authorization is granted
for this document/user pair.
.google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2;
getOnFileScopeGrantedTriggerBuilder()
public DocsExtensionPoint.Builder getOnFileScopeGrantedTriggerBuilder()
Endpoint to execute when file scope authorization is granted
for this document/user pair.
.google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2;
getOnFileScopeGrantedTriggerOrBuilder()
public DocsExtensionPointOrBuilder getOnFileScopeGrantedTriggerOrBuilder()
Endpoint to execute when file scope authorization is granted
for this document/user pair.
.google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2;
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.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2;
Returns |
Type |
Description |
boolean |
Whether the onFileScopeGrantedTrigger field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DocsAddOnManifest other)
public DocsAddOnManifest.Builder mergeFrom(DocsAddOnManifest other)
public DocsAddOnManifest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DocsAddOnManifest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeHomepageTrigger(HomepageExtensionPoint value)
public DocsAddOnManifest.Builder mergeHomepageTrigger(HomepageExtensionPoint value)
If present, this overrides the configuration from
addOns.common.homepageTrigger
.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
mergeOnFileScopeGrantedTrigger(DocsExtensionPoint value)
public DocsAddOnManifest.Builder mergeOnFileScopeGrantedTrigger(DocsExtensionPoint value)
Endpoint to execute when file scope authorization is granted
for this document/user pair.
.google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DocsAddOnManifest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DocsAddOnManifest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setHomepageTrigger(HomepageExtensionPoint value)
public DocsAddOnManifest.Builder setHomepageTrigger(HomepageExtensionPoint value)
If present, this overrides the configuration from
addOns.common.homepageTrigger
.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
setHomepageTrigger(HomepageExtensionPoint.Builder builderForValue)
public DocsAddOnManifest.Builder setHomepageTrigger(HomepageExtensionPoint.Builder builderForValue)
If present, this overrides the configuration from
addOns.common.homepageTrigger
.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
setOnFileScopeGrantedTrigger(DocsExtensionPoint value)
public DocsAddOnManifest.Builder setOnFileScopeGrantedTrigger(DocsExtensionPoint value)
Endpoint to execute when file scope authorization is granted
for this document/user pair.
.google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2;
setOnFileScopeGrantedTrigger(DocsExtensionPoint.Builder builderForValue)
public DocsAddOnManifest.Builder setOnFileScopeGrantedTrigger(DocsExtensionPoint.Builder builderForValue)
Endpoint to execute when file scope authorization is granted
for this document/user pair.
.google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DocsAddOnManifest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DocsAddOnManifest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides