Class AddOns

  • All Implemented Interfaces:
    AddOnsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class AddOns
    extends com.google.protobuf.GeneratedMessageV3
    implements AddOnsOrBuilder
     A Google Workspace Add-on configuration.
     
    Protobuf type google.cloud.gsuiteaddons.v1.AddOns
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • hasCommon

        public boolean hasCommon()
         Configuration that is common across all Google Workspace Add-ons.
         
        .google.apps.script.type.CommonAddOnManifest common = 1;
        Specified by:
        hasCommon in interface AddOnsOrBuilder
        Returns:
        Whether the common field is set.
      • getCommon

        public CommonAddOnManifest getCommon()
         Configuration that is common across all Google Workspace Add-ons.
         
        .google.apps.script.type.CommonAddOnManifest common = 1;
        Specified by:
        getCommon in interface AddOnsOrBuilder
        Returns:
        The common.
      • hasGmail

        public boolean hasGmail()
         Gmail add-on configuration.
         
        .google.apps.script.type.gmail.GmailAddOnManifest gmail = 2;
        Specified by:
        hasGmail in interface AddOnsOrBuilder
        Returns:
        Whether the gmail field is set.
      • getGmail

        public GmailAddOnManifest getGmail()
         Gmail add-on configuration.
         
        .google.apps.script.type.gmail.GmailAddOnManifest gmail = 2;
        Specified by:
        getGmail in interface AddOnsOrBuilder
        Returns:
        The gmail.
      • hasDrive

        public boolean hasDrive()
         Drive add-on configuration.
         
        .google.apps.script.type.drive.DriveAddOnManifest drive = 5;
        Specified by:
        hasDrive in interface AddOnsOrBuilder
        Returns:
        Whether the drive field is set.
      • getDrive

        public DriveAddOnManifest getDrive()
         Drive add-on configuration.
         
        .google.apps.script.type.drive.DriveAddOnManifest drive = 5;
        Specified by:
        getDrive in interface AddOnsOrBuilder
        Returns:
        The drive.
      • hasCalendar

        public boolean hasCalendar()
         Calendar add-on configuration.
         
        .google.apps.script.type.calendar.CalendarAddOnManifest calendar = 6;
        Specified by:
        hasCalendar in interface AddOnsOrBuilder
        Returns:
        Whether the calendar field is set.
      • getCalendar

        public CalendarAddOnManifest getCalendar()
         Calendar add-on configuration.
         
        .google.apps.script.type.calendar.CalendarAddOnManifest calendar = 6;
        Specified by:
        getCalendar in interface AddOnsOrBuilder
        Returns:
        The calendar.
      • hasDocs

        public boolean hasDocs()
         Docs add-on configuration.
         
        .google.apps.script.type.docs.DocsAddOnManifest docs = 7;
        Specified by:
        hasDocs in interface AddOnsOrBuilder
        Returns:
        Whether the docs field is set.
      • getDocs

        public DocsAddOnManifest getDocs()
         Docs add-on configuration.
         
        .google.apps.script.type.docs.DocsAddOnManifest docs = 7;
        Specified by:
        getDocs in interface AddOnsOrBuilder
        Returns:
        The docs.
      • hasSheets

        public boolean hasSheets()
         Sheets add-on configuration.
         
        .google.apps.script.type.sheets.SheetsAddOnManifest sheets = 8;
        Specified by:
        hasSheets in interface AddOnsOrBuilder
        Returns:
        Whether the sheets field is set.
      • getSheets

        public SheetsAddOnManifest getSheets()
         Sheets add-on configuration.
         
        .google.apps.script.type.sheets.SheetsAddOnManifest sheets = 8;
        Specified by:
        getSheets in interface AddOnsOrBuilder
        Returns:
        The sheets.
      • hasSlides

        public boolean hasSlides()
         Slides add-on configuration.
         
        .google.apps.script.type.slides.SlidesAddOnManifest slides = 10;
        Specified by:
        hasSlides in interface AddOnsOrBuilder
        Returns:
        Whether the slides field is set.
      • getSlides

        public SlidesAddOnManifest getSlides()
         Slides add-on configuration.
         
        .google.apps.script.type.slides.SlidesAddOnManifest slides = 10;
        Specified by:
        getSlides in interface AddOnsOrBuilder
        Returns:
        The slides.
      • hasHttpOptions

        public boolean hasHttpOptions()
         Options for sending requests to add-on HTTP endpoints
         
        .google.apps.script.type.HttpOptions http_options = 15;
        Specified by:
        hasHttpOptions in interface AddOnsOrBuilder
        Returns:
        Whether the httpOptions field is set.
      • getHttpOptions

        public HttpOptions getHttpOptions()
         Options for sending requests to add-on HTTP endpoints
         
        .google.apps.script.type.HttpOptions http_options = 15;
        Specified by:
        getHttpOptions in interface AddOnsOrBuilder
        Returns:
        The httpOptions.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static AddOns parseFrom​(ByteBuffer data)
                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AddOns parseFrom​(ByteBuffer data,
                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AddOns parseFrom​(com.google.protobuf.ByteString data)
                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AddOns parseFrom​(com.google.protobuf.ByteString data,
                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AddOns parseFrom​(byte[] data)
                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AddOns parseFrom​(byte[] data,
                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static AddOns parseFrom​(com.google.protobuf.CodedInputStream input,
                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                throws IOException
        Throws:
        IOException
      • newBuilderForType

        public AddOns.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public AddOns.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected AddOns.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static AddOns getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<AddOns> parser()
      • getParserForType

        public com.google.protobuf.Parser<AddOns> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public AddOns getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder