public final class AddOns extends GeneratedMessageV3 implements AddOnsOrBuilder
A Google Workspace Add-on configuration.
Protobuf type google.cloud.gsuiteaddons.v1.AddOns
Static Fields
CALENDAR_FIELD_NUMBER
public static final int CALENDAR_FIELD_NUMBER
Field Value
COMMON_FIELD_NUMBER
public static final int COMMON_FIELD_NUMBER
Field Value
DOCS_FIELD_NUMBER
public static final int DOCS_FIELD_NUMBER
Field Value
DRIVE_FIELD_NUMBER
public static final int DRIVE_FIELD_NUMBER
Field Value
GMAIL_FIELD_NUMBER
public static final int GMAIL_FIELD_NUMBER
Field Value
HTTP_OPTIONS_FIELD_NUMBER
public static final int HTTP_OPTIONS_FIELD_NUMBER
Field Value
SHEETS_FIELD_NUMBER
public static final int SHEETS_FIELD_NUMBER
Field Value
SLIDES_FIELD_NUMBER
public static final int SLIDES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AddOns getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AddOns.Builder newBuilder()
Returns
newBuilder(AddOns prototype)
public static AddOns.Builder newBuilder(AddOns prototype)
Parameter
Name | Description |
prototype | AddOns
|
Returns
public static AddOns parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AddOns parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AddOns parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AddOns parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AddOns parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AddOns parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AddOns parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AddOns parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AddOns parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AddOns parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AddOns parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AddOns parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AddOns> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCalendar()
public CalendarAddOnManifest getCalendar()
Calendar add-on configuration.
.google.apps.script.type.calendar.CalendarAddOnManifest calendar = 6;
Returns
getCalendarOrBuilder()
public CalendarAddOnManifestOrBuilder getCalendarOrBuilder()
Calendar add-on configuration.
.google.apps.script.type.calendar.CalendarAddOnManifest calendar = 6;
Returns
getCommon()
public CommonAddOnManifest getCommon()
Configuration that is common across all Google Workspace Add-ons.
.google.apps.script.type.CommonAddOnManifest common = 1;
Returns
getCommonOrBuilder()
public CommonAddOnManifestOrBuilder getCommonOrBuilder()
Configuration that is common across all Google Workspace Add-ons.
.google.apps.script.type.CommonAddOnManifest common = 1;
Returns
getDefaultInstanceForType()
public AddOns getDefaultInstanceForType()
Returns
getDocs()
public DocsAddOnManifest getDocs()
Docs add-on configuration.
.google.apps.script.type.docs.DocsAddOnManifest docs = 7;
Returns
getDocsOrBuilder()
public DocsAddOnManifestOrBuilder getDocsOrBuilder()
Docs add-on configuration.
.google.apps.script.type.docs.DocsAddOnManifest docs = 7;
Returns
getDrive()
public DriveAddOnManifest getDrive()
Drive add-on configuration.
.google.apps.script.type.drive.DriveAddOnManifest drive = 5;
Returns
getDriveOrBuilder()
public DriveAddOnManifestOrBuilder getDriveOrBuilder()
Drive add-on configuration.
.google.apps.script.type.drive.DriveAddOnManifest drive = 5;
Returns
getGmail()
public GmailAddOnManifest getGmail()
Gmail add-on configuration.
.google.apps.script.type.gmail.GmailAddOnManifest gmail = 2;
Returns
getGmailOrBuilder()
public GmailAddOnManifestOrBuilder getGmailOrBuilder()
Gmail add-on configuration.
.google.apps.script.type.gmail.GmailAddOnManifest gmail = 2;
Returns
getHttpOptions()
public HttpOptions getHttpOptions()
Options for sending requests to add-on HTTP endpoints
.google.apps.script.type.HttpOptions http_options = 15;
Returns
getHttpOptionsOrBuilder()
public HttpOptionsOrBuilder getHttpOptionsOrBuilder()
Options for sending requests to add-on HTTP endpoints
.google.apps.script.type.HttpOptions http_options = 15;
Returns
getParserForType()
public Parser<AddOns> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSheets()
public SheetsAddOnManifest getSheets()
Sheets add-on configuration.
.google.apps.script.type.sheets.SheetsAddOnManifest sheets = 8;
Returns
getSheetsOrBuilder()
public SheetsAddOnManifestOrBuilder getSheetsOrBuilder()
Sheets add-on configuration.
.google.apps.script.type.sheets.SheetsAddOnManifest sheets = 8;
Returns
getSlides()
public SlidesAddOnManifest getSlides()
Slides add-on configuration.
.google.apps.script.type.slides.SlidesAddOnManifest slides = 10;
Returns
getSlidesOrBuilder()
public SlidesAddOnManifestOrBuilder getSlidesOrBuilder()
Slides add-on configuration.
.google.apps.script.type.slides.SlidesAddOnManifest slides = 10;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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()
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AddOns.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AddOns.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AddOns.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions