- 2.53.0 (latest)
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.6
- 2.2.1
- 2.1.12
public static final class MenuItemExtensionPoint.Builder extends GeneratedMessageV3.Builder<MenuItemExtensionPoint.Builder> implements MenuItemExtensionPointOrBuilder
Common format for declaring a menu item, or button, that appears within a host app.
Protobuf type google.apps.script.type.MenuItemExtensionPoint
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MenuItemExtensionPoint.BuilderImplements
MenuItemExtensionPointOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MenuItemExtensionPoint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
MenuItemExtensionPoint.Builder |
build()
public MenuItemExtensionPoint build()
Type | Description |
MenuItemExtensionPoint |
buildPartial()
public MenuItemExtensionPoint buildPartial()
Type | Description |
MenuItemExtensionPoint |
clear()
public MenuItemExtensionPoint.Builder clear()
Type | Description |
MenuItemExtensionPoint.Builder |
clearField(Descriptors.FieldDescriptor field)
public MenuItemExtensionPoint.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
MenuItemExtensionPoint.Builder |
clearLabel()
public MenuItemExtensionPoint.Builder clearLabel()
Required. User-visible text describing the action taken by activating this extension point. For example, "Insert invoice".
string label = 2;
Type | Description |
MenuItemExtensionPoint.Builder | This builder for chaining. |
clearLogoUrl()
public MenuItemExtensionPoint.Builder clearLogoUrl()
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;
Type | Description |
MenuItemExtensionPoint.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public MenuItemExtensionPoint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
MenuItemExtensionPoint.Builder |
clearRunFunction()
public MenuItemExtensionPoint.Builder clearRunFunction()
Required. The endpoint to execute when this extension point is activated.
string run_function = 1;
Type | Description |
MenuItemExtensionPoint.Builder | This builder for chaining. |
clone()
public MenuItemExtensionPoint.Builder clone()
Type | Description |
MenuItemExtensionPoint.Builder |
getDefaultInstanceForType()
public MenuItemExtensionPoint getDefaultInstanceForType()
Type | Description |
MenuItemExtensionPoint |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getLabel()
public String getLabel()
Required. User-visible text describing the action taken by activating this extension point. For example, "Insert invoice".
string label = 2;
Type | Description |
String | The label. |
getLabelBytes()
public ByteString getLabelBytes()
Required. User-visible text describing the action taken by activating this extension point. For example, "Insert invoice".
string label = 2;
Type | Description |
ByteString | The bytes for label. |
getLogoUrl()
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;
Type | Description |
String | The logoUrl. |
getLogoUrlBytes()
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;
Type | Description |
ByteString | The bytes for logoUrl. |
getRunFunction()
public String getRunFunction()
Required. The endpoint to execute when this extension point is activated.
string run_function = 1;
Type | Description |
String | The runFunction. |
getRunFunctionBytes()
public ByteString getRunFunctionBytes()
Required. The endpoint to execute when this extension point is activated.
string run_function = 1;
Type | Description |
ByteString | The bytes for runFunction. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(MenuItemExtensionPoint other)
public MenuItemExtensionPoint.Builder mergeFrom(MenuItemExtensionPoint other)
Name | Description |
other | MenuItemExtensionPoint |
Type | Description |
MenuItemExtensionPoint.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MenuItemExtensionPoint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MenuItemExtensionPoint.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public MenuItemExtensionPoint.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
MenuItemExtensionPoint.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MenuItemExtensionPoint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
MenuItemExtensionPoint.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public MenuItemExtensionPoint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
MenuItemExtensionPoint.Builder |
setLabel(String value)
public MenuItemExtensionPoint.Builder setLabel(String value)
Required. User-visible text describing the action taken by activating this extension point. For example, "Insert invoice".
string label = 2;
Name | Description |
value | String The label to set. |
Type | Description |
MenuItemExtensionPoint.Builder | This builder for chaining. |
setLabelBytes(ByteString value)
public MenuItemExtensionPoint.Builder setLabelBytes(ByteString value)
Required. User-visible text describing the action taken by activating this extension point. For example, "Insert invoice".
string label = 2;
Name | Description |
value | ByteString The bytes for label to set. |
Type | Description |
MenuItemExtensionPoint.Builder | This builder for chaining. |
setLogoUrl(String value)
public MenuItemExtensionPoint.Builder setLogoUrl(String value)
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;
Name | Description |
value | String The logoUrl to set. |
Type | Description |
MenuItemExtensionPoint.Builder | This builder for chaining. |
setLogoUrlBytes(ByteString value)
public MenuItemExtensionPoint.Builder setLogoUrlBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for logoUrl to set. |
Type | Description |
MenuItemExtensionPoint.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MenuItemExtensionPoint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
MenuItemExtensionPoint.Builder |
setRunFunction(String value)
public MenuItemExtensionPoint.Builder setRunFunction(String value)
Required. The endpoint to execute when this extension point is activated.
string run_function = 1;
Name | Description |
value | String The runFunction to set. |
Type | Description |
MenuItemExtensionPoint.Builder | This builder for chaining. |
setRunFunctionBytes(ByteString value)
public MenuItemExtensionPoint.Builder setRunFunctionBytes(ByteString value)
Required. The endpoint to execute when this extension point is activated.
string run_function = 1;
Name | Description |
value | ByteString The bytes for runFunction to set. |
Type | Description |
MenuItemExtensionPoint.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final MenuItemExtensionPoint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
MenuItemExtensionPoint.Builder |