Package com.google.apps.script.type
Interface MenuItemExtensionPointOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MenuItemExtensionPoint
,MenuItemExtensionPoint.Builder
public interface MenuItemExtensionPointOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getLabel()
Required.com.google.protobuf.ByteString
getLabelBytes()
Required.String
getLogoUrl()
The URL for the logo image shown in the add-on toolbar.com.google.protobuf.ByteString
getLogoUrlBytes()
The URL for the logo image shown in the add-on toolbar.String
getRunFunction()
Required.com.google.protobuf.ByteString
getRunFunctionBytes()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getRunFunction
String getRunFunction()
Required. The endpoint to execute when this extension point is activated.
string run_function = 1;
- Returns:
- The runFunction.
-
getRunFunctionBytes
com.google.protobuf.ByteString getRunFunctionBytes()
Required. The endpoint to execute when this extension point is activated.
string run_function = 1;
- Returns:
- The bytes for runFunction.
-
getLabel
String getLabel()
Required. User-visible text describing the action taken by activating this extension point. For example, "Insert invoice".
string label = 2;
- Returns:
- The label.
-
getLabelBytes
com.google.protobuf.ByteString getLabelBytes()
Required. User-visible text describing the action taken by activating this extension point. For example, "Insert invoice".
string label = 2;
- Returns:
- The bytes for label.
-
getLogoUrl
String getLogoUrl()
The URL for the logo image shown in the add-on toolbar. If not set, defaults to the add-on's primary logo URL.
string logo_url = 3;
- Returns:
- The logoUrl.
-
getLogoUrlBytes
com.google.protobuf.ByteString getLogoUrlBytes()
The URL for the logo image shown in the add-on toolbar. If not set, defaults to the add-on's primary logo URL.
string logo_url = 3;
- Returns:
- The bytes for logoUrl.
-
-