Send feedback
Class MenuItemExtensionPoint (2.13.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.13.0 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 Type Description int
public static final int LOGO_URL_FIELD_NUMBER
Field Value Type Description int
public static final int RUN_FUNCTION_FIELD_NUMBER
Field Value Type Description int
Static Methods
public static MenuItemExtensionPoint getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static MenuItemExtensionPoint . Builder newBuilder ()
public static MenuItemExtensionPoint . Builder newBuilder ( MenuItemExtensionPoint prototype )
public static MenuItemExtensionPoint parseDelimitedFrom ( InputStream input )
public static MenuItemExtensionPoint parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static MenuItemExtensionPoint parseFrom ( byte [] data )
Parameter Name Description data
byte []
public static MenuItemExtensionPoint parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static MenuItemExtensionPoint parseFrom ( ByteString data )
public static MenuItemExtensionPoint parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static MenuItemExtensionPoint parseFrom ( CodedInputStream input )
public static MenuItemExtensionPoint parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static MenuItemExtensionPoint parseFrom ( InputStream input )
public static MenuItemExtensionPoint parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static MenuItemExtensionPoint parseFrom ( ByteBuffer data )
public static MenuItemExtensionPoint parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<MenuItemExtensionPoint> parser ()
Methods
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
public MenuItemExtensionPoint getDefaultInstanceForType ()
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 Type Description ByteString
The bytes for label.
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 Type Description ByteString
The bytes for logoUrl.
public Parser<MenuItemExtensionPoint> getParserForType ()
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 Type Description int
Overrides
public final UnknownFieldSet getUnknownFields ()
Overrides
Returns Type Description int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public MenuItemExtensionPoint . Builder newBuilderForType ()
protected MenuItemExtensionPoint . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
public MenuItemExtensionPoint . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
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."],[],[]]