Class CalendarAddOnManifest (2.45.0)

public final class CalendarAddOnManifest extends GeneratedMessageV3 implements CalendarAddOnManifestOrBuilder

Calendar add-on manifest.

Protobuf type google.apps.script.type.calendar.CalendarAddOnManifest

Static Fields

CONFERENCE_SOLUTION_FIELD_NUMBER

public static final int CONFERENCE_SOLUTION_FIELD_NUMBER
Field Value
Type Description
int

CREATE_SETTINGS_URL_FUNCTION_FIELD_NUMBER

public static final int CREATE_SETTINGS_URL_FUNCTION_FIELD_NUMBER
Field Value
Type Description
int

CURRENT_EVENT_ACCESS_FIELD_NUMBER

public static final int CURRENT_EVENT_ACCESS_FIELD_NUMBER
Field Value
Type Description
int

EVENT_OPEN_TRIGGER_FIELD_NUMBER

public static final int EVENT_OPEN_TRIGGER_FIELD_NUMBER
Field Value
Type Description
int

EVENT_UPDATE_TRIGGER_FIELD_NUMBER

public static final int EVENT_UPDATE_TRIGGER_FIELD_NUMBER
Field Value
Type Description
int

HOMEPAGE_TRIGGER_FIELD_NUMBER

public static final int HOMEPAGE_TRIGGER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CalendarAddOnManifest getDefaultInstance()
Returns
Type Description
CalendarAddOnManifest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CalendarAddOnManifest.Builder newBuilder()
Returns
Type Description
CalendarAddOnManifest.Builder

newBuilder(CalendarAddOnManifest prototype)

public static CalendarAddOnManifest.Builder newBuilder(CalendarAddOnManifest prototype)
Parameter
Name Description
prototype CalendarAddOnManifest
Returns
Type Description
CalendarAddOnManifest.Builder

parseDelimitedFrom(InputStream input)

public static CalendarAddOnManifest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CalendarAddOnManifest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CalendarAddOnManifest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CalendarAddOnManifest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CalendarAddOnManifest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CalendarAddOnManifest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CalendarAddOnManifest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CalendarAddOnManifest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CalendarAddOnManifest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CalendarAddOnManifest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CalendarAddOnManifest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CalendarAddOnManifest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CalendarAddOnManifest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CalendarAddOnManifest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CalendarAddOnManifest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CalendarAddOnManifest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CalendarAddOnManifest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CalendarAddOnManifest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CalendarAddOnManifest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CalendarAddOnManifest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CalendarAddOnManifest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CalendarAddOnManifest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CalendarAddOnManifest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CalendarAddOnManifest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CalendarAddOnManifest> parser()
Returns
Type Description
Parser<CalendarAddOnManifest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getConferenceSolution(int index)

public ConferenceSolution getConferenceSolution(int index)

Defines conference solutions provided by this add-on.

repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3;

Parameter
Name Description
index int
Returns
Type Description
ConferenceSolution

getConferenceSolutionCount()

public int getConferenceSolutionCount()

Defines conference solutions provided by this add-on.

repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3;

Returns
Type Description
int

getConferenceSolutionList()

public List<ConferenceSolution> getConferenceSolutionList()

Defines conference solutions provided by this add-on.

repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3;

Returns
Type Description
List<ConferenceSolution>

getConferenceSolutionOrBuilder(int index)

public ConferenceSolutionOrBuilder getConferenceSolutionOrBuilder(int index)

Defines conference solutions provided by this add-on.

repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3;

Parameter
Name Description
index int
Returns
Type Description
ConferenceSolutionOrBuilder

getConferenceSolutionOrBuilderList()

public List<? extends ConferenceSolutionOrBuilder> getConferenceSolutionOrBuilderList()

Defines conference solutions provided by this add-on.

repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3;

Returns
Type Description
List<? extends com.google.apps.script.type.calendar.ConferenceSolutionOrBuilder>

getCreateSettingsUrlFunction()

public String getCreateSettingsUrlFunction()

An endpoint to execute that creates a URL to the add-on's settings page.

string create_settings_url_function = 5;

Returns
Type Description
String

The createSettingsUrlFunction.

getCreateSettingsUrlFunctionBytes()

public ByteString getCreateSettingsUrlFunctionBytes()

An endpoint to execute that creates a URL to the add-on's settings page.

string create_settings_url_function = 5;

Returns
Type Description
ByteString

The bytes for createSettingsUrlFunction.

getCurrentEventAccess()

public CalendarAddOnManifest.EventAccess getCurrentEventAccess()

Define the level of data access when an event addon is triggered.

.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess current_event_access = 12;

Returns
Type Description
CalendarAddOnManifest.EventAccess

The currentEventAccess.

getCurrentEventAccessValue()

public int getCurrentEventAccessValue()

Define the level of data access when an event addon is triggered.

.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess current_event_access = 12;

Returns
Type Description
int

The enum numeric value on the wire for currentEventAccess.

getDefaultInstanceForType()

public CalendarAddOnManifest getDefaultInstanceForType()
Returns
Type Description
CalendarAddOnManifest

getEventOpenTrigger()

public CalendarExtensionPoint getEventOpenTrigger()

An endpoint to trigger when an event is opened (viewed/edited).

.google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10;

Returns
Type Description
CalendarExtensionPoint

The eventOpenTrigger.

getEventOpenTriggerOrBuilder()

public CalendarExtensionPointOrBuilder getEventOpenTriggerOrBuilder()

An endpoint to trigger when an event is opened (viewed/edited).

.google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10;

Returns
Type Description
CalendarExtensionPointOrBuilder

getEventUpdateTrigger()

public CalendarExtensionPoint getEventUpdateTrigger()

An endpoint to trigger when the open event is updated.

.google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11;

Returns
Type Description
CalendarExtensionPoint

The eventUpdateTrigger.

getEventUpdateTriggerOrBuilder()

public CalendarExtensionPointOrBuilder getEventUpdateTriggerOrBuilder()

An endpoint to trigger when the open event is updated.

.google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11;

Returns
Type Description
CalendarExtensionPointOrBuilder

getHomepageTrigger()

public HomepageExtensionPoint getHomepageTrigger()

Defines an endpoint that will be executed contexts that don't match a declared contextual trigger. Any cards generated by this function will always be available to the user, but may be eclipsed by contextual content when this add-on declares more targeted triggers.

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

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

Returns
Type Description
HomepageExtensionPoint

The homepageTrigger.

getHomepageTriggerOrBuilder()

public HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder()

Defines an endpoint that will be executed contexts that don't match a declared contextual trigger. Any cards generated by this function will always be available to the user, but may be eclipsed by contextual content when this add-on declares more targeted triggers.

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

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

Returns
Type Description
HomepageExtensionPointOrBuilder

getParserForType()

public Parser<CalendarAddOnManifest> getParserForType()
Returns
Type Description
Parser<CalendarAddOnManifest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasEventOpenTrigger()

public boolean hasEventOpenTrigger()

An endpoint to trigger when an event is opened (viewed/edited).

.google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10;

Returns
Type Description
boolean

Whether the eventOpenTrigger field is set.

hasEventUpdateTrigger()

public boolean hasEventUpdateTrigger()

An endpoint to trigger when the open event is updated.

.google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11;

Returns
Type Description
boolean

Whether the eventUpdateTrigger field is set.

hasHomepageTrigger()

public boolean hasHomepageTrigger()

Defines an endpoint that will be executed contexts that don't match a declared contextual trigger. Any cards generated by this function will always be available to the user, but may be eclipsed by contextual content when this add-on declares more targeted triggers.

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

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

Returns
Type Description
boolean

Whether the homepageTrigger field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CalendarAddOnManifest.Builder newBuilderForType()
Returns
Type Description
CalendarAddOnManifest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CalendarAddOnManifest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CalendarAddOnManifest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CalendarAddOnManifest.Builder toBuilder()
Returns
Type Description
CalendarAddOnManifest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException