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
ON_FILE_SCOPE_GRANTED_TRIGGER_FIELD_NUMBER
public static final int ON_FILE_SCOPE_GRANTED_TRIGGER_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static SheetsAddOnManifest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static SheetsAddOnManifest.Builder newBuilder()
Returns
newBuilder(SheetsAddOnManifest prototype)
public static SheetsAddOnManifest.Builder newBuilder(SheetsAddOnManifest prototype)
Parameter
Returns
public static SheetsAddOnManifest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SheetsAddOnManifest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SheetsAddOnManifest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SheetsAddOnManifest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SheetsAddOnManifest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SheetsAddOnManifest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SheetsAddOnManifest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SheetsAddOnManifest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SheetsAddOnManifest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SheetsAddOnManifest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SheetsAddOnManifest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SheetsAddOnManifest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<SheetsAddOnManifest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public SheetsAddOnManifest getDefaultInstanceForType()
Returns
getHomepageTrigger()
public HomepageExtensionPoint getHomepageTrigger()
If present, this overrides the configuration from
addOns.common.homepageTrigger
.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 3;
Returns
getHomepageTriggerOrBuilder()
public HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder()
If present, this overrides the configuration from
addOns.common.homepageTrigger
.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 3;
Returns
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
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
getParserForType()
public Parser<SheetsAddOnManifest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasHomepageTrigger()
public boolean hasHomepageTrigger()
If present, this overrides the configuration from
addOns.common.homepageTrigger
.
.google.apps.script.type.HomepageExtensionPoint homepage_trigger = 3;
Returns
Type | Description |
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
Type | Description |
boolean | Whether the onFileScopeGrantedTrigger field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public SheetsAddOnManifest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SheetsAddOnManifest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public SheetsAddOnManifest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions