Class AddOns (2.44.0)

public final class AddOns extends GeneratedMessageV3 implements AddOnsOrBuilder

A Google Workspace Add-on configuration.

Protobuf type google.cloud.gsuiteaddons.v1.AddOns

Implements

AddOnsOrBuilder

Static Fields

CALENDAR_FIELD_NUMBER

public static final int CALENDAR_FIELD_NUMBER
Field Value
Type Description
int

COMMON_FIELD_NUMBER

public static final int COMMON_FIELD_NUMBER
Field Value
Type Description
int

DOCS_FIELD_NUMBER

public static final int DOCS_FIELD_NUMBER
Field Value
Type Description
int

DRIVE_FIELD_NUMBER

public static final int DRIVE_FIELD_NUMBER
Field Value
Type Description
int

GMAIL_FIELD_NUMBER

public static final int GMAIL_FIELD_NUMBER
Field Value
Type Description
int

HTTP_OPTIONS_FIELD_NUMBER

public static final int HTTP_OPTIONS_FIELD_NUMBER
Field Value
Type Description
int

SHEETS_FIELD_NUMBER

public static final int SHEETS_FIELD_NUMBER
Field Value
Type Description
int

SLIDES_FIELD_NUMBER

public static final int SLIDES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AddOns getDefaultInstance()
Returns
Type Description
AddOns

getDescriptor()

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

newBuilder()

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

newBuilder(AddOns prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCalendar()

public CalendarAddOnManifest getCalendar()

Calendar add-on configuration.

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

Returns
Type Description
CalendarAddOnManifest

The calendar.

getCalendarOrBuilder()

public CalendarAddOnManifestOrBuilder getCalendarOrBuilder()

Calendar add-on configuration.

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

Returns
Type Description
CalendarAddOnManifestOrBuilder

getCommon()

public CommonAddOnManifest getCommon()

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

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

Returns
Type Description
CommonAddOnManifest

The common.

getCommonOrBuilder()

public CommonAddOnManifestOrBuilder getCommonOrBuilder()

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

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

Returns
Type Description
CommonAddOnManifestOrBuilder

getDefaultInstanceForType()

public AddOns getDefaultInstanceForType()
Returns
Type Description
AddOns

getDocs()

public DocsAddOnManifest getDocs()

Docs add-on configuration.

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

Returns
Type Description
DocsAddOnManifest

The docs.

getDocsOrBuilder()

public DocsAddOnManifestOrBuilder getDocsOrBuilder()

Docs add-on configuration.

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

Returns
Type Description
DocsAddOnManifestOrBuilder

getDrive()

public DriveAddOnManifest getDrive()

Drive add-on configuration.

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

Returns
Type Description
DriveAddOnManifest

The drive.

getDriveOrBuilder()

public DriveAddOnManifestOrBuilder getDriveOrBuilder()

Drive add-on configuration.

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

Returns
Type Description
DriveAddOnManifestOrBuilder

getGmail()

public GmailAddOnManifest getGmail()

Gmail add-on configuration.

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

Returns
Type Description
GmailAddOnManifest

The gmail.

getGmailOrBuilder()

public GmailAddOnManifestOrBuilder getGmailOrBuilder()

Gmail add-on configuration.

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

Returns
Type Description
GmailAddOnManifestOrBuilder

getHttpOptions()

public HttpOptions getHttpOptions()

Options for sending requests to add-on HTTP endpoints

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

Returns
Type Description
HttpOptions

The httpOptions.

getHttpOptionsOrBuilder()

public HttpOptionsOrBuilder getHttpOptionsOrBuilder()

Options for sending requests to add-on HTTP endpoints

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

Returns
Type Description
HttpOptionsOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSheets()

public SheetsAddOnManifest getSheets()

Sheets add-on configuration.

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

Returns
Type Description
SheetsAddOnManifest

The sheets.

getSheetsOrBuilder()

public SheetsAddOnManifestOrBuilder getSheetsOrBuilder()

Sheets add-on configuration.

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

Returns
Type Description
SheetsAddOnManifestOrBuilder

getSlides()

public SlidesAddOnManifest getSlides()

Slides add-on configuration.

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

Returns
Type Description
SlidesAddOnManifest

The slides.

getSlidesOrBuilder()

public SlidesAddOnManifestOrBuilder getSlidesOrBuilder()

Slides add-on configuration.

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

Returns
Type Description
SlidesAddOnManifestOrBuilder

hasCalendar()

public boolean hasCalendar()

Calendar add-on configuration.

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

Returns
Type Description
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
Type Description
boolean

Whether the common field is set.

hasDocs()

public boolean hasDocs()

Docs add-on configuration.

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

Returns
Type Description
boolean

Whether the docs field is set.

hasDrive()

public boolean hasDrive()

Drive add-on configuration.

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

Returns
Type Description
boolean

Whether the drive field is set.

hasGmail()

public boolean hasGmail()

Gmail add-on configuration.

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

Returns
Type Description
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
Type Description
boolean

Whether the httpOptions field is set.

hasSheets()

public boolean hasSheets()

Sheets add-on configuration.

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

Returns
Type Description
boolean

Whether the sheets field is set.

hasSlides()

public boolean hasSlides()

Slides add-on configuration.

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

Returns
Type Description
boolean

Whether the slides 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 AddOns.Builder newBuilderForType()
Returns
Type Description
AddOns.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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