Class AddOns (2.19.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
TypeDescription
int

COMMON_FIELD_NUMBER

public static final int COMMON_FIELD_NUMBER
Field Value
TypeDescription
int

DOCS_FIELD_NUMBER

public static final int DOCS_FIELD_NUMBER
Field Value
TypeDescription
int

DRIVE_FIELD_NUMBER

public static final int DRIVE_FIELD_NUMBER
Field Value
TypeDescription
int

GMAIL_FIELD_NUMBER

public static final int GMAIL_FIELD_NUMBER
Field Value
TypeDescription
int

HTTP_OPTIONS_FIELD_NUMBER

public static final int HTTP_OPTIONS_FIELD_NUMBER
Field Value
TypeDescription
int

SHEETS_FIELD_NUMBER

public static final int SHEETS_FIELD_NUMBER
Field Value
TypeDescription
int

SLIDES_FIELD_NUMBER

public static final int SLIDES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AddOns getDefaultInstance()
Returns
TypeDescription
AddOns

getDescriptor()

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

newBuilder()

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

newBuilder(AddOns prototype)

public static AddOns.Builder newBuilder(AddOns prototype)
Parameter
NameDescription
prototypeAddOns
Returns
TypeDescription
AddOns.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCalendar()

public CalendarAddOnManifest getCalendar()

Calendar add-on configuration.

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

Returns
TypeDescription
CalendarAddOnManifest

The calendar.

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.

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

getDocs()

public DocsAddOnManifest getDocs()

Docs add-on configuration.

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

Returns
TypeDescription
DocsAddOnManifest

The docs.

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.

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.

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.

getHttpOptionsOrBuilder()

public HttpOptionsOrBuilder getHttpOptionsOrBuilder()

Options for sending requests to add-on HTTP endpoints

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

Returns
TypeDescription
HttpOptionsOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSheets()

public SheetsAddOnManifest getSheets()

Sheets add-on configuration.

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

Returns
TypeDescription
SheetsAddOnManifest

The sheets.

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.

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.

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 AddOns.Builder newBuilderForType()
Returns
TypeDescription
AddOns.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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