public final class DriveAddOnManifest extends GeneratedMessageV3 implements DriveAddOnManifestOrBuilder
Drive add-on manifest.
Protobuf type google.apps.script.type.drive.DriveAddOnManifest
Static Fields
HOMEPAGE_TRIGGER_FIELD_NUMBER
public static final int HOMEPAGE_TRIGGER_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ON_ITEMS_SELECTED_TRIGGER_FIELD_NUMBER
public static final int ON_ITEMS_SELECTED_TRIGGER_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static DriveAddOnManifest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DriveAddOnManifest.Builder newBuilder()
newBuilder(DriveAddOnManifest prototype)
public static DriveAddOnManifest.Builder newBuilder(DriveAddOnManifest prototype)
public static DriveAddOnManifest parseDelimitedFrom(InputStream input)
public static DriveAddOnManifest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DriveAddOnManifest parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DriveAddOnManifest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DriveAddOnManifest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DriveAddOnManifest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DriveAddOnManifest parseFrom(CodedInputStream input)
public static DriveAddOnManifest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DriveAddOnManifest parseFrom(InputStream input)
public static DriveAddOnManifest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DriveAddOnManifest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DriveAddOnManifest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DriveAddOnManifest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public DriveAddOnManifest getDefaultInstanceForType()
getHomepageTrigger()
public HomepageExtensionPoint getHomepageTrigger()
If present, this overrides the configuration from
addOns.common.homepageTrigger
.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
getHomepageTriggerOrBuilder()
public HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder()
If present, this overrides the configuration from
addOns.common.homepageTrigger
.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
getOnItemsSelectedTrigger()
public DriveExtensionPoint getOnItemsSelectedTrigger()
Corresponds to behvior that should execute when items are selected
in relevant Drive view (e.g. the My Drive Doclist).
.google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2;
getOnItemsSelectedTriggerOrBuilder()
public DriveExtensionPointOrBuilder getOnItemsSelectedTriggerOrBuilder()
Corresponds to behvior that should execute when items are selected
in relevant Drive view (e.g. the My Drive Doclist).
.google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2;
getParserForType()
public Parser<DriveAddOnManifest> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hasHomepageTrigger()
public boolean hasHomepageTrigger()
If present, this overrides the configuration from
addOns.common.homepageTrigger
.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
Returns |
---|
Type | Description |
boolean | Whether the homepageTrigger field is set.
|
hasOnItemsSelectedTrigger()
public boolean hasOnItemsSelectedTrigger()
Corresponds to behvior that should execute when items are selected
in relevant Drive view (e.g. the My Drive Doclist).
.google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2;
Returns |
---|
Type | Description |
boolean | Whether the onItemsSelectedTrigger field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DriveAddOnManifest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DriveAddOnManifest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public DriveAddOnManifest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides