Class AddOns.Builder (2.16.0)

public static final class AddOns.Builder extends GeneratedMessageV3.Builder<AddOns.Builder> implements AddOnsOrBuilder

A Google Workspace Add-on configuration.

Protobuf type google.cloud.gsuiteaddons.v1.AddOns

Implements

AddOnsOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AddOns.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AddOns.Builder
Overrides

build()

public AddOns build()
Returns
TypeDescription
AddOns

buildPartial()

public AddOns buildPartial()
Returns
TypeDescription
AddOns

clear()

public AddOns.Builder clear()
Returns
TypeDescription
AddOns.Builder
Overrides

clearCalendar()

public AddOns.Builder clearCalendar()

Calendar add-on configuration.

.google.apps.script.type.calendar.CalendarAddOnManifest calendar = 6;

Returns
TypeDescription
AddOns.Builder

clearCommon()

public AddOns.Builder clearCommon()

Configuration that is common across all Google Workspace Add-ons.

.google.apps.script.type.CommonAddOnManifest common = 1;

Returns
TypeDescription
AddOns.Builder

clearDocs()

public AddOns.Builder clearDocs()

Docs add-on configuration.

.google.apps.script.type.docs.DocsAddOnManifest docs = 7;

Returns
TypeDescription
AddOns.Builder

clearDrive()

public AddOns.Builder clearDrive()

Drive add-on configuration.

.google.apps.script.type.drive.DriveAddOnManifest drive = 5;

Returns
TypeDescription
AddOns.Builder

clearField(Descriptors.FieldDescriptor field)

public AddOns.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AddOns.Builder
Overrides

clearGmail()

public AddOns.Builder clearGmail()

Gmail add-on configuration.

.google.apps.script.type.gmail.GmailAddOnManifest gmail = 2;

Returns
TypeDescription
AddOns.Builder

clearHttpOptions()

public AddOns.Builder clearHttpOptions()

Options for sending requests to add-on HTTP endpoints

.google.apps.script.type.HttpOptions http_options = 15;

Returns
TypeDescription
AddOns.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public AddOns.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AddOns.Builder
Overrides

clearSheets()

public AddOns.Builder clearSheets()

Sheets add-on configuration.

.google.apps.script.type.sheets.SheetsAddOnManifest sheets = 8;

Returns
TypeDescription
AddOns.Builder

clearSlides()

public AddOns.Builder clearSlides()

Slides add-on configuration.

.google.apps.script.type.slides.SlidesAddOnManifest slides = 10;

Returns
TypeDescription
AddOns.Builder

clone()

public AddOns.Builder clone()
Returns
TypeDescription
AddOns.Builder
Overrides

getCalendar()

public CalendarAddOnManifest getCalendar()

Calendar add-on configuration.

.google.apps.script.type.calendar.CalendarAddOnManifest calendar = 6;

Returns
TypeDescription
CalendarAddOnManifest

The calendar.

getCalendarBuilder()

public CalendarAddOnManifest.Builder getCalendarBuilder()

Calendar add-on configuration.

.google.apps.script.type.calendar.CalendarAddOnManifest calendar = 6;

Returns
TypeDescription
CalendarAddOnManifest.Builder

getCalendarOrBuilder()

public CalendarAddOnManifestOrBuilder getCalendarOrBuilder()

Calendar add-on configuration.

.google.apps.script.type.calendar.CalendarAddOnManifest calendar = 6;

Returns
TypeDescription
CalendarAddOnManifestOrBuilder

getCommon()

public CommonAddOnManifest getCommon()

Configuration that is common across all Google Workspace Add-ons.

.google.apps.script.type.CommonAddOnManifest common = 1;

Returns
TypeDescription
CommonAddOnManifest

The common.

getCommonBuilder()

public CommonAddOnManifest.Builder getCommonBuilder()

Configuration that is common across all Google Workspace Add-ons.

.google.apps.script.type.CommonAddOnManifest common = 1;

Returns
TypeDescription
CommonAddOnManifest.Builder

getCommonOrBuilder()

public CommonAddOnManifestOrBuilder getCommonOrBuilder()

Configuration that is common across all Google Workspace Add-ons.

.google.apps.script.type.CommonAddOnManifest common = 1;

Returns
TypeDescription
CommonAddOnManifestOrBuilder

getDefaultInstanceForType()

public AddOns getDefaultInstanceForType()
Returns
TypeDescription
AddOns

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDocs()

public DocsAddOnManifest getDocs()

Docs add-on configuration.

.google.apps.script.type.docs.DocsAddOnManifest docs = 7;

Returns
TypeDescription
DocsAddOnManifest

The docs.

getDocsBuilder()

public DocsAddOnManifest.Builder getDocsBuilder()

Docs add-on configuration.

.google.apps.script.type.docs.DocsAddOnManifest docs = 7;

Returns
TypeDescription
DocsAddOnManifest.Builder

getDocsOrBuilder()

public DocsAddOnManifestOrBuilder getDocsOrBuilder()

Docs add-on configuration.

.google.apps.script.type.docs.DocsAddOnManifest docs = 7;

Returns
TypeDescription
DocsAddOnManifestOrBuilder

getDrive()

public DriveAddOnManifest getDrive()

Drive add-on configuration.

.google.apps.script.type.drive.DriveAddOnManifest drive = 5;

Returns
TypeDescription
DriveAddOnManifest

The drive.

getDriveBuilder()

public DriveAddOnManifest.Builder getDriveBuilder()

Drive add-on configuration.

.google.apps.script.type.drive.DriveAddOnManifest drive = 5;

Returns
TypeDescription
DriveAddOnManifest.Builder

getDriveOrBuilder()

public DriveAddOnManifestOrBuilder getDriveOrBuilder()

Drive add-on configuration.

.google.apps.script.type.drive.DriveAddOnManifest drive = 5;

Returns
TypeDescription
DriveAddOnManifestOrBuilder

getGmail()

public GmailAddOnManifest getGmail()

Gmail add-on configuration.

.google.apps.script.type.gmail.GmailAddOnManifest gmail = 2;

Returns
TypeDescription
GmailAddOnManifest

The gmail.

getGmailBuilder()

public GmailAddOnManifest.Builder getGmailBuilder()

Gmail add-on configuration.

.google.apps.script.type.gmail.GmailAddOnManifest gmail = 2;

Returns
TypeDescription
GmailAddOnManifest.Builder

getGmailOrBuilder()

public GmailAddOnManifestOrBuilder getGmailOrBuilder()

Gmail add-on configuration.

.google.apps.script.type.gmail.GmailAddOnManifest gmail = 2;

Returns
TypeDescription
GmailAddOnManifestOrBuilder

getHttpOptions()

public HttpOptions getHttpOptions()

Options for sending requests to add-on HTTP endpoints

.google.apps.script.type.HttpOptions http_options = 15;

Returns
TypeDescription
HttpOptions

The httpOptions.

getHttpOptionsBuilder()

public HttpOptions.Builder getHttpOptionsBuilder()

Options for sending requests to add-on HTTP endpoints

.google.apps.script.type.HttpOptions http_options = 15;

Returns
TypeDescription
HttpOptions.Builder

getHttpOptionsOrBuilder()

public HttpOptionsOrBuilder getHttpOptionsOrBuilder()

Options for sending requests to add-on HTTP endpoints

.google.apps.script.type.HttpOptions http_options = 15;

Returns
TypeDescription
HttpOptionsOrBuilder

getSheets()

public SheetsAddOnManifest getSheets()

Sheets add-on configuration.

.google.apps.script.type.sheets.SheetsAddOnManifest sheets = 8;

Returns
TypeDescription
SheetsAddOnManifest

The sheets.

getSheetsBuilder()

public SheetsAddOnManifest.Builder getSheetsBuilder()

Sheets add-on configuration.

.google.apps.script.type.sheets.SheetsAddOnManifest sheets = 8;

Returns
TypeDescription
SheetsAddOnManifest.Builder

getSheetsOrBuilder()

public SheetsAddOnManifestOrBuilder getSheetsOrBuilder()

Sheets add-on configuration.

.google.apps.script.type.sheets.SheetsAddOnManifest sheets = 8;

Returns
TypeDescription
SheetsAddOnManifestOrBuilder

getSlides()

public SlidesAddOnManifest getSlides()

Slides add-on configuration.

.google.apps.script.type.slides.SlidesAddOnManifest slides = 10;

Returns
TypeDescription
SlidesAddOnManifest

The slides.

getSlidesBuilder()

public SlidesAddOnManifest.Builder getSlidesBuilder()

Slides add-on configuration.

.google.apps.script.type.slides.SlidesAddOnManifest slides = 10;

Returns
TypeDescription
SlidesAddOnManifest.Builder

getSlidesOrBuilder()

public SlidesAddOnManifestOrBuilder getSlidesOrBuilder()

Slides add-on configuration.

.google.apps.script.type.slides.SlidesAddOnManifest slides = 10;

Returns
TypeDescription
SlidesAddOnManifestOrBuilder

hasCalendar()

public boolean hasCalendar()

Calendar add-on configuration.

.google.apps.script.type.calendar.CalendarAddOnManifest calendar = 6;

Returns
TypeDescription
boolean

Whether the calendar field is set.

hasCommon()

public boolean hasCommon()

Configuration that is common across all Google Workspace Add-ons.

.google.apps.script.type.CommonAddOnManifest common = 1;

Returns
TypeDescription
boolean

Whether the common field is set.

hasDocs()

public boolean hasDocs()

Docs add-on configuration.

.google.apps.script.type.docs.DocsAddOnManifest docs = 7;

Returns
TypeDescription
boolean

Whether the docs field is set.

hasDrive()

public boolean hasDrive()

Drive add-on configuration.

.google.apps.script.type.drive.DriveAddOnManifest drive = 5;

Returns
TypeDescription
boolean

Whether the drive field is set.

hasGmail()

public boolean hasGmail()

Gmail add-on configuration.

.google.apps.script.type.gmail.GmailAddOnManifest gmail = 2;

Returns
TypeDescription
boolean

Whether the gmail field is set.

hasHttpOptions()

public boolean hasHttpOptions()

Options for sending requests to add-on HTTP endpoints

.google.apps.script.type.HttpOptions http_options = 15;

Returns
TypeDescription
boolean

Whether the httpOptions field is set.

hasSheets()

public boolean hasSheets()

Sheets add-on configuration.

.google.apps.script.type.sheets.SheetsAddOnManifest sheets = 8;

Returns
TypeDescription
boolean

Whether the sheets field is set.

hasSlides()

public boolean hasSlides()

Slides add-on configuration.

.google.apps.script.type.slides.SlidesAddOnManifest slides = 10;

Returns
TypeDescription
boolean

Whether the slides field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCalendar(CalendarAddOnManifest value)

public AddOns.Builder mergeCalendar(CalendarAddOnManifest value)

Calendar add-on configuration.

.google.apps.script.type.calendar.CalendarAddOnManifest calendar = 6;

Parameter
NameDescription
valueCalendarAddOnManifest
Returns
TypeDescription
AddOns.Builder

mergeCommon(CommonAddOnManifest value)

public AddOns.Builder mergeCommon(CommonAddOnManifest value)

Configuration that is common across all Google Workspace Add-ons.

.google.apps.script.type.CommonAddOnManifest common = 1;

Parameter
NameDescription
valueCommonAddOnManifest
Returns
TypeDescription
AddOns.Builder

mergeDocs(DocsAddOnManifest value)

public AddOns.Builder mergeDocs(DocsAddOnManifest value)

Docs add-on configuration.

.google.apps.script.type.docs.DocsAddOnManifest docs = 7;

Parameter
NameDescription
valueDocsAddOnManifest
Returns
TypeDescription
AddOns.Builder

mergeDrive(DriveAddOnManifest value)

public AddOns.Builder mergeDrive(DriveAddOnManifest value)

Drive add-on configuration.

.google.apps.script.type.drive.DriveAddOnManifest drive = 5;

Parameter
NameDescription
valueDriveAddOnManifest
Returns
TypeDescription
AddOns.Builder

mergeFrom(AddOns other)

public AddOns.Builder mergeFrom(AddOns other)
Parameter
NameDescription
otherAddOns
Returns
TypeDescription
AddOns.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AddOns.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AddOns.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AddOns.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AddOns.Builder
Overrides

mergeGmail(GmailAddOnManifest value)

public AddOns.Builder mergeGmail(GmailAddOnManifest value)

Gmail add-on configuration.

.google.apps.script.type.gmail.GmailAddOnManifest gmail = 2;

Parameter
NameDescription
valueGmailAddOnManifest
Returns
TypeDescription
AddOns.Builder

mergeHttpOptions(HttpOptions value)

public AddOns.Builder mergeHttpOptions(HttpOptions value)

Options for sending requests to add-on HTTP endpoints

.google.apps.script.type.HttpOptions http_options = 15;

Parameter
NameDescription
valueHttpOptions
Returns
TypeDescription
AddOns.Builder

mergeSheets(SheetsAddOnManifest value)

public AddOns.Builder mergeSheets(SheetsAddOnManifest value)

Sheets add-on configuration.

.google.apps.script.type.sheets.SheetsAddOnManifest sheets = 8;

Parameter
NameDescription
valueSheetsAddOnManifest
Returns
TypeDescription
AddOns.Builder

mergeSlides(SlidesAddOnManifest value)

public AddOns.Builder mergeSlides(SlidesAddOnManifest value)

Slides add-on configuration.

.google.apps.script.type.slides.SlidesAddOnManifest slides = 10;

Parameter
NameDescription
valueSlidesAddOnManifest
Returns
TypeDescription
AddOns.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AddOns.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AddOns.Builder
Overrides

setCalendar(CalendarAddOnManifest value)

public AddOns.Builder setCalendar(CalendarAddOnManifest value)

Calendar add-on configuration.

.google.apps.script.type.calendar.CalendarAddOnManifest calendar = 6;

Parameter
NameDescription
valueCalendarAddOnManifest
Returns
TypeDescription
AddOns.Builder

setCalendar(CalendarAddOnManifest.Builder builderForValue)

public AddOns.Builder setCalendar(CalendarAddOnManifest.Builder builderForValue)

Calendar add-on configuration.

.google.apps.script.type.calendar.CalendarAddOnManifest calendar = 6;

Parameter
NameDescription
builderForValueCalendarAddOnManifest.Builder
Returns
TypeDescription
AddOns.Builder

setCommon(CommonAddOnManifest value)

public AddOns.Builder setCommon(CommonAddOnManifest value)

Configuration that is common across all Google Workspace Add-ons.

.google.apps.script.type.CommonAddOnManifest common = 1;

Parameter
NameDescription
valueCommonAddOnManifest
Returns
TypeDescription
AddOns.Builder

setCommon(CommonAddOnManifest.Builder builderForValue)

public AddOns.Builder setCommon(CommonAddOnManifest.Builder builderForValue)

Configuration that is common across all Google Workspace Add-ons.

.google.apps.script.type.CommonAddOnManifest common = 1;

Parameter
NameDescription
builderForValueCommonAddOnManifest.Builder
Returns
TypeDescription
AddOns.Builder

setDocs(DocsAddOnManifest value)

public AddOns.Builder setDocs(DocsAddOnManifest value)

Docs add-on configuration.

.google.apps.script.type.docs.DocsAddOnManifest docs = 7;

Parameter
NameDescription
valueDocsAddOnManifest
Returns
TypeDescription
AddOns.Builder

setDocs(DocsAddOnManifest.Builder builderForValue)

public AddOns.Builder setDocs(DocsAddOnManifest.Builder builderForValue)

Docs add-on configuration.

.google.apps.script.type.docs.DocsAddOnManifest docs = 7;

Parameter
NameDescription
builderForValueDocsAddOnManifest.Builder
Returns
TypeDescription
AddOns.Builder

setDrive(DriveAddOnManifest value)

public AddOns.Builder setDrive(DriveAddOnManifest value)

Drive add-on configuration.

.google.apps.script.type.drive.DriveAddOnManifest drive = 5;

Parameter
NameDescription
valueDriveAddOnManifest
Returns
TypeDescription
AddOns.Builder

setDrive(DriveAddOnManifest.Builder builderForValue)

public AddOns.Builder setDrive(DriveAddOnManifest.Builder builderForValue)

Drive add-on configuration.

.google.apps.script.type.drive.DriveAddOnManifest drive = 5;

Parameter
NameDescription
builderForValueDriveAddOnManifest.Builder
Returns
TypeDescription
AddOns.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AddOns.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AddOns.Builder
Overrides

setGmail(GmailAddOnManifest value)

public AddOns.Builder setGmail(GmailAddOnManifest value)

Gmail add-on configuration.

.google.apps.script.type.gmail.GmailAddOnManifest gmail = 2;

Parameter
NameDescription
valueGmailAddOnManifest
Returns
TypeDescription
AddOns.Builder

setGmail(GmailAddOnManifest.Builder builderForValue)

public AddOns.Builder setGmail(GmailAddOnManifest.Builder builderForValue)

Gmail add-on configuration.

.google.apps.script.type.gmail.GmailAddOnManifest gmail = 2;

Parameter
NameDescription
builderForValueGmailAddOnManifest.Builder
Returns
TypeDescription
AddOns.Builder

setHttpOptions(HttpOptions value)

public AddOns.Builder setHttpOptions(HttpOptions value)

Options for sending requests to add-on HTTP endpoints

.google.apps.script.type.HttpOptions http_options = 15;

Parameter
NameDescription
valueHttpOptions
Returns
TypeDescription
AddOns.Builder

setHttpOptions(HttpOptions.Builder builderForValue)

public AddOns.Builder setHttpOptions(HttpOptions.Builder builderForValue)

Options for sending requests to add-on HTTP endpoints

.google.apps.script.type.HttpOptions http_options = 15;

Parameter
NameDescription
builderForValueHttpOptions.Builder
Returns
TypeDescription
AddOns.Builder

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

public AddOns.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AddOns.Builder
Overrides

setSheets(SheetsAddOnManifest value)

public AddOns.Builder setSheets(SheetsAddOnManifest value)

Sheets add-on configuration.

.google.apps.script.type.sheets.SheetsAddOnManifest sheets = 8;

Parameter
NameDescription
valueSheetsAddOnManifest
Returns
TypeDescription
AddOns.Builder

setSheets(SheetsAddOnManifest.Builder builderForValue)

public AddOns.Builder setSheets(SheetsAddOnManifest.Builder builderForValue)

Sheets add-on configuration.

.google.apps.script.type.sheets.SheetsAddOnManifest sheets = 8;

Parameter
NameDescription
builderForValueSheetsAddOnManifest.Builder
Returns
TypeDescription
AddOns.Builder

setSlides(SlidesAddOnManifest value)

public AddOns.Builder setSlides(SlidesAddOnManifest value)

Slides add-on configuration.

.google.apps.script.type.slides.SlidesAddOnManifest slides = 10;

Parameter
NameDescription
valueSlidesAddOnManifest
Returns
TypeDescription
AddOns.Builder

setSlides(SlidesAddOnManifest.Builder builderForValue)

public AddOns.Builder setSlides(SlidesAddOnManifest.Builder builderForValue)

Slides add-on configuration.

.google.apps.script.type.slides.SlidesAddOnManifest slides = 10;

Parameter
NameDescription
builderForValueSlidesAddOnManifest.Builder
Returns
TypeDescription
AddOns.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final AddOns.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AddOns.Builder
Overrides