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.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.CommonAddOnManifest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
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.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.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.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.UniversalActionExtensionPoint.Builder
addUniversalActionsBuilder()
Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on.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.CommonAddOnManifest
build()
CommonAddOnManifest
buildPartial()
CommonAddOnManifest.Builder
clear()
CommonAddOnManifest.Builder
clearAddOnWidgetSet()
The widgets used in the add-on.CommonAddOnManifest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
CommonAddOnManifest.Builder
clearHomepageTrigger()
Defines an endpoint that will be executed in any context, in any host.CommonAddOnManifest.Builder
clearLayoutProperties()
Common layout properties for the add-on cards.CommonAddOnManifest.Builder
clearLogoUrl()
Required.CommonAddOnManifest.Builder
clearName()
Required.CommonAddOnManifest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
CommonAddOnManifest.Builder
clearOpenLinkUrlPrefixes()
An OpenLink action can only use a URL with an HTTPS, MAILTO or TEL scheme.CommonAddOnManifest.Builder
clearUniversalActions()
Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on.CommonAddOnManifest.Builder
clearUseLocaleFromApp()
Whether to pass locale information from host app.CommonAddOnManifest.Builder
clone()
AddOnWidgetSet
getAddOnWidgetSet()
The widgets used in the add-on.AddOnWidgetSet.Builder
getAddOnWidgetSetBuilder()
The widgets used in the add-on.AddOnWidgetSetOrBuilder
getAddOnWidgetSetOrBuilder()
The widgets used in the add-on.CommonAddOnManifest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
HomepageExtensionPoint
getHomepageTrigger()
Defines an endpoint that will be executed in any context, in any host.HomepageExtensionPoint.Builder
getHomepageTriggerBuilder()
Defines an endpoint that will be executed in any context, in any host.HomepageExtensionPointOrBuilder
getHomepageTriggerOrBuilder()
Defines an endpoint that will be executed in any context, in any host.LayoutProperties
getLayoutProperties()
Common layout properties for the add-on cards.LayoutProperties.Builder
getLayoutPropertiesBuilder()
Common layout properties for the add-on cards.LayoutPropertiesOrBuilder
getLayoutPropertiesOrBuilder()
Common layout properties for the add-on cards.String
getLogoUrl()
Required.com.google.protobuf.ByteString
getLogoUrlBytes()
Required.String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.com.google.protobuf.ListValue
getOpenLinkUrlPrefixes()
An OpenLink action can only use a URL with an HTTPS, MAILTO or TEL scheme.com.google.protobuf.ListValue.Builder
getOpenLinkUrlPrefixesBuilder()
An OpenLink action can only use a URL with an HTTPS, MAILTO or TEL scheme.com.google.protobuf.ListValueOrBuilder
getOpenLinkUrlPrefixesOrBuilder()
An OpenLink action can only use a URL with an HTTPS, MAILTO or TEL scheme.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.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.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.int
getUniversalActionsCount()
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.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.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.boolean
getUseLocaleFromApp()
Whether to pass locale information from host app.boolean
hasAddOnWidgetSet()
The widgets used in the add-on.boolean
hasHomepageTrigger()
Defines an endpoint that will be executed in any context, in any host.boolean
hasLayoutProperties()
Common layout properties for the add-on cards.boolean
hasOpenLinkUrlPrefixes()
An OpenLink action can only use a URL with an HTTPS, MAILTO or TEL scheme.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
CommonAddOnManifest.Builder
mergeAddOnWidgetSet(AddOnWidgetSet value)
The widgets used in the add-on.CommonAddOnManifest.Builder
mergeFrom(CommonAddOnManifest other)
CommonAddOnManifest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
CommonAddOnManifest.Builder
mergeFrom(com.google.protobuf.Message other)
CommonAddOnManifest.Builder
mergeHomepageTrigger(HomepageExtensionPoint value)
Defines an endpoint that will be executed in any context, in any host.CommonAddOnManifest.Builder
mergeLayoutProperties(LayoutProperties value)
Common layout properties for the add-on cards.CommonAddOnManifest.Builder
mergeOpenLinkUrlPrefixes(com.google.protobuf.ListValue value)
An OpenLink action can only use a URL with an HTTPS, MAILTO or TEL scheme.CommonAddOnManifest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
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.CommonAddOnManifest.Builder
setAddOnWidgetSet(AddOnWidgetSet value)
The widgets used in the add-on.CommonAddOnManifest.Builder
setAddOnWidgetSet(AddOnWidgetSet.Builder builderForValue)
The widgets used in the add-on.CommonAddOnManifest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
CommonAddOnManifest.Builder
setHomepageTrigger(HomepageExtensionPoint value)
Defines an endpoint that will be executed in any context, in any host.CommonAddOnManifest.Builder
setHomepageTrigger(HomepageExtensionPoint.Builder builderForValue)
Defines an endpoint that will be executed in any context, in any host.CommonAddOnManifest.Builder
setLayoutProperties(LayoutProperties value)
Common layout properties for the add-on cards.CommonAddOnManifest.Builder
setLayoutProperties(LayoutProperties.Builder builderForValue)
Common layout properties for the add-on cards.CommonAddOnManifest.Builder
setLogoUrl(String value)
Required.CommonAddOnManifest.Builder
setLogoUrlBytes(com.google.protobuf.ByteString value)
Required.CommonAddOnManifest.Builder
setName(String value)
Required.CommonAddOnManifest.Builder
setNameBytes(com.google.protobuf.ByteString value)
Required.CommonAddOnManifest.Builder
setOpenLinkUrlPrefixes(com.google.protobuf.ListValue value)
An OpenLink action can only use a URL with an HTTPS, MAILTO or TEL scheme.CommonAddOnManifest.Builder
setOpenLinkUrlPrefixes(com.google.protobuf.ListValue.Builder builderForValue)
An OpenLink action can only use a URL with an HTTPS, MAILTO or TEL scheme.CommonAddOnManifest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
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.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.CommonAddOnManifest.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
CommonAddOnManifest.Builder
setUseLocaleFromApp(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommonAddOnManifest.Builder>
-
clear
public CommonAddOnManifest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommonAddOnManifest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommonAddOnManifest.Builder>
-
getDefaultInstanceForType
public CommonAddOnManifest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public CommonAddOnManifest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CommonAddOnManifest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CommonAddOnManifest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommonAddOnManifest.Builder>
-
setField
public CommonAddOnManifest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommonAddOnManifest.Builder>
-
clearField
public CommonAddOnManifest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommonAddOnManifest.Builder>
-
clearOneof
public CommonAddOnManifest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommonAddOnManifest.Builder>
-
setRepeatedField
public CommonAddOnManifest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommonAddOnManifest.Builder>
-
addRepeatedField
public CommonAddOnManifest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommonAddOnManifest.Builder>
-
mergeFrom
public CommonAddOnManifest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CommonAddOnManifest.Builder>
-
mergeFrom
public CommonAddOnManifest.Builder mergeFrom(CommonAddOnManifest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getName
in interfaceCommonAddOnManifestOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Required. The display name of the add-on.
string name = 1;
- Specified by:
getNameBytes
in 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:
getLogoUrl
in 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:
getLogoUrlBytes
in 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:
hasLayoutProperties
in 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:
getLayoutProperties
in 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:
getLayoutPropertiesOrBuilder
in 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:
hasAddOnWidgetSet
in 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:
getAddOnWidgetSet
in 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:
getAddOnWidgetSetOrBuilder
in interfaceCommonAddOnManifestOrBuilder
-
getUseLocaleFromApp
public boolean getUseLocaleFromApp()
Whether to pass locale information from host app.
bool use_locale_from_app = 5;
- Specified by:
getUseLocaleFromApp
in 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:
hasHomepageTrigger
in 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:
getHomepageTrigger
in 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:
getHomepageTriggerOrBuilder
in 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:
getUniversalActionsList
in 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:
getUniversalActionsCount
in 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:
getUniversalActions
in 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:
getUniversalActionsOrBuilder
in 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:
getUniversalActionsOrBuilderList
in 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:
hasOpenLinkUrlPrefixes
in 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:
getOpenLinkUrlPrefixes
in 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:
getOpenLinkUrlPrefixesOrBuilder
in interfaceCommonAddOnManifestOrBuilder
-
setUnknownFields
public final CommonAddOnManifest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommonAddOnManifest.Builder>
-
mergeUnknownFields
public final CommonAddOnManifest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CommonAddOnManifest.Builder>
-
-