Class SheetsAddOnManifest (2.27.0)

public final class SheetsAddOnManifest extends GeneratedMessageV3 implements SheetsAddOnManifestOrBuilder

Sheets add-on manifest.

Protobuf type google.apps.script.type.sheets.SheetsAddOnManifest

Static Fields

HOMEPAGE_TRIGGER_FIELD_NUMBER

public static final int HOMEPAGE_TRIGGER_FIELD_NUMBER
Field Value
TypeDescription
int

ON_FILE_SCOPE_GRANTED_TRIGGER_FIELD_NUMBER

public static final int ON_FILE_SCOPE_GRANTED_TRIGGER_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SheetsAddOnManifest getDefaultInstance()
Returns
TypeDescription
SheetsAddOnManifest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SheetsAddOnManifest.Builder newBuilder()
Returns
TypeDescription
SheetsAddOnManifest.Builder

newBuilder(SheetsAddOnManifest prototype)

public static SheetsAddOnManifest.Builder newBuilder(SheetsAddOnManifest prototype)
Parameter
NameDescription
prototypeSheetsAddOnManifest
Returns
TypeDescription
SheetsAddOnManifest.Builder

parseDelimitedFrom(InputStream input)

public static SheetsAddOnManifest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SheetsAddOnManifest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SheetsAddOnManifest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SheetsAddOnManifest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SheetsAddOnManifest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SheetsAddOnManifest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SheetsAddOnManifest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SheetsAddOnManifest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SheetsAddOnManifest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SheetsAddOnManifest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SheetsAddOnManifest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SheetsAddOnManifest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SheetsAddOnManifest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SheetsAddOnManifest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SheetsAddOnManifest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SheetsAddOnManifest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SheetsAddOnManifest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SheetsAddOnManifest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SheetsAddOnManifest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SheetsAddOnManifest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SheetsAddOnManifest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SheetsAddOnManifest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SheetsAddOnManifest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SheetsAddOnManifest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SheetsAddOnManifest> parser()
Returns
TypeDescription
Parser<SheetsAddOnManifest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public SheetsAddOnManifest getDefaultInstanceForType()
Returns
TypeDescription
SheetsAddOnManifest

getHomepageTrigger()

public HomepageExtensionPoint getHomepageTrigger()

If present, this overrides the configuration from addOns.common.homepageTrigger.

.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 3;

Returns
TypeDescription
HomepageExtensionPoint

The homepageTrigger.

getHomepageTriggerOrBuilder()

public HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder()

If present, this overrides the configuration from addOns.common.homepageTrigger.

.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 3;

Returns
TypeDescription
HomepageExtensionPointOrBuilder

getOnFileScopeGrantedTrigger()

public SheetsExtensionPoint getOnFileScopeGrantedTrigger()

Endpoint to execute when file scope authorization is granted for this document/user pair.

.google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5;

Returns
TypeDescription
SheetsExtensionPoint

The onFileScopeGrantedTrigger.

getOnFileScopeGrantedTriggerOrBuilder()

public SheetsExtensionPointOrBuilder getOnFileScopeGrantedTriggerOrBuilder()

Endpoint to execute when file scope authorization is granted for this document/user pair.

.google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5;

Returns
TypeDescription
SheetsExtensionPointOrBuilder

getParserForType()

public Parser<SheetsAddOnManifest> getParserForType()
Returns
TypeDescription
Parser<SheetsAddOnManifest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasHomepageTrigger()

public boolean hasHomepageTrigger()

If present, this overrides the configuration from addOns.common.homepageTrigger.

.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 3;

Returns
TypeDescription
boolean

Whether the homepageTrigger field is set.

hasOnFileScopeGrantedTrigger()

public boolean hasOnFileScopeGrantedTrigger()

Endpoint to execute when file scope authorization is granted for this document/user pair.

.google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5;

Returns
TypeDescription
boolean

Whether the onFileScopeGrantedTrigger field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SheetsAddOnManifest.Builder newBuilderForType()
Returns
TypeDescription
SheetsAddOnManifest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SheetsAddOnManifest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SheetsAddOnManifest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SheetsAddOnManifest.Builder toBuilder()
Returns
TypeDescription
SheetsAddOnManifest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException