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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
LABEL_FIELD_NUMBER
public static final int LABEL_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
OPEN_LINK_FIELD_NUMBER
public static final int OPEN_LINK_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
RUN_FUNCTION_FIELD_NUMBER
public static final int RUN_FUNCTION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static UniversalActionExtensionPoint getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static UniversalActionExtensionPoint.Builder newBuilder()
newBuilder(UniversalActionExtensionPoint prototype)
public static UniversalActionExtensionPoint.Builder newBuilder(UniversalActionExtensionPoint prototype)
public static UniversalActionExtensionPoint parseDelimitedFrom(InputStream input)
public static UniversalActionExtensionPoint parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static UniversalActionExtensionPoint parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UniversalActionExtensionPoint parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static UniversalActionExtensionPoint parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UniversalActionExtensionPoint parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UniversalActionExtensionPoint parseFrom(CodedInputStream input)
public static UniversalActionExtensionPoint parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UniversalActionExtensionPoint parseFrom(InputStream input)
public static UniversalActionExtensionPoint parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static UniversalActionExtensionPoint parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UniversalActionExtensionPoint parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<UniversalActionExtensionPoint> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getActionTypeCase()
public UniversalActionExtensionPoint.ActionTypeCase getActionTypeCase()
getDefaultInstanceForType()
public UniversalActionExtensionPoint getDefaultInstanceForType()
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 |
---|
Type | Description |
ByteString | The bytes for label.
|
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 |
---|
Type | Description |
ByteString | The bytes for openLink.
|
getParserForType()
public Parser<UniversalActionExtensionPoint> getParserForType()
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 |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public UniversalActionExtensionPoint.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UniversalActionExtensionPoint.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public UniversalActionExtensionPoint.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides