Package com.google.apps.script.type
Class CommonAddOnManifest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CommonAddOnManifest.Builder>
-
- com.google.apps.script.type.CommonAddOnManifest.Builder
-
- All Implemented Interfaces:
CommonAddOnManifestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CommonAddOnManifest
public static final class CommonAddOnManifest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CommonAddOnManifest.Builder> implements CommonAddOnManifestOrBuilder
Add-on configuration that is shared across all add-on host applications.
Protobuf typegoogle.apps.script.type.CommonAddOnManifest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CommonAddOnManifest.BuilderaddAllUniversalActions(Iterable<? extends UniversalActionExtensionPoint> values)Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on.CommonAddOnManifest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)CommonAddOnManifest.BuilderaddUniversalActions(int index, UniversalActionExtensionPoint value)Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on.CommonAddOnManifest.BuilderaddUniversalActions(int index, UniversalActionExtensionPoint.Builder builderForValue)Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on.CommonAddOnManifest.BuilderaddUniversalActions(UniversalActionExtensionPoint value)Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on.CommonAddOnManifest.BuilderaddUniversalActions(UniversalActionExtensionPoint.Builder builderForValue)Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on.UniversalActionExtensionPoint.BuilderaddUniversalActionsBuilder()Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on.UniversalActionExtensionPoint.BuilderaddUniversalActionsBuilder(int index)Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on.CommonAddOnManifestbuild()CommonAddOnManifestbuildPartial()CommonAddOnManifest.Builderclear()CommonAddOnManifest.BuilderclearAddOnWidgetSet()The widgets used in the add-on.CommonAddOnManifest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)CommonAddOnManifest.BuilderclearHomepageTrigger()Defines an endpoint that will be executed in any context, in any host.CommonAddOnManifest.BuilderclearLayoutProperties()Common layout properties for the add-on cards.CommonAddOnManifest.BuilderclearLogoUrl()Required.CommonAddOnManifest.BuilderclearName()Required.CommonAddOnManifest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)CommonAddOnManifest.BuilderclearOpenLinkUrlPrefixes()An OpenLink action can only use a URL with an HTTPS, MAILTO or TEL scheme.CommonAddOnManifest.BuilderclearUniversalActions()Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on.CommonAddOnManifest.BuilderclearUseLocaleFromApp()Whether to pass locale information from host app.CommonAddOnManifest.Builderclone()AddOnWidgetSetgetAddOnWidgetSet()The widgets used in the add-on.AddOnWidgetSet.BuildergetAddOnWidgetSetBuilder()The widgets used in the add-on.AddOnWidgetSetOrBuildergetAddOnWidgetSetOrBuilder()The widgets used in the add-on.CommonAddOnManifestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()HomepageExtensionPointgetHomepageTrigger()Defines an endpoint that will be executed in any context, in any host.HomepageExtensionPoint.BuildergetHomepageTriggerBuilder()Defines an endpoint that will be executed in any context, in any host.HomepageExtensionPointOrBuildergetHomepageTriggerOrBuilder()Defines an endpoint that will be executed in any context, in any host.LayoutPropertiesgetLayoutProperties()Common layout properties for the add-on cards.LayoutProperties.BuildergetLayoutPropertiesBuilder()Common layout properties for the add-on cards.LayoutPropertiesOrBuildergetLayoutPropertiesOrBuilder()Common layout properties for the add-on cards.StringgetLogoUrl()Required.com.google.protobuf.ByteStringgetLogoUrlBytes()Required.StringgetName()Required.com.google.protobuf.ByteStringgetNameBytes()Required.com.google.protobuf.ListValuegetOpenLinkUrlPrefixes()An OpenLink action can only use a URL with an HTTPS, MAILTO or TEL scheme.com.google.protobuf.ListValue.BuildergetOpenLinkUrlPrefixesBuilder()An OpenLink action can only use a URL with an HTTPS, MAILTO or TEL scheme.com.google.protobuf.ListValueOrBuildergetOpenLinkUrlPrefixesOrBuilder()An OpenLink action can only use a URL with an HTTPS, MAILTO or TEL scheme.UniversalActionExtensionPointgetUniversalActions(int index)Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on.UniversalActionExtensionPoint.BuildergetUniversalActionsBuilder(int index)Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on.List<UniversalActionExtensionPoint.Builder>getUniversalActionsBuilderList()Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on.intgetUniversalActionsCount()Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on.List<UniversalActionExtensionPoint>getUniversalActionsList()Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on.UniversalActionExtensionPointOrBuildergetUniversalActionsOrBuilder(int index)Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on.List<? extends UniversalActionExtensionPointOrBuilder>getUniversalActionsOrBuilderList()Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on.booleangetUseLocaleFromApp()Whether to pass locale information from host app.booleanhasAddOnWidgetSet()The widgets used in the add-on.booleanhasHomepageTrigger()Defines an endpoint that will be executed in any context, in any host.booleanhasLayoutProperties()Common layout properties for the add-on cards.booleanhasOpenLinkUrlPrefixes()An OpenLink action can only use a URL with an HTTPS, MAILTO or TEL scheme.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()CommonAddOnManifest.BuildermergeAddOnWidgetSet(AddOnWidgetSet value)The widgets used in the add-on.CommonAddOnManifest.BuildermergeFrom(CommonAddOnManifest other)CommonAddOnManifest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)CommonAddOnManifest.BuildermergeFrom(com.google.protobuf.Message other)CommonAddOnManifest.BuildermergeHomepageTrigger(HomepageExtensionPoint value)Defines an endpoint that will be executed in any context, in any host.CommonAddOnManifest.BuildermergeLayoutProperties(LayoutProperties value)Common layout properties for the add-on cards.CommonAddOnManifest.BuildermergeOpenLinkUrlPrefixes(com.google.protobuf.ListValue value)An OpenLink action can only use a URL with an HTTPS, MAILTO or TEL scheme.CommonAddOnManifest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)CommonAddOnManifest.BuilderremoveUniversalActions(int index)Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on.CommonAddOnManifest.BuildersetAddOnWidgetSet(AddOnWidgetSet value)The widgets used in the add-on.CommonAddOnManifest.BuildersetAddOnWidgetSet(AddOnWidgetSet.Builder builderForValue)The widgets used in the add-on.CommonAddOnManifest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)CommonAddOnManifest.BuildersetHomepageTrigger(HomepageExtensionPoint value)Defines an endpoint that will be executed in any context, in any host.CommonAddOnManifest.BuildersetHomepageTrigger(HomepageExtensionPoint.Builder builderForValue)Defines an endpoint that will be executed in any context, in any host.CommonAddOnManifest.BuildersetLayoutProperties(LayoutProperties value)Common layout properties for the add-on cards.CommonAddOnManifest.BuildersetLayoutProperties(LayoutProperties.Builder builderForValue)Common layout properties for the add-on cards.CommonAddOnManifest.BuildersetLogoUrl(String value)Required.CommonAddOnManifest.BuildersetLogoUrlBytes(com.google.protobuf.ByteString value)Required.CommonAddOnManifest.BuildersetName(String value)Required.CommonAddOnManifest.BuildersetNameBytes(com.google.protobuf.ByteString value)Required.CommonAddOnManifest.BuildersetOpenLinkUrlPrefixes(com.google.protobuf.ListValue value)An OpenLink action can only use a URL with an HTTPS, MAILTO or TEL scheme.CommonAddOnManifest.BuildersetOpenLinkUrlPrefixes(com.google.protobuf.ListValue.Builder builderForValue)An OpenLink action can only use a URL with an HTTPS, MAILTO or TEL scheme.CommonAddOnManifest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)CommonAddOnManifest.BuildersetUniversalActions(int index, UniversalActionExtensionPoint value)Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on.CommonAddOnManifest.BuildersetUniversalActions(int index, UniversalActionExtensionPoint.Builder builderForValue)Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on.CommonAddOnManifest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)CommonAddOnManifest.BuildersetUseLocaleFromApp(boolean value)Whether to pass locale information from host app.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<CommonAddOnManifest.Builder>
-
clear
public CommonAddOnManifest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonAddOnManifest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<CommonAddOnManifest.Builder>
-
getDefaultInstanceForType
public CommonAddOnManifest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public CommonAddOnManifest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CommonAddOnManifest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CommonAddOnManifest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<CommonAddOnManifest.Builder>
-
setField
public CommonAddOnManifest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonAddOnManifest.Builder>
-
clearField
public CommonAddOnManifest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonAddOnManifest.Builder>
-
clearOneof
public CommonAddOnManifest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonAddOnManifest.Builder>
-
setRepeatedField
public CommonAddOnManifest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonAddOnManifest.Builder>
-
addRepeatedField
public CommonAddOnManifest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonAddOnManifest.Builder>
-
mergeFrom
public CommonAddOnManifest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CommonAddOnManifest.Builder>
-
mergeFrom
public CommonAddOnManifest.Builder mergeFrom(CommonAddOnManifest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonAddOnManifest.Builder>
-
mergeFrom
public CommonAddOnManifest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CommonAddOnManifest.Builder>- Throws:
IOException
-
getName
public String getName()
Required. The display name of the add-on.
string name = 1;- Specified by:
getNamein interfaceCommonAddOnManifestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Required. The display name of the add-on.
string name = 1;- Specified by:
getNameBytesin interfaceCommonAddOnManifestOrBuilder- Returns:
- The bytes for name.
-
setName
public CommonAddOnManifest.Builder setName(String value)
Required. The display name of the add-on.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public CommonAddOnManifest.Builder clearName()
Required. The display name of the add-on.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public CommonAddOnManifest.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. The display name of the add-on.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getLogoUrl
public String getLogoUrl()
Required. The URL for the logo image shown in the add-on toolbar.
string logo_url = 2;- Specified by:
getLogoUrlin interfaceCommonAddOnManifestOrBuilder- Returns:
- The logoUrl.
-
getLogoUrlBytes
public com.google.protobuf.ByteString getLogoUrlBytes()
Required. The URL for the logo image shown in the add-on toolbar.
string logo_url = 2;- Specified by:
getLogoUrlBytesin interfaceCommonAddOnManifestOrBuilder- Returns:
- The bytes for logoUrl.
-
setLogoUrl
public CommonAddOnManifest.Builder setLogoUrl(String value)
Required. The URL for the logo image shown in the add-on toolbar.
string logo_url = 2;- Parameters:
value- The logoUrl to set.- Returns:
- This builder for chaining.
-
clearLogoUrl
public CommonAddOnManifest.Builder clearLogoUrl()
Required. The URL for the logo image shown in the add-on toolbar.
string logo_url = 2;- Returns:
- This builder for chaining.
-
setLogoUrlBytes
public CommonAddOnManifest.Builder setLogoUrlBytes(com.google.protobuf.ByteString value)
Required. The URL for the logo image shown in the add-on toolbar.
string logo_url = 2;- Parameters:
value- The bytes for logoUrl to set.- Returns:
- This builder for chaining.
-
hasLayoutProperties
public boolean hasLayoutProperties()
Common layout properties for the add-on cards.
.google.apps.script.type.LayoutProperties layout_properties = 3;- Specified by:
hasLayoutPropertiesin interfaceCommonAddOnManifestOrBuilder- Returns:
- Whether the layoutProperties field is set.
-
getLayoutProperties
public LayoutProperties getLayoutProperties()
Common layout properties for the add-on cards.
.google.apps.script.type.LayoutProperties layout_properties = 3;- Specified by:
getLayoutPropertiesin interfaceCommonAddOnManifestOrBuilder- Returns:
- The layoutProperties.
-
setLayoutProperties
public CommonAddOnManifest.Builder setLayoutProperties(LayoutProperties value)
Common layout properties for the add-on cards.
.google.apps.script.type.LayoutProperties layout_properties = 3;
-
setLayoutProperties
public CommonAddOnManifest.Builder setLayoutProperties(LayoutProperties.Builder builderForValue)
Common layout properties for the add-on cards.
.google.apps.script.type.LayoutProperties layout_properties = 3;
-
mergeLayoutProperties
public CommonAddOnManifest.Builder mergeLayoutProperties(LayoutProperties value)
Common layout properties for the add-on cards.
.google.apps.script.type.LayoutProperties layout_properties = 3;
-
clearLayoutProperties
public CommonAddOnManifest.Builder clearLayoutProperties()
Common layout properties for the add-on cards.
.google.apps.script.type.LayoutProperties layout_properties = 3;
-
getLayoutPropertiesBuilder
public LayoutProperties.Builder getLayoutPropertiesBuilder()
Common layout properties for the add-on cards.
.google.apps.script.type.LayoutProperties layout_properties = 3;
-
getLayoutPropertiesOrBuilder
public LayoutPropertiesOrBuilder getLayoutPropertiesOrBuilder()
Common layout properties for the add-on cards.
.google.apps.script.type.LayoutProperties layout_properties = 3;- Specified by:
getLayoutPropertiesOrBuilderin interfaceCommonAddOnManifestOrBuilder
-
hasAddOnWidgetSet
public boolean hasAddOnWidgetSet()
The widgets used in the add-on. If this field is not specified, it indicates that default set is used.
.google.apps.script.type.AddOnWidgetSet add_on_widget_set = 4;- Specified by:
hasAddOnWidgetSetin interfaceCommonAddOnManifestOrBuilder- Returns:
- Whether the addOnWidgetSet field is set.
-
getAddOnWidgetSet
public AddOnWidgetSet getAddOnWidgetSet()
The widgets used in the add-on. If this field is not specified, it indicates that default set is used.
.google.apps.script.type.AddOnWidgetSet add_on_widget_set = 4;- Specified by:
getAddOnWidgetSetin interfaceCommonAddOnManifestOrBuilder- Returns:
- The addOnWidgetSet.
-
setAddOnWidgetSet
public CommonAddOnManifest.Builder setAddOnWidgetSet(AddOnWidgetSet value)
The widgets used in the add-on. If this field is not specified, it indicates that default set is used.
.google.apps.script.type.AddOnWidgetSet add_on_widget_set = 4;
-
setAddOnWidgetSet
public CommonAddOnManifest.Builder setAddOnWidgetSet(AddOnWidgetSet.Builder builderForValue)
The widgets used in the add-on. If this field is not specified, it indicates that default set is used.
.google.apps.script.type.AddOnWidgetSet add_on_widget_set = 4;
-
mergeAddOnWidgetSet
public CommonAddOnManifest.Builder mergeAddOnWidgetSet(AddOnWidgetSet value)
The widgets used in the add-on. If this field is not specified, it indicates that default set is used.
.google.apps.script.type.AddOnWidgetSet add_on_widget_set = 4;
-
clearAddOnWidgetSet
public CommonAddOnManifest.Builder clearAddOnWidgetSet()
The widgets used in the add-on. If this field is not specified, it indicates that default set is used.
.google.apps.script.type.AddOnWidgetSet add_on_widget_set = 4;
-
getAddOnWidgetSetBuilder
public AddOnWidgetSet.Builder getAddOnWidgetSetBuilder()
The widgets used in the add-on. If this field is not specified, it indicates that default set is used.
.google.apps.script.type.AddOnWidgetSet add_on_widget_set = 4;
-
getAddOnWidgetSetOrBuilder
public AddOnWidgetSetOrBuilder getAddOnWidgetSetOrBuilder()
The widgets used in the add-on. If this field is not specified, it indicates that default set is used.
.google.apps.script.type.AddOnWidgetSet add_on_widget_set = 4;- Specified by:
getAddOnWidgetSetOrBuilderin interfaceCommonAddOnManifestOrBuilder
-
getUseLocaleFromApp
public boolean getUseLocaleFromApp()
Whether to pass locale information from host app.
bool use_locale_from_app = 5;- Specified by:
getUseLocaleFromAppin interfaceCommonAddOnManifestOrBuilder- Returns:
- The useLocaleFromApp.
-
setUseLocaleFromApp
public CommonAddOnManifest.Builder setUseLocaleFromApp(boolean value)
Whether to pass locale information from host app.
bool use_locale_from_app = 5;- Parameters:
value- The useLocaleFromApp to set.- Returns:
- This builder for chaining.
-
clearUseLocaleFromApp
public CommonAddOnManifest.Builder clearUseLocaleFromApp()
Whether to pass locale information from host app.
bool use_locale_from_app = 5;- Returns:
- This builder for chaining.
-
hasHomepageTrigger
public boolean hasHomepageTrigger()
Defines an endpoint that will be executed in any context, in any host. Any cards generated by this function will always be available to the user, but may be eclipsed by contextual content when this add-on declares more targeted triggers.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6;- Specified by:
hasHomepageTriggerin interfaceCommonAddOnManifestOrBuilder- Returns:
- Whether the homepageTrigger field is set.
-
getHomepageTrigger
public HomepageExtensionPoint getHomepageTrigger()
Defines an endpoint that will be executed in any context, in any host. Any cards generated by this function will always be available to the user, but may be eclipsed by contextual content when this add-on declares more targeted triggers.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6;- Specified by:
getHomepageTriggerin interfaceCommonAddOnManifestOrBuilder- Returns:
- The homepageTrigger.
-
setHomepageTrigger
public CommonAddOnManifest.Builder setHomepageTrigger(HomepageExtensionPoint value)
Defines an endpoint that will be executed in any context, in any host. Any cards generated by this function will always be available to the user, but may be eclipsed by contextual content when this add-on declares more targeted triggers.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6;
-
setHomepageTrigger
public CommonAddOnManifest.Builder setHomepageTrigger(HomepageExtensionPoint.Builder builderForValue)
Defines an endpoint that will be executed in any context, in any host. Any cards generated by this function will always be available to the user, but may be eclipsed by contextual content when this add-on declares more targeted triggers.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6;
-
mergeHomepageTrigger
public CommonAddOnManifest.Builder mergeHomepageTrigger(HomepageExtensionPoint value)
Defines an endpoint that will be executed in any context, in any host. Any cards generated by this function will always be available to the user, but may be eclipsed by contextual content when this add-on declares more targeted triggers.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6;
-
clearHomepageTrigger
public CommonAddOnManifest.Builder clearHomepageTrigger()
Defines an endpoint that will be executed in any context, in any host. Any cards generated by this function will always be available to the user, but may be eclipsed by contextual content when this add-on declares more targeted triggers.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6;
-
getHomepageTriggerBuilder
public HomepageExtensionPoint.Builder getHomepageTriggerBuilder()
Defines an endpoint that will be executed in any context, in any host. Any cards generated by this function will always be available to the user, but may be eclipsed by contextual content when this add-on declares more targeted triggers.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6;
-
getHomepageTriggerOrBuilder
public HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder()
Defines an endpoint that will be executed in any context, in any host. Any cards generated by this function will always be available to the user, but may be eclipsed by contextual content when this add-on declares more targeted triggers.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6;- Specified by:
getHomepageTriggerOrBuilderin interfaceCommonAddOnManifestOrBuilder
-
getUniversalActionsList
public List<UniversalActionExtensionPoint> getUniversalActionsList()
Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on. The extension point can be link URL to open or an endpoint to execute as a form submission.
repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7;- Specified by:
getUniversalActionsListin interfaceCommonAddOnManifestOrBuilder
-
getUniversalActionsCount
public int getUniversalActionsCount()
Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on. The extension point can be link URL to open or an endpoint to execute as a form submission.
repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7;- Specified by:
getUniversalActionsCountin interfaceCommonAddOnManifestOrBuilder
-
getUniversalActions
public UniversalActionExtensionPoint getUniversalActions(int index)
Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on. The extension point can be link URL to open or an endpoint to execute as a form submission.
repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7;- Specified by:
getUniversalActionsin interfaceCommonAddOnManifestOrBuilder
-
setUniversalActions
public CommonAddOnManifest.Builder setUniversalActions(int index, UniversalActionExtensionPoint value)
Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on. The extension point can be link URL to open or an endpoint to execute as a form submission.
repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7;
-
setUniversalActions
public CommonAddOnManifest.Builder setUniversalActions(int index, UniversalActionExtensionPoint.Builder builderForValue)
Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on. The extension point can be link URL to open or an endpoint to execute as a form submission.
repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7;
-
addUniversalActions
public CommonAddOnManifest.Builder addUniversalActions(UniversalActionExtensionPoint value)
Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on. The extension point can be link URL to open or an endpoint to execute as a form submission.
repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7;
-
addUniversalActions
public CommonAddOnManifest.Builder addUniversalActions(int index, UniversalActionExtensionPoint value)
Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on. The extension point can be link URL to open or an endpoint to execute as a form submission.
repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7;
-
addUniversalActions
public CommonAddOnManifest.Builder addUniversalActions(UniversalActionExtensionPoint.Builder builderForValue)
Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on. The extension point can be link URL to open or an endpoint to execute as a form submission.
repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7;
-
addUniversalActions
public CommonAddOnManifest.Builder addUniversalActions(int index, UniversalActionExtensionPoint.Builder builderForValue)
Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on. The extension point can be link URL to open or an endpoint to execute as a form submission.
repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7;
-
addAllUniversalActions
public CommonAddOnManifest.Builder addAllUniversalActions(Iterable<? extends UniversalActionExtensionPoint> values)
Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on. The extension point can be link URL to open or an endpoint to execute as a form submission.
repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7;
-
clearUniversalActions
public CommonAddOnManifest.Builder clearUniversalActions()
Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on. The extension point can be link URL to open or an endpoint to execute as a form submission.
repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7;
-
removeUniversalActions
public CommonAddOnManifest.Builder removeUniversalActions(int index)
Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on. The extension point can be link URL to open or an endpoint to execute as a form submission.
repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7;
-
getUniversalActionsBuilder
public UniversalActionExtensionPoint.Builder getUniversalActionsBuilder(int index)
Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on. The extension point can be link URL to open or an endpoint to execute as a form submission.
repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7;
-
getUniversalActionsOrBuilder
public UniversalActionExtensionPointOrBuilder getUniversalActionsOrBuilder(int index)
Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on. The extension point can be link URL to open or an endpoint to execute as a form submission.
repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7;- Specified by:
getUniversalActionsOrBuilderin interfaceCommonAddOnManifestOrBuilder
-
getUniversalActionsOrBuilderList
public List<? extends UniversalActionExtensionPointOrBuilder> getUniversalActionsOrBuilderList()
Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on. The extension point can be link URL to open or an endpoint to execute as a form submission.
repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7;- Specified by:
getUniversalActionsOrBuilderListin interfaceCommonAddOnManifestOrBuilder
-
addUniversalActionsBuilder
public UniversalActionExtensionPoint.Builder addUniversalActionsBuilder()
Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on. The extension point can be link URL to open or an endpoint to execute as a form submission.
repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7;
-
addUniversalActionsBuilder
public UniversalActionExtensionPoint.Builder addUniversalActionsBuilder(int index)
Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on. The extension point can be link URL to open or an endpoint to execute as a form submission.
repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7;
-
getUniversalActionsBuilderList
public List<UniversalActionExtensionPoint.Builder> getUniversalActionsBuilderList()
Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on. The extension point can be link URL to open or an endpoint to execute as a form submission.
repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7;
-
hasOpenLinkUrlPrefixes
public boolean hasOpenLinkUrlPrefixes()
An OpenLink action can only use a URL with an HTTPS, MAILTO or TEL scheme. For HTTPS links, the URL must also [match](/gmail/add-ons/concepts/manifests#whitelisting_urls) one of the prefixes specified in this whitelist. If the prefix omits the scheme, HTTPS is assumed. Notice that HTTP links are automatically rewritten to HTTPS links.
.google.protobuf.ListValue open_link_url_prefixes = 8;- Specified by:
hasOpenLinkUrlPrefixesin interfaceCommonAddOnManifestOrBuilder- Returns:
- Whether the openLinkUrlPrefixes field is set.
-
getOpenLinkUrlPrefixes
public com.google.protobuf.ListValue getOpenLinkUrlPrefixes()
An OpenLink action can only use a URL with an HTTPS, MAILTO or TEL scheme. For HTTPS links, the URL must also [match](/gmail/add-ons/concepts/manifests#whitelisting_urls) one of the prefixes specified in this whitelist. If the prefix omits the scheme, HTTPS is assumed. Notice that HTTP links are automatically rewritten to HTTPS links.
.google.protobuf.ListValue open_link_url_prefixes = 8;- Specified by:
getOpenLinkUrlPrefixesin interfaceCommonAddOnManifestOrBuilder- Returns:
- The openLinkUrlPrefixes.
-
setOpenLinkUrlPrefixes
public CommonAddOnManifest.Builder setOpenLinkUrlPrefixes(com.google.protobuf.ListValue value)
An OpenLink action can only use a URL with an HTTPS, MAILTO or TEL scheme. For HTTPS links, the URL must also [match](/gmail/add-ons/concepts/manifests#whitelisting_urls) one of the prefixes specified in this whitelist. If the prefix omits the scheme, HTTPS is assumed. Notice that HTTP links are automatically rewritten to HTTPS links.
.google.protobuf.ListValue open_link_url_prefixes = 8;
-
setOpenLinkUrlPrefixes
public CommonAddOnManifest.Builder setOpenLinkUrlPrefixes(com.google.protobuf.ListValue.Builder builderForValue)
An OpenLink action can only use a URL with an HTTPS, MAILTO or TEL scheme. For HTTPS links, the URL must also [match](/gmail/add-ons/concepts/manifests#whitelisting_urls) one of the prefixes specified in this whitelist. If the prefix omits the scheme, HTTPS is assumed. Notice that HTTP links are automatically rewritten to HTTPS links.
.google.protobuf.ListValue open_link_url_prefixes = 8;
-
mergeOpenLinkUrlPrefixes
public CommonAddOnManifest.Builder mergeOpenLinkUrlPrefixes(com.google.protobuf.ListValue value)
An OpenLink action can only use a URL with an HTTPS, MAILTO or TEL scheme. For HTTPS links, the URL must also [match](/gmail/add-ons/concepts/manifests#whitelisting_urls) one of the prefixes specified in this whitelist. If the prefix omits the scheme, HTTPS is assumed. Notice that HTTP links are automatically rewritten to HTTPS links.
.google.protobuf.ListValue open_link_url_prefixes = 8;
-
clearOpenLinkUrlPrefixes
public CommonAddOnManifest.Builder clearOpenLinkUrlPrefixes()
An OpenLink action can only use a URL with an HTTPS, MAILTO or TEL scheme. For HTTPS links, the URL must also [match](/gmail/add-ons/concepts/manifests#whitelisting_urls) one of the prefixes specified in this whitelist. If the prefix omits the scheme, HTTPS is assumed. Notice that HTTP links are automatically rewritten to HTTPS links.
.google.protobuf.ListValue open_link_url_prefixes = 8;
-
getOpenLinkUrlPrefixesBuilder
public com.google.protobuf.ListValue.Builder getOpenLinkUrlPrefixesBuilder()
An OpenLink action can only use a URL with an HTTPS, MAILTO or TEL scheme. For HTTPS links, the URL must also [match](/gmail/add-ons/concepts/manifests#whitelisting_urls) one of the prefixes specified in this whitelist. If the prefix omits the scheme, HTTPS is assumed. Notice that HTTP links are automatically rewritten to HTTPS links.
.google.protobuf.ListValue open_link_url_prefixes = 8;
-
getOpenLinkUrlPrefixesOrBuilder
public com.google.protobuf.ListValueOrBuilder getOpenLinkUrlPrefixesOrBuilder()
An OpenLink action can only use a URL with an HTTPS, MAILTO or TEL scheme. For HTTPS links, the URL must also [match](/gmail/add-ons/concepts/manifests#whitelisting_urls) one of the prefixes specified in this whitelist. If the prefix omits the scheme, HTTPS is assumed. Notice that HTTP links are automatically rewritten to HTTPS links.
.google.protobuf.ListValue open_link_url_prefixes = 8;- Specified by:
getOpenLinkUrlPrefixesOrBuilderin interfaceCommonAddOnManifestOrBuilder
-
setUnknownFields
public final CommonAddOnManifest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonAddOnManifest.Builder>
-
mergeUnknownFields
public final CommonAddOnManifest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonAddOnManifest.Builder>
-
-