Class CalendarAddOnManifest (2.33.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
TypeDescription
int

CREATE_SETTINGS_URL_FUNCTION_FIELD_NUMBER

public static final int CREATE_SETTINGS_URL_FUNCTION_FIELD_NUMBER
Field Value
TypeDescription
int

CURRENT_EVENT_ACCESS_FIELD_NUMBER

public static final int CURRENT_EVENT_ACCESS_FIELD_NUMBER
Field Value
TypeDescription
int

EVENT_OPEN_TRIGGER_FIELD_NUMBER

public static final int EVENT_OPEN_TRIGGER_FIELD_NUMBER
Field Value
TypeDescription
int

EVENT_UPDATE_TRIGGER_FIELD_NUMBER

public static final int EVENT_UPDATE_TRIGGER_FIELD_NUMBER
Field Value
TypeDescription
int

HOMEPAGE_TRIGGER_FIELD_NUMBER

public static final int HOMEPAGE_TRIGGER_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CalendarAddOnManifest getDefaultInstance()
Returns
TypeDescription
CalendarAddOnManifest

getDescriptor()

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

newBuilder()

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

newBuilder(CalendarAddOnManifest prototype)

public static CalendarAddOnManifest.Builder newBuilder(CalendarAddOnManifest prototype)
Parameter
NameDescription
prototypeCalendarAddOnManifest
Returns
TypeDescription
CalendarAddOnManifest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ConferenceSolution

getConferenceSolutionCount()

public int getConferenceSolutionCount()

Defines conference solutions provided by this add-on.

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

Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for currentEventAccess.

getDefaultInstanceForType()

public CalendarAddOnManifest getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
HomepageExtensionPointOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the homepageTrigger 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 CalendarAddOnManifest.Builder newBuilderForType()
Returns
TypeDescription
CalendarAddOnManifest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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