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
CREATE_SETTINGS_URL_FUNCTION_FIELD_NUMBER
public static final int CREATE_SETTINGS_URL_FUNCTION_FIELD_NUMBER
Field Value
CURRENT_EVENT_ACCESS_FIELD_NUMBER
public static final int CURRENT_EVENT_ACCESS_FIELD_NUMBER
Field Value
EVENT_OPEN_TRIGGER_FIELD_NUMBER
public static final int EVENT_OPEN_TRIGGER_FIELD_NUMBER
Field Value
EVENT_UPDATE_TRIGGER_FIELD_NUMBER
public static final int EVENT_UPDATE_TRIGGER_FIELD_NUMBER
Field Value
HOMEPAGE_TRIGGER_FIELD_NUMBER
public static final int HOMEPAGE_TRIGGER_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CalendarAddOnManifest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CalendarAddOnManifest.Builder newBuilder()
Returns
newBuilder(CalendarAddOnManifest prototype)
public static CalendarAddOnManifest.Builder newBuilder(CalendarAddOnManifest prototype)
Parameter
Returns
public static CalendarAddOnManifest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CalendarAddOnManifest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CalendarAddOnManifest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CalendarAddOnManifest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CalendarAddOnManifest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CalendarAddOnManifest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CalendarAddOnManifest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CalendarAddOnManifest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CalendarAddOnManifest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CalendarAddOnManifest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CalendarAddOnManifest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CalendarAddOnManifest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CalendarAddOnManifest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
Returns
getConferenceSolutionCount()
public int getConferenceSolutionCount()
Defines conference solutions provided by this add-on.
repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3;
Returns
getConferenceSolutionList()
public List<ConferenceSolution> getConferenceSolutionList()
Defines conference solutions provided by this add-on.
repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3;
Returns
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
Returns
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
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
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
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
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
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
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
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
getParserForType()
public Parser<CalendarAddOnManifest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CalendarAddOnManifest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CalendarAddOnManifest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CalendarAddOnManifest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions