Class CalendarAddOnManifest.Builder (2.54.0)

public static final class CalendarAddOnManifest.Builder extends GeneratedMessageV3.Builder<CalendarAddOnManifest.Builder> implements CalendarAddOnManifestOrBuilder

Calendar add-on manifest.

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

Static Methods

getDescriptor()

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

Methods

addAllConferenceSolution(Iterable<? extends ConferenceSolution> values)

public CalendarAddOnManifest.Builder addAllConferenceSolution(Iterable<? extends ConferenceSolution> values)

Defines conference solutions provided by this add-on.

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

Parameter
Name Description
values Iterable<? extends com.google.apps.script.type.calendar.ConferenceSolution>
Returns
Type Description
CalendarAddOnManifest.Builder

addConferenceSolution(ConferenceSolution value)

public CalendarAddOnManifest.Builder addConferenceSolution(ConferenceSolution value)

Defines conference solutions provided by this add-on.

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

Parameter
Name Description
value ConferenceSolution
Returns
Type Description
CalendarAddOnManifest.Builder

addConferenceSolution(ConferenceSolution.Builder builderForValue)

public CalendarAddOnManifest.Builder addConferenceSolution(ConferenceSolution.Builder builderForValue)

Defines conference solutions provided by this add-on.

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

Parameter
Name Description
builderForValue ConferenceSolution.Builder
Returns
Type Description
CalendarAddOnManifest.Builder

addConferenceSolution(int index, ConferenceSolution value)

public CalendarAddOnManifest.Builder addConferenceSolution(int index, ConferenceSolution value)

Defines conference solutions provided by this add-on.

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

Parameters
Name Description
index int
value ConferenceSolution
Returns
Type Description
CalendarAddOnManifest.Builder

addConferenceSolution(int index, ConferenceSolution.Builder builderForValue)

public CalendarAddOnManifest.Builder addConferenceSolution(int index, ConferenceSolution.Builder builderForValue)

Defines conference solutions provided by this add-on.

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

Parameters
Name Description
index int
builderForValue ConferenceSolution.Builder
Returns
Type Description
CalendarAddOnManifest.Builder

addConferenceSolutionBuilder()

public ConferenceSolution.Builder addConferenceSolutionBuilder()

Defines conference solutions provided by this add-on.

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

Returns
Type Description
ConferenceSolution.Builder

addConferenceSolutionBuilder(int index)

public ConferenceSolution.Builder addConferenceSolutionBuilder(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.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CalendarAddOnManifest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CalendarAddOnManifest.Builder
Overrides

build()

public CalendarAddOnManifest build()
Returns
Type Description
CalendarAddOnManifest

buildPartial()

public CalendarAddOnManifest buildPartial()
Returns
Type Description
CalendarAddOnManifest

clear()

public CalendarAddOnManifest.Builder clear()
Returns
Type Description
CalendarAddOnManifest.Builder
Overrides

clearConferenceSolution()

public CalendarAddOnManifest.Builder clearConferenceSolution()

Defines conference solutions provided by this add-on.

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

Returns
Type Description
CalendarAddOnManifest.Builder

clearCreateSettingsUrlFunction()

public CalendarAddOnManifest.Builder clearCreateSettingsUrlFunction()

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

string create_settings_url_function = 5;

Returns
Type Description
CalendarAddOnManifest.Builder

This builder for chaining.

clearCurrentEventAccess()

public CalendarAddOnManifest.Builder clearCurrentEventAccess()

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.Builder

This builder for chaining.

clearEventOpenTrigger()

public CalendarAddOnManifest.Builder clearEventOpenTrigger()

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

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

Returns
Type Description
CalendarAddOnManifest.Builder

clearEventUpdateTrigger()

public CalendarAddOnManifest.Builder clearEventUpdateTrigger()

An endpoint to trigger when the open event is updated.

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

Returns
Type Description
CalendarAddOnManifest.Builder

clearField(Descriptors.FieldDescriptor field)

public CalendarAddOnManifest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CalendarAddOnManifest.Builder
Overrides

clearHomepageTrigger()

public CalendarAddOnManifest.Builder clearHomepageTrigger()

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
CalendarAddOnManifest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public CalendarAddOnManifest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CalendarAddOnManifest.Builder
Overrides

clone()

public CalendarAddOnManifest.Builder clone()
Returns
Type Description
CalendarAddOnManifest.Builder
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

getConferenceSolutionBuilder(int index)

public ConferenceSolution.Builder getConferenceSolutionBuilder(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.Builder

getConferenceSolutionBuilderList()

public List<ConferenceSolution.Builder> getConferenceSolutionBuilderList()

Defines conference solutions provided by this add-on.

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

Returns
Type Description
List<Builder>

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getEventOpenTriggerBuilder()

public CalendarExtensionPoint.Builder getEventOpenTriggerBuilder()

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.Builder

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.

getEventUpdateTriggerBuilder()

public CalendarExtensionPoint.Builder getEventUpdateTriggerBuilder()

An endpoint to trigger when the open event is updated.

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

Returns
Type Description
CalendarExtensionPoint.Builder

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.

getHomepageTriggerBuilder()

public HomepageExtensionPoint.Builder getHomepageTriggerBuilder()

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.Builder

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEventOpenTrigger(CalendarExtensionPoint value)

public CalendarAddOnManifest.Builder mergeEventOpenTrigger(CalendarExtensionPoint value)

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

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

Parameter
Name Description
value CalendarExtensionPoint
Returns
Type Description
CalendarAddOnManifest.Builder

mergeEventUpdateTrigger(CalendarExtensionPoint value)

public CalendarAddOnManifest.Builder mergeEventUpdateTrigger(CalendarExtensionPoint value)

An endpoint to trigger when the open event is updated.

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

Parameter
Name Description
value CalendarExtensionPoint
Returns
Type Description
CalendarAddOnManifest.Builder

mergeFrom(CalendarAddOnManifest other)

public CalendarAddOnManifest.Builder mergeFrom(CalendarAddOnManifest other)
Parameter
Name Description
other CalendarAddOnManifest
Returns
Type Description
CalendarAddOnManifest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CalendarAddOnManifest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CalendarAddOnManifest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CalendarAddOnManifest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CalendarAddOnManifest.Builder
Overrides

mergeHomepageTrigger(HomepageExtensionPoint value)

public CalendarAddOnManifest.Builder mergeHomepageTrigger(HomepageExtensionPoint value)

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;

Parameter
Name Description
value HomepageExtensionPoint
Returns
Type Description
CalendarAddOnManifest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CalendarAddOnManifest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CalendarAddOnManifest.Builder
Overrides

removeConferenceSolution(int index)

public CalendarAddOnManifest.Builder removeConferenceSolution(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
CalendarAddOnManifest.Builder

setConferenceSolution(int index, ConferenceSolution value)

public CalendarAddOnManifest.Builder setConferenceSolution(int index, ConferenceSolution value)

Defines conference solutions provided by this add-on.

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

Parameters
Name Description
index int
value ConferenceSolution
Returns
Type Description
CalendarAddOnManifest.Builder

setConferenceSolution(int index, ConferenceSolution.Builder builderForValue)

public CalendarAddOnManifest.Builder setConferenceSolution(int index, ConferenceSolution.Builder builderForValue)

Defines conference solutions provided by this add-on.

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

Parameters
Name Description
index int
builderForValue ConferenceSolution.Builder
Returns
Type Description
CalendarAddOnManifest.Builder

setCreateSettingsUrlFunction(String value)

public CalendarAddOnManifest.Builder setCreateSettingsUrlFunction(String value)

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

string create_settings_url_function = 5;

Parameter
Name Description
value String

The createSettingsUrlFunction to set.

Returns
Type Description
CalendarAddOnManifest.Builder

This builder for chaining.

setCreateSettingsUrlFunctionBytes(ByteString value)

public CalendarAddOnManifest.Builder setCreateSettingsUrlFunctionBytes(ByteString value)

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

string create_settings_url_function = 5;

Parameter
Name Description
value ByteString

The bytes for createSettingsUrlFunction to set.

Returns
Type Description
CalendarAddOnManifest.Builder

This builder for chaining.

setCurrentEventAccess(CalendarAddOnManifest.EventAccess value)

public CalendarAddOnManifest.Builder setCurrentEventAccess(CalendarAddOnManifest.EventAccess value)

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

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

Parameter
Name Description
value CalendarAddOnManifest.EventAccess

The currentEventAccess to set.

Returns
Type Description
CalendarAddOnManifest.Builder

This builder for chaining.

setCurrentEventAccessValue(int value)

public CalendarAddOnManifest.Builder setCurrentEventAccessValue(int value)

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

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

Parameter
Name Description
value int

The enum numeric value on the wire for currentEventAccess to set.

Returns
Type Description
CalendarAddOnManifest.Builder

This builder for chaining.

setEventOpenTrigger(CalendarExtensionPoint value)

public CalendarAddOnManifest.Builder setEventOpenTrigger(CalendarExtensionPoint value)

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

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

Parameter
Name Description
value CalendarExtensionPoint
Returns
Type Description
CalendarAddOnManifest.Builder

setEventOpenTrigger(CalendarExtensionPoint.Builder builderForValue)

public CalendarAddOnManifest.Builder setEventOpenTrigger(CalendarExtensionPoint.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue CalendarExtensionPoint.Builder
Returns
Type Description
CalendarAddOnManifest.Builder

setEventUpdateTrigger(CalendarExtensionPoint value)

public CalendarAddOnManifest.Builder setEventUpdateTrigger(CalendarExtensionPoint value)

An endpoint to trigger when the open event is updated.

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

Parameter
Name Description
value CalendarExtensionPoint
Returns
Type Description
CalendarAddOnManifest.Builder

setEventUpdateTrigger(CalendarExtensionPoint.Builder builderForValue)

public CalendarAddOnManifest.Builder setEventUpdateTrigger(CalendarExtensionPoint.Builder builderForValue)

An endpoint to trigger when the open event is updated.

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

Parameter
Name Description
builderForValue CalendarExtensionPoint.Builder
Returns
Type Description
CalendarAddOnManifest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CalendarAddOnManifest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CalendarAddOnManifest.Builder
Overrides

setHomepageTrigger(HomepageExtensionPoint value)

public CalendarAddOnManifest.Builder setHomepageTrigger(HomepageExtensionPoint value)

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;

Parameter
Name Description
value HomepageExtensionPoint
Returns
Type Description
CalendarAddOnManifest.Builder

setHomepageTrigger(HomepageExtensionPoint.Builder builderForValue)

public CalendarAddOnManifest.Builder setHomepageTrigger(HomepageExtensionPoint.Builder builderForValue)

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;

Parameter
Name Description
builderForValue HomepageExtensionPoint.Builder
Returns
Type Description
CalendarAddOnManifest.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CalendarAddOnManifest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CalendarAddOnManifest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CalendarAddOnManifest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CalendarAddOnManifest.Builder
Overrides