Send feedback
Class MenuItemExtensionPoint
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.1.11 keyboard_arrow_down
public final class MenuItemExtensionPoint extends GeneratedMessageV3 implements MenuItemExtensionPointOrBuilder
Common format for declaring a menu item, or button, that appears within a
host app.
Protobuf type google.apps.script.type.MenuItemExtensionPoint
Static Fields
public static final int LABEL_FIELD_NUMBER
Field Value
public static final int LOGO_URL_FIELD_NUMBER
Field Value
public static final int RUN_FUNCTION_FIELD_NUMBER
Field Value
Static Methods
public static MenuItemExtensionPoint getDefaultInstance ()
Returns
public static final Descriptors . Descriptor getDescriptor ()
Returns
public static MenuItemExtensionPoint . Builder newBuilder ()
Returns
public static MenuItemExtensionPoint . Builder newBuilder ( MenuItemExtensionPoint prototype )
Parameter
Returns
public static MenuItemExtensionPoint parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static MenuItemExtensionPoint parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static MenuItemExtensionPoint parseFrom ( byte [] data )
Parameter
Name Description data byte []
Returns
Exceptions
public static MenuItemExtensionPoint parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static MenuItemExtensionPoint parseFrom ( ByteString data )
Parameter
Returns
Exceptions
public static MenuItemExtensionPoint parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static MenuItemExtensionPoint parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static MenuItemExtensionPoint parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static MenuItemExtensionPoint parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static MenuItemExtensionPoint parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static MenuItemExtensionPoint parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
public static MenuItemExtensionPoint parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Parser<MenuItemExtensionPoint> parser ()
Returns
Methods
public boolean equals ( Object obj )
Parameter
Returns
Overrides
public MenuItemExtensionPoint getDefaultInstanceForType ()
Returns
Required. User-visible text describing the action taken by activating this
extension point. For example, "Insert invoice".
string label = 2;
Returns
Type Description String The label.
public ByteString getLabelBytes ()
Required. User-visible text describing the action taken by activating this
extension point. For example, "Insert invoice".
string label = 2;
Returns
public 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
Type Description String The logoUrl.
public 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
public Parser<MenuItemExtensionPoint> getParserForType ()
Returns
Overrides
public String getRunFunction ()
Required. The endpoint to execute when this extension point is
activated.
string run_function = 1;
Returns
Type Description String The runFunction.
public ByteString getRunFunctionBytes ()
Required. The endpoint to execute when this extension point is
activated.
string run_function = 1;
Returns
Type Description ByteString The bytes for runFunction.
public int getSerializedSize ()
Returns
Overrides
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public MenuItemExtensionPoint . Builder newBuilderForType ()
Returns
protected MenuItemExtensionPoint . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
public MenuItemExtensionPoint . Builder toBuilder ()
Returns
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]