public final class UniversalActionExtensionPoint extends GeneratedMessageV3 implements UniversalActionExtensionPointOrBuilder
Format for declaring a universal action menu item extension point.
Protobuf type google.apps.script.type.UniversalActionExtensionPoint
Static Fields
LABEL_FIELD_NUMBER
public static final int LABEL_FIELD_NUMBER
Field Value
OPEN_LINK_FIELD_NUMBER
public static final int OPEN_LINK_FIELD_NUMBER
Field Value
RUN_FUNCTION_FIELD_NUMBER
public static final int RUN_FUNCTION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static UniversalActionExtensionPoint getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static UniversalActionExtensionPoint.Builder newBuilder()
Returns
newBuilder(UniversalActionExtensionPoint prototype)
public static UniversalActionExtensionPoint.Builder newBuilder(UniversalActionExtensionPoint prototype)
Parameter
Returns
public static UniversalActionExtensionPoint parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static UniversalActionExtensionPoint parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static UniversalActionExtensionPoint parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UniversalActionExtensionPoint parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static UniversalActionExtensionPoint parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UniversalActionExtensionPoint parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UniversalActionExtensionPoint parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static UniversalActionExtensionPoint parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UniversalActionExtensionPoint parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static UniversalActionExtensionPoint parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static UniversalActionExtensionPoint parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UniversalActionExtensionPoint parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<UniversalActionExtensionPoint> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getActionTypeCase()
public UniversalActionExtensionPoint.ActionTypeCase getActionTypeCase()
Returns
getDefaultInstanceForType()
public UniversalActionExtensionPoint getDefaultInstanceForType()
Returns
getLabel()
Required. User-visible text describing the action taken by activating this
extension point, for example, "Add a new contact".
string label = 1;
Returns
Type | Description |
String | The label.
|
getLabelBytes()
public ByteString getLabelBytes()
Required. User-visible text describing the action taken by activating this
extension point, for example, "Add a new contact".
string label = 1;
Returns
getOpenLink()
public String getOpenLink()
URL to be opened by the UniversalAction.
string open_link = 2;
Returns
Type | Description |
String | The openLink.
|
getOpenLinkBytes()
public ByteString getOpenLinkBytes()
URL to be opened by the UniversalAction.
string open_link = 2;
Returns
getParserForType()
public Parser<UniversalActionExtensionPoint> getParserForType()
Returns
Overrides
getRunFunction()
public String getRunFunction()
Endpoint to be run by the UniversalAction.
string run_function = 3;
Returns
Type | Description |
String | The runFunction.
|
getRunFunctionBytes()
public ByteString getRunFunctionBytes()
Endpoint to be run by the UniversalAction.
string run_function = 3;
Returns
Type | Description |
ByteString | The bytes for runFunction.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasOpenLink()
public boolean hasOpenLink()
URL to be opened by the UniversalAction.
string open_link = 2;
Returns
Type | Description |
boolean | Whether the openLink field is set.
|
hasRunFunction()
public boolean hasRunFunction()
Endpoint to be run by the UniversalAction.
string run_function = 3;
Returns
Type | Description |
boolean | Whether the runFunction field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public UniversalActionExtensionPoint.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UniversalActionExtensionPoint.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public UniversalActionExtensionPoint.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions