From 8d8cfc216af2e8c39d2f6299f18b5436f3a0cb80 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 23 Jun 2022 02:28:28 +0000 Subject: [PATCH 1/4] feat: Enable REST transport for most of Java and Go clients PiperOrigin-RevId: 456641589 Source-Link: https://github.com/googleapis/googleapis/commit/8a251f5225b789b2383207ffd978f6aa3d77fcf7 Source-Link: https://github.com/googleapis/googleapis-gen/commit/4ca52a529cf01308d9714950edffbea3560cfbdb Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNGNhNTJhNTI5Y2YwMTMwOGQ5NzE0OTUwZWRmZmJlYTM1NjBjZmJkYiJ9 --- .../gsuiteaddons/v1/GSuiteAddOnsClient.java | 30 +- .../gsuiteaddons/v1/GSuiteAddOnsSettings.java | 30 +- .../cloud/gsuiteaddons/v1/gapic_metadata.json | 0 .../cloud/gsuiteaddons/v1/package-info.java | 0 .../v1/stub/GSuiteAddOnsStub.java | 0 .../v1/stub/GSuiteAddOnsStubSettings.java | 59 +- .../stub/GrpcGSuiteAddOnsCallableFactory.java | 0 .../v1/stub/GrpcGSuiteAddOnsStub.java | 1 + .../HttpJsonGSuiteAddOnsCallableFactory.java | 105 ++ .../v1/stub/HttpJsonGSuiteAddOnsStub.java | 626 +++++++++ .../v1/GSuiteAddOnsClientHttpJsonTest.java | 857 ++++++++++++ .../v1/GSuiteAddOnsClientTest.java | 0 .../gsuiteaddons/v1/MockGSuiteAddOns.java | 0 .../gsuiteaddons/v1/MockGSuiteAddOnsImpl.java | 0 .../gsuiteaddons/v1/GSuiteAddOnsGrpc.java | 990 +++++--------- .../apps/script/type/AddOnWidgetSet.java | 464 +++---- .../script/type/AddOnWidgetSetOrBuilder.java | 36 +- .../apps/script/type/AddOnWidgetSetProto.java | 60 + .../apps/script/type/CommonAddOnManifest.java | 1069 ++++++--------- .../type/CommonAddOnManifestOrBuilder.java | 100 +- .../apps/script/type/ExtensionPoint.java | 84 ++ .../script/type/HomepageExtensionPoint.java | 399 +++--- .../type/HomepageExtensionPointOrBuilder.java | 35 +- .../script/type/HttpAuthorizationHeader.java | 84 +- .../google/apps/script/type/HttpOptions.java | 294 ++--- .../script/type/HttpOptionsOrBuilder.java | 24 +- .../apps/script/type/LayoutProperties.java | 380 +++--- .../type/LayoutPropertiesOrBuilder.java | 36 +- .../script/type/MenuItemExtensionPoint.java | 469 +++---- .../type/MenuItemExtensionPointOrBuilder.java | 45 +- .../apps/script/type/ScriptManifest.java | 101 ++ .../type/UniversalActionExtensionPoint.java | 546 ++++---- ...niversalActionExtensionPointOrBuilder.java | 54 +- .../type/calendar/CalendarAddOnManifest.java | 1158 ++++++----------- .../CalendarAddOnManifestOrBuilder.java | 109 +- .../calendar/CalendarAddOnManifestProto.java | 106 ++ .../type/calendar/CalendarExtensionPoint.java | 314 ++--- .../CalendarExtensionPointOrBuilder.java | 27 +- .../type/calendar/ConferenceSolution.java | 553 ++++---- .../calendar/ConferenceSolutionOrBuilder.java | 54 +- .../script/type/docs/DocsAddOnManifest.java | 493 +++---- .../type/docs/DocsAddOnManifestOrBuilder.java | 46 +- .../type/docs/DocsAddOnManifestProto.java | 81 ++ .../script/type/docs/DocsExtensionPoint.java | 311 ++--- .../docs/DocsExtensionPointOrBuilder.java | 27 +- .../script/type/drive/DriveAddOnManifest.java | 482 +++---- .../drive/DriveAddOnManifestOrBuilder.java | 37 +- .../type/drive/DriveAddOnManifestProto.java | 74 ++ .../type/drive/DriveExtensionPoint.java | 314 ++--- .../drive/DriveExtensionPointOrBuilder.java | 27 +- .../script/type/gmail/ComposeTrigger.java | 512 +++----- .../type/gmail/ComposeTriggerOrBuilder.java | 42 +- .../script/type/gmail/ContextualTrigger.java | 471 +++---- .../gmail/ContextualTriggerOrBuilder.java | 35 +- .../script/type/gmail/GmailAddOnManifest.java | 860 ++++-------- .../gmail/GmailAddOnManifestOrBuilder.java | 73 +- .../type/gmail/GmailAddOnManifestProto.java | 128 ++ .../type/gmail/UnconditionalTrigger.java | 238 ++-- .../gmail/UnconditionalTriggerOrBuilder.java | 9 + .../script/type/gmail/UniversalAction.java | 543 ++++---- .../type/gmail/UniversalActionOrBuilder.java | 51 +- .../type/sheets/SheetsAddOnManifest.java | 496 +++---- .../sheets/SheetsAddOnManifestOrBuilder.java | 46 +- .../type/sheets/SheetsAddOnManifestProto.java | 82 ++ .../type/sheets/SheetsExtensionPoint.java | 314 ++--- .../sheets/SheetsExtensionPointOrBuilder.java | 27 +- .../type/slides/SlidesAddOnManifest.java | 496 +++---- .../slides/SlidesAddOnManifestOrBuilder.java | 46 +- .../type/slides/SlidesAddOnManifestProto.java | 82 ++ .../type/slides/SlidesExtensionPoint.java | 314 ++--- .../slides/SlidesExtensionPointOrBuilder.java | 27 +- .../apps/script/type/addon_widget_set.proto | 0 .../calendar/calendar_addon_manifest.proto | 0 .../type/docs/docs_addon_manifest.proto | 0 .../type/drive/drive_addon_manifest.proto | 0 .../apps/script/type/extension_point.proto | 0 .../type/gmail/gmail_addon_manifest.proto | 0 .../apps/script/type/script_manifest.proto | 0 .../type/sheets/sheets_addon_manifest.proto | 0 .../type/slides/slides_addon_manifest.proto | 0 .../google/cloud/gsuiteaddons/v1/AddOns.java | 1037 +++++---------- .../gsuiteaddons/v1/AddOnsOrBuilder.java | 82 +- .../cloud/gsuiteaddons/v1/Authorization.java | 459 +++---- .../gsuiteaddons/v1/AuthorizationName.java | 0 .../v1/AuthorizationOrBuilder.java | 45 +- .../v1/CreateDeploymentRequest.java | 567 +++----- .../v1/CreateDeploymentRequestOrBuilder.java | 64 +- .../v1/DeleteDeploymentRequest.java | 421 +++--- .../v1/DeleteDeploymentRequestOrBuilder.java | 44 +- .../cloud/gsuiteaddons/v1/Deployment.java | 588 ++++----- .../cloud/gsuiteaddons/v1/DeploymentName.java | 0 .../gsuiteaddons/v1/DeploymentOrBuilder.java | 62 +- .../gsuiteaddons/v1/GSuiteAddOnsProto.java | 345 +++++ .../v1/GetAuthorizationRequest.java | 342 ++--- .../v1/GetAuthorizationRequestOrBuilder.java | 33 + .../gsuiteaddons/v1/GetDeploymentRequest.java | 342 ++--- .../v1/GetDeploymentRequestOrBuilder.java | 31 + .../v1/GetInstallStatusRequest.java | 342 ++--- .../v1/GetInstallStatusRequestOrBuilder.java | 31 + .../v1/InstallDeploymentRequest.java | 342 ++--- .../v1/InstallDeploymentRequestOrBuilder.java | 31 + .../cloud/gsuiteaddons/v1/InstallStatus.java | 389 +++--- .../gsuiteaddons/v1/InstallStatusName.java | 0 .../v1/InstallStatusOrBuilder.java | 35 +- .../v1/ListDeploymentsRequest.java | 455 +++---- .../v1/ListDeploymentsRequestOrBuilder.java | 47 +- .../v1/ListDeploymentsResponse.java | 464 +++---- .../v1/ListDeploymentsResponseOrBuilder.java | 45 +- .../cloud/gsuiteaddons/v1/ProjectName.java | 0 .../v1/ReplaceDeploymentRequest.java | 386 +++--- .../v1/ReplaceDeploymentRequestOrBuilder.java | 36 + .../v1/UninstallDeploymentRequest.java | 342 ++--- .../UninstallDeploymentRequestOrBuilder.java | 31 + .../cloud/gsuiteaddons/v1/gsuiteaddons.proto | 0 .../SyncCreateSetCredentialsProvider.java | 41 + .../SyncCreateSetCredentialsProvider1.java | 40 + .../create/SyncCreateSetEndpoint.java | 38 + .../AsyncCreateDeployment.java | 49 + .../SyncCreateDeployment.java | 45 + ...DeploymentProjectnameDeploymentString.java | 41 + ...reateDeploymentStringDeploymentString.java | 41 + .../AsyncDeleteDeployment.java | 47 + .../SyncDeleteDeployment.java | 44 + .../SyncDeleteDeploymentDeploymentname.java | 39 + .../SyncDeleteDeploymentString.java | 39 + .../AsyncGetAuthorization.java | 47 + .../SyncGetAuthorization.java | 43 + ...SyncGetAuthorizationAuthorizationname.java | 39 + .../SyncGetAuthorizationString.java | 39 + .../getdeployment/AsyncGetDeployment.java | 46 + .../getdeployment/SyncGetDeployment.java | 43 + .../SyncGetDeploymentDeploymentname.java | 39 + .../SyncGetDeploymentString.java | 39 + .../AsyncGetInstallStatus.java | 47 + .../SyncGetInstallStatus.java | 43 + ...SyncGetInstallStatusInstallstatusname.java | 39 + .../SyncGetInstallStatusString.java | 39 + .../AsyncInstallDeployment.java | 46 + .../SyncInstallDeployment.java | 43 + .../SyncInstallDeploymentDeploymentname.java | 39 + .../SyncInstallDeploymentString.java | 39 + .../listdeployments/AsyncListDeployments.java | 51 + .../AsyncListDeploymentsPaged.java | 59 + .../listdeployments/SyncListDeployments.java | 47 + .../SyncListDeploymentsProjectname.java | 41 + .../SyncListDeploymentsString.java | 41 + .../AsyncReplaceDeployment.java | 46 + .../SyncReplaceDeployment.java | 42 + .../SyncReplaceDeploymentDeployment.java | 38 + .../AsyncUninstallDeployment.java | 47 + .../SyncUninstallDeployment.java | 43 + ...SyncUninstallDeploymentDeploymentname.java | 39 + .../SyncUninstallDeploymentString.java | 39 + .../SyncGetAuthorization.java | 45 + .../SyncGetAuthorization.java | 46 + .../apps/script/type/AddOnWidgetSetProto.java | 73 -- .../apps/script/type/ExtensionPoint.java | 101 -- .../apps/script/type/ScriptManifest.java | 125 -- .../calendar/CalendarAddOnManifestProto.java | 128 -- .../type/docs/DocsAddOnManifestProto.java | 97 -- .../type/drive/DriveAddOnManifestProto.java | 90 -- .../type/gmail/GmailAddOnManifestProto.java | 149 --- .../gmail/UnconditionalTriggerOrBuilder.java | 24 - .../type/sheets/SheetsAddOnManifestProto.java | 98 -- .../type/slides/SlidesAddOnManifestProto.java | 98 -- .../gsuiteaddons/v1/GSuiteAddOnsProto.java | 373 ------ .../v1/GetAuthorizationRequestOrBuilder.java | 58 - .../v1/GetDeploymentRequestOrBuilder.java | 56 - .../v1/GetInstallStatusRequestOrBuilder.java | 56 - .../v1/InstallDeploymentRequestOrBuilder.java | 56 - .../v1/ReplaceDeploymentRequestOrBuilder.java | 66 - .../UninstallDeploymentRequestOrBuilder.java | 56 - 172 files changed, 12276 insertions(+), 14707 deletions(-) rename {google-cloud-gsuite-addons => owl-bot-staging/v1/google-cloud-gsuite-addons}/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsClient.java (97%) rename {google-cloud-gsuite-addons => owl-bot-staging/v1/google-cloud-gsuite-addons}/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsSettings.java (90%) rename {google-cloud-gsuite-addons => owl-bot-staging/v1/google-cloud-gsuite-addons}/src/main/java/com/google/cloud/gsuiteaddons/v1/gapic_metadata.json (100%) rename {google-cloud-gsuite-addons => owl-bot-staging/v1/google-cloud-gsuite-addons}/src/main/java/com/google/cloud/gsuiteaddons/v1/package-info.java (100%) rename {google-cloud-gsuite-addons => owl-bot-staging/v1/google-cloud-gsuite-addons}/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GSuiteAddOnsStub.java (100%) rename {google-cloud-gsuite-addons => owl-bot-staging/v1/google-cloud-gsuite-addons}/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GSuiteAddOnsStubSettings.java (90%) rename {google-cloud-gsuite-addons => owl-bot-staging/v1/google-cloud-gsuite-addons}/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GrpcGSuiteAddOnsCallableFactory.java (100%) rename {google-cloud-gsuite-addons => owl-bot-staging/v1/google-cloud-gsuite-addons}/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GrpcGSuiteAddOnsStub.java (99%) create mode 100644 owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/HttpJsonGSuiteAddOnsCallableFactory.java create mode 100644 owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/HttpJsonGSuiteAddOnsStub.java create mode 100644 owl-bot-staging/v1/google-cloud-gsuite-addons/src/test/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsClientHttpJsonTest.java rename {google-cloud-gsuite-addons => owl-bot-staging/v1/google-cloud-gsuite-addons}/src/test/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsClientTest.java (100%) rename {google-cloud-gsuite-addons => owl-bot-staging/v1/google-cloud-gsuite-addons}/src/test/java/com/google/cloud/gsuiteaddons/v1/MockGSuiteAddOns.java (100%) rename {google-cloud-gsuite-addons => owl-bot-staging/v1/google-cloud-gsuite-addons}/src/test/java/com/google/cloud/gsuiteaddons/v1/MockGSuiteAddOnsImpl.java (100%) rename {grpc-google-cloud-gsuite-addons-v1 => owl-bot-staging/v1/grpc-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsGrpc.java (50%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/AddOnWidgetSet.java (74%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/AddOnWidgetSetOrBuilder.java (70%) create mode 100644 owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSetProto.java rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/CommonAddOnManifest.java (75%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/CommonAddOnManifestOrBuilder.java (86%) create mode 100644 owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/ExtensionPoint.java rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/HomepageExtensionPoint.java (72%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/HomepageExtensionPointOrBuilder.java (71%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/HttpAuthorizationHeader.java (71%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/HttpOptions.java (67%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/HttpOptionsOrBuilder.java (57%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/LayoutProperties.java (73%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/LayoutPropertiesOrBuilder.java (68%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/MenuItemExtensionPoint.java (71%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/MenuItemExtensionPointOrBuilder.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/ScriptManifest.java rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/UniversalActionExtensionPoint.java (71%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/UniversalActionExtensionPointOrBuilder.java (67%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifest.java (71%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifestOrBuilder.java (78%) create mode 100644 owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifestProto.java rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/calendar/CalendarExtensionPoint.java (70%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/calendar/CalendarExtensionPointOrBuilder.java (53%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/calendar/ConferenceSolution.java (74%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/calendar/ConferenceSolutionOrBuilder.java (74%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifest.java (69%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifestOrBuilder.java (68%) create mode 100644 owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifestProto.java rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/docs/DocsExtensionPoint.java (70%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/docs/DocsExtensionPointOrBuilder.java (52%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifest.java (70%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifestOrBuilder.java (75%) create mode 100644 owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifestProto.java rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/drive/DriveExtensionPoint.java (69%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/drive/DriveExtensionPointOrBuilder.java (50%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/gmail/ComposeTrigger.java (75%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/gmail/ComposeTriggerOrBuilder.java (75%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/gmail/ContextualTrigger.java (71%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/gmail/ContextualTriggerOrBuilder.java (69%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/gmail/GmailAddOnManifest.java (78%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/gmail/GmailAddOnManifestOrBuilder.java (88%) create mode 100644 owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/GmailAddOnManifestProto.java rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/gmail/UnconditionalTrigger.java (67%) create mode 100644 owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/UnconditionalTriggerOrBuilder.java rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/gmail/UniversalAction.java (73%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/gmail/UniversalActionOrBuilder.java (72%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/sheets/SheetsAddOnManifest.java (69%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/sheets/SheetsAddOnManifestOrBuilder.java (70%) create mode 100644 owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsAddOnManifestProto.java rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/sheets/SheetsExtensionPoint.java (70%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/sheets/SheetsExtensionPointOrBuilder.java (53%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/slides/SlidesAddOnManifest.java (69%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/slides/SlidesAddOnManifestOrBuilder.java (70%) create mode 100644 owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesAddOnManifestProto.java rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/slides/SlidesExtensionPoint.java (70%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/slides/SlidesExtensionPointOrBuilder.java (53%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/proto/google/apps/script/type/addon_widget_set.proto (100%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/proto/google/apps/script/type/calendar/calendar_addon_manifest.proto (100%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/proto/google/apps/script/type/docs/docs_addon_manifest.proto (100%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/proto/google/apps/script/type/drive/drive_addon_manifest.proto (100%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/proto/google/apps/script/type/extension_point.proto (100%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/proto/google/apps/script/type/gmail/gmail_addon_manifest.proto (100%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/proto/google/apps/script/type/script_manifest.proto (100%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/proto/google/apps/script/type/sheets/sheets_addon_manifest.proto (100%) rename {proto-google-apps-script-type-protos => owl-bot-staging/v1/proto-google-apps-script-type-protos}/src/main/proto/google/apps/script/type/slides/slides_addon_manifest.proto (100%) rename {proto-google-cloud-gsuite-addons-v1 => owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/AddOns.java (71%) rename {proto-google-cloud-gsuite-addons-v1 => owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/AddOnsOrBuilder.java (86%) rename {proto-google-cloud-gsuite-addons-v1 => owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/Authorization.java (72%) rename {proto-google-cloud-gsuite-addons-v1 => owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/AuthorizationName.java (100%) rename {proto-google-cloud-gsuite-addons-v1 => owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/AuthorizationOrBuilder.java (65%) rename {proto-google-cloud-gsuite-addons-v1 => owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/CreateDeploymentRequest.java (65%) rename {proto-google-cloud-gsuite-addons-v1 => owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/CreateDeploymentRequestOrBuilder.java (56%) rename {proto-google-cloud-gsuite-addons-v1 => owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/DeleteDeploymentRequest.java (67%) rename {proto-google-cloud-gsuite-addons-v1 => owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/DeleteDeploymentRequestOrBuilder.java (52%) rename {proto-google-cloud-gsuite-addons-v1 => owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/Deployment.java (73%) rename {proto-google-cloud-gsuite-addons-v1 => owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/DeploymentName.java (100%) rename {proto-google-cloud-gsuite-addons-v1 => owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/DeploymentOrBuilder.java (76%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsProto.java rename {proto-google-cloud-gsuite-addons-v1 => owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/GetAuthorizationRequest.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetAuthorizationRequestOrBuilder.java rename {proto-google-cloud-gsuite-addons-v1 => owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/GetDeploymentRequest.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetDeploymentRequestOrBuilder.java rename {proto-google-cloud-gsuite-addons-v1 => owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/GetInstallStatusRequest.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetInstallStatusRequestOrBuilder.java rename {proto-google-cloud-gsuite-addons-v1 => owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallDeploymentRequest.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallDeploymentRequestOrBuilder.java rename {proto-google-cloud-gsuite-addons-v1 => owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallStatus.java (71%) rename {proto-google-cloud-gsuite-addons-v1 => owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallStatusName.java (100%) rename {proto-google-cloud-gsuite-addons-v1 => owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallStatusOrBuilder.java (66%) rename {proto-google-cloud-gsuite-addons-v1 => owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsRequest.java (69%) rename {proto-google-cloud-gsuite-addons-v1 => owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsRequestOrBuilder.java (62%) rename {proto-google-cloud-gsuite-addons-v1 => owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsResponse.java (74%) rename {proto-google-cloud-gsuite-addons-v1 => owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsResponseOrBuilder.java (68%) rename {proto-google-cloud-gsuite-addons-v1 => owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/ProjectName.java (100%) rename {proto-google-cloud-gsuite-addons-v1 => owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/ReplaceDeploymentRequest.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ReplaceDeploymentRequestOrBuilder.java rename {proto-google-cloud-gsuite-addons-v1 => owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/UninstallDeploymentRequest.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/UninstallDeploymentRequestOrBuilder.java rename {proto-google-cloud-gsuite-addons-v1 => owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1}/src/main/proto/google/cloud/gsuiteaddons/v1/gsuiteaddons.proto (100%) create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/create/SyncCreateSetCredentialsProvider.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/create/SyncCreateSetCredentialsProvider1.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/create/SyncCreateSetEndpoint.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/createdeployment/AsyncCreateDeployment.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/createdeployment/SyncCreateDeployment.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/createdeployment/SyncCreateDeploymentProjectnameDeploymentString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/createdeployment/SyncCreateDeploymentStringDeploymentString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/AsyncDeleteDeployment.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/SyncDeleteDeployment.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/SyncDeleteDeploymentDeploymentname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/SyncDeleteDeploymentString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getauthorization/AsyncGetAuthorization.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getauthorization/SyncGetAuthorization.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getauthorization/SyncGetAuthorizationAuthorizationname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getauthorization/SyncGetAuthorizationString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getdeployment/AsyncGetDeployment.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getdeployment/SyncGetDeployment.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getdeployment/SyncGetDeploymentDeploymentname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getdeployment/SyncGetDeploymentString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getinstallstatus/AsyncGetInstallStatus.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getinstallstatus/SyncGetInstallStatus.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getinstallstatus/SyncGetInstallStatusInstallstatusname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getinstallstatus/SyncGetInstallStatusString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/AsyncInstallDeployment.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/SyncInstallDeployment.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/SyncInstallDeploymentDeploymentname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/SyncInstallDeploymentString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/AsyncListDeployments.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/AsyncListDeploymentsPaged.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/SyncListDeployments.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/SyncListDeploymentsProjectname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/SyncListDeploymentsString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/replacedeployment/AsyncReplaceDeployment.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/replacedeployment/SyncReplaceDeployment.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/replacedeployment/SyncReplaceDeploymentDeployment.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/AsyncUninstallDeployment.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/SyncUninstallDeployment.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/SyncUninstallDeploymentDeploymentname.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/SyncUninstallDeploymentString.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonssettings/getauthorization/SyncGetAuthorization.java create mode 100644 owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/stub/gsuiteaddonsstubsettings/getauthorization/SyncGetAuthorization.java delete mode 100644 proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSetProto.java delete mode 100644 proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/ExtensionPoint.java delete mode 100644 proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/ScriptManifest.java delete mode 100644 proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifestProto.java delete mode 100644 proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifestProto.java delete mode 100644 proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifestProto.java delete mode 100644 proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/GmailAddOnManifestProto.java delete mode 100644 proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/UnconditionalTriggerOrBuilder.java delete mode 100644 proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsAddOnManifestProto.java delete mode 100644 proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesAddOnManifestProto.java delete mode 100644 proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsProto.java delete mode 100644 proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetAuthorizationRequestOrBuilder.java delete mode 100644 proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetDeploymentRequestOrBuilder.java delete mode 100644 proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetInstallStatusRequestOrBuilder.java delete mode 100644 proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallDeploymentRequestOrBuilder.java delete mode 100644 proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ReplaceDeploymentRequestOrBuilder.java delete mode 100644 proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/UninstallDeploymentRequestOrBuilder.java diff --git a/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsClient.java b/owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsClient.java similarity index 97% rename from google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsClient.java rename to owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsClient.java index a6aa15e5..93646cb5 100644 --- a/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsClient.java +++ b/owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsClient.java @@ -77,13 +77,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -118,6 +118,20 @@ * GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create(gSuiteAddOnsSettings); * } * + *

To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over + * the wire: + * + *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
+ * GSuiteAddOnsSettings gSuiteAddOnsSettings =
+ *     GSuiteAddOnsSettings.newBuilder()
+ *         .setTransportChannelProvider(
+ *             GSuiteAddOnsSettings.defaultHttpJsonTransportProviderBuilder().build())
+ *         .build();
+ * GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create(gSuiteAddOnsSettings);
+ * }
+ * *

Please refer to the GitHub repository's samples for more quickstart code snippets. */ @Generated("by gapic-generator-java") @@ -1158,10 +1172,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListDeploymentsPagedResponse extends AbstractPagedListResponse< - ListDeploymentsRequest, - ListDeploymentsResponse, - Deployment, - ListDeploymentsPage, + ListDeploymentsRequest, ListDeploymentsResponse, Deployment, ListDeploymentsPage, ListDeploymentsFixedSizeCollection> { public static ApiFuture createAsync( @@ -1211,10 +1222,7 @@ public ApiFuture createPageAsync( public static class ListDeploymentsFixedSizeCollection extends AbstractFixedSizeCollection< - ListDeploymentsRequest, - ListDeploymentsResponse, - Deployment, - ListDeploymentsPage, + ListDeploymentsRequest, ListDeploymentsResponse, Deployment, ListDeploymentsPage, ListDeploymentsFixedSizeCollection> { private ListDeploymentsFixedSizeCollection( diff --git a/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsSettings.java b/owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsSettings.java similarity index 90% rename from google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsSettings.java rename to owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsSettings.java index 0c67e508..00be2779 100644 --- a/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsSettings.java +++ b/owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsSettings.java @@ -23,10 +23,12 @@ import com.google.api.gax.core.GoogleCredentialsProvider; import com.google.api.gax.core.InstantiatingExecutorProvider; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.gsuiteaddons.v1.stub.GSuiteAddOnsStubSettings; @@ -42,9 +44,9 @@ *

The default instance has everything set to sensible defaults: * *

* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -143,11 +145,18 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde return GSuiteAddOnsStubSettings.defaultCredentialsProviderBuilder(); } - /** Returns a builder for the default ChannelProvider for this service. */ + /** Returns a builder for the default gRPC ChannelProvider for this service. */ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { return GSuiteAddOnsStubSettings.defaultGrpcTransportProviderBuilder(); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return GSuiteAddOnsStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return GSuiteAddOnsStubSettings.defaultTransportChannelProvider(); } @@ -157,11 +166,17 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil return GSuiteAddOnsStubSettings.defaultApiClientHeaderProviderBuilder(); } - /** Returns a new builder for this class. */ + /** Returns a new gRPC builder for this class. */ public static Builder newBuilder() { return Builder.createDefault(); } + /** Returns a new REST builder for this class. */ + @BetaApi + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -199,6 +214,11 @@ private static Builder createDefault() { return new Builder(GSuiteAddOnsStubSettings.newBuilder()); } + @BetaApi + private static Builder createHttpJsonDefault() { + return new Builder(GSuiteAddOnsStubSettings.newHttpJsonBuilder()); + } + public GSuiteAddOnsStubSettings.Builder getStubSettingsBuilder() { return ((GSuiteAddOnsStubSettings.Builder) getStubSettings()); } diff --git a/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/gapic_metadata.json similarity index 100% rename from google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/gapic_metadata.json rename to owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/gapic_metadata.json diff --git a/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/package-info.java b/owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/package-info.java similarity index 100% rename from google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/package-info.java rename to owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/package-info.java diff --git a/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GSuiteAddOnsStub.java b/owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GSuiteAddOnsStub.java similarity index 100% rename from google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GSuiteAddOnsStub.java rename to owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GSuiteAddOnsStub.java diff --git a/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GSuiteAddOnsStubSettings.java b/owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GSuiteAddOnsStubSettings.java similarity index 90% rename from google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GSuiteAddOnsStubSettings.java rename to owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GSuiteAddOnsStubSettings.java index 9bd1cc95..8c6716bd 100644 --- a/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GSuiteAddOnsStubSettings.java +++ b/owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GSuiteAddOnsStubSettings.java @@ -27,6 +27,9 @@ import com.google.api.gax.grpc.GaxGrpcProperties; import com.google.api.gax.grpc.GrpcTransportChannel; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.HttpJsonTransportChannel; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.retrying.RetrySettings; import com.google.api.gax.rpc.ApiCallContext; import com.google.api.gax.rpc.ApiClientHeaderProvider; @@ -70,9 +73,9 @@ *

The default instance has everything set to sensible defaults: * *

* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -224,6 +227,11 @@ public GSuiteAddOnsStub createStub() throws IOException { .equals(GrpcTransportChannel.getGrpcTransportName())) { return GrpcGSuiteAddOnsStub.create(this); } + if (getTransportChannelProvider() + .getTransportName() + .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { + return HttpJsonGSuiteAddOnsStub.create(this); + } throw new UnsupportedOperationException( String.format( "Transport not supported: %s", getTransportChannelProvider().getTransportName())); @@ -256,18 +264,25 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde .setUseJwtAccessWithScope(true); } - /** Returns a builder for the default ChannelProvider for this service. */ + /** Returns a builder for the default gRPC ChannelProvider for this service. */ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { return InstantiatingGrpcChannelProvider.newBuilder() .setMaxInboundMessageSize(Integer.MAX_VALUE); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return InstantiatingHttpJsonChannelProvider.newBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return defaultGrpcTransportProviderBuilder().build(); } @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") - public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder() { return ApiClientHeaderProvider.newBuilder() .setGeneratedLibToken( "gapic", GaxProperties.getLibraryVersion(GSuiteAddOnsStubSettings.class)) @@ -275,11 +290,30 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); } - /** Returns a new builder for this class. */ + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken( + "gapic", GaxProperties.getLibraryVersion(GSuiteAddOnsStubSettings.class)) + .setTransportToken( + GaxHttpJsonProperties.getHttpJsonTokenName(), + GaxHttpJsonProperties.getHttpJsonVersion()); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return GSuiteAddOnsStubSettings.defaultGrpcApiClientHeaderProviderBuilder(); + } + + /** Returns a new gRPC builder for this class. */ public static Builder newBuilder() { return Builder.createDefault(); } + /** Returns a new REST builder for this class. */ + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -448,6 +482,19 @@ private static Builder createDefault() { return initDefaults(builder); } + private static Builder createHttpJsonDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); + builder.setEndpoint(getDefaultEndpoint()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + private static Builder initDefaults(Builder builder) { builder .getAuthorizationSettings() diff --git a/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GrpcGSuiteAddOnsCallableFactory.java b/owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GrpcGSuiteAddOnsCallableFactory.java similarity index 100% rename from google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GrpcGSuiteAddOnsCallableFactory.java rename to owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GrpcGSuiteAddOnsCallableFactory.java diff --git a/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GrpcGSuiteAddOnsStub.java b/owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GrpcGSuiteAddOnsStub.java similarity index 99% rename from google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GrpcGSuiteAddOnsStub.java rename to owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GrpcGSuiteAddOnsStub.java index cd7d18b2..2a309cbf 100644 --- a/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GrpcGSuiteAddOnsStub.java +++ b/owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GrpcGSuiteAddOnsStub.java @@ -43,6 +43,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/HttpJsonGSuiteAddOnsCallableFactory.java b/owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/HttpJsonGSuiteAddOnsCallableFactory.java new file mode 100644 index 00000000..347f4b81 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/HttpJsonGSuiteAddOnsCallableFactory.java @@ -0,0 +1,105 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.stub; + +import com.google.api.core.BetaApi; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonCallableFactory; +import com.google.api.gax.httpjson.HttpJsonOperationSnapshotCallable; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.longrunning.stub.OperationsStub; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.longrunning.Operation; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST callable factory implementation for the GSuiteAddOns service API. + * + *

This class is for advanced usage. + */ +@Generated("by gapic-generator-java") +@BetaApi +public class HttpJsonGSuiteAddOnsCallableFactory + implements HttpJsonStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + HttpJsonCallSettings httpJsonCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createUnaryCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + HttpJsonCallSettings httpJsonCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createPagedCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + HttpJsonCallSettings httpJsonCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createBatchingCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + @Override + public + OperationCallable createOperationCallable( + HttpJsonCallSettings httpJsonCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + UnaryCallable innerCallable = + HttpJsonCallableFactory.createBaseUnaryCallable( + httpJsonCallSettings, callSettings.getInitialCallSettings(), clientContext); + HttpJsonOperationSnapshotCallable initialCallable = + new HttpJsonOperationSnapshotCallable( + innerCallable, + httpJsonCallSettings.getMethodDescriptor().getOperationSnapshotFactory()); + return HttpJsonCallableFactory.createOperationCallable( + callSettings, clientContext, operationsStub.longRunningClient(), initialCallable); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + HttpJsonCallSettings httpJsonCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createServerStreamingCallable( + httpJsonCallSettings, callSettings, clientContext); + } +} diff --git a/owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/HttpJsonGSuiteAddOnsStub.java b/owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/HttpJsonGSuiteAddOnsStub.java new file mode 100644 index 00000000..d361039e --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/HttpJsonGSuiteAddOnsStub.java @@ -0,0 +1,626 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.stub; + +import static com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient.ListDeploymentsPagedResponse; + +import com.google.api.core.BetaApi; +import com.google.api.core.InternalApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.httpjson.ApiMethodDescriptor; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.ProtoMessageRequestFormatter; +import com.google.api.gax.httpjson.ProtoMessageResponseParser; +import com.google.api.gax.httpjson.ProtoRestSerializer; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.gsuiteaddons.v1.Authorization; +import com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest; +import com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest; +import com.google.cloud.gsuiteaddons.v1.Deployment; +import com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest; +import com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest; +import com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest; +import com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest; +import com.google.cloud.gsuiteaddons.v1.InstallStatus; +import com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest; +import com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse; +import com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest; +import com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest; +import com.google.protobuf.Empty; +import com.google.protobuf.TypeRegistry; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST stub implementation for the GSuiteAddOns service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +@BetaApi +public class HttpJsonGSuiteAddOnsStub extends GSuiteAddOnsStub { + private static final TypeRegistry typeRegistry = TypeRegistry.newBuilder().build(); + + private static final ApiMethodDescriptor + getAuthorizationMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.gsuiteaddons.v1.GSuiteAddOns/GetAuthorization") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/authorization}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Authorization.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + createDeploymentMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.gsuiteaddons.v1.GSuiteAddOns/CreateDeployment") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*}/deployments", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam( + fields, "deploymentId", request.getDeploymentId()); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("deployment", request.getDeployment())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Deployment.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + replaceDeploymentMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.gsuiteaddons.v1.GSuiteAddOns/ReplaceDeployment") + .setHttpMethod("PUT") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{deployment.name=projects/*/deployments/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "deployment.name", request.getDeployment().getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("deployment", request.getDeployment())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Deployment.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + getDeploymentMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.gsuiteaddons.v1.GSuiteAddOns/GetDeployment") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/deployments/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Deployment.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + listDeploymentsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.gsuiteaddons.v1.GSuiteAddOns/ListDeployments") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*}/deployments", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListDeploymentsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + deleteDeploymentMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.gsuiteaddons.v1.GSuiteAddOns/DeleteDeployment") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/deployments/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "etag", request.getEtag()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Empty.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + installDeploymentMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.gsuiteaddons.v1.GSuiteAddOns/InstallDeployment") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/deployments/*}:install", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Empty.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + uninstallDeploymentMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.gsuiteaddons.v1.GSuiteAddOns/UninstallDeployment") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/deployments/*}:uninstall", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Empty.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + getInstallStatusMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.gsuiteaddons.v1.GSuiteAddOns/GetInstallStatus") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/deployments/*/installStatus}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(InstallStatus.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private final UnaryCallable getAuthorizationCallable; + private final UnaryCallable createDeploymentCallable; + private final UnaryCallable replaceDeploymentCallable; + private final UnaryCallable getDeploymentCallable; + private final UnaryCallable + listDeploymentsCallable; + private final UnaryCallable + listDeploymentsPagedCallable; + private final UnaryCallable deleteDeploymentCallable; + private final UnaryCallable installDeploymentCallable; + private final UnaryCallable uninstallDeploymentCallable; + private final UnaryCallable getInstallStatusCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonGSuiteAddOnsStub create(GSuiteAddOnsStubSettings settings) + throws IOException { + return new HttpJsonGSuiteAddOnsStub(settings, ClientContext.create(settings)); + } + + public static final HttpJsonGSuiteAddOnsStub create(ClientContext clientContext) + throws IOException { + return new HttpJsonGSuiteAddOnsStub( + GSuiteAddOnsStubSettings.newHttpJsonBuilder().build(), clientContext); + } + + public static final HttpJsonGSuiteAddOnsStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonGSuiteAddOnsStub( + GSuiteAddOnsStubSettings.newHttpJsonBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of HttpJsonGSuiteAddOnsStub, using the given settings. This is protected + * so that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected HttpJsonGSuiteAddOnsStub(GSuiteAddOnsStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new HttpJsonGSuiteAddOnsCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonGSuiteAddOnsStub, using the given settings. This is protected + * so that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected HttpJsonGSuiteAddOnsStub( + GSuiteAddOnsStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + + HttpJsonCallSettings getAuthorizationTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getAuthorizationMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings createDeploymentTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createDeploymentMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings replaceDeploymentTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(replaceDeploymentMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getDeploymentTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getDeploymentMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + listDeploymentsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listDeploymentsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings deleteDeploymentTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteDeploymentMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings installDeploymentTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(installDeploymentMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings uninstallDeploymentTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(uninstallDeploymentMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getInstallStatusTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getInstallStatusMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + + this.getAuthorizationCallable = + callableFactory.createUnaryCallable( + getAuthorizationTransportSettings, settings.getAuthorizationSettings(), clientContext); + this.createDeploymentCallable = + callableFactory.createUnaryCallable( + createDeploymentTransportSettings, settings.createDeploymentSettings(), clientContext); + this.replaceDeploymentCallable = + callableFactory.createUnaryCallable( + replaceDeploymentTransportSettings, + settings.replaceDeploymentSettings(), + clientContext); + this.getDeploymentCallable = + callableFactory.createUnaryCallable( + getDeploymentTransportSettings, settings.getDeploymentSettings(), clientContext); + this.listDeploymentsCallable = + callableFactory.createUnaryCallable( + listDeploymentsTransportSettings, settings.listDeploymentsSettings(), clientContext); + this.listDeploymentsPagedCallable = + callableFactory.createPagedCallable( + listDeploymentsTransportSettings, settings.listDeploymentsSettings(), clientContext); + this.deleteDeploymentCallable = + callableFactory.createUnaryCallable( + deleteDeploymentTransportSettings, settings.deleteDeploymentSettings(), clientContext); + this.installDeploymentCallable = + callableFactory.createUnaryCallable( + installDeploymentTransportSettings, + settings.installDeploymentSettings(), + clientContext); + this.uninstallDeploymentCallable = + callableFactory.createUnaryCallable( + uninstallDeploymentTransportSettings, + settings.uninstallDeploymentSettings(), + clientContext); + this.getInstallStatusCallable = + callableFactory.createUnaryCallable( + getInstallStatusTransportSettings, settings.getInstallStatusSettings(), clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + methodDescriptors.add(getAuthorizationMethodDescriptor); + methodDescriptors.add(createDeploymentMethodDescriptor); + methodDescriptors.add(replaceDeploymentMethodDescriptor); + methodDescriptors.add(getDeploymentMethodDescriptor); + methodDescriptors.add(listDeploymentsMethodDescriptor); + methodDescriptors.add(deleteDeploymentMethodDescriptor); + methodDescriptors.add(installDeploymentMethodDescriptor); + methodDescriptors.add(uninstallDeploymentMethodDescriptor); + methodDescriptors.add(getInstallStatusMethodDescriptor); + return methodDescriptors; + } + + @Override + public UnaryCallable getAuthorizationCallable() { + return getAuthorizationCallable; + } + + @Override + public UnaryCallable createDeploymentCallable() { + return createDeploymentCallable; + } + + @Override + public UnaryCallable replaceDeploymentCallable() { + return replaceDeploymentCallable; + } + + @Override + public UnaryCallable getDeploymentCallable() { + return getDeploymentCallable; + } + + @Override + public UnaryCallable listDeploymentsCallable() { + return listDeploymentsCallable; + } + + @Override + public UnaryCallable + listDeploymentsPagedCallable() { + return listDeploymentsPagedCallable; + } + + @Override + public UnaryCallable deleteDeploymentCallable() { + return deleteDeploymentCallable; + } + + @Override + public UnaryCallable installDeploymentCallable() { + return installDeploymentCallable; + } + + @Override + public UnaryCallable uninstallDeploymentCallable() { + return uninstallDeploymentCallable; + } + + @Override + public UnaryCallable getInstallStatusCallable() { + return getInstallStatusCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/owl-bot-staging/v1/google-cloud-gsuite-addons/src/test/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-gsuite-addons/src/test/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsClientHttpJsonTest.java new file mode 100644 index 00000000..4abdc9b2 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-gsuite-addons/src/test/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsClientHttpJsonTest.java @@ -0,0 +1,857 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1; + +import static com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient.ListDeploymentsPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.testing.MockHttpService; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ApiException; +import com.google.api.gax.rpc.ApiExceptionFactory; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.cloud.gsuiteaddons.v1.stub.HttpJsonGSuiteAddOnsStub; +import com.google.common.collect.Lists; +import com.google.protobuf.BoolValue; +import com.google.protobuf.Empty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class GSuiteAddOnsClientHttpJsonTest { + private static MockHttpService mockService; + private static GSuiteAddOnsClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonGSuiteAddOnsStub.getMethodDescriptors(), + GSuiteAddOnsSettings.getDefaultEndpoint()); + GSuiteAddOnsSettings settings = + GSuiteAddOnsSettings.newHttpJsonBuilder() + .setTransportChannelProvider( + GSuiteAddOnsSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = GSuiteAddOnsClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void getAuthorizationTest() throws Exception { + Authorization expectedResponse = + Authorization.newBuilder() + .setName(AuthorizationName.of("[PROJECT]").toString()) + .setServiceAccountEmail("serviceAccountEmail1825953988") + .setOauthClientId("oauthClientId-2001133059") + .build(); + mockService.addResponse(expectedResponse); + + AuthorizationName name = AuthorizationName.of("[PROJECT]"); + + Authorization actualResponse = client.getAuthorization(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getAuthorizationExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + AuthorizationName name = AuthorizationName.of("[PROJECT]"); + client.getAuthorization(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getAuthorizationTest2() throws Exception { + Authorization expectedResponse = + Authorization.newBuilder() + .setName(AuthorizationName.of("[PROJECT]").toString()) + .setServiceAccountEmail("serviceAccountEmail1825953988") + .setOauthClientId("oauthClientId-2001133059") + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-4106/authorization"; + + Authorization actualResponse = client.getAuthorization(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getAuthorizationExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-4106/authorization"; + client.getAuthorization(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createDeploymentTest() throws Exception { + Deployment expectedResponse = + Deployment.newBuilder() + .setName(DeploymentName.of("[PROJECT]", "[DEPLOYMENT]").toString()) + .addAllOauthScopes(new ArrayList()) + .setAddOns(AddOns.newBuilder().build()) + .setEtag("etag3123477") + .build(); + mockService.addResponse(expectedResponse); + + ProjectName parent = ProjectName.of("[PROJECT]"); + Deployment deployment = Deployment.newBuilder().build(); + String deploymentId = "deploymentId-136894784"; + + Deployment actualResponse = client.createDeployment(parent, deployment, deploymentId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createDeploymentExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ProjectName parent = ProjectName.of("[PROJECT]"); + Deployment deployment = Deployment.newBuilder().build(); + String deploymentId = "deploymentId-136894784"; + client.createDeployment(parent, deployment, deploymentId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createDeploymentTest2() throws Exception { + Deployment expectedResponse = + Deployment.newBuilder() + .setName(DeploymentName.of("[PROJECT]", "[DEPLOYMENT]").toString()) + .addAllOauthScopes(new ArrayList()) + .setAddOns(AddOns.newBuilder().build()) + .setEtag("etag3123477") + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-2353"; + Deployment deployment = Deployment.newBuilder().build(); + String deploymentId = "deploymentId-136894784"; + + Deployment actualResponse = client.createDeployment(parent, deployment, deploymentId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createDeploymentExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-2353"; + Deployment deployment = Deployment.newBuilder().build(); + String deploymentId = "deploymentId-136894784"; + client.createDeployment(parent, deployment, deploymentId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void replaceDeploymentTest() throws Exception { + Deployment expectedResponse = + Deployment.newBuilder() + .setName(DeploymentName.of("[PROJECT]", "[DEPLOYMENT]").toString()) + .addAllOauthScopes(new ArrayList()) + .setAddOns(AddOns.newBuilder().build()) + .setEtag("etag3123477") + .build(); + mockService.addResponse(expectedResponse); + + Deployment deployment = + Deployment.newBuilder() + .setName(DeploymentName.of("[PROJECT]", "[DEPLOYMENT]").toString()) + .addAllOauthScopes(new ArrayList()) + .setAddOns(AddOns.newBuilder().build()) + .setEtag("etag3123477") + .build(); + + Deployment actualResponse = client.replaceDeployment(deployment); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void replaceDeploymentExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + Deployment deployment = + Deployment.newBuilder() + .setName(DeploymentName.of("[PROJECT]", "[DEPLOYMENT]").toString()) + .addAllOauthScopes(new ArrayList()) + .setAddOns(AddOns.newBuilder().build()) + .setEtag("etag3123477") + .build(); + client.replaceDeployment(deployment); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getDeploymentTest() throws Exception { + Deployment expectedResponse = + Deployment.newBuilder() + .setName(DeploymentName.of("[PROJECT]", "[DEPLOYMENT]").toString()) + .addAllOauthScopes(new ArrayList()) + .setAddOns(AddOns.newBuilder().build()) + .setEtag("etag3123477") + .build(); + mockService.addResponse(expectedResponse); + + DeploymentName name = DeploymentName.of("[PROJECT]", "[DEPLOYMENT]"); + + Deployment actualResponse = client.getDeployment(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getDeploymentExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + DeploymentName name = DeploymentName.of("[PROJECT]", "[DEPLOYMENT]"); + client.getDeployment(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getDeploymentTest2() throws Exception { + Deployment expectedResponse = + Deployment.newBuilder() + .setName(DeploymentName.of("[PROJECT]", "[DEPLOYMENT]").toString()) + .addAllOauthScopes(new ArrayList()) + .setAddOns(AddOns.newBuilder().build()) + .setEtag("etag3123477") + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-5254/deployments/deployment-5254"; + + Deployment actualResponse = client.getDeployment(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getDeploymentExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-5254/deployments/deployment-5254"; + client.getDeployment(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listDeploymentsTest() throws Exception { + Deployment responsesElement = Deployment.newBuilder().build(); + ListDeploymentsResponse expectedResponse = + ListDeploymentsResponse.newBuilder() + .setNextPageToken("") + .addAllDeployments(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + ProjectName parent = ProjectName.of("[PROJECT]"); + + ListDeploymentsPagedResponse pagedListResponse = client.listDeployments(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getDeploymentsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listDeploymentsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ProjectName parent = ProjectName.of("[PROJECT]"); + client.listDeployments(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listDeploymentsTest2() throws Exception { + Deployment responsesElement = Deployment.newBuilder().build(); + ListDeploymentsResponse expectedResponse = + ListDeploymentsResponse.newBuilder() + .setNextPageToken("") + .addAllDeployments(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-2353"; + + ListDeploymentsPagedResponse pagedListResponse = client.listDeployments(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getDeploymentsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listDeploymentsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-2353"; + client.listDeployments(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteDeploymentTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + DeploymentName name = DeploymentName.of("[PROJECT]", "[DEPLOYMENT]"); + + client.deleteDeployment(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteDeploymentExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + DeploymentName name = DeploymentName.of("[PROJECT]", "[DEPLOYMENT]"); + client.deleteDeployment(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteDeploymentTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-5254/deployments/deployment-5254"; + + client.deleteDeployment(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteDeploymentExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-5254/deployments/deployment-5254"; + client.deleteDeployment(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void installDeploymentTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + DeploymentName name = DeploymentName.of("[PROJECT]", "[DEPLOYMENT]"); + + client.installDeployment(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void installDeploymentExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + DeploymentName name = DeploymentName.of("[PROJECT]", "[DEPLOYMENT]"); + client.installDeployment(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void installDeploymentTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-5254/deployments/deployment-5254"; + + client.installDeployment(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void installDeploymentExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-5254/deployments/deployment-5254"; + client.installDeployment(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void uninstallDeploymentTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + DeploymentName name = DeploymentName.of("[PROJECT]", "[DEPLOYMENT]"); + + client.uninstallDeployment(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void uninstallDeploymentExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + DeploymentName name = DeploymentName.of("[PROJECT]", "[DEPLOYMENT]"); + client.uninstallDeployment(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void uninstallDeploymentTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-5254/deployments/deployment-5254"; + + client.uninstallDeployment(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void uninstallDeploymentExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-5254/deployments/deployment-5254"; + client.uninstallDeployment(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getInstallStatusTest() throws Exception { + InstallStatus expectedResponse = + InstallStatus.newBuilder() + .setName(InstallStatusName.of("[PROJECT]", "[DEPLOYMENT]").toString()) + .setInstalled(BoolValue.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + InstallStatusName name = InstallStatusName.of("[PROJECT]", "[DEPLOYMENT]"); + + InstallStatus actualResponse = client.getInstallStatus(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getInstallStatusExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstallStatusName name = InstallStatusName.of("[PROJECT]", "[DEPLOYMENT]"); + client.getInstallStatus(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getInstallStatusTest2() throws Exception { + InstallStatus expectedResponse = + InstallStatus.newBuilder() + .setName(InstallStatusName.of("[PROJECT]", "[DEPLOYMENT]").toString()) + .setInstalled(BoolValue.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-4296/deployments/deployment-4296/installStatus"; + + InstallStatus actualResponse = client.getInstallStatus(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getInstallStatusExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-4296/deployments/deployment-4296/installStatus"; + client.getInstallStatus(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/google-cloud-gsuite-addons/src/test/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsClientTest.java b/owl-bot-staging/v1/google-cloud-gsuite-addons/src/test/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsClientTest.java similarity index 100% rename from google-cloud-gsuite-addons/src/test/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsClientTest.java rename to owl-bot-staging/v1/google-cloud-gsuite-addons/src/test/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsClientTest.java diff --git a/google-cloud-gsuite-addons/src/test/java/com/google/cloud/gsuiteaddons/v1/MockGSuiteAddOns.java b/owl-bot-staging/v1/google-cloud-gsuite-addons/src/test/java/com/google/cloud/gsuiteaddons/v1/MockGSuiteAddOns.java similarity index 100% rename from google-cloud-gsuite-addons/src/test/java/com/google/cloud/gsuiteaddons/v1/MockGSuiteAddOns.java rename to owl-bot-staging/v1/google-cloud-gsuite-addons/src/test/java/com/google/cloud/gsuiteaddons/v1/MockGSuiteAddOns.java diff --git a/google-cloud-gsuite-addons/src/test/java/com/google/cloud/gsuiteaddons/v1/MockGSuiteAddOnsImpl.java b/owl-bot-staging/v1/google-cloud-gsuite-addons/src/test/java/com/google/cloud/gsuiteaddons/v1/MockGSuiteAddOnsImpl.java similarity index 100% rename from google-cloud-gsuite-addons/src/test/java/com/google/cloud/gsuiteaddons/v1/MockGSuiteAddOnsImpl.java rename to owl-bot-staging/v1/google-cloud-gsuite-addons/src/test/java/com/google/cloud/gsuiteaddons/v1/MockGSuiteAddOnsImpl.java diff --git a/grpc-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsGrpc.java similarity index 50% rename from grpc-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsGrpc.java rename to owl-bot-staging/v1/grpc-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsGrpc.java index 956698a4..4466891a 100644 --- a/grpc-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsGrpc.java +++ b/owl-bot-staging/v1/grpc-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsGrpc.java @@ -1,25 +1,8 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ package com.google.cloud.gsuiteaddons.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** - * - * *

  * A service for managing Google Workspace Add-ons deployments.
  * A Google Workspace Add-on is a third-party embedded component that can be
@@ -58,458 +41,330 @@ private GSuiteAddOnsGrpc() {}
   public static final String SERVICE_NAME = "google.cloud.gsuiteaddons.v1.GSuiteAddOns";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest,
-          com.google.cloud.gsuiteaddons.v1.Authorization>
-      getGetAuthorizationMethod;
+  private static volatile io.grpc.MethodDescriptor getGetAuthorizationMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetAuthorization",
       requestType = com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest.class,
       responseType = com.google.cloud.gsuiteaddons.v1.Authorization.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest,
-          com.google.cloud.gsuiteaddons.v1.Authorization>
-      getGetAuthorizationMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest,
-            com.google.cloud.gsuiteaddons.v1.Authorization>
-        getGetAuthorizationMethod;
+  public static io.grpc.MethodDescriptor getGetAuthorizationMethod() {
+    io.grpc.MethodDescriptor getGetAuthorizationMethod;
     if ((getGetAuthorizationMethod = GSuiteAddOnsGrpc.getGetAuthorizationMethod) == null) {
       synchronized (GSuiteAddOnsGrpc.class) {
         if ((getGetAuthorizationMethod = GSuiteAddOnsGrpc.getGetAuthorizationMethod) == null) {
-          GSuiteAddOnsGrpc.getGetAuthorizationMethod =
-              getGetAuthorizationMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAuthorization"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.gsuiteaddons.v1.Authorization.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new GSuiteAddOnsMethodDescriptorSupplier("GetAuthorization"))
-                      .build();
+          GSuiteAddOnsGrpc.getGetAuthorizationMethod = getGetAuthorizationMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAuthorization"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.gsuiteaddons.v1.Authorization.getDefaultInstance()))
+              .setSchemaDescriptor(new GSuiteAddOnsMethodDescriptorSupplier("GetAuthorization"))
+              .build();
         }
       }
     }
     return getGetAuthorizationMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest,
-          com.google.cloud.gsuiteaddons.v1.Deployment>
-      getCreateDeploymentMethod;
+  private static volatile io.grpc.MethodDescriptor getCreateDeploymentMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateDeployment",
       requestType = com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest.class,
       responseType = com.google.cloud.gsuiteaddons.v1.Deployment.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest,
-          com.google.cloud.gsuiteaddons.v1.Deployment>
-      getCreateDeploymentMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest,
-            com.google.cloud.gsuiteaddons.v1.Deployment>
-        getCreateDeploymentMethod;
+  public static io.grpc.MethodDescriptor getCreateDeploymentMethod() {
+    io.grpc.MethodDescriptor getCreateDeploymentMethod;
     if ((getCreateDeploymentMethod = GSuiteAddOnsGrpc.getCreateDeploymentMethod) == null) {
       synchronized (GSuiteAddOnsGrpc.class) {
         if ((getCreateDeploymentMethod = GSuiteAddOnsGrpc.getCreateDeploymentMethod) == null) {
-          GSuiteAddOnsGrpc.getCreateDeploymentMethod =
-              getCreateDeploymentMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDeployment"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new GSuiteAddOnsMethodDescriptorSupplier("CreateDeployment"))
-                      .build();
+          GSuiteAddOnsGrpc.getCreateDeploymentMethod = getCreateDeploymentMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDeployment"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance()))
+              .setSchemaDescriptor(new GSuiteAddOnsMethodDescriptorSupplier("CreateDeployment"))
+              .build();
         }
       }
     }
     return getCreateDeploymentMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest,
-          com.google.cloud.gsuiteaddons.v1.Deployment>
-      getReplaceDeploymentMethod;
+  private static volatile io.grpc.MethodDescriptor getReplaceDeploymentMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ReplaceDeployment",
       requestType = com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest.class,
       responseType = com.google.cloud.gsuiteaddons.v1.Deployment.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest,
-          com.google.cloud.gsuiteaddons.v1.Deployment>
-      getReplaceDeploymentMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest,
-            com.google.cloud.gsuiteaddons.v1.Deployment>
-        getReplaceDeploymentMethod;
+  public static io.grpc.MethodDescriptor getReplaceDeploymentMethod() {
+    io.grpc.MethodDescriptor getReplaceDeploymentMethod;
     if ((getReplaceDeploymentMethod = GSuiteAddOnsGrpc.getReplaceDeploymentMethod) == null) {
       synchronized (GSuiteAddOnsGrpc.class) {
         if ((getReplaceDeploymentMethod = GSuiteAddOnsGrpc.getReplaceDeploymentMethod) == null) {
-          GSuiteAddOnsGrpc.getReplaceDeploymentMethod =
-              getReplaceDeploymentMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReplaceDeployment"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new GSuiteAddOnsMethodDescriptorSupplier("ReplaceDeployment"))
-                      .build();
+          GSuiteAddOnsGrpc.getReplaceDeploymentMethod = getReplaceDeploymentMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReplaceDeployment"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance()))
+              .setSchemaDescriptor(new GSuiteAddOnsMethodDescriptorSupplier("ReplaceDeployment"))
+              .build();
         }
       }
     }
     return getReplaceDeploymentMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest,
-          com.google.cloud.gsuiteaddons.v1.Deployment>
-      getGetDeploymentMethod;
+  private static volatile io.grpc.MethodDescriptor getGetDeploymentMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetDeployment",
       requestType = com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest.class,
       responseType = com.google.cloud.gsuiteaddons.v1.Deployment.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest,
-          com.google.cloud.gsuiteaddons.v1.Deployment>
-      getGetDeploymentMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest,
-            com.google.cloud.gsuiteaddons.v1.Deployment>
-        getGetDeploymentMethod;
+  public static io.grpc.MethodDescriptor getGetDeploymentMethod() {
+    io.grpc.MethodDescriptor getGetDeploymentMethod;
     if ((getGetDeploymentMethod = GSuiteAddOnsGrpc.getGetDeploymentMethod) == null) {
       synchronized (GSuiteAddOnsGrpc.class) {
         if ((getGetDeploymentMethod = GSuiteAddOnsGrpc.getGetDeploymentMethod) == null) {
-          GSuiteAddOnsGrpc.getGetDeploymentMethod =
-              getGetDeploymentMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDeployment"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new GSuiteAddOnsMethodDescriptorSupplier("GetDeployment"))
-                      .build();
+          GSuiteAddOnsGrpc.getGetDeploymentMethod = getGetDeploymentMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDeployment"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance()))
+              .setSchemaDescriptor(new GSuiteAddOnsMethodDescriptorSupplier("GetDeployment"))
+              .build();
         }
       }
     }
     return getGetDeploymentMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest,
-          com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse>
-      getListDeploymentsMethod;
+  private static volatile io.grpc.MethodDescriptor getListDeploymentsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListDeployments",
       requestType = com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest.class,
       responseType = com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest,
-          com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse>
-      getListDeploymentsMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest,
-            com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse>
-        getListDeploymentsMethod;
+  public static io.grpc.MethodDescriptor getListDeploymentsMethod() {
+    io.grpc.MethodDescriptor getListDeploymentsMethod;
     if ((getListDeploymentsMethod = GSuiteAddOnsGrpc.getListDeploymentsMethod) == null) {
       synchronized (GSuiteAddOnsGrpc.class) {
         if ((getListDeploymentsMethod = GSuiteAddOnsGrpc.getListDeploymentsMethod) == null) {
-          GSuiteAddOnsGrpc.getListDeploymentsMethod =
-              getListDeploymentsMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDeployments"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse
-                                  .getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new GSuiteAddOnsMethodDescriptorSupplier("ListDeployments"))
-                      .build();
+          GSuiteAddOnsGrpc.getListDeploymentsMethod = getListDeploymentsMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDeployments"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse.getDefaultInstance()))
+              .setSchemaDescriptor(new GSuiteAddOnsMethodDescriptorSupplier("ListDeployments"))
+              .build();
         }
       }
     }
     return getListDeploymentsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest, com.google.protobuf.Empty>
-      getDeleteDeploymentMethod;
+  private static volatile io.grpc.MethodDescriptor getDeleteDeploymentMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteDeployment",
       requestType = com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest, com.google.protobuf.Empty>
-      getDeleteDeploymentMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest, com.google.protobuf.Empty>
-        getDeleteDeploymentMethod;
+  public static io.grpc.MethodDescriptor getDeleteDeploymentMethod() {
+    io.grpc.MethodDescriptor getDeleteDeploymentMethod;
     if ((getDeleteDeploymentMethod = GSuiteAddOnsGrpc.getDeleteDeploymentMethod) == null) {
       synchronized (GSuiteAddOnsGrpc.class) {
         if ((getDeleteDeploymentMethod = GSuiteAddOnsGrpc.getDeleteDeploymentMethod) == null) {
-          GSuiteAddOnsGrpc.getDeleteDeploymentMethod =
-              getDeleteDeploymentMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDeployment"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new GSuiteAddOnsMethodDescriptorSupplier("DeleteDeployment"))
-                      .build();
+          GSuiteAddOnsGrpc.getDeleteDeploymentMethod = getDeleteDeploymentMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDeployment"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new GSuiteAddOnsMethodDescriptorSupplier("DeleteDeployment"))
+              .build();
         }
       }
     }
     return getDeleteDeploymentMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest, com.google.protobuf.Empty>
-      getInstallDeploymentMethod;
+  private static volatile io.grpc.MethodDescriptor getInstallDeploymentMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "InstallDeployment",
       requestType = com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest, com.google.protobuf.Empty>
-      getInstallDeploymentMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest, com.google.protobuf.Empty>
-        getInstallDeploymentMethod;
+  public static io.grpc.MethodDescriptor getInstallDeploymentMethod() {
+    io.grpc.MethodDescriptor getInstallDeploymentMethod;
     if ((getInstallDeploymentMethod = GSuiteAddOnsGrpc.getInstallDeploymentMethod) == null) {
       synchronized (GSuiteAddOnsGrpc.class) {
         if ((getInstallDeploymentMethod = GSuiteAddOnsGrpc.getInstallDeploymentMethod) == null) {
-          GSuiteAddOnsGrpc.getInstallDeploymentMethod =
-              getInstallDeploymentMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "InstallDeployment"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new GSuiteAddOnsMethodDescriptorSupplier("InstallDeployment"))
-                      .build();
+          GSuiteAddOnsGrpc.getInstallDeploymentMethod = getInstallDeploymentMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "InstallDeployment"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new GSuiteAddOnsMethodDescriptorSupplier("InstallDeployment"))
+              .build();
         }
       }
     }
     return getInstallDeploymentMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest, com.google.protobuf.Empty>
-      getUninstallDeploymentMethod;
+  private static volatile io.grpc.MethodDescriptor getUninstallDeploymentMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UninstallDeployment",
       requestType = com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest, com.google.protobuf.Empty>
-      getUninstallDeploymentMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest, com.google.protobuf.Empty>
-        getUninstallDeploymentMethod;
+  public static io.grpc.MethodDescriptor getUninstallDeploymentMethod() {
+    io.grpc.MethodDescriptor getUninstallDeploymentMethod;
     if ((getUninstallDeploymentMethod = GSuiteAddOnsGrpc.getUninstallDeploymentMethod) == null) {
       synchronized (GSuiteAddOnsGrpc.class) {
-        if ((getUninstallDeploymentMethod = GSuiteAddOnsGrpc.getUninstallDeploymentMethod)
-            == null) {
-          GSuiteAddOnsGrpc.getUninstallDeploymentMethod =
-              getUninstallDeploymentMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(
-                          generateFullMethodName(SERVICE_NAME, "UninstallDeployment"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.protobuf.Empty.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new GSuiteAddOnsMethodDescriptorSupplier("UninstallDeployment"))
-                      .build();
+        if ((getUninstallDeploymentMethod = GSuiteAddOnsGrpc.getUninstallDeploymentMethod) == null) {
+          GSuiteAddOnsGrpc.getUninstallDeploymentMethod = getUninstallDeploymentMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UninstallDeployment"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.protobuf.Empty.getDefaultInstance()))
+              .setSchemaDescriptor(new GSuiteAddOnsMethodDescriptorSupplier("UninstallDeployment"))
+              .build();
         }
       }
     }
     return getUninstallDeploymentMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor<
-          com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest,
-          com.google.cloud.gsuiteaddons.v1.InstallStatus>
-      getGetInstallStatusMethod;
+  private static volatile io.grpc.MethodDescriptor getGetInstallStatusMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetInstallStatus",
       requestType = com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest.class,
       responseType = com.google.cloud.gsuiteaddons.v1.InstallStatus.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor<
-          com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest,
-          com.google.cloud.gsuiteaddons.v1.InstallStatus>
-      getGetInstallStatusMethod() {
-    io.grpc.MethodDescriptor<
-            com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest,
-            com.google.cloud.gsuiteaddons.v1.InstallStatus>
-        getGetInstallStatusMethod;
+  public static io.grpc.MethodDescriptor getGetInstallStatusMethod() {
+    io.grpc.MethodDescriptor getGetInstallStatusMethod;
     if ((getGetInstallStatusMethod = GSuiteAddOnsGrpc.getGetInstallStatusMethod) == null) {
       synchronized (GSuiteAddOnsGrpc.class) {
         if ((getGetInstallStatusMethod = GSuiteAddOnsGrpc.getGetInstallStatusMethod) == null) {
-          GSuiteAddOnsGrpc.getGetInstallStatusMethod =
-              getGetInstallStatusMethod =
-                  io.grpc.MethodDescriptor
-                      .
-                          newBuilder()
-                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInstallStatus"))
-                      .setSampledToLocalTracing(true)
-                      .setRequestMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest
-                                  .getDefaultInstance()))
-                      .setResponseMarshaller(
-                          io.grpc.protobuf.ProtoUtils.marshaller(
-                              com.google.cloud.gsuiteaddons.v1.InstallStatus.getDefaultInstance()))
-                      .setSchemaDescriptor(
-                          new GSuiteAddOnsMethodDescriptorSupplier("GetInstallStatus"))
-                      .build();
+          GSuiteAddOnsGrpc.getGetInstallStatusMethod = getGetInstallStatusMethod =
+              io.grpc.MethodDescriptor.newBuilder()
+              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInstallStatus"))
+              .setSampledToLocalTracing(true)
+              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest.getDefaultInstance()))
+              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
+                  com.google.cloud.gsuiteaddons.v1.InstallStatus.getDefaultInstance()))
+              .setSchemaDescriptor(new GSuiteAddOnsMethodDescriptorSupplier("GetInstallStatus"))
+              .build();
         }
       }
     }
     return getGetInstallStatusMethod;
   }
 
-  /** Creates a new async stub that supports all call types for the service */
+  /**
+   * Creates a new async stub that supports all call types for the service
+   */
   public static GSuiteAddOnsStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public GSuiteAddOnsStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new GSuiteAddOnsStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public GSuiteAddOnsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new GSuiteAddOnsStub(channel, callOptions);
+        }
+      };
     return GSuiteAddOnsStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static GSuiteAddOnsBlockingStub newBlockingStub(io.grpc.Channel channel) {
+  public static GSuiteAddOnsBlockingStub newBlockingStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public GSuiteAddOnsBlockingStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new GSuiteAddOnsBlockingStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public GSuiteAddOnsBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new GSuiteAddOnsBlockingStub(channel, callOptions);
+        }
+      };
     return GSuiteAddOnsBlockingStub.newStub(factory, channel);
   }
 
-  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
-  public static GSuiteAddOnsFutureStub newFutureStub(io.grpc.Channel channel) {
+  /**
+   * Creates a new ListenableFuture-style stub that supports unary calls on the service
+   */
+  public static GSuiteAddOnsFutureStub newFutureStub(
+      io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-        new io.grpc.stub.AbstractStub.StubFactory() {
-          @java.lang.Override
-          public GSuiteAddOnsFutureStub newStub(
-              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-            return new GSuiteAddOnsFutureStub(channel, callOptions);
-          }
-        };
+      new io.grpc.stub.AbstractStub.StubFactory() {
+        @java.lang.Override
+        public GSuiteAddOnsFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+          return new GSuiteAddOnsFutureStub(channel, callOptions);
+        }
+      };
     return GSuiteAddOnsFutureStub.newStub(factory, channel);
   }
 
   /**
-   *
-   *
    * 
    * A service for managing Google Workspace Add-ons deployments.
    * A Google Workspace Add-on is a third-party embedded component that can be
@@ -537,210 +392,172 @@ public GSuiteAddOnsFutureStub newStub(
    * for details.
    * 
*/ - public abstract static class GSuiteAddOnsImplBase implements io.grpc.BindableService { + public static abstract class GSuiteAddOnsImplBase implements io.grpc.BindableService { /** - * - * *
      * Gets the authorization information for deployments in a given project.
      * 
*/ - public void getAuthorization( - com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetAuthorizationMethod(), responseObserver); + public void getAuthorization(com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAuthorizationMethod(), responseObserver); } /** - * - * *
      * Creates a deployment with the specified name and configuration.
      * 
*/ - public void createDeployment( - com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest request, + public void createDeployment(com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateDeploymentMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDeploymentMethod(), responseObserver); } /** - * - * *
      * Creates or replaces a deployment with the specified name.
      * 
*/ - public void replaceDeployment( - com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest request, + public void replaceDeployment(com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getReplaceDeploymentMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReplaceDeploymentMethod(), responseObserver); } /** - * - * *
      * Gets the deployment with the specified name.
      * 
*/ - public void getDeployment( - com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest request, + public void getDeployment(com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetDeploymentMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDeploymentMethod(), responseObserver); } /** - * - * *
      * Lists all deployments in a particular project.
      * 
*/ - public void listDeployments( - com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListDeploymentsMethod(), responseObserver); + public void listDeployments(com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDeploymentsMethod(), responseObserver); } /** - * - * *
      * Deletes the deployment with the given name.
      * 
*/ - public void deleteDeployment( - com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest request, + public void deleteDeployment(com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteDeploymentMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteDeploymentMethod(), responseObserver); } /** - * - * *
      * Installs a deployment in developer mode.
      * See:
      * https://developers.google.com/gsuite/add-ons/how-tos/testing-gsuite-addons.
      * 
*/ - public void installDeployment( - com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest request, + public void installDeployment(com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getInstallDeploymentMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getInstallDeploymentMethod(), responseObserver); } /** - * - * *
      * Uninstalls a developer mode deployment.
      * See:
      * https://developers.google.com/gsuite/add-ons/how-tos/testing-gsuite-addons.
      * 
*/ - public void uninstallDeployment( - com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest request, + public void uninstallDeployment(com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUninstallDeploymentMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUninstallDeploymentMethod(), responseObserver); } /** - * - * *
      * Fetches the install status of a developer mode deployment.
      * 
*/ - public void getInstallStatus( - com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetInstallStatusMethod(), responseObserver); + public void getInstallStatus(com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInstallStatusMethod(), responseObserver); } - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getGetAuthorizationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest, - com.google.cloud.gsuiteaddons.v1.Authorization>( - this, METHODID_GET_AUTHORIZATION))) + getGetAuthorizationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest, + com.google.cloud.gsuiteaddons.v1.Authorization>( + this, METHODID_GET_AUTHORIZATION))) .addMethod( - getCreateDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest, - com.google.cloud.gsuiteaddons.v1.Deployment>( - this, METHODID_CREATE_DEPLOYMENT))) + getCreateDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest, + com.google.cloud.gsuiteaddons.v1.Deployment>( + this, METHODID_CREATE_DEPLOYMENT))) .addMethod( - getReplaceDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest, - com.google.cloud.gsuiteaddons.v1.Deployment>( - this, METHODID_REPLACE_DEPLOYMENT))) + getReplaceDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest, + com.google.cloud.gsuiteaddons.v1.Deployment>( + this, METHODID_REPLACE_DEPLOYMENT))) .addMethod( - getGetDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest, - com.google.cloud.gsuiteaddons.v1.Deployment>(this, METHODID_GET_DEPLOYMENT))) + getGetDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest, + com.google.cloud.gsuiteaddons.v1.Deployment>( + this, METHODID_GET_DEPLOYMENT))) .addMethod( - getListDeploymentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest, - com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse>( - this, METHODID_LIST_DEPLOYMENTS))) + getListDeploymentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest, + com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse>( + this, METHODID_LIST_DEPLOYMENTS))) .addMethod( - getDeleteDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_DEPLOYMENT))) + getDeleteDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_DEPLOYMENT))) .addMethod( - getInstallDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest, - com.google.protobuf.Empty>(this, METHODID_INSTALL_DEPLOYMENT))) + getInstallDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest, + com.google.protobuf.Empty>( + this, METHODID_INSTALL_DEPLOYMENT))) .addMethod( - getUninstallDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest, - com.google.protobuf.Empty>(this, METHODID_UNINSTALL_DEPLOYMENT))) + getUninstallDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest, + com.google.protobuf.Empty>( + this, METHODID_UNINSTALL_DEPLOYMENT))) .addMethod( - getGetInstallStatusMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest, - com.google.cloud.gsuiteaddons.v1.InstallStatus>( - this, METHODID_GET_INSTALL_STATUS))) + getGetInstallStatusMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest, + com.google.cloud.gsuiteaddons.v1.InstallStatus>( + this, METHODID_GET_INSTALL_STATUS))) .build(); } } /** - * - * *
    * A service for managing Google Workspace Add-ons deployments.
    * A Google Workspace Add-on is a third-party embedded component that can be
@@ -768,172 +585,123 @@ public final io.grpc.ServerServiceDefinition bindService() {
    * for details.
    * 
*/ - public static final class GSuiteAddOnsStub - extends io.grpc.stub.AbstractAsyncStub { - private GSuiteAddOnsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class GSuiteAddOnsStub extends io.grpc.stub.AbstractAsyncStub { + private GSuiteAddOnsStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected GSuiteAddOnsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected GSuiteAddOnsStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new GSuiteAddOnsStub(channel, callOptions); } /** - * - * *
      * Gets the authorization information for deployments in a given project.
      * 
*/ - public void getAuthorization( - com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void getAuthorization(com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAuthorizationMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetAuthorizationMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates a deployment with the specified name and configuration.
      * 
*/ - public void createDeployment( - com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest request, + public void createDeployment(com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateDeploymentMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getCreateDeploymentMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Creates or replaces a deployment with the specified name.
      * 
*/ - public void replaceDeployment( - com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest request, + public void replaceDeployment(com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getReplaceDeploymentMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getReplaceDeploymentMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Gets the deployment with the specified name.
      * 
*/ - public void getDeployment( - com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest request, + public void getDeployment(com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDeploymentMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetDeploymentMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Lists all deployments in a particular project.
      * 
*/ - public void listDeployments( - com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void listDeployments(com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDeploymentsMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getListDeploymentsMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Deletes the deployment with the given name.
      * 
*/ - public void deleteDeployment( - com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest request, + public void deleteDeployment(com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteDeploymentMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getDeleteDeploymentMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Installs a deployment in developer mode.
      * See:
      * https://developers.google.com/gsuite/add-ons/how-tos/testing-gsuite-addons.
      * 
*/ - public void installDeployment( - com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest request, + public void installDeployment(com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getInstallDeploymentMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getInstallDeploymentMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Uninstalls a developer mode deployment.
      * See:
      * https://developers.google.com/gsuite/add-ons/how-tos/testing-gsuite-addons.
      * 
*/ - public void uninstallDeployment( - com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest request, + public void uninstallDeployment(com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUninstallDeploymentMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getUninstallDeploymentMethod(), getCallOptions()), request, responseObserver); } /** - * - * *
      * Fetches the install status of a developer mode deployment.
      * 
*/ - public void getInstallStatus( - com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest request, - io.grpc.stub.StreamObserver - responseObserver) { + public void getInstallStatus(com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest request, + io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetInstallStatusMethod(), getCallOptions()), - request, - responseObserver); + getChannel().newCall(getGetInstallStatusMethod(), getCallOptions()), request, responseObserver); } } /** - * - * *
    * A service for managing Google Workspace Add-ons deployments.
    * A Google Workspace Add-on is a third-party embedded component that can be
@@ -961,9 +729,9 @@ public void getInstallStatus(
    * for details.
    * 
*/ - public static final class GSuiteAddOnsBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private GSuiteAddOnsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class GSuiteAddOnsBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private GSuiteAddOnsBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -974,130 +742,101 @@ protected GSuiteAddOnsBlockingStub build( } /** - * - * *
      * Gets the authorization information for deployments in a given project.
      * 
*/ - public com.google.cloud.gsuiteaddons.v1.Authorization getAuthorization( - com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest request) { + public com.google.cloud.gsuiteaddons.v1.Authorization getAuthorization(com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetAuthorizationMethod(), getCallOptions(), request); } /** - * - * *
      * Creates a deployment with the specified name and configuration.
      * 
*/ - public com.google.cloud.gsuiteaddons.v1.Deployment createDeployment( - com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest request) { + public com.google.cloud.gsuiteaddons.v1.Deployment createDeployment(com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateDeploymentMethod(), getCallOptions(), request); } /** - * - * *
      * Creates or replaces a deployment with the specified name.
      * 
*/ - public com.google.cloud.gsuiteaddons.v1.Deployment replaceDeployment( - com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest request) { + public com.google.cloud.gsuiteaddons.v1.Deployment replaceDeployment(com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getReplaceDeploymentMethod(), getCallOptions(), request); } /** - * - * *
      * Gets the deployment with the specified name.
      * 
*/ - public com.google.cloud.gsuiteaddons.v1.Deployment getDeployment( - com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest request) { + public com.google.cloud.gsuiteaddons.v1.Deployment getDeployment(com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetDeploymentMethod(), getCallOptions(), request); } /** - * - * *
      * Lists all deployments in a particular project.
      * 
*/ - public com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse listDeployments( - com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest request) { + public com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse listDeployments(com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListDeploymentsMethod(), getCallOptions(), request); } /** - * - * *
      * Deletes the deployment with the given name.
      * 
*/ - public com.google.protobuf.Empty deleteDeployment( - com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest request) { + public com.google.protobuf.Empty deleteDeployment(com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteDeploymentMethod(), getCallOptions(), request); } /** - * - * *
      * Installs a deployment in developer mode.
      * See:
      * https://developers.google.com/gsuite/add-ons/how-tos/testing-gsuite-addons.
      * 
*/ - public com.google.protobuf.Empty installDeployment( - com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest request) { + public com.google.protobuf.Empty installDeployment(com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getInstallDeploymentMethod(), getCallOptions(), request); } /** - * - * *
      * Uninstalls a developer mode deployment.
      * See:
      * https://developers.google.com/gsuite/add-ons/how-tos/testing-gsuite-addons.
      * 
*/ - public com.google.protobuf.Empty uninstallDeployment( - com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest request) { + public com.google.protobuf.Empty uninstallDeployment(com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUninstallDeploymentMethod(), getCallOptions(), request); } /** - * - * *
      * Fetches the install status of a developer mode deployment.
      * 
*/ - public com.google.cloud.gsuiteaddons.v1.InstallStatus getInstallStatus( - com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest request) { + public com.google.cloud.gsuiteaddons.v1.InstallStatus getInstallStatus(com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetInstallStatusMethod(), getCallOptions(), request); } } /** - * - * *
    * A service for managing Google Workspace Add-ons deployments.
    * A Google Workspace Add-on is a third-party embedded component that can be
@@ -1125,9 +864,9 @@ public com.google.cloud.gsuiteaddons.v1.InstallStatus getInstallStatus(
    * for details.
    * 
*/ - public static final class GSuiteAddOnsFutureStub - extends io.grpc.stub.AbstractFutureStub { - private GSuiteAddOnsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class GSuiteAddOnsFutureStub extends io.grpc.stub.AbstractFutureStub { + private GSuiteAddOnsFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -1138,128 +877,104 @@ protected GSuiteAddOnsFutureStub build( } /** - * - * *
      * Gets the authorization information for deployments in a given project.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.gsuiteaddons.v1.Authorization> - getAuthorization(com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest request) { + public com.google.common.util.concurrent.ListenableFuture getAuthorization( + com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetAuthorizationMethod(), getCallOptions()), request); } /** - * - * *
      * Creates a deployment with the specified name and configuration.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.gsuiteaddons.v1.Deployment> - createDeployment(com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest request) { + public com.google.common.util.concurrent.ListenableFuture createDeployment( + com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateDeploymentMethod(), getCallOptions()), request); } /** - * - * *
      * Creates or replaces a deployment with the specified name.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.gsuiteaddons.v1.Deployment> - replaceDeployment(com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest request) { + public com.google.common.util.concurrent.ListenableFuture replaceDeployment( + com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getReplaceDeploymentMethod(), getCallOptions()), request); } /** - * - * *
      * Gets the deployment with the specified name.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.gsuiteaddons.v1.Deployment> - getDeployment(com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest request) { + public com.google.common.util.concurrent.ListenableFuture getDeployment( + com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetDeploymentMethod(), getCallOptions()), request); } /** - * - * *
      * Lists all deployments in a particular project.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse> - listDeployments(com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest request) { + public com.google.common.util.concurrent.ListenableFuture listDeployments( + com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListDeploymentsMethod(), getCallOptions()), request); } /** - * - * *
      * Deletes the deployment with the given name.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - deleteDeployment(com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest request) { + public com.google.common.util.concurrent.ListenableFuture deleteDeployment( + com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteDeploymentMethod(), getCallOptions()), request); } /** - * - * *
      * Installs a deployment in developer mode.
      * See:
      * https://developers.google.com/gsuite/add-ons/how-tos/testing-gsuite-addons.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - installDeployment(com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest request) { + public com.google.common.util.concurrent.ListenableFuture installDeployment( + com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getInstallDeploymentMethod(), getCallOptions()), request); } /** - * - * *
      * Uninstalls a developer mode deployment.
      * See:
      * https://developers.google.com/gsuite/add-ons/how-tos/testing-gsuite-addons.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture - uninstallDeployment(com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest request) { + public com.google.common.util.concurrent.ListenableFuture uninstallDeployment( + com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUninstallDeploymentMethod(), getCallOptions()), request); } /** - * - * *
      * Fetches the install status of a developer mode deployment.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.gsuiteaddons.v1.InstallStatus> - getInstallStatus(com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest request) { + public com.google.common.util.concurrent.ListenableFuture getInstallStatus( + com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetInstallStatusMethod(), getCallOptions()), request); } @@ -1275,11 +990,11 @@ protected GSuiteAddOnsFutureStub build( private static final int METHODID_UNINSTALL_DEPLOYMENT = 7; private static final int METHODID_GET_INSTALL_STATUS = 8; - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final GSuiteAddOnsImplBase serviceImpl; private final int methodId; @@ -1293,56 +1008,40 @@ private static final class MethodHandlers public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_GET_AUTHORIZATION: - serviceImpl.getAuthorization( - (com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.getAuthorization((com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_DEPLOYMENT: - serviceImpl.createDeployment( - (com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.createDeployment((com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_REPLACE_DEPLOYMENT: - serviceImpl.replaceDeployment( - (com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.replaceDeployment((com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_DEPLOYMENT: - serviceImpl.getDeployment( - (com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.getDeployment((com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_DEPLOYMENTS: - serviceImpl.listDeployments( - (com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse>) - responseObserver); + serviceImpl.listDeployments((com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_DEPLOYMENT: - serviceImpl.deleteDeployment( - (com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest) request, + serviceImpl.deleteDeployment((com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_INSTALL_DEPLOYMENT: - serviceImpl.installDeployment( - (com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest) request, + serviceImpl.installDeployment((com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UNINSTALL_DEPLOYMENT: - serviceImpl.uninstallDeployment( - (com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest) request, + serviceImpl.uninstallDeployment((com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_INSTALL_STATUS: - serviceImpl.getInstallStatus( - (com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); + serviceImpl.getInstallStatus((com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); @@ -1360,9 +1059,8 @@ public io.grpc.stub.StreamObserver invoke( } } - private abstract static class GSuiteAddOnsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private static abstract class GSuiteAddOnsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { GSuiteAddOnsBaseDescriptorSupplier() {} @java.lang.Override @@ -1404,20 +1102,18 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (GSuiteAddOnsGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new GSuiteAddOnsFileDescriptorSupplier()) - .addMethod(getGetAuthorizationMethod()) - .addMethod(getCreateDeploymentMethod()) - .addMethod(getReplaceDeploymentMethod()) - .addMethod(getGetDeploymentMethod()) - .addMethod(getListDeploymentsMethod()) - .addMethod(getDeleteDeploymentMethod()) - .addMethod(getInstallDeploymentMethod()) - .addMethod(getUninstallDeploymentMethod()) - .addMethod(getGetInstallStatusMethod()) - .build(); + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new GSuiteAddOnsFileDescriptorSupplier()) + .addMethod(getGetAuthorizationMethod()) + .addMethod(getCreateDeploymentMethod()) + .addMethod(getReplaceDeploymentMethod()) + .addMethod(getGetDeploymentMethod()) + .addMethod(getListDeploymentsMethod()) + .addMethod(getDeleteDeploymentMethod()) + .addMethod(getInstallDeploymentMethod()) + .addMethod(getUninstallDeploymentMethod()) + .addMethod(getGetInstallStatusMethod()) + .build(); } } } diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSet.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSet.java similarity index 74% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSet.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSet.java index ced49064..7a42c6af 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSet.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSet.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/addon_widget_set.proto package com.google.apps.script.type; /** - * - * *
  * The widget subset used by an add-on.
  * 
* * Protobuf type {@code google.apps.script.type.AddOnWidgetSet} */ -public final class AddOnWidgetSet extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AddOnWidgetSet extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.apps.script.type.AddOnWidgetSet) AddOnWidgetSetOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AddOnWidgetSet.newBuilder() to construct. private AddOnWidgetSet(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AddOnWidgetSet() { usedWidgets_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AddOnWidgetSet(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AddOnWidgetSet( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,38 +54,36 @@ private AddOnWidgetSet( case 0: done = true; break; - case 8: - { + case 8: { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + usedWidgets_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + usedWidgets_.add(rawValue); + break; + } + case 10: { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { usedWidgets_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } usedWidgets_.add(rawValue); - break; } - case 10: - { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while (input.getBytesUntilLimit() > 0) { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - usedWidgets_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - usedWidgets_.add(rawValue); - } - input.popLimit(oldLimit); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + input.popLimit(oldLimit); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -110,7 +91,8 @@ private AddOnWidgetSet( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { usedWidgets_ = java.util.Collections.unmodifiableList(usedWidgets_); @@ -119,35 +101,29 @@ private AddOnWidgetSet( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.apps.script.type.AddOnWidgetSetProto - .internal_static_google_apps_script_type_AddOnWidgetSet_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.apps.script.type.AddOnWidgetSetProto.internal_static_google_apps_script_type_AddOnWidgetSet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.AddOnWidgetSetProto - .internal_static_google_apps_script_type_AddOnWidgetSet_fieldAccessorTable + return com.google.apps.script.type.AddOnWidgetSetProto.internal_static_google_apps_script_type_AddOnWidgetSet_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.AddOnWidgetSet.class, - com.google.apps.script.type.AddOnWidgetSet.Builder.class); + com.google.apps.script.type.AddOnWidgetSet.class, com.google.apps.script.type.AddOnWidgetSet.Builder.class); } /** - * - * *
    * The Widget type. DEFAULT is the basic widget set.
    * 
* * Protobuf enum {@code google.apps.script.type.AddOnWidgetSet.WidgetType} */ - public enum WidgetType implements com.google.protobuf.ProtocolMessageEnum { + public enum WidgetType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The default widget set.
      * 
@@ -156,8 +132,6 @@ public enum WidgetType implements com.google.protobuf.ProtocolMessageEnum { */ WIDGET_TYPE_UNSPECIFIED(0), /** - * - * *
      * The date picker.
      * 
@@ -166,8 +140,6 @@ public enum WidgetType implements com.google.protobuf.ProtocolMessageEnum { */ DATE_PICKER(1), /** - * - * *
      * Styled buttons include filled buttons and disabled buttons.
      * 
@@ -176,8 +148,6 @@ public enum WidgetType implements com.google.protobuf.ProtocolMessageEnum { */ STYLED_BUTTONS(2), /** - * - * *
      * Persistent forms allow persisting form values during actions.
      * 
@@ -186,8 +156,6 @@ public enum WidgetType implements com.google.protobuf.ProtocolMessageEnum { */ PERSISTENT_FORMS(3), /** - * - * *
      * Fixed footer in card.
      * 
@@ -196,8 +164,6 @@ public enum WidgetType implements com.google.protobuf.ProtocolMessageEnum { */ FIXED_FOOTER(4), /** - * - * *
      * Update the subject and recipients of a draft.
      * 
@@ -206,8 +172,6 @@ public enum WidgetType implements com.google.protobuf.ProtocolMessageEnum { */ UPDATE_SUBJECT_AND_RECIPIENTS(5), /** - * - * *
      * The grid widget.
      * 
@@ -216,8 +180,6 @@ public enum WidgetType implements com.google.protobuf.ProtocolMessageEnum { */ GRID_WIDGET(6), /** - * - * *
      * A Gmail add-on action that applies to the addon compose UI.
      * 
@@ -229,8 +191,6 @@ public enum WidgetType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The default widget set.
      * 
@@ -239,8 +199,6 @@ public enum WidgetType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int WIDGET_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The date picker.
      * 
@@ -249,8 +207,6 @@ public enum WidgetType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DATE_PICKER_VALUE = 1; /** - * - * *
      * Styled buttons include filled buttons and disabled buttons.
      * 
@@ -259,8 +215,6 @@ public enum WidgetType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STYLED_BUTTONS_VALUE = 2; /** - * - * *
      * Persistent forms allow persisting form values during actions.
      * 
@@ -269,8 +223,6 @@ public enum WidgetType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PERSISTENT_FORMS_VALUE = 3; /** - * - * *
      * Fixed footer in card.
      * 
@@ -279,8 +231,6 @@ public enum WidgetType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FIXED_FOOTER_VALUE = 4; /** - * - * *
      * Update the subject and recipients of a draft.
      * 
@@ -289,8 +239,6 @@ public enum WidgetType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UPDATE_SUBJECT_AND_RECIPIENTS_VALUE = 5; /** - * - * *
      * The grid widget.
      * 
@@ -299,8 +247,6 @@ public enum WidgetType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GRID_WIDGET_VALUE = 6; /** - * - * *
      * A Gmail add-on action that applies to the addon compose UI.
      * 
@@ -309,6 +255,7 @@ public enum WidgetType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ADDON_COMPOSE_UI_ACTION_VALUE = 7; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -333,59 +280,54 @@ public static WidgetType valueOf(int value) { */ public static WidgetType forNumber(int value) { switch (value) { - case 0: - return WIDGET_TYPE_UNSPECIFIED; - case 1: - return DATE_PICKER; - case 2: - return STYLED_BUTTONS; - case 3: - return PERSISTENT_FORMS; - case 4: - return FIXED_FOOTER; - case 5: - return UPDATE_SUBJECT_AND_RECIPIENTS; - case 6: - return GRID_WIDGET; - case 7: - return ADDON_COMPOSE_UI_ACTION; - default: - return null; + case 0: return WIDGET_TYPE_UNSPECIFIED; + case 1: return DATE_PICKER; + case 2: return STYLED_BUTTONS; + case 3: return PERSISTENT_FORMS; + case 4: return FIXED_FOOTER; + case 5: return UPDATE_SUBJECT_AND_RECIPIENTS; + case 6: return GRID_WIDGET; + case 7: return ADDON_COMPOSE_UI_ACTION; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + WidgetType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public WidgetType findValueByNumber(int number) { + return WidgetType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public WidgetType findValueByNumber(int number) { - return WidgetType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.apps.script.type.AddOnWidgetSet.getDescriptor().getEnumTypes().get(0); } private static final WidgetType[] VALUES = values(); - public static WidgetType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static WidgetType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -405,47 +347,34 @@ private WidgetType(int value) { public static final int USED_WIDGETS_FIELD_NUMBER = 1; private java.util.List usedWidgets_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.apps.script.type.AddOnWidgetSet.WidgetType> - usedWidgets_converter_ = + java.lang.Integer, com.google.apps.script.type.AddOnWidgetSet.WidgetType> usedWidgets_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.apps.script.type.AddOnWidgetSet.WidgetType>() { - public com.google.apps.script.type.AddOnWidgetSet.WidgetType convert( - java.lang.Integer from) { + public com.google.apps.script.type.AddOnWidgetSet.WidgetType convert(java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.apps.script.type.AddOnWidgetSet.WidgetType result = - com.google.apps.script.type.AddOnWidgetSet.WidgetType.valueOf(from); - return result == null - ? com.google.apps.script.type.AddOnWidgetSet.WidgetType.UNRECOGNIZED - : result; + com.google.apps.script.type.AddOnWidgetSet.WidgetType result = com.google.apps.script.type.AddOnWidgetSet.WidgetType.valueOf(from); + return result == null ? com.google.apps.script.type.AddOnWidgetSet.WidgetType.UNRECOGNIZED : result; } }; /** - * - * *
    * The list of widgets used in an add-on.
    * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; - * * @return A list containing the usedWidgets. */ @java.lang.Override - public java.util.List - getUsedWidgetsList() { + public java.util.List getUsedWidgetsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.apps.script.type.AddOnWidgetSet.WidgetType>( - usedWidgets_, usedWidgets_converter_); + java.lang.Integer, com.google.apps.script.type.AddOnWidgetSet.WidgetType>(usedWidgets_, usedWidgets_converter_); } /** - * - * *
    * The list of widgets used in an add-on.
    * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; - * * @return The count of usedWidgets. */ @java.lang.Override @@ -453,14 +382,11 @@ public int getUsedWidgetsCount() { return usedWidgets_.size(); } /** - * - * *
    * The list of widgets used in an add-on.
    * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; - * * @param index The index of the element to return. * @return The usedWidgets at the given index. */ @@ -469,29 +395,24 @@ public com.google.apps.script.type.AddOnWidgetSet.WidgetType getUsedWidgets(int return usedWidgets_converter_.convert(usedWidgets_.get(index)); } /** - * - * *
    * The list of widgets used in an add-on.
    * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; - * * @return A list containing the enum numeric values on the wire for usedWidgets. */ @java.lang.Override - public java.util.List getUsedWidgetsValueList() { + public java.util.List + getUsedWidgetsValueList() { return usedWidgets_; } /** - * - * *
    * The list of widgets used in an add-on.
    * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of usedWidgets at the given index. */ @@ -499,11 +420,9 @@ public java.util.List getUsedWidgetsValueList() { public int getUsedWidgetsValue(int index) { return usedWidgets_.get(index); } - private int usedWidgetsMemoizedSerializedSize; private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -515,7 +434,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (getUsedWidgetsList().size() > 0) { output.writeUInt32NoTag(10); @@ -536,14 +456,14 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < usedWidgets_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(usedWidgets_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeEnumSizeNoTag(usedWidgets_.get(i)); } size += dataSize; - if (!getUsedWidgetsList().isEmpty()) { - size += 1; - size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); - } - usedWidgetsMemoizedSerializedSize = dataSize; + if (!getUsedWidgetsList().isEmpty()) { size += 1; + size += com.google.protobuf.CodedOutputStream + .computeUInt32SizeNoTag(dataSize); + }usedWidgetsMemoizedSerializedSize = dataSize; } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -553,13 +473,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.AddOnWidgetSet)) { return super.equals(obj); } - com.google.apps.script.type.AddOnWidgetSet other = - (com.google.apps.script.type.AddOnWidgetSet) obj; + com.google.apps.script.type.AddOnWidgetSet other = (com.google.apps.script.type.AddOnWidgetSet) obj; if (!usedWidgets_.equals(other.usedWidgets_)) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -582,127 +501,118 @@ public int hashCode() { return hash; } - public static com.google.apps.script.type.AddOnWidgetSet parseFrom(java.nio.ByteBuffer data) + public static com.google.apps.script.type.AddOnWidgetSet parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.AddOnWidgetSet parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.AddOnWidgetSet parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.AddOnWidgetSet parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.AddOnWidgetSet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.AddOnWidgetSet parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.AddOnWidgetSet parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.AddOnWidgetSet parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.apps.script.type.AddOnWidgetSet parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.apps.script.type.AddOnWidgetSet parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.apps.script.type.AddOnWidgetSet parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.AddOnWidgetSet parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.AddOnWidgetSet parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.apps.script.type.AddOnWidgetSet prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The widget subset used by an add-on.
    * 
* * Protobuf type {@code google.apps.script.type.AddOnWidgetSet} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.script.type.AddOnWidgetSet) com.google.apps.script.type.AddOnWidgetSetOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.apps.script.type.AddOnWidgetSetProto - .internal_static_google_apps_script_type_AddOnWidgetSet_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.apps.script.type.AddOnWidgetSetProto.internal_static_google_apps_script_type_AddOnWidgetSet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.AddOnWidgetSetProto - .internal_static_google_apps_script_type_AddOnWidgetSet_fieldAccessorTable + return com.google.apps.script.type.AddOnWidgetSetProto.internal_static_google_apps_script_type_AddOnWidgetSet_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.AddOnWidgetSet.class, - com.google.apps.script.type.AddOnWidgetSet.Builder.class); + com.google.apps.script.type.AddOnWidgetSet.class, com.google.apps.script.type.AddOnWidgetSet.Builder.class); } // Construct using com.google.apps.script.type.AddOnWidgetSet.newBuilder() @@ -710,15 +620,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -728,9 +639,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.apps.script.type.AddOnWidgetSetProto - .internal_static_google_apps_script_type_AddOnWidgetSet_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.apps.script.type.AddOnWidgetSetProto.internal_static_google_apps_script_type_AddOnWidgetSet_descriptor; } @java.lang.Override @@ -749,8 +660,7 @@ public com.google.apps.script.type.AddOnWidgetSet build() { @java.lang.Override public com.google.apps.script.type.AddOnWidgetSet buildPartial() { - com.google.apps.script.type.AddOnWidgetSet result = - new com.google.apps.script.type.AddOnWidgetSet(this); + com.google.apps.script.type.AddOnWidgetSet result = new com.google.apps.script.type.AddOnWidgetSet(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { usedWidgets_ = java.util.Collections.unmodifiableList(usedWidgets_); @@ -765,39 +675,38 @@ public com.google.apps.script.type.AddOnWidgetSet buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.script.type.AddOnWidgetSet) { - return mergeFrom((com.google.apps.script.type.AddOnWidgetSet) other); + return mergeFrom((com.google.apps.script.type.AddOnWidgetSet)other); } else { super.mergeFrom(other); return this; @@ -844,11 +753,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List usedWidgets_ = java.util.Collections.emptyList(); - + private java.util.List usedWidgets_ = + java.util.Collections.emptyList(); private void ensureUsedWidgetsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { usedWidgets_ = new java.util.ArrayList(usedWidgets_); @@ -856,45 +764,34 @@ private void ensureUsedWidgetsIsMutable() { } } /** - * - * *
      * The list of widgets used in an add-on.
      * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; - * * @return A list containing the usedWidgets. */ - public java.util.List - getUsedWidgetsList() { + public java.util.List getUsedWidgetsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.apps.script.type.AddOnWidgetSet.WidgetType>( - usedWidgets_, usedWidgets_converter_); + java.lang.Integer, com.google.apps.script.type.AddOnWidgetSet.WidgetType>(usedWidgets_, usedWidgets_converter_); } /** - * - * *
      * The list of widgets used in an add-on.
      * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; - * * @return The count of usedWidgets. */ public int getUsedWidgetsCount() { return usedWidgets_.size(); } /** - * - * *
      * The list of widgets used in an add-on.
      * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; - * * @param index The index of the element to return. * @return The usedWidgets at the given index. */ @@ -902,14 +799,11 @@ public com.google.apps.script.type.AddOnWidgetSet.WidgetType getUsedWidgets(int return usedWidgets_converter_.convert(usedWidgets_.get(index)); } /** - * - * *
      * The list of widgets used in an add-on.
      * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; - * * @param index The index to set the value at. * @param value The usedWidgets to set. * @return This builder for chaining. @@ -925,14 +819,11 @@ public Builder setUsedWidgets( return this; } /** - * - * *
      * The list of widgets used in an add-on.
      * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; - * * @param value The usedWidgets to add. * @return This builder for chaining. */ @@ -946,20 +837,16 @@ public Builder addUsedWidgets(com.google.apps.script.type.AddOnWidgetSet.WidgetT return this; } /** - * - * *
      * The list of widgets used in an add-on.
      * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; - * * @param values The usedWidgets to add. * @return This builder for chaining. */ public Builder addAllUsedWidgets( - java.lang.Iterable - values) { + java.lang.Iterable values) { ensureUsedWidgetsIsMutable(); for (com.google.apps.script.type.AddOnWidgetSet.WidgetType value : values) { usedWidgets_.add(value.getNumber()); @@ -968,14 +855,11 @@ public Builder addAllUsedWidgets( return this; } /** - * - * *
      * The list of widgets used in an add-on.
      * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; - * * @return This builder for chaining. */ public Builder clearUsedWidgets() { @@ -985,28 +869,23 @@ public Builder clearUsedWidgets() { return this; } /** - * - * *
      * The list of widgets used in an add-on.
      * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; - * * @return A list containing the enum numeric values on the wire for usedWidgets. */ - public java.util.List getUsedWidgetsValueList() { + public java.util.List + getUsedWidgetsValueList() { return java.util.Collections.unmodifiableList(usedWidgets_); } /** - * - * *
      * The list of widgets used in an add-on.
      * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of usedWidgets at the given index. */ @@ -1014,33 +893,28 @@ public int getUsedWidgetsValue(int index) { return usedWidgets_.get(index); } /** - * - * *
      * The list of widgets used in an add-on.
      * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of usedWidgets at the given index. * @return This builder for chaining. */ - public Builder setUsedWidgetsValue(int index, int value) { + public Builder setUsedWidgetsValue( + int index, int value) { ensureUsedWidgetsIsMutable(); usedWidgets_.set(index, value); onChanged(); return this; } /** - * - * *
      * The list of widgets used in an add-on.
      * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; - * * @param value The enum numeric value on the wire for usedWidgets to add. * @return This builder for chaining. */ @@ -1051,18 +925,16 @@ public Builder addUsedWidgetsValue(int value) { return this; } /** - * - * *
      * The list of widgets used in an add-on.
      * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; - * * @param values The enum numeric values on the wire for usedWidgets to add. * @return This builder for chaining. */ - public Builder addAllUsedWidgetsValue(java.lang.Iterable values) { + public Builder addAllUsedWidgetsValue( + java.lang.Iterable values) { ensureUsedWidgetsIsMutable(); for (int value : values) { usedWidgets_.add(value); @@ -1070,9 +942,9 @@ public Builder addAllUsedWidgetsValue(java.lang.Iterable valu onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1082,12 +954,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.apps.script.type.AddOnWidgetSet) } // @@protoc_insertion_point(class_scope:google.apps.script.type.AddOnWidgetSet) private static final com.google.apps.script.type.AddOnWidgetSet DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.apps.script.type.AddOnWidgetSet(); } @@ -1096,16 +968,16 @@ public static com.google.apps.script.type.AddOnWidgetSet getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AddOnWidgetSet parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AddOnWidgetSet(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AddOnWidgetSet parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AddOnWidgetSet(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1120,4 +992,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.AddOnWidgetSet getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSetOrBuilder.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSetOrBuilder.java similarity index 70% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSetOrBuilder.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSetOrBuilder.java index 31e0617f..186eee74 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSetOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSetOrBuilder.java @@ -1,86 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/addon_widget_set.proto package com.google.apps.script.type; -public interface AddOnWidgetSetOrBuilder - extends +public interface AddOnWidgetSetOrBuilder extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.AddOnWidgetSet) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of widgets used in an add-on.
    * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; - * * @return A list containing the usedWidgets. */ java.util.List getUsedWidgetsList(); /** - * - * *
    * The list of widgets used in an add-on.
    * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; - * * @return The count of usedWidgets. */ int getUsedWidgetsCount(); /** - * - * *
    * The list of widgets used in an add-on.
    * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; - * * @param index The index of the element to return. * @return The usedWidgets at the given index. */ com.google.apps.script.type.AddOnWidgetSet.WidgetType getUsedWidgets(int index); /** - * - * *
    * The list of widgets used in an add-on.
    * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; - * * @return A list containing the enum numeric values on the wire for usedWidgets. */ - java.util.List getUsedWidgetsValueList(); + java.util.List + getUsedWidgetsValueList(); /** - * - * *
    * The list of widgets used in an add-on.
    * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; - * * @param index The index of the value to return. * @return The enum numeric value on the wire of usedWidgets at the given index. */ diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSetProto.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSetProto.java new file mode 100644 index 00000000..39a02283 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSetProto.java @@ -0,0 +1,60 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/apps/script/type/addon_widget_set.proto + +package com.google.apps.script.type; + +public final class AddOnWidgetSetProto { + private AddOnWidgetSetProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_apps_script_type_AddOnWidgetSet_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_apps_script_type_AddOnWidgetSet_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n.google/apps/script/type/addon_widget_s" + + "et.proto\022\027google.apps.script.type\"\244\002\n\016Ad" + + "dOnWidgetSet\022H\n\014used_widgets\030\001 \003(\01622.goo" + + "gle.apps.script.type.AddOnWidgetSet.Widg" + + "etType\"\307\001\n\nWidgetType\022\033\n\027WIDGET_TYPE_UNS" + + "PECIFIED\020\000\022\017\n\013DATE_PICKER\020\001\022\022\n\016STYLED_BU" + + "TTONS\020\002\022\024\n\020PERSISTENT_FORMS\020\003\022\020\n\014FIXED_F" + + "OOTER\020\004\022!\n\035UPDATE_SUBJECT_AND_RECIPIENTS" + + "\020\005\022\017\n\013GRID_WIDGET\020\006\022\033\n\027ADDON_COMPOSE_UI_" + + "ACTION\020\007B\275\001\n\033com.google.apps.script.type" + + "B\023AddOnWidgetSetProtoP\001Z6google.golang.o" + + "rg/genproto/googleapis/apps/script/type\252" + + "\002\027Google.Apps.Script.Type\312\002\027Google\\Apps\\" + + "Script\\Type\352\002\032Google::Apps::Script::Type" + + "b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_apps_script_type_AddOnWidgetSet_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_apps_script_type_AddOnWidgetSet_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_apps_script_type_AddOnWidgetSet_descriptor, + new java.lang.String[] { "UsedWidgets", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/CommonAddOnManifest.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/CommonAddOnManifest.java similarity index 75% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/CommonAddOnManifest.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/CommonAddOnManifest.java index 20c8651a..749a16ea 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/CommonAddOnManifest.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/CommonAddOnManifest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/script_manifest.proto package com.google.apps.script.type; /** - * - * *
  * Add-on configuration that is shared across all add-on host applications.
  * 
* * Protobuf type {@code google.apps.script.type.CommonAddOnManifest} */ -public final class CommonAddOnManifest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CommonAddOnManifest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.apps.script.type.CommonAddOnManifest) CommonAddOnManifestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CommonAddOnManifest.newBuilder() to construct. private CommonAddOnManifest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CommonAddOnManifest() { name_ = ""; logoUrl_ = ""; @@ -45,15 +27,16 @@ private CommonAddOnManifest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CommonAddOnManifest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CommonAddOnManifest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,110 +56,91 @@ private CommonAddOnManifest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + logoUrl_ = s; + break; + } + case 26: { + com.google.apps.script.type.LayoutProperties.Builder subBuilder = null; + if (layoutProperties_ != null) { + subBuilder = layoutProperties_.toBuilder(); + } + layoutProperties_ = input.readMessage(com.google.apps.script.type.LayoutProperties.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(layoutProperties_); + layoutProperties_ = subBuilder.buildPartial(); } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - logoUrl_ = s; - break; + break; + } + case 34: { + com.google.apps.script.type.AddOnWidgetSet.Builder subBuilder = null; + if (addOnWidgetSet_ != null) { + subBuilder = addOnWidgetSet_.toBuilder(); } - case 26: - { - com.google.apps.script.type.LayoutProperties.Builder subBuilder = null; - if (layoutProperties_ != null) { - subBuilder = layoutProperties_.toBuilder(); - } - layoutProperties_ = - input.readMessage( - com.google.apps.script.type.LayoutProperties.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(layoutProperties_); - layoutProperties_ = subBuilder.buildPartial(); - } - - break; + addOnWidgetSet_ = input.readMessage(com.google.apps.script.type.AddOnWidgetSet.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(addOnWidgetSet_); + addOnWidgetSet_ = subBuilder.buildPartial(); } - case 34: - { - com.google.apps.script.type.AddOnWidgetSet.Builder subBuilder = null; - if (addOnWidgetSet_ != null) { - subBuilder = addOnWidgetSet_.toBuilder(); - } - addOnWidgetSet_ = - input.readMessage( - com.google.apps.script.type.AddOnWidgetSet.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(addOnWidgetSet_); - addOnWidgetSet_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 40: { + + useLocaleFromApp_ = input.readBool(); + break; + } + case 50: { + com.google.apps.script.type.HomepageExtensionPoint.Builder subBuilder = null; + if (homepageTrigger_ != null) { + subBuilder = homepageTrigger_.toBuilder(); } - case 40: - { - useLocaleFromApp_ = input.readBool(); - break; + homepageTrigger_ = input.readMessage(com.google.apps.script.type.HomepageExtensionPoint.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(homepageTrigger_); + homepageTrigger_ = subBuilder.buildPartial(); } - case 50: - { - com.google.apps.script.type.HomepageExtensionPoint.Builder subBuilder = null; - if (homepageTrigger_ != null) { - subBuilder = homepageTrigger_.toBuilder(); - } - homepageTrigger_ = - input.readMessage( - com.google.apps.script.type.HomepageExtensionPoint.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(homepageTrigger_); - homepageTrigger_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 58: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + universalActions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 58: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - universalActions_ = - new java.util.ArrayList< - com.google.apps.script.type.UniversalActionExtensionPoint>(); - mutable_bitField0_ |= 0x00000001; - } - universalActions_.add( - input.readMessage( - com.google.apps.script.type.UniversalActionExtensionPoint.parser(), - extensionRegistry)); - break; + universalActions_.add( + input.readMessage(com.google.apps.script.type.UniversalActionExtensionPoint.parser(), extensionRegistry)); + break; + } + case 66: { + com.google.protobuf.ListValue.Builder subBuilder = null; + if (openLinkUrlPrefixes_ != null) { + subBuilder = openLinkUrlPrefixes_.toBuilder(); } - case 66: - { - com.google.protobuf.ListValue.Builder subBuilder = null; - if (openLinkUrlPrefixes_ != null) { - subBuilder = openLinkUrlPrefixes_.toBuilder(); - } - openLinkUrlPrefixes_ = - input.readMessage(com.google.protobuf.ListValue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(openLinkUrlPrefixes_); - openLinkUrlPrefixes_ = subBuilder.buildPartial(); - } - - break; + openLinkUrlPrefixes_ = input.readMessage(com.google.protobuf.ListValue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(openLinkUrlPrefixes_); + openLinkUrlPrefixes_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -184,7 +148,8 @@ private CommonAddOnManifest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { universalActions_ = java.util.Collections.unmodifiableList(universalActions_); @@ -193,33 +158,27 @@ private CommonAddOnManifest( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.apps.script.type.ScriptManifest - .internal_static_google_apps_script_type_CommonAddOnManifest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.apps.script.type.ScriptManifest.internal_static_google_apps_script_type_CommonAddOnManifest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.ScriptManifest - .internal_static_google_apps_script_type_CommonAddOnManifest_fieldAccessorTable + return com.google.apps.script.type.ScriptManifest.internal_static_google_apps_script_type_CommonAddOnManifest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.CommonAddOnManifest.class, - com.google.apps.script.type.CommonAddOnManifest.Builder.class); + com.google.apps.script.type.CommonAddOnManifest.class, com.google.apps.script.type.CommonAddOnManifest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The display name of the add-on.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -228,29 +187,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The display name of the add-on.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -261,14 +220,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int LOGO_URL_FIELD_NUMBER = 2; private volatile java.lang.Object logoUrl_; /** - * - * *
    * Required. The URL for the logo image shown in the add-on toolbar.
    * 
* * string logo_url = 2; - * * @return The logoUrl. */ @java.lang.Override @@ -277,29 +233,29 @@ public java.lang.String getLogoUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); logoUrl_ = s; return s; } } /** - * - * *
    * Required. The URL for the logo image shown in the add-on toolbar.
    * 
* * string logo_url = 2; - * * @return The bytes for logoUrl. */ @java.lang.Override - public com.google.protobuf.ByteString getLogoUrlBytes() { + public com.google.protobuf.ByteString + getLogoUrlBytes() { java.lang.Object ref = logoUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); logoUrl_ = b; return b; } else { @@ -310,14 +266,11 @@ public com.google.protobuf.ByteString getLogoUrlBytes() { public static final int LAYOUT_PROPERTIES_FIELD_NUMBER = 3; private com.google.apps.script.type.LayoutProperties layoutProperties_; /** - * - * *
    * Common layout properties for the add-on cards.
    * 
* * .google.apps.script.type.LayoutProperties layout_properties = 3; - * * @return Whether the layoutProperties field is set. */ @java.lang.Override @@ -325,25 +278,18 @@ public boolean hasLayoutProperties() { return layoutProperties_ != null; } /** - * - * *
    * Common layout properties for the add-on cards.
    * 
* * .google.apps.script.type.LayoutProperties layout_properties = 3; - * * @return The layoutProperties. */ @java.lang.Override public com.google.apps.script.type.LayoutProperties getLayoutProperties() { - return layoutProperties_ == null - ? com.google.apps.script.type.LayoutProperties.getDefaultInstance() - : layoutProperties_; + return layoutProperties_ == null ? com.google.apps.script.type.LayoutProperties.getDefaultInstance() : layoutProperties_; } /** - * - * *
    * Common layout properties for the add-on cards.
    * 
@@ -358,15 +304,12 @@ public com.google.apps.script.type.LayoutPropertiesOrBuilder getLayoutProperties public static final int ADD_ON_WIDGET_SET_FIELD_NUMBER = 4; private com.google.apps.script.type.AddOnWidgetSet addOnWidgetSet_; /** - * - * *
    * The widgets used in the add-on. If this field is not specified,
    * it indicates that default set is used.
    * 
* * .google.apps.script.type.AddOnWidgetSet add_on_widget_set = 4; - * * @return Whether the addOnWidgetSet field is set. */ @java.lang.Override @@ -374,26 +317,19 @@ public boolean hasAddOnWidgetSet() { return addOnWidgetSet_ != null; } /** - * - * *
    * The widgets used in the add-on. If this field is not specified,
    * it indicates that default set is used.
    * 
* * .google.apps.script.type.AddOnWidgetSet add_on_widget_set = 4; - * * @return The addOnWidgetSet. */ @java.lang.Override public com.google.apps.script.type.AddOnWidgetSet getAddOnWidgetSet() { - return addOnWidgetSet_ == null - ? com.google.apps.script.type.AddOnWidgetSet.getDefaultInstance() - : addOnWidgetSet_; + return addOnWidgetSet_ == null ? com.google.apps.script.type.AddOnWidgetSet.getDefaultInstance() : addOnWidgetSet_; } /** - * - * *
    * The widgets used in the add-on. If this field is not specified,
    * it indicates that default set is used.
@@ -409,14 +345,11 @@ public com.google.apps.script.type.AddOnWidgetSetOrBuilder getAddOnWidgetSetOrBu
   public static final int USE_LOCALE_FROM_APP_FIELD_NUMBER = 5;
   private boolean useLocaleFromApp_;
   /**
-   *
-   *
    * 
    * Whether to pass locale information from host app.
    * 
* * bool use_locale_from_app = 5; - * * @return The useLocaleFromApp. */ @java.lang.Override @@ -427,8 +360,6 @@ public boolean getUseLocaleFromApp() { public static final int HOMEPAGE_TRIGGER_FIELD_NUMBER = 6; private com.google.apps.script.type.HomepageExtensionPoint homepageTrigger_; /** - * - * *
    * Defines an endpoint that will be executed in any context, in
    * any host. Any cards generated by this function will always be available to
@@ -437,7 +368,6 @@ public boolean getUseLocaleFromApp() {
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6; - * * @return Whether the homepageTrigger field is set. */ @java.lang.Override @@ -445,8 +375,6 @@ public boolean hasHomepageTrigger() { return homepageTrigger_ != null; } /** - * - * *
    * Defines an endpoint that will be executed in any context, in
    * any host. Any cards generated by this function will always be available to
@@ -455,18 +383,13 @@ public boolean hasHomepageTrigger() {
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6; - * * @return The homepageTrigger. */ @java.lang.Override public com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger() { - return homepageTrigger_ == null - ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() - : homepageTrigger_; + return homepageTrigger_ == null ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_; } /** - * - * *
    * Defines an endpoint that will be executed in any context, in
    * any host. Any cards generated by this function will always be available to
@@ -482,11 +405,8 @@ public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTr
   }
 
   public static final int UNIVERSAL_ACTIONS_FIELD_NUMBER = 7;
-  private java.util.List
-      universalActions_;
+  private java.util.List universalActions_;
   /**
-   *
-   *
    * 
    * Defines a list of extension points in the universal action menu which
    * serves as a setting menu for the add-on. The extension point can be
@@ -494,17 +414,13 @@ public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTr
    * submission.
    * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; - * + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; */ @java.lang.Override - public java.util.List - getUniversalActionsList() { + public java.util.List getUniversalActionsList() { return universalActions_; } /** - * - * *
    * Defines a list of extension points in the universal action menu which
    * serves as a setting menu for the add-on. The extension point can be
@@ -512,18 +428,14 @@ public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTr
    * submission.
    * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; - * + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; */ @java.lang.Override - public java.util.List< - ? extends com.google.apps.script.type.UniversalActionExtensionPointOrBuilder> + public java.util.List getUniversalActionsOrBuilderList() { return universalActions_; } /** - * - * *
    * Defines a list of extension points in the universal action menu which
    * serves as a setting menu for the add-on. The extension point can be
@@ -531,16 +443,13 @@ public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTr
    * submission.
    * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; - * + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; */ @java.lang.Override public int getUniversalActionsCount() { return universalActions_.size(); } /** - * - * *
    * Defines a list of extension points in the universal action menu which
    * serves as a setting menu for the add-on. The extension point can be
@@ -548,16 +457,13 @@ public int getUniversalActionsCount() {
    * submission.
    * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; - * + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; */ @java.lang.Override public com.google.apps.script.type.UniversalActionExtensionPoint getUniversalActions(int index) { return universalActions_.get(index); } /** - * - * *
    * Defines a list of extension points in the universal action menu which
    * serves as a setting menu for the add-on. The extension point can be
@@ -565,20 +471,17 @@ public com.google.apps.script.type.UniversalActionExtensionPoint getUniversalAct
    * submission.
    * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; - * + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; */ @java.lang.Override - public com.google.apps.script.type.UniversalActionExtensionPointOrBuilder - getUniversalActionsOrBuilder(int index) { + public com.google.apps.script.type.UniversalActionExtensionPointOrBuilder getUniversalActionsOrBuilder( + int index) { return universalActions_.get(index); } public static final int OPEN_LINK_URL_PREFIXES_FIELD_NUMBER = 8; private com.google.protobuf.ListValue openLinkUrlPrefixes_; /** - * - * *
    * An OpenLink action
    * can only use a URL with an HTTPS, MAILTO or TEL scheme.  For HTTPS links,
@@ -590,7 +493,6 @@ public com.google.apps.script.type.UniversalActionExtensionPoint getUniversalAct
    * 
* * .google.protobuf.ListValue open_link_url_prefixes = 8; - * * @return Whether the openLinkUrlPrefixes field is set. */ @java.lang.Override @@ -598,8 +500,6 @@ public boolean hasOpenLinkUrlPrefixes() { return openLinkUrlPrefixes_ != null; } /** - * - * *
    * An OpenLink action
    * can only use a URL with an HTTPS, MAILTO or TEL scheme.  For HTTPS links,
@@ -611,18 +511,13 @@ public boolean hasOpenLinkUrlPrefixes() {
    * 
* * .google.protobuf.ListValue open_link_url_prefixes = 8; - * * @return The openLinkUrlPrefixes. */ @java.lang.Override public com.google.protobuf.ListValue getOpenLinkUrlPrefixes() { - return openLinkUrlPrefixes_ == null - ? com.google.protobuf.ListValue.getDefaultInstance() - : openLinkUrlPrefixes_; + return openLinkUrlPrefixes_ == null ? com.google.protobuf.ListValue.getDefaultInstance() : openLinkUrlPrefixes_; } /** - * - * *
    * An OpenLink action
    * can only use a URL with an HTTPS, MAILTO or TEL scheme.  For HTTPS links,
@@ -641,7 +536,6 @@ public com.google.protobuf.ListValueOrBuilder getOpenLinkUrlPrefixesOrBuilder()
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -653,7 +547,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -694,22 +589,28 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, logoUrl_);
     }
     if (layoutProperties_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getLayoutProperties());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getLayoutProperties());
     }
     if (addOnWidgetSet_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getAddOnWidgetSet());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getAddOnWidgetSet());
     }
     if (useLocaleFromApp_ != false) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, useLocaleFromApp_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(5, useLocaleFromApp_);
     }
     if (homepageTrigger_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getHomepageTrigger());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getHomepageTrigger());
     }
     for (int i = 0; i < universalActions_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, universalActions_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, universalActions_.get(i));
     }
     if (openLinkUrlPrefixes_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getOpenLinkUrlPrefixes());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(8, getOpenLinkUrlPrefixes());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -719,33 +620,40 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.apps.script.type.CommonAddOnManifest)) {
       return super.equals(obj);
     }
-    com.google.apps.script.type.CommonAddOnManifest other =
-        (com.google.apps.script.type.CommonAddOnManifest) obj;
+    com.google.apps.script.type.CommonAddOnManifest other = (com.google.apps.script.type.CommonAddOnManifest) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getLogoUrl().equals(other.getLogoUrl())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getLogoUrl()
+        .equals(other.getLogoUrl())) return false;
     if (hasLayoutProperties() != other.hasLayoutProperties()) return false;
     if (hasLayoutProperties()) {
-      if (!getLayoutProperties().equals(other.getLayoutProperties())) return false;
+      if (!getLayoutProperties()
+          .equals(other.getLayoutProperties())) return false;
     }
     if (hasAddOnWidgetSet() != other.hasAddOnWidgetSet()) return false;
     if (hasAddOnWidgetSet()) {
-      if (!getAddOnWidgetSet().equals(other.getAddOnWidgetSet())) return false;
+      if (!getAddOnWidgetSet()
+          .equals(other.getAddOnWidgetSet())) return false;
     }
-    if (getUseLocaleFromApp() != other.getUseLocaleFromApp()) return false;
+    if (getUseLocaleFromApp()
+        != other.getUseLocaleFromApp()) return false;
     if (hasHomepageTrigger() != other.hasHomepageTrigger()) return false;
     if (hasHomepageTrigger()) {
-      if (!getHomepageTrigger().equals(other.getHomepageTrigger())) return false;
+      if (!getHomepageTrigger()
+          .equals(other.getHomepageTrigger())) return false;
     }
-    if (!getUniversalActionsList().equals(other.getUniversalActionsList())) return false;
+    if (!getUniversalActionsList()
+        .equals(other.getUniversalActionsList())) return false;
     if (hasOpenLinkUrlPrefixes() != other.hasOpenLinkUrlPrefixes()) return false;
     if (hasOpenLinkUrlPrefixes()) {
-      if (!getOpenLinkUrlPrefixes().equals(other.getOpenLinkUrlPrefixes())) return false;
+      if (!getOpenLinkUrlPrefixes()
+          .equals(other.getOpenLinkUrlPrefixes())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -771,7 +679,8 @@ public int hashCode() {
       hash = (53 * hash) + getAddOnWidgetSet().hashCode();
     }
     hash = (37 * hash) + USE_LOCALE_FROM_APP_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseLocaleFromApp());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+        getUseLocaleFromApp());
     if (hasHomepageTrigger()) {
       hash = (37 * hash) + HOMEPAGE_TRIGGER_FIELD_NUMBER;
       hash = (53 * hash) + getHomepageTrigger().hashCode();
@@ -789,127 +698,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.apps.script.type.CommonAddOnManifest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.apps.script.type.CommonAddOnManifest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.apps.script.type.CommonAddOnManifest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.apps.script.type.CommonAddOnManifest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.apps.script.type.CommonAddOnManifest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.apps.script.type.CommonAddOnManifest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.apps.script.type.CommonAddOnManifest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.apps.script.type.CommonAddOnManifest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.apps.script.type.CommonAddOnManifest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.apps.script.type.CommonAddOnManifest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.apps.script.type.CommonAddOnManifest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.apps.script.type.CommonAddOnManifest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.apps.script.type.CommonAddOnManifest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.apps.script.type.CommonAddOnManifest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.apps.script.type.CommonAddOnManifest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Add-on configuration that is shared across all add-on host applications.
    * 
* * Protobuf type {@code google.apps.script.type.CommonAddOnManifest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.script.type.CommonAddOnManifest) com.google.apps.script.type.CommonAddOnManifestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.apps.script.type.ScriptManifest - .internal_static_google_apps_script_type_CommonAddOnManifest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.apps.script.type.ScriptManifest.internal_static_google_apps_script_type_CommonAddOnManifest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.ScriptManifest - .internal_static_google_apps_script_type_CommonAddOnManifest_fieldAccessorTable + return com.google.apps.script.type.ScriptManifest.internal_static_google_apps_script_type_CommonAddOnManifest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.CommonAddOnManifest.class, - com.google.apps.script.type.CommonAddOnManifest.Builder.class); + com.google.apps.script.type.CommonAddOnManifest.class, com.google.apps.script.type.CommonAddOnManifest.Builder.class); } // Construct using com.google.apps.script.type.CommonAddOnManifest.newBuilder() @@ -917,17 +817,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getUniversalActionsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -971,9 +871,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.apps.script.type.ScriptManifest - .internal_static_google_apps_script_type_CommonAddOnManifest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.apps.script.type.ScriptManifest.internal_static_google_apps_script_type_CommonAddOnManifest_descriptor; } @java.lang.Override @@ -992,8 +892,7 @@ public com.google.apps.script.type.CommonAddOnManifest build() { @java.lang.Override public com.google.apps.script.type.CommonAddOnManifest buildPartial() { - com.google.apps.script.type.CommonAddOnManifest result = - new com.google.apps.script.type.CommonAddOnManifest(this); + com.google.apps.script.type.CommonAddOnManifest result = new com.google.apps.script.type.CommonAddOnManifest(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.logoUrl_ = logoUrl_; @@ -1035,39 +934,38 @@ public com.google.apps.script.type.CommonAddOnManifest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.script.type.CommonAddOnManifest) { - return mergeFrom((com.google.apps.script.type.CommonAddOnManifest) other); + return mergeFrom((com.google.apps.script.type.CommonAddOnManifest)other); } else { super.mergeFrom(other); return this; @@ -1075,8 +973,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.apps.script.type.CommonAddOnManifest other) { - if (other == com.google.apps.script.type.CommonAddOnManifest.getDefaultInstance()) - return this; + if (other == com.google.apps.script.type.CommonAddOnManifest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -1115,10 +1012,9 @@ public Builder mergeFrom(com.google.apps.script.type.CommonAddOnManifest other) universalActionsBuilder_ = null; universalActions_ = other.universalActions_; bitField0_ = (bitField0_ & ~0x00000001); - universalActionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getUniversalActionsFieldBuilder() - : null; + universalActionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getUniversalActionsFieldBuilder() : null; } else { universalActionsBuilder_.addAllMessages(other.universalActions_); } @@ -1155,25 +1051,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The display name of the add-on.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1182,21 +1075,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The display name of the add-on.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1204,61 +1096,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The display name of the add-on.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The display name of the add-on.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The display name of the add-on.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1266,20 +1151,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object logoUrl_ = ""; /** - * - * *
      * Required. The URL for the logo image shown in the add-on toolbar.
      * 
* * string logo_url = 2; - * * @return The logoUrl. */ public java.lang.String getLogoUrl() { java.lang.Object ref = logoUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); logoUrl_ = s; return s; @@ -1288,21 +1171,20 @@ public java.lang.String getLogoUrl() { } } /** - * - * *
      * Required. The URL for the logo image shown in the add-on toolbar.
      * 
* * string logo_url = 2; - * * @return The bytes for logoUrl. */ - public com.google.protobuf.ByteString getLogoUrlBytes() { + public com.google.protobuf.ByteString + getLogoUrlBytes() { java.lang.Object ref = logoUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); logoUrl_ = b; return b; } else { @@ -1310,61 +1192,54 @@ public com.google.protobuf.ByteString getLogoUrlBytes() { } } /** - * - * *
      * Required. The URL for the logo image shown in the add-on toolbar.
      * 
* * string logo_url = 2; - * * @param value The logoUrl to set. * @return This builder for chaining. */ - public Builder setLogoUrl(java.lang.String value) { + public Builder setLogoUrl( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + logoUrl_ = value; onChanged(); return this; } /** - * - * *
      * Required. The URL for the logo image shown in the add-on toolbar.
      * 
* * string logo_url = 2; - * * @return This builder for chaining. */ public Builder clearLogoUrl() { - + logoUrl_ = getDefaultInstance().getLogoUrl(); onChanged(); return this; } /** - * - * *
      * Required. The URL for the logo image shown in the add-on toolbar.
      * 
* * string logo_url = 2; - * * @param value The bytes for logoUrl to set. * @return This builder for chaining. */ - public Builder setLogoUrlBytes(com.google.protobuf.ByteString value) { + public Builder setLogoUrlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + logoUrl_ = value; onChanged(); return this; @@ -1372,47 +1247,34 @@ public Builder setLogoUrlBytes(com.google.protobuf.ByteString value) { private com.google.apps.script.type.LayoutProperties layoutProperties_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.LayoutProperties, - com.google.apps.script.type.LayoutProperties.Builder, - com.google.apps.script.type.LayoutPropertiesOrBuilder> - layoutPropertiesBuilder_; + com.google.apps.script.type.LayoutProperties, com.google.apps.script.type.LayoutProperties.Builder, com.google.apps.script.type.LayoutPropertiesOrBuilder> layoutPropertiesBuilder_; /** - * - * *
      * Common layout properties for the add-on cards.
      * 
* * .google.apps.script.type.LayoutProperties layout_properties = 3; - * * @return Whether the layoutProperties field is set. */ public boolean hasLayoutProperties() { return layoutPropertiesBuilder_ != null || layoutProperties_ != null; } /** - * - * *
      * Common layout properties for the add-on cards.
      * 
* * .google.apps.script.type.LayoutProperties layout_properties = 3; - * * @return The layoutProperties. */ public com.google.apps.script.type.LayoutProperties getLayoutProperties() { if (layoutPropertiesBuilder_ == null) { - return layoutProperties_ == null - ? com.google.apps.script.type.LayoutProperties.getDefaultInstance() - : layoutProperties_; + return layoutProperties_ == null ? com.google.apps.script.type.LayoutProperties.getDefaultInstance() : layoutProperties_; } else { return layoutPropertiesBuilder_.getMessage(); } } /** - * - * *
      * Common layout properties for the add-on cards.
      * 
@@ -1433,8 +1295,6 @@ public Builder setLayoutProperties(com.google.apps.script.type.LayoutProperties return this; } /** - * - * *
      * Common layout properties for the add-on cards.
      * 
@@ -1453,8 +1313,6 @@ public Builder setLayoutProperties( return this; } /** - * - * *
      * Common layout properties for the add-on cards.
      * 
@@ -1465,9 +1323,7 @@ public Builder mergeLayoutProperties(com.google.apps.script.type.LayoutPropertie if (layoutPropertiesBuilder_ == null) { if (layoutProperties_ != null) { layoutProperties_ = - com.google.apps.script.type.LayoutProperties.newBuilder(layoutProperties_) - .mergeFrom(value) - .buildPartial(); + com.google.apps.script.type.LayoutProperties.newBuilder(layoutProperties_).mergeFrom(value).buildPartial(); } else { layoutProperties_ = value; } @@ -1479,8 +1335,6 @@ public Builder mergeLayoutProperties(com.google.apps.script.type.LayoutPropertie return this; } /** - * - * *
      * Common layout properties for the add-on cards.
      * 
@@ -1499,8 +1353,6 @@ public Builder clearLayoutProperties() { return this; } /** - * - * *
      * Common layout properties for the add-on cards.
      * 
@@ -1508,13 +1360,11 @@ public Builder clearLayoutProperties() { * .google.apps.script.type.LayoutProperties layout_properties = 3; */ public com.google.apps.script.type.LayoutProperties.Builder getLayoutPropertiesBuilder() { - + onChanged(); return getLayoutPropertiesFieldBuilder().getBuilder(); } /** - * - * *
      * Common layout properties for the add-on cards.
      * 
@@ -1525,14 +1375,11 @@ public com.google.apps.script.type.LayoutPropertiesOrBuilder getLayoutProperties if (layoutPropertiesBuilder_ != null) { return layoutPropertiesBuilder_.getMessageOrBuilder(); } else { - return layoutProperties_ == null - ? com.google.apps.script.type.LayoutProperties.getDefaultInstance() - : layoutProperties_; + return layoutProperties_ == null ? + com.google.apps.script.type.LayoutProperties.getDefaultInstance() : layoutProperties_; } } /** - * - * *
      * Common layout properties for the add-on cards.
      * 
@@ -1540,17 +1387,14 @@ public com.google.apps.script.type.LayoutPropertiesOrBuilder getLayoutProperties * .google.apps.script.type.LayoutProperties layout_properties = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.LayoutProperties, - com.google.apps.script.type.LayoutProperties.Builder, - com.google.apps.script.type.LayoutPropertiesOrBuilder> + com.google.apps.script.type.LayoutProperties, com.google.apps.script.type.LayoutProperties.Builder, com.google.apps.script.type.LayoutPropertiesOrBuilder> getLayoutPropertiesFieldBuilder() { if (layoutPropertiesBuilder_ == null) { - layoutPropertiesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.LayoutProperties, - com.google.apps.script.type.LayoutProperties.Builder, - com.google.apps.script.type.LayoutPropertiesOrBuilder>( - getLayoutProperties(), getParentForChildren(), isClean()); + layoutPropertiesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.apps.script.type.LayoutProperties, com.google.apps.script.type.LayoutProperties.Builder, com.google.apps.script.type.LayoutPropertiesOrBuilder>( + getLayoutProperties(), + getParentForChildren(), + isClean()); layoutProperties_ = null; } return layoutPropertiesBuilder_; @@ -1558,49 +1402,36 @@ public com.google.apps.script.type.LayoutPropertiesOrBuilder getLayoutProperties private com.google.apps.script.type.AddOnWidgetSet addOnWidgetSet_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.AddOnWidgetSet, - com.google.apps.script.type.AddOnWidgetSet.Builder, - com.google.apps.script.type.AddOnWidgetSetOrBuilder> - addOnWidgetSetBuilder_; + com.google.apps.script.type.AddOnWidgetSet, com.google.apps.script.type.AddOnWidgetSet.Builder, com.google.apps.script.type.AddOnWidgetSetOrBuilder> addOnWidgetSetBuilder_; /** - * - * *
      * The widgets used in the add-on. If this field is not specified,
      * it indicates that default set is used.
      * 
* * .google.apps.script.type.AddOnWidgetSet add_on_widget_set = 4; - * * @return Whether the addOnWidgetSet field is set. */ public boolean hasAddOnWidgetSet() { return addOnWidgetSetBuilder_ != null || addOnWidgetSet_ != null; } /** - * - * *
      * The widgets used in the add-on. If this field is not specified,
      * it indicates that default set is used.
      * 
* * .google.apps.script.type.AddOnWidgetSet add_on_widget_set = 4; - * * @return The addOnWidgetSet. */ public com.google.apps.script.type.AddOnWidgetSet getAddOnWidgetSet() { if (addOnWidgetSetBuilder_ == null) { - return addOnWidgetSet_ == null - ? com.google.apps.script.type.AddOnWidgetSet.getDefaultInstance() - : addOnWidgetSet_; + return addOnWidgetSet_ == null ? com.google.apps.script.type.AddOnWidgetSet.getDefaultInstance() : addOnWidgetSet_; } else { return addOnWidgetSetBuilder_.getMessage(); } } /** - * - * *
      * The widgets used in the add-on. If this field is not specified,
      * it indicates that default set is used.
@@ -1622,8 +1453,6 @@ public Builder setAddOnWidgetSet(com.google.apps.script.type.AddOnWidgetSet valu
       return this;
     }
     /**
-     *
-     *
      * 
      * The widgets used in the add-on. If this field is not specified,
      * it indicates that default set is used.
@@ -1643,8 +1472,6 @@ public Builder setAddOnWidgetSet(
       return this;
     }
     /**
-     *
-     *
      * 
      * The widgets used in the add-on. If this field is not specified,
      * it indicates that default set is used.
@@ -1656,9 +1483,7 @@ public Builder mergeAddOnWidgetSet(com.google.apps.script.type.AddOnWidgetSet va
       if (addOnWidgetSetBuilder_ == null) {
         if (addOnWidgetSet_ != null) {
           addOnWidgetSet_ =
-              com.google.apps.script.type.AddOnWidgetSet.newBuilder(addOnWidgetSet_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.apps.script.type.AddOnWidgetSet.newBuilder(addOnWidgetSet_).mergeFrom(value).buildPartial();
         } else {
           addOnWidgetSet_ = value;
         }
@@ -1670,8 +1495,6 @@ public Builder mergeAddOnWidgetSet(com.google.apps.script.type.AddOnWidgetSet va
       return this;
     }
     /**
-     *
-     *
      * 
      * The widgets used in the add-on. If this field is not specified,
      * it indicates that default set is used.
@@ -1691,8 +1514,6 @@ public Builder clearAddOnWidgetSet() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The widgets used in the add-on. If this field is not specified,
      * it indicates that default set is used.
@@ -1701,13 +1522,11 @@ public Builder clearAddOnWidgetSet() {
      * .google.apps.script.type.AddOnWidgetSet add_on_widget_set = 4;
      */
     public com.google.apps.script.type.AddOnWidgetSet.Builder getAddOnWidgetSetBuilder() {
-
+      
       onChanged();
       return getAddOnWidgetSetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The widgets used in the add-on. If this field is not specified,
      * it indicates that default set is used.
@@ -1719,14 +1538,11 @@ public com.google.apps.script.type.AddOnWidgetSetOrBuilder getAddOnWidgetSetOrBu
       if (addOnWidgetSetBuilder_ != null) {
         return addOnWidgetSetBuilder_.getMessageOrBuilder();
       } else {
-        return addOnWidgetSet_ == null
-            ? com.google.apps.script.type.AddOnWidgetSet.getDefaultInstance()
-            : addOnWidgetSet_;
+        return addOnWidgetSet_ == null ?
+            com.google.apps.script.type.AddOnWidgetSet.getDefaultInstance() : addOnWidgetSet_;
       }
     }
     /**
-     *
-     *
      * 
      * The widgets used in the add-on. If this field is not specified,
      * it indicates that default set is used.
@@ -1735,32 +1551,26 @@ public com.google.apps.script.type.AddOnWidgetSetOrBuilder getAddOnWidgetSetOrBu
      * .google.apps.script.type.AddOnWidgetSet add_on_widget_set = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.apps.script.type.AddOnWidgetSet,
-            com.google.apps.script.type.AddOnWidgetSet.Builder,
-            com.google.apps.script.type.AddOnWidgetSetOrBuilder>
+        com.google.apps.script.type.AddOnWidgetSet, com.google.apps.script.type.AddOnWidgetSet.Builder, com.google.apps.script.type.AddOnWidgetSetOrBuilder> 
         getAddOnWidgetSetFieldBuilder() {
       if (addOnWidgetSetBuilder_ == null) {
-        addOnWidgetSetBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.apps.script.type.AddOnWidgetSet,
-                com.google.apps.script.type.AddOnWidgetSet.Builder,
-                com.google.apps.script.type.AddOnWidgetSetOrBuilder>(
-                getAddOnWidgetSet(), getParentForChildren(), isClean());
+        addOnWidgetSetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.apps.script.type.AddOnWidgetSet, com.google.apps.script.type.AddOnWidgetSet.Builder, com.google.apps.script.type.AddOnWidgetSetOrBuilder>(
+                getAddOnWidgetSet(),
+                getParentForChildren(),
+                isClean());
         addOnWidgetSet_ = null;
       }
       return addOnWidgetSetBuilder_;
     }
 
-    private boolean useLocaleFromApp_;
+    private boolean useLocaleFromApp_ ;
     /**
-     *
-     *
      * 
      * Whether to pass locale information from host app.
      * 
* * bool use_locale_from_app = 5; - * * @return The useLocaleFromApp. */ @java.lang.Override @@ -1768,36 +1578,30 @@ public boolean getUseLocaleFromApp() { return useLocaleFromApp_; } /** - * - * *
      * Whether to pass locale information from host app.
      * 
* * bool use_locale_from_app = 5; - * * @param value The useLocaleFromApp to set. * @return This builder for chaining. */ public Builder setUseLocaleFromApp(boolean value) { - + useLocaleFromApp_ = value; onChanged(); return this; } /** - * - * *
      * Whether to pass locale information from host app.
      * 
* * bool use_locale_from_app = 5; - * * @return This builder for chaining. */ public Builder clearUseLocaleFromApp() { - + useLocaleFromApp_ = false; onChanged(); return this; @@ -1805,13 +1609,8 @@ public Builder clearUseLocaleFromApp() { private com.google.apps.script.type.HomepageExtensionPoint homepageTrigger_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.HomepageExtensionPoint, - com.google.apps.script.type.HomepageExtensionPoint.Builder, - com.google.apps.script.type.HomepageExtensionPointOrBuilder> - homepageTriggerBuilder_; + com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder> homepageTriggerBuilder_; /** - * - * *
      * Defines an endpoint that will be executed in any context, in
      * any host. Any cards generated by this function will always be available to
@@ -1820,15 +1619,12 @@ public Builder clearUseLocaleFromApp() {
      * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6; - * * @return Whether the homepageTrigger field is set. */ public boolean hasHomepageTrigger() { return homepageTriggerBuilder_ != null || homepageTrigger_ != null; } /** - * - * *
      * Defines an endpoint that will be executed in any context, in
      * any host. Any cards generated by this function will always be available to
@@ -1837,21 +1633,16 @@ public boolean hasHomepageTrigger() {
      * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6; - * * @return The homepageTrigger. */ public com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger() { if (homepageTriggerBuilder_ == null) { - return homepageTrigger_ == null - ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() - : homepageTrigger_; + return homepageTrigger_ == null ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_; } else { return homepageTriggerBuilder_.getMessage(); } } /** - * - * *
      * Defines an endpoint that will be executed in any context, in
      * any host. Any cards generated by this function will always be available to
@@ -1875,8 +1666,6 @@ public Builder setHomepageTrigger(com.google.apps.script.type.HomepageExtensionP
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines an endpoint that will be executed in any context, in
      * any host. Any cards generated by this function will always be available to
@@ -1898,8 +1687,6 @@ public Builder setHomepageTrigger(
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines an endpoint that will be executed in any context, in
      * any host. Any cards generated by this function will always be available to
@@ -1913,9 +1700,7 @@ public Builder mergeHomepageTrigger(com.google.apps.script.type.HomepageExtensio
       if (homepageTriggerBuilder_ == null) {
         if (homepageTrigger_ != null) {
           homepageTrigger_ =
-              com.google.apps.script.type.HomepageExtensionPoint.newBuilder(homepageTrigger_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.apps.script.type.HomepageExtensionPoint.newBuilder(homepageTrigger_).mergeFrom(value).buildPartial();
         } else {
           homepageTrigger_ = value;
         }
@@ -1927,8 +1712,6 @@ public Builder mergeHomepageTrigger(com.google.apps.script.type.HomepageExtensio
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines an endpoint that will be executed in any context, in
      * any host. Any cards generated by this function will always be available to
@@ -1950,8 +1733,6 @@ public Builder clearHomepageTrigger() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines an endpoint that will be executed in any context, in
      * any host. Any cards generated by this function will always be available to
@@ -1962,13 +1743,11 @@ public Builder clearHomepageTrigger() {
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6;
      */
     public com.google.apps.script.type.HomepageExtensionPoint.Builder getHomepageTriggerBuilder() {
-
+      
       onChanged();
       return getHomepageTriggerFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Defines an endpoint that will be executed in any context, in
      * any host. Any cards generated by this function will always be available to
@@ -1978,19 +1757,15 @@ public com.google.apps.script.type.HomepageExtensionPoint.Builder getHomepageTri
      *
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6;
      */
-    public com.google.apps.script.type.HomepageExtensionPointOrBuilder
-        getHomepageTriggerOrBuilder() {
+    public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder() {
       if (homepageTriggerBuilder_ != null) {
         return homepageTriggerBuilder_.getMessageOrBuilder();
       } else {
-        return homepageTrigger_ == null
-            ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance()
-            : homepageTrigger_;
+        return homepageTrigger_ == null ?
+            com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_;
       }
     }
     /**
-     *
-     *
      * 
      * Defines an endpoint that will be executed in any context, in
      * any host. Any cards generated by this function will always be available to
@@ -2001,43 +1776,32 @@ public com.google.apps.script.type.HomepageExtensionPoint.Builder getHomepageTri
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.apps.script.type.HomepageExtensionPoint,
-            com.google.apps.script.type.HomepageExtensionPoint.Builder,
-            com.google.apps.script.type.HomepageExtensionPointOrBuilder>
+        com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder> 
         getHomepageTriggerFieldBuilder() {
       if (homepageTriggerBuilder_ == null) {
-        homepageTriggerBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.apps.script.type.HomepageExtensionPoint,
-                com.google.apps.script.type.HomepageExtensionPoint.Builder,
-                com.google.apps.script.type.HomepageExtensionPointOrBuilder>(
-                getHomepageTrigger(), getParentForChildren(), isClean());
+        homepageTriggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder>(
+                getHomepageTrigger(),
+                getParentForChildren(),
+                isClean());
         homepageTrigger_ = null;
       }
       return homepageTriggerBuilder_;
     }
 
-    private java.util.List
-        universalActions_ = java.util.Collections.emptyList();
-
+    private java.util.List universalActions_ =
+      java.util.Collections.emptyList();
     private void ensureUniversalActionsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        universalActions_ =
-            new java.util.ArrayList(
-                universalActions_);
+        universalActions_ = new java.util.ArrayList(universalActions_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.apps.script.type.UniversalActionExtensionPoint,
-            com.google.apps.script.type.UniversalActionExtensionPoint.Builder,
-            com.google.apps.script.type.UniversalActionExtensionPointOrBuilder>
-        universalActionsBuilder_;
+        com.google.apps.script.type.UniversalActionExtensionPoint, com.google.apps.script.type.UniversalActionExtensionPoint.Builder, com.google.apps.script.type.UniversalActionExtensionPointOrBuilder> universalActionsBuilder_;
 
     /**
-     *
-     *
      * 
      * Defines a list of extension points in the universal action menu which
      * serves as a setting menu for the add-on. The extension point can be
@@ -2045,11 +1809,9 @@ private void ensureUniversalActionsIsMutable() {
      * submission.
      * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; - * + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; */ - public java.util.List - getUniversalActionsList() { + public java.util.List getUniversalActionsList() { if (universalActionsBuilder_ == null) { return java.util.Collections.unmodifiableList(universalActions_); } else { @@ -2057,8 +1819,6 @@ private void ensureUniversalActionsIsMutable() { } } /** - * - * *
      * Defines a list of extension points in the universal action menu which
      * serves as a setting menu for the add-on. The extension point can be
@@ -2066,8 +1826,7 @@ private void ensureUniversalActionsIsMutable() {
      * submission.
      * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; - * + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; */ public int getUniversalActionsCount() { if (universalActionsBuilder_ == null) { @@ -2077,8 +1836,6 @@ public int getUniversalActionsCount() { } } /** - * - * *
      * Defines a list of extension points in the universal action menu which
      * serves as a setting menu for the add-on. The extension point can be
@@ -2086,11 +1843,9 @@ public int getUniversalActionsCount() {
      * submission.
      * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; - * + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; */ - public com.google.apps.script.type.UniversalActionExtensionPoint getUniversalActions( - int index) { + public com.google.apps.script.type.UniversalActionExtensionPoint getUniversalActions(int index) { if (universalActionsBuilder_ == null) { return universalActions_.get(index); } else { @@ -2098,8 +1853,6 @@ public com.google.apps.script.type.UniversalActionExtensionPoint getUniversalAct } } /** - * - * *
      * Defines a list of extension points in the universal action menu which
      * serves as a setting menu for the add-on. The extension point can be
@@ -2107,8 +1860,7 @@ public com.google.apps.script.type.UniversalActionExtensionPoint getUniversalAct
      * submission.
      * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; - * + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; */ public Builder setUniversalActions( int index, com.google.apps.script.type.UniversalActionExtensionPoint value) { @@ -2125,8 +1877,6 @@ public Builder setUniversalActions( return this; } /** - * - * *
      * Defines a list of extension points in the universal action menu which
      * serves as a setting menu for the add-on. The extension point can be
@@ -2134,12 +1884,10 @@ public Builder setUniversalActions(
      * submission.
      * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; - * + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; */ public Builder setUniversalActions( - int index, - com.google.apps.script.type.UniversalActionExtensionPoint.Builder builderForValue) { + int index, com.google.apps.script.type.UniversalActionExtensionPoint.Builder builderForValue) { if (universalActionsBuilder_ == null) { ensureUniversalActionsIsMutable(); universalActions_.set(index, builderForValue.build()); @@ -2150,8 +1898,6 @@ public Builder setUniversalActions( return this; } /** - * - * *
      * Defines a list of extension points in the universal action menu which
      * serves as a setting menu for the add-on. The extension point can be
@@ -2159,11 +1905,9 @@ public Builder setUniversalActions(
      * submission.
      * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; - * + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; */ - public Builder addUniversalActions( - com.google.apps.script.type.UniversalActionExtensionPoint value) { + public Builder addUniversalActions(com.google.apps.script.type.UniversalActionExtensionPoint value) { if (universalActionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2177,8 +1921,6 @@ public Builder addUniversalActions( return this; } /** - * - * *
      * Defines a list of extension points in the universal action menu which
      * serves as a setting menu for the add-on. The extension point can be
@@ -2186,8 +1928,7 @@ public Builder addUniversalActions(
      * submission.
      * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; - * + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; */ public Builder addUniversalActions( int index, com.google.apps.script.type.UniversalActionExtensionPoint value) { @@ -2204,8 +1945,6 @@ public Builder addUniversalActions( return this; } /** - * - * *
      * Defines a list of extension points in the universal action menu which
      * serves as a setting menu for the add-on. The extension point can be
@@ -2213,8 +1952,7 @@ public Builder addUniversalActions(
      * submission.
      * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; - * + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; */ public Builder addUniversalActions( com.google.apps.script.type.UniversalActionExtensionPoint.Builder builderForValue) { @@ -2228,8 +1966,6 @@ public Builder addUniversalActions( return this; } /** - * - * *
      * Defines a list of extension points in the universal action menu which
      * serves as a setting menu for the add-on. The extension point can be
@@ -2237,12 +1973,10 @@ public Builder addUniversalActions(
      * submission.
      * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; - * + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; */ public Builder addUniversalActions( - int index, - com.google.apps.script.type.UniversalActionExtensionPoint.Builder builderForValue) { + int index, com.google.apps.script.type.UniversalActionExtensionPoint.Builder builderForValue) { if (universalActionsBuilder_ == null) { ensureUniversalActionsIsMutable(); universalActions_.add(index, builderForValue.build()); @@ -2253,8 +1987,6 @@ public Builder addUniversalActions( return this; } /** - * - * *
      * Defines a list of extension points in the universal action menu which
      * serves as a setting menu for the add-on. The extension point can be
@@ -2262,15 +1994,14 @@ public Builder addUniversalActions(
      * submission.
      * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; - * + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; */ public Builder addAllUniversalActions( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (universalActionsBuilder_ == null) { ensureUniversalActionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, universalActions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, universalActions_); onChanged(); } else { universalActionsBuilder_.addAllMessages(values); @@ -2278,8 +2009,6 @@ public Builder addAllUniversalActions( return this; } /** - * - * *
      * Defines a list of extension points in the universal action menu which
      * serves as a setting menu for the add-on. The extension point can be
@@ -2287,8 +2016,7 @@ public Builder addAllUniversalActions(
      * submission.
      * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; - * + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; */ public Builder clearUniversalActions() { if (universalActionsBuilder_ == null) { @@ -2301,8 +2029,6 @@ public Builder clearUniversalActions() { return this; } /** - * - * *
      * Defines a list of extension points in the universal action menu which
      * serves as a setting menu for the add-on. The extension point can be
@@ -2310,8 +2036,7 @@ public Builder clearUniversalActions() {
      * submission.
      * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; - * + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; */ public Builder removeUniversalActions(int index) { if (universalActionsBuilder_ == null) { @@ -2324,8 +2049,6 @@ public Builder removeUniversalActions(int index) { return this; } /** - * - * *
      * Defines a list of extension points in the universal action menu which
      * serves as a setting menu for the add-on. The extension point can be
@@ -2333,16 +2056,13 @@ public Builder removeUniversalActions(int index) {
      * submission.
      * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; - * + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; */ - public com.google.apps.script.type.UniversalActionExtensionPoint.Builder - getUniversalActionsBuilder(int index) { + public com.google.apps.script.type.UniversalActionExtensionPoint.Builder getUniversalActionsBuilder( + int index) { return getUniversalActionsFieldBuilder().getBuilder(index); } /** - * - * *
      * Defines a list of extension points in the universal action menu which
      * serves as a setting menu for the add-on. The extension point can be
@@ -2350,20 +2070,16 @@ public Builder removeUniversalActions(int index) {
      * submission.
      * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; - * + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; */ - public com.google.apps.script.type.UniversalActionExtensionPointOrBuilder - getUniversalActionsOrBuilder(int index) { + public com.google.apps.script.type.UniversalActionExtensionPointOrBuilder getUniversalActionsOrBuilder( + int index) { if (universalActionsBuilder_ == null) { - return universalActions_.get(index); - } else { + return universalActions_.get(index); } else { return universalActionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Defines a list of extension points in the universal action menu which
      * serves as a setting menu for the add-on. The extension point can be
@@ -2371,12 +2087,10 @@ public Builder removeUniversalActions(int index) {
      * submission.
      * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; - * + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; */ - public java.util.List< - ? extends com.google.apps.script.type.UniversalActionExtensionPointOrBuilder> - getUniversalActionsOrBuilderList() { + public java.util.List + getUniversalActionsOrBuilderList() { if (universalActionsBuilder_ != null) { return universalActionsBuilder_.getMessageOrBuilderList(); } else { @@ -2384,8 +2098,6 @@ public Builder removeUniversalActions(int index) { } } /** - * - * *
      * Defines a list of extension points in the universal action menu which
      * serves as a setting menu for the add-on. The extension point can be
@@ -2393,18 +2105,13 @@ public Builder removeUniversalActions(int index) {
      * submission.
      * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; - * + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; */ - public com.google.apps.script.type.UniversalActionExtensionPoint.Builder - addUniversalActionsBuilder() { - return getUniversalActionsFieldBuilder() - .addBuilder( - com.google.apps.script.type.UniversalActionExtensionPoint.getDefaultInstance()); + public com.google.apps.script.type.UniversalActionExtensionPoint.Builder addUniversalActionsBuilder() { + return getUniversalActionsFieldBuilder().addBuilder( + com.google.apps.script.type.UniversalActionExtensionPoint.getDefaultInstance()); } /** - * - * *
      * Defines a list of extension points in the universal action menu which
      * serves as a setting menu for the add-on. The extension point can be
@@ -2412,19 +2119,14 @@ public Builder removeUniversalActions(int index) {
      * submission.
      * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; - * + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; */ - public com.google.apps.script.type.UniversalActionExtensionPoint.Builder - addUniversalActionsBuilder(int index) { - return getUniversalActionsFieldBuilder() - .addBuilder( - index, - com.google.apps.script.type.UniversalActionExtensionPoint.getDefaultInstance()); + public com.google.apps.script.type.UniversalActionExtensionPoint.Builder addUniversalActionsBuilder( + int index) { + return getUniversalActionsFieldBuilder().addBuilder( + index, com.google.apps.script.type.UniversalActionExtensionPoint.getDefaultInstance()); } /** - * - * *
      * Defines a list of extension points in the universal action menu which
      * serves as a setting menu for the add-on. The extension point can be
@@ -2432,25 +2134,18 @@ public Builder removeUniversalActions(int index) {
      * submission.
      * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; - * + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; */ - public java.util.List - getUniversalActionsBuilderList() { + public java.util.List + getUniversalActionsBuilderList() { return getUniversalActionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.apps.script.type.UniversalActionExtensionPoint, - com.google.apps.script.type.UniversalActionExtensionPoint.Builder, - com.google.apps.script.type.UniversalActionExtensionPointOrBuilder> + com.google.apps.script.type.UniversalActionExtensionPoint, com.google.apps.script.type.UniversalActionExtensionPoint.Builder, com.google.apps.script.type.UniversalActionExtensionPointOrBuilder> getUniversalActionsFieldBuilder() { if (universalActionsBuilder_ == null) { - universalActionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.apps.script.type.UniversalActionExtensionPoint, - com.google.apps.script.type.UniversalActionExtensionPoint.Builder, - com.google.apps.script.type.UniversalActionExtensionPointOrBuilder>( + universalActionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.apps.script.type.UniversalActionExtensionPoint, com.google.apps.script.type.UniversalActionExtensionPoint.Builder, com.google.apps.script.type.UniversalActionExtensionPointOrBuilder>( universalActions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2462,13 +2157,8 @@ public Builder removeUniversalActions(int index) { private com.google.protobuf.ListValue openLinkUrlPrefixes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.ListValue, - com.google.protobuf.ListValue.Builder, - com.google.protobuf.ListValueOrBuilder> - openLinkUrlPrefixesBuilder_; + com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> openLinkUrlPrefixesBuilder_; /** - * - * *
      * An OpenLink action
      * can only use a URL with an HTTPS, MAILTO or TEL scheme.  For HTTPS links,
@@ -2480,15 +2170,12 @@ public Builder removeUniversalActions(int index) {
      * 
* * .google.protobuf.ListValue open_link_url_prefixes = 8; - * * @return Whether the openLinkUrlPrefixes field is set. */ public boolean hasOpenLinkUrlPrefixes() { return openLinkUrlPrefixesBuilder_ != null || openLinkUrlPrefixes_ != null; } /** - * - * *
      * An OpenLink action
      * can only use a URL with an HTTPS, MAILTO or TEL scheme.  For HTTPS links,
@@ -2500,21 +2187,16 @@ public boolean hasOpenLinkUrlPrefixes() {
      * 
* * .google.protobuf.ListValue open_link_url_prefixes = 8; - * * @return The openLinkUrlPrefixes. */ public com.google.protobuf.ListValue getOpenLinkUrlPrefixes() { if (openLinkUrlPrefixesBuilder_ == null) { - return openLinkUrlPrefixes_ == null - ? com.google.protobuf.ListValue.getDefaultInstance() - : openLinkUrlPrefixes_; + return openLinkUrlPrefixes_ == null ? com.google.protobuf.ListValue.getDefaultInstance() : openLinkUrlPrefixes_; } else { return openLinkUrlPrefixesBuilder_.getMessage(); } } /** - * - * *
      * An OpenLink action
      * can only use a URL with an HTTPS, MAILTO or TEL scheme.  For HTTPS links,
@@ -2541,8 +2223,6 @@ public Builder setOpenLinkUrlPrefixes(com.google.protobuf.ListValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * An OpenLink action
      * can only use a URL with an HTTPS, MAILTO or TEL scheme.  For HTTPS links,
@@ -2555,7 +2235,8 @@ public Builder setOpenLinkUrlPrefixes(com.google.protobuf.ListValue value) {
      *
      * .google.protobuf.ListValue open_link_url_prefixes = 8;
      */
-    public Builder setOpenLinkUrlPrefixes(com.google.protobuf.ListValue.Builder builderForValue) {
+    public Builder setOpenLinkUrlPrefixes(
+        com.google.protobuf.ListValue.Builder builderForValue) {
       if (openLinkUrlPrefixesBuilder_ == null) {
         openLinkUrlPrefixes_ = builderForValue.build();
         onChanged();
@@ -2566,8 +2247,6 @@ public Builder setOpenLinkUrlPrefixes(com.google.protobuf.ListValue.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * An OpenLink action
      * can only use a URL with an HTTPS, MAILTO or TEL scheme.  For HTTPS links,
@@ -2584,9 +2263,7 @@ public Builder mergeOpenLinkUrlPrefixes(com.google.protobuf.ListValue value) {
       if (openLinkUrlPrefixesBuilder_ == null) {
         if (openLinkUrlPrefixes_ != null) {
           openLinkUrlPrefixes_ =
-              com.google.protobuf.ListValue.newBuilder(openLinkUrlPrefixes_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.protobuf.ListValue.newBuilder(openLinkUrlPrefixes_).mergeFrom(value).buildPartial();
         } else {
           openLinkUrlPrefixes_ = value;
         }
@@ -2598,8 +2275,6 @@ public Builder mergeOpenLinkUrlPrefixes(com.google.protobuf.ListValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * An OpenLink action
      * can only use a URL with an HTTPS, MAILTO or TEL scheme.  For HTTPS links,
@@ -2624,8 +2299,6 @@ public Builder clearOpenLinkUrlPrefixes() {
       return this;
     }
     /**
-     *
-     *
      * 
      * An OpenLink action
      * can only use a URL with an HTTPS, MAILTO or TEL scheme.  For HTTPS links,
@@ -2639,13 +2312,11 @@ public Builder clearOpenLinkUrlPrefixes() {
      * .google.protobuf.ListValue open_link_url_prefixes = 8;
      */
     public com.google.protobuf.ListValue.Builder getOpenLinkUrlPrefixesBuilder() {
-
+      
       onChanged();
       return getOpenLinkUrlPrefixesFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * An OpenLink action
      * can only use a URL with an HTTPS, MAILTO or TEL scheme.  For HTTPS links,
@@ -2662,14 +2333,11 @@ public com.google.protobuf.ListValueOrBuilder getOpenLinkUrlPrefixesOrBuilder()
       if (openLinkUrlPrefixesBuilder_ != null) {
         return openLinkUrlPrefixesBuilder_.getMessageOrBuilder();
       } else {
-        return openLinkUrlPrefixes_ == null
-            ? com.google.protobuf.ListValue.getDefaultInstance()
-            : openLinkUrlPrefixes_;
+        return openLinkUrlPrefixes_ == null ?
+            com.google.protobuf.ListValue.getDefaultInstance() : openLinkUrlPrefixes_;
       }
     }
     /**
-     *
-     *
      * 
      * An OpenLink action
      * can only use a URL with an HTTPS, MAILTO or TEL scheme.  For HTTPS links,
@@ -2683,24 +2351,21 @@ public com.google.protobuf.ListValueOrBuilder getOpenLinkUrlPrefixesOrBuilder()
      * .google.protobuf.ListValue open_link_url_prefixes = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.ListValue,
-            com.google.protobuf.ListValue.Builder,
-            com.google.protobuf.ListValueOrBuilder>
+        com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> 
         getOpenLinkUrlPrefixesFieldBuilder() {
       if (openLinkUrlPrefixesBuilder_ == null) {
-        openLinkUrlPrefixesBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.ListValue,
-                com.google.protobuf.ListValue.Builder,
-                com.google.protobuf.ListValueOrBuilder>(
-                getOpenLinkUrlPrefixes(), getParentForChildren(), isClean());
+        openLinkUrlPrefixesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder>(
+                getOpenLinkUrlPrefixes(),
+                getParentForChildren(),
+                isClean());
         openLinkUrlPrefixes_ = null;
       }
       return openLinkUrlPrefixesBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2710,12 +2375,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.apps.script.type.CommonAddOnManifest)
   }
 
   // @@protoc_insertion_point(class_scope:google.apps.script.type.CommonAddOnManifest)
   private static final com.google.apps.script.type.CommonAddOnManifest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.apps.script.type.CommonAddOnManifest();
   }
@@ -2724,16 +2389,16 @@ public static com.google.apps.script.type.CommonAddOnManifest getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public CommonAddOnManifest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new CommonAddOnManifest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public CommonAddOnManifest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new CommonAddOnManifest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2748,4 +2413,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.apps.script.type.CommonAddOnManifest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/CommonAddOnManifestOrBuilder.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/CommonAddOnManifestOrBuilder.java
similarity index 86%
rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/CommonAddOnManifestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/CommonAddOnManifestOrBuilder.java
index f5b478e3..de62a3d4 100644
--- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/CommonAddOnManifestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/CommonAddOnManifestOrBuilder.java
@@ -1,105 +1,71 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/apps/script/type/script_manifest.proto
 
 package com.google.apps.script.type;
 
-public interface CommonAddOnManifestOrBuilder
-    extends
+public interface CommonAddOnManifestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.apps.script.type.CommonAddOnManifest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The display name of the add-on.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The display name of the add-on.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The URL for the logo image shown in the add-on toolbar.
    * 
* * string logo_url = 2; - * * @return The logoUrl. */ java.lang.String getLogoUrl(); /** - * - * *
    * Required. The URL for the logo image shown in the add-on toolbar.
    * 
* * string logo_url = 2; - * * @return The bytes for logoUrl. */ - com.google.protobuf.ByteString getLogoUrlBytes(); + com.google.protobuf.ByteString + getLogoUrlBytes(); /** - * - * *
    * Common layout properties for the add-on cards.
    * 
* * .google.apps.script.type.LayoutProperties layout_properties = 3; - * * @return Whether the layoutProperties field is set. */ boolean hasLayoutProperties(); /** - * - * *
    * Common layout properties for the add-on cards.
    * 
* * .google.apps.script.type.LayoutProperties layout_properties = 3; - * * @return The layoutProperties. */ com.google.apps.script.type.LayoutProperties getLayoutProperties(); /** - * - * *
    * Common layout properties for the add-on cards.
    * 
@@ -109,34 +75,26 @@ public interface CommonAddOnManifestOrBuilder com.google.apps.script.type.LayoutPropertiesOrBuilder getLayoutPropertiesOrBuilder(); /** - * - * *
    * The widgets used in the add-on. If this field is not specified,
    * it indicates that default set is used.
    * 
* * .google.apps.script.type.AddOnWidgetSet add_on_widget_set = 4; - * * @return Whether the addOnWidgetSet field is set. */ boolean hasAddOnWidgetSet(); /** - * - * *
    * The widgets used in the add-on. If this field is not specified,
    * it indicates that default set is used.
    * 
* * .google.apps.script.type.AddOnWidgetSet add_on_widget_set = 4; - * * @return The addOnWidgetSet. */ com.google.apps.script.type.AddOnWidgetSet getAddOnWidgetSet(); /** - * - * *
    * The widgets used in the add-on. If this field is not specified,
    * it indicates that default set is used.
@@ -147,21 +105,16 @@ public interface CommonAddOnManifestOrBuilder
   com.google.apps.script.type.AddOnWidgetSetOrBuilder getAddOnWidgetSetOrBuilder();
 
   /**
-   *
-   *
    * 
    * Whether to pass locale information from host app.
    * 
* * bool use_locale_from_app = 5; - * * @return The useLocaleFromApp. */ boolean getUseLocaleFromApp(); /** - * - * *
    * Defines an endpoint that will be executed in any context, in
    * any host. Any cards generated by this function will always be available to
@@ -170,13 +123,10 @@ public interface CommonAddOnManifestOrBuilder
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6; - * * @return Whether the homepageTrigger field is set. */ boolean hasHomepageTrigger(); /** - * - * *
    * Defines an endpoint that will be executed in any context, in
    * any host. Any cards generated by this function will always be available to
@@ -185,13 +135,10 @@ public interface CommonAddOnManifestOrBuilder
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6; - * * @return The homepageTrigger. */ com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger(); /** - * - * *
    * Defines an endpoint that will be executed in any context, in
    * any host. Any cards generated by this function will always be available to
@@ -204,8 +151,6 @@ public interface CommonAddOnManifestOrBuilder
   com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder();
 
   /**
-   *
-   *
    * 
    * Defines a list of extension points in the universal action menu which
    * serves as a setting menu for the add-on. The extension point can be
@@ -213,14 +158,11 @@ public interface CommonAddOnManifestOrBuilder
    * submission.
    * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; - * + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; */ - java.util.List + java.util.List getUniversalActionsList(); /** - * - * *
    * Defines a list of extension points in the universal action menu which
    * serves as a setting menu for the add-on. The extension point can be
@@ -228,13 +170,10 @@ public interface CommonAddOnManifestOrBuilder
    * submission.
    * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; - * + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; */ com.google.apps.script.type.UniversalActionExtensionPoint getUniversalActions(int index); /** - * - * *
    * Defines a list of extension points in the universal action menu which
    * serves as a setting menu for the add-on. The extension point can be
@@ -242,13 +181,10 @@ public interface CommonAddOnManifestOrBuilder
    * submission.
    * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; - * + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; */ int getUniversalActionsCount(); /** - * - * *
    * Defines a list of extension points in the universal action menu which
    * serves as a setting menu for the add-on. The extension point can be
@@ -256,14 +192,11 @@ public interface CommonAddOnManifestOrBuilder
    * submission.
    * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; - * + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; */ - java.util.List + java.util.List getUniversalActionsOrBuilderList(); /** - * - * *
    * Defines a list of extension points in the universal action menu which
    * serves as a setting menu for the add-on. The extension point can be
@@ -271,15 +204,12 @@ public interface CommonAddOnManifestOrBuilder
    * submission.
    * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; - * + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; */ com.google.apps.script.type.UniversalActionExtensionPointOrBuilder getUniversalActionsOrBuilder( int index); /** - * - * *
    * An OpenLink action
    * can only use a URL with an HTTPS, MAILTO or TEL scheme.  For HTTPS links,
@@ -291,13 +221,10 @@ com.google.apps.script.type.UniversalActionExtensionPointOrBuilder getUniversalA
    * 
* * .google.protobuf.ListValue open_link_url_prefixes = 8; - * * @return Whether the openLinkUrlPrefixes field is set. */ boolean hasOpenLinkUrlPrefixes(); /** - * - * *
    * An OpenLink action
    * can only use a URL with an HTTPS, MAILTO or TEL scheme.  For HTTPS links,
@@ -309,13 +236,10 @@ com.google.apps.script.type.UniversalActionExtensionPointOrBuilder getUniversalA
    * 
* * .google.protobuf.ListValue open_link_url_prefixes = 8; - * * @return The openLinkUrlPrefixes. */ com.google.protobuf.ListValue getOpenLinkUrlPrefixes(); /** - * - * *
    * An OpenLink action
    * can only use a URL with an HTTPS, MAILTO or TEL scheme.  For HTTPS links,
diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/ExtensionPoint.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/ExtensionPoint.java
new file mode 100644
index 00000000..bbd767ba
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/ExtensionPoint.java
@@ -0,0 +1,84 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/apps/script/type/extension_point.proto
+
+package com.google.apps.script.type;
+
+public final class ExtensionPoint {
+  private ExtensionPoint() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_apps_script_type_MenuItemExtensionPoint_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_apps_script_type_MenuItemExtensionPoint_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_apps_script_type_HomepageExtensionPoint_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_apps_script_type_HomepageExtensionPoint_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_apps_script_type_UniversalActionExtensionPoint_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_apps_script_type_UniversalActionExtensionPoint_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n-google/apps/script/type/extension_poin" +
+      "t.proto\022\027google.apps.script.type\032\036google" +
+      "/protobuf/wrappers.proto\"O\n\026MenuItemExte" +
+      "nsionPoint\022\024\n\014run_function\030\001 \001(\t\022\r\n\005labe" +
+      "l\030\002 \001(\t\022\020\n\010logo_url\030\003 \001(\t\"[\n\026HomepageExt" +
+      "ensionPoint\022\024\n\014run_function\030\001 \001(\t\022+\n\007ena" +
+      "bled\030\002 \001(\0132\032.google.protobuf.BoolValue\"j" +
+      "\n\035UniversalActionExtensionPoint\022\r\n\005label" +
+      "\030\001 \001(\t\022\023\n\topen_link\030\002 \001(\tH\000\022\026\n\014run_funct" +
+      "ion\030\003 \001(\tH\000B\r\n\013action_typeB\250\001\n\033com.googl" +
+      "e.apps.script.typeP\001Z6google.golang.org/" +
+      "genproto/googleapis/apps/script/type\252\002\027G" +
+      "oogle.Apps.Script.Type\312\002\027Google\\Apps\\Scr" +
+      "ipt\\Type\352\002\032Google::Apps::Script::Typeb\006p" +
+      "roto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.protobuf.WrappersProto.getDescriptor(),
+        });
+    internal_static_google_apps_script_type_MenuItemExtensionPoint_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_apps_script_type_MenuItemExtensionPoint_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_apps_script_type_MenuItemExtensionPoint_descriptor,
+        new java.lang.String[] { "RunFunction", "Label", "LogoUrl", });
+    internal_static_google_apps_script_type_HomepageExtensionPoint_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_apps_script_type_HomepageExtensionPoint_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_apps_script_type_HomepageExtensionPoint_descriptor,
+        new java.lang.String[] { "RunFunction", "Enabled", });
+    internal_static_google_apps_script_type_UniversalActionExtensionPoint_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_apps_script_type_UniversalActionExtensionPoint_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_apps_script_type_UniversalActionExtensionPoint_descriptor,
+        new java.lang.String[] { "Label", "OpenLink", "RunFunction", "ActionType", });
+    com.google.protobuf.WrappersProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HomepageExtensionPoint.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HomepageExtensionPoint.java
similarity index 72%
rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HomepageExtensionPoint.java
rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HomepageExtensionPoint.java
index 13dda874..a206d27e 100644
--- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HomepageExtensionPoint.java
+++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HomepageExtensionPoint.java
@@ -1,57 +1,40 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/apps/script/type/extension_point.proto
 
 package com.google.apps.script.type;
 
 /**
- *
- *
  * 
  * Common format for declaring an add-on's home-page view.
  * 
* * Protobuf type {@code google.apps.script.type.HomepageExtensionPoint} */ -public final class HomepageExtensionPoint extends com.google.protobuf.GeneratedMessageV3 - implements +public final class HomepageExtensionPoint extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.apps.script.type.HomepageExtensionPoint) HomepageExtensionPointOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use HomepageExtensionPoint.newBuilder() to construct. private HomepageExtensionPoint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private HomepageExtensionPoint() { runFunction_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new HomepageExtensionPoint(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private HomepageExtensionPoint( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,35 +53,32 @@ private HomepageExtensionPoint( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - runFunction_ = s; - break; + runFunction_ = s; + break; + } + case 18: { + com.google.protobuf.BoolValue.Builder subBuilder = null; + if (enabled_ != null) { + subBuilder = enabled_.toBuilder(); } - case 18: - { - com.google.protobuf.BoolValue.Builder subBuilder = null; - if (enabled_ != null) { - subBuilder = enabled_.toBuilder(); - } - enabled_ = - input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(enabled_); - enabled_ = subBuilder.buildPartial(); - } - - break; + enabled_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(enabled_); + enabled_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,40 +86,35 @@ private HomepageExtensionPoint( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.apps.script.type.ExtensionPoint - .internal_static_google_apps_script_type_HomepageExtensionPoint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.apps.script.type.ExtensionPoint.internal_static_google_apps_script_type_HomepageExtensionPoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.ExtensionPoint - .internal_static_google_apps_script_type_HomepageExtensionPoint_fieldAccessorTable + return com.google.apps.script.type.ExtensionPoint.internal_static_google_apps_script_type_HomepageExtensionPoint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.HomepageExtensionPoint.class, - com.google.apps.script.type.HomepageExtensionPoint.Builder.class); + com.google.apps.script.type.HomepageExtensionPoint.class, com.google.apps.script.type.HomepageExtensionPoint.Builder.class); } public static final int RUN_FUNCTION_FIELD_NUMBER = 1; private volatile java.lang.Object runFunction_; /** - * - * *
    * Required. The endpoint to execute when this extension point is
    * activated.
    * 
* * string run_function = 1; - * * @return The runFunction. */ @java.lang.Override @@ -148,30 +123,30 @@ public java.lang.String getRunFunction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); runFunction_ = s; return s; } } /** - * - * *
    * Required. The endpoint to execute when this extension point is
    * activated.
    * 
* * string run_function = 1; - * * @return The bytes for runFunction. */ @java.lang.Override - public com.google.protobuf.ByteString getRunFunctionBytes() { + public com.google.protobuf.ByteString + getRunFunctionBytes() { java.lang.Object ref = runFunction_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); runFunction_ = b; return b; } else { @@ -182,8 +157,6 @@ public com.google.protobuf.ByteString getRunFunctionBytes() { public static final int ENABLED_FIELD_NUMBER = 2; private com.google.protobuf.BoolValue enabled_; /** - * - * *
    * Optional. If set to `false`, disable the home-page view in this context.
    * Defaults to `true` if unset.
@@ -192,7 +165,6 @@ public com.google.protobuf.ByteString getRunFunctionBytes() {
    * 
* * .google.protobuf.BoolValue enabled = 2; - * * @return Whether the enabled field is set. */ @java.lang.Override @@ -200,8 +172,6 @@ public boolean hasEnabled() { return enabled_ != null; } /** - * - * *
    * Optional. If set to `false`, disable the home-page view in this context.
    * Defaults to `true` if unset.
@@ -210,7 +180,6 @@ public boolean hasEnabled() {
    * 
* * .google.protobuf.BoolValue enabled = 2; - * * @return The enabled. */ @java.lang.Override @@ -218,8 +187,6 @@ public com.google.protobuf.BoolValue getEnabled() { return enabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : enabled_; } /** - * - * *
    * Optional. If set to `false`, disable the home-page view in this context.
    * Defaults to `true` if unset.
@@ -235,7 +202,6 @@ public com.google.protobuf.BoolValueOrBuilder getEnabledOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -247,7 +213,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(runFunction_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, runFunction_);
     }
@@ -267,7 +234,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, runFunction_);
     }
     if (enabled_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEnabled());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getEnabled());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -277,18 +245,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.apps.script.type.HomepageExtensionPoint)) {
       return super.equals(obj);
     }
-    com.google.apps.script.type.HomepageExtensionPoint other =
-        (com.google.apps.script.type.HomepageExtensionPoint) obj;
+    com.google.apps.script.type.HomepageExtensionPoint other = (com.google.apps.script.type.HomepageExtensionPoint) obj;
 
-    if (!getRunFunction().equals(other.getRunFunction())) return false;
+    if (!getRunFunction()
+        .equals(other.getRunFunction())) return false;
     if (hasEnabled() != other.hasEnabled()) return false;
     if (hasEnabled()) {
-      if (!getEnabled().equals(other.getEnabled())) return false;
+      if (!getEnabled()
+          .equals(other.getEnabled())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -313,126 +282,117 @@ public int hashCode() {
   }
 
   public static com.google.apps.script.type.HomepageExtensionPoint parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.apps.script.type.HomepageExtensionPoint parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.apps.script.type.HomepageExtensionPoint parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.apps.script.type.HomepageExtensionPoint parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.apps.script.type.HomepageExtensionPoint parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.apps.script.type.HomepageExtensionPoint parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.apps.script.type.HomepageExtensionPoint parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.apps.script.type.HomepageExtensionPoint parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.apps.script.type.HomepageExtensionPoint parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.apps.script.type.HomepageExtensionPoint parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.apps.script.type.HomepageExtensionPoint parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.apps.script.type.HomepageExtensionPoint parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.apps.script.type.HomepageExtensionPoint parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.apps.script.type.HomepageExtensionPoint parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.apps.script.type.HomepageExtensionPoint prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Common format for declaring an add-on's home-page view.
    * 
* * Protobuf type {@code google.apps.script.type.HomepageExtensionPoint} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.script.type.HomepageExtensionPoint) com.google.apps.script.type.HomepageExtensionPointOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.apps.script.type.ExtensionPoint - .internal_static_google_apps_script_type_HomepageExtensionPoint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.apps.script.type.ExtensionPoint.internal_static_google_apps_script_type_HomepageExtensionPoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.ExtensionPoint - .internal_static_google_apps_script_type_HomepageExtensionPoint_fieldAccessorTable + return com.google.apps.script.type.ExtensionPoint.internal_static_google_apps_script_type_HomepageExtensionPoint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.HomepageExtensionPoint.class, - com.google.apps.script.type.HomepageExtensionPoint.Builder.class); + com.google.apps.script.type.HomepageExtensionPoint.class, com.google.apps.script.type.HomepageExtensionPoint.Builder.class); } // Construct using com.google.apps.script.type.HomepageExtensionPoint.newBuilder() @@ -440,15 +400,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -464,9 +425,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.apps.script.type.ExtensionPoint - .internal_static_google_apps_script_type_HomepageExtensionPoint_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.apps.script.type.ExtensionPoint.internal_static_google_apps_script_type_HomepageExtensionPoint_descriptor; } @java.lang.Override @@ -485,8 +446,7 @@ public com.google.apps.script.type.HomepageExtensionPoint build() { @java.lang.Override public com.google.apps.script.type.HomepageExtensionPoint buildPartial() { - com.google.apps.script.type.HomepageExtensionPoint result = - new com.google.apps.script.type.HomepageExtensionPoint(this); + com.google.apps.script.type.HomepageExtensionPoint result = new com.google.apps.script.type.HomepageExtensionPoint(this); result.runFunction_ = runFunction_; if (enabledBuilder_ == null) { result.enabled_ = enabled_; @@ -501,39 +461,38 @@ public com.google.apps.script.type.HomepageExtensionPoint buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.script.type.HomepageExtensionPoint) { - return mergeFrom((com.google.apps.script.type.HomepageExtensionPoint) other); + return mergeFrom((com.google.apps.script.type.HomepageExtensionPoint)other); } else { super.mergeFrom(other); return this; @@ -541,8 +500,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.apps.script.type.HomepageExtensionPoint other) { - if (other == com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance()) - return this; + if (other == com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance()) return this; if (!other.getRunFunction().isEmpty()) { runFunction_ = other.runFunction_; onChanged(); @@ -569,8 +527,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.apps.script.type.HomepageExtensionPoint) e.getUnfinishedMessage(); + parsedMessage = (com.google.apps.script.type.HomepageExtensionPoint) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -582,21 +539,19 @@ public Builder mergeFrom( private java.lang.Object runFunction_ = ""; /** - * - * *
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1; - * * @return The runFunction. */ public java.lang.String getRunFunction() { java.lang.Object ref = runFunction_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); runFunction_ = s; return s; @@ -605,22 +560,21 @@ public java.lang.String getRunFunction() { } } /** - * - * *
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1; - * * @return The bytes for runFunction. */ - public com.google.protobuf.ByteString getRunFunctionBytes() { + public com.google.protobuf.ByteString + getRunFunctionBytes() { java.lang.Object ref = runFunction_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); runFunction_ = b; return b; } else { @@ -628,64 +582,57 @@ public com.google.protobuf.ByteString getRunFunctionBytes() { } } /** - * - * *
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1; - * * @param value The runFunction to set. * @return This builder for chaining. */ - public Builder setRunFunction(java.lang.String value) { + public Builder setRunFunction( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + runFunction_ = value; onChanged(); return this; } /** - * - * *
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1; - * * @return This builder for chaining. */ public Builder clearRunFunction() { - + runFunction_ = getDefaultInstance().getRunFunction(); onChanged(); return this; } /** - * - * *
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1; - * * @param value The bytes for runFunction to set. * @return This builder for chaining. */ - public Builder setRunFunctionBytes(com.google.protobuf.ByteString value) { + public Builder setRunFunctionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + runFunction_ = value; onChanged(); return this; @@ -693,13 +640,8 @@ public Builder setRunFunctionBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.BoolValue enabled_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, - com.google.protobuf.BoolValue.Builder, - com.google.protobuf.BoolValueOrBuilder> - enabledBuilder_; + com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> enabledBuilder_; /** - * - * *
      * Optional. If set to `false`, disable the home-page view in this context.
      * Defaults to `true` if unset.
@@ -708,15 +650,12 @@ public Builder setRunFunctionBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.BoolValue enabled = 2; - * * @return Whether the enabled field is set. */ public boolean hasEnabled() { return enabledBuilder_ != null || enabled_ != null; } /** - * - * *
      * Optional. If set to `false`, disable the home-page view in this context.
      * Defaults to `true` if unset.
@@ -725,7 +664,6 @@ public boolean hasEnabled() {
      * 
* * .google.protobuf.BoolValue enabled = 2; - * * @return The enabled. */ public com.google.protobuf.BoolValue getEnabled() { @@ -736,8 +674,6 @@ public com.google.protobuf.BoolValue getEnabled() { } } /** - * - * *
      * Optional. If set to `false`, disable the home-page view in this context.
      * Defaults to `true` if unset.
@@ -761,8 +697,6 @@ public Builder setEnabled(com.google.protobuf.BoolValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. If set to `false`, disable the home-page view in this context.
      * Defaults to `true` if unset.
@@ -772,7 +706,8 @@ public Builder setEnabled(com.google.protobuf.BoolValue value) {
      *
      * .google.protobuf.BoolValue enabled = 2;
      */
-    public Builder setEnabled(com.google.protobuf.BoolValue.Builder builderForValue) {
+    public Builder setEnabled(
+        com.google.protobuf.BoolValue.Builder builderForValue) {
       if (enabledBuilder_ == null) {
         enabled_ = builderForValue.build();
         onChanged();
@@ -783,8 +718,6 @@ public Builder setEnabled(com.google.protobuf.BoolValue.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. If set to `false`, disable the home-page view in this context.
      * Defaults to `true` if unset.
@@ -798,7 +731,7 @@ public Builder mergeEnabled(com.google.protobuf.BoolValue value) {
       if (enabledBuilder_ == null) {
         if (enabled_ != null) {
           enabled_ =
-              com.google.protobuf.BoolValue.newBuilder(enabled_).mergeFrom(value).buildPartial();
+            com.google.protobuf.BoolValue.newBuilder(enabled_).mergeFrom(value).buildPartial();
         } else {
           enabled_ = value;
         }
@@ -810,8 +743,6 @@ public Builder mergeEnabled(com.google.protobuf.BoolValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. If set to `false`, disable the home-page view in this context.
      * Defaults to `true` if unset.
@@ -833,8 +764,6 @@ public Builder clearEnabled() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Optional. If set to `false`, disable the home-page view in this context.
      * Defaults to `true` if unset.
@@ -845,13 +774,11 @@ public Builder clearEnabled() {
      * .google.protobuf.BoolValue enabled = 2;
      */
     public com.google.protobuf.BoolValue.Builder getEnabledBuilder() {
-
+      
       onChanged();
       return getEnabledFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Optional. If set to `false`, disable the home-page view in this context.
      * Defaults to `true` if unset.
@@ -865,12 +792,11 @@ public com.google.protobuf.BoolValueOrBuilder getEnabledOrBuilder() {
       if (enabledBuilder_ != null) {
         return enabledBuilder_.getMessageOrBuilder();
       } else {
-        return enabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : enabled_;
+        return enabled_ == null ?
+            com.google.protobuf.BoolValue.getDefaultInstance() : enabled_;
       }
     }
     /**
-     *
-     *
      * 
      * Optional. If set to `false`, disable the home-page view in this context.
      * Defaults to `true` if unset.
@@ -881,24 +807,21 @@ public com.google.protobuf.BoolValueOrBuilder getEnabledOrBuilder() {
      * .google.protobuf.BoolValue enabled = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.BoolValue,
-            com.google.protobuf.BoolValue.Builder,
-            com.google.protobuf.BoolValueOrBuilder>
+        com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> 
         getEnabledFieldBuilder() {
       if (enabledBuilder_ == null) {
-        enabledBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.BoolValue,
-                com.google.protobuf.BoolValue.Builder,
-                com.google.protobuf.BoolValueOrBuilder>(
-                getEnabled(), getParentForChildren(), isClean());
+        enabledBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
+                getEnabled(),
+                getParentForChildren(),
+                isClean());
         enabled_ = null;
       }
       return enabledBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -908,12 +831,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.apps.script.type.HomepageExtensionPoint)
   }
 
   // @@protoc_insertion_point(class_scope:google.apps.script.type.HomepageExtensionPoint)
   private static final com.google.apps.script.type.HomepageExtensionPoint DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.apps.script.type.HomepageExtensionPoint();
   }
@@ -922,16 +845,16 @@ public static com.google.apps.script.type.HomepageExtensionPoint getDefaultInsta
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public HomepageExtensionPoint parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new HomepageExtensionPoint(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public HomepageExtensionPoint parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new HomepageExtensionPoint(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -946,4 +869,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.apps.script.type.HomepageExtensionPoint getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HomepageExtensionPointOrBuilder.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HomepageExtensionPointOrBuilder.java
similarity index 71%
rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HomepageExtensionPointOrBuilder.java
rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HomepageExtensionPointOrBuilder.java
index 153088f6..fa8e4e70 100644
--- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HomepageExtensionPointOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HomepageExtensionPointOrBuilder.java
@@ -1,58 +1,35 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/apps/script/type/extension_point.proto
 
 package com.google.apps.script.type;
 
-public interface HomepageExtensionPointOrBuilder
-    extends
+public interface HomepageExtensionPointOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.apps.script.type.HomepageExtensionPoint)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The endpoint to execute when this extension point is
    * activated.
    * 
* * string run_function = 1; - * * @return The runFunction. */ java.lang.String getRunFunction(); /** - * - * *
    * Required. The endpoint to execute when this extension point is
    * activated.
    * 
* * string run_function = 1; - * * @return The bytes for runFunction. */ - com.google.protobuf.ByteString getRunFunctionBytes(); + com.google.protobuf.ByteString + getRunFunctionBytes(); /** - * - * *
    * Optional. If set to `false`, disable the home-page view in this context.
    * Defaults to `true` if unset.
@@ -61,13 +38,10 @@ public interface HomepageExtensionPointOrBuilder
    * 
* * .google.protobuf.BoolValue enabled = 2; - * * @return Whether the enabled field is set. */ boolean hasEnabled(); /** - * - * *
    * Optional. If set to `false`, disable the home-page view in this context.
    * Defaults to `true` if unset.
@@ -76,13 +50,10 @@ public interface HomepageExtensionPointOrBuilder
    * 
* * .google.protobuf.BoolValue enabled = 2; - * * @return The enabled. */ com.google.protobuf.BoolValue getEnabled(); /** - * - * *
    * Optional. If set to `false`, disable the home-page view in this context.
    * Defaults to `true` if unset.
diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HttpAuthorizationHeader.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HttpAuthorizationHeader.java
similarity index 71%
rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HttpAuthorizationHeader.java
rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HttpAuthorizationHeader.java
index d5c7c7b9..d7cc3d41 100644
--- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HttpAuthorizationHeader.java
+++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HttpAuthorizationHeader.java
@@ -1,36 +1,18 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/apps/script/type/script_manifest.proto
 
 package com.google.apps.script.type;
 
 /**
- *
- *
  * 
  * Authorization header sent in add-on HTTP requests
  * 
* * Protobuf enum {@code google.apps.script.type.HttpAuthorizationHeader} */ -public enum HttpAuthorizationHeader implements com.google.protobuf.ProtocolMessageEnum { +public enum HttpAuthorizationHeader + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Default value, equivalent to `SYSTEM_ID_TOKEN`
    * 
@@ -39,8 +21,6 @@ public enum HttpAuthorizationHeader implements com.google.protobuf.ProtocolMessa */ HTTP_AUTHORIZATION_HEADER_UNSPECIFIED(0), /** - * - * *
    * Send an ID token for the project-specific Google Workspace Add-ons system
    * service account (default)
@@ -50,8 +30,6 @@ public enum HttpAuthorizationHeader implements com.google.protobuf.ProtocolMessa
    */
   SYSTEM_ID_TOKEN(1),
   /**
-   *
-   *
    * 
    * Send an ID token for the end user
    * 
@@ -60,8 +38,6 @@ public enum HttpAuthorizationHeader implements com.google.protobuf.ProtocolMessa */ USER_ID_TOKEN(2), /** - * - * *
    * Do not send an Authentication header
    * 
@@ -73,8 +49,6 @@ public enum HttpAuthorizationHeader implements com.google.protobuf.ProtocolMessa ; /** - * - * *
    * Default value, equivalent to `SYSTEM_ID_TOKEN`
    * 
@@ -83,8 +57,6 @@ public enum HttpAuthorizationHeader implements com.google.protobuf.ProtocolMessa */ public static final int HTTP_AUTHORIZATION_HEADER_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Send an ID token for the project-specific Google Workspace Add-ons system
    * service account (default)
@@ -94,8 +66,6 @@ public enum HttpAuthorizationHeader implements com.google.protobuf.ProtocolMessa
    */
   public static final int SYSTEM_ID_TOKEN_VALUE = 1;
   /**
-   *
-   *
    * 
    * Send an ID token for the end user
    * 
@@ -104,8 +74,6 @@ public enum HttpAuthorizationHeader implements com.google.protobuf.ProtocolMessa */ public static final int USER_ID_TOKEN_VALUE = 2; /** - * - * *
    * Do not send an Authentication header
    * 
@@ -114,6 +82,7 @@ public enum HttpAuthorizationHeader implements com.google.protobuf.ProtocolMessa */ public static final int NONE_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -138,16 +107,11 @@ public static HttpAuthorizationHeader valueOf(int value) { */ public static HttpAuthorizationHeader forNumber(int value) { switch (value) { - case 0: - return HTTP_AUTHORIZATION_HEADER_UNSPECIFIED; - case 1: - return SYSTEM_ID_TOKEN; - case 2: - return USER_ID_TOKEN; - case 3: - return NONE; - default: - return null; + case 0: return HTTP_AUTHORIZATION_HEADER_UNSPECIFIED; + case 1: return SYSTEM_ID_TOKEN; + case 2: return USER_ID_TOKEN; + case 3: return NONE; + default: return null; } } @@ -155,28 +119,28 @@ public static HttpAuthorizationHeader forNumber(int value) { internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HttpAuthorizationHeader findValueByNumber(int number) { - return HttpAuthorizationHeader.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + HttpAuthorizationHeader> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public HttpAuthorizationHeader findValueByNumber(int number) { + return HttpAuthorizationHeader.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.apps.script.type.ScriptManifest.getDescriptor().getEnumTypes().get(0); } @@ -185,7 +149,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static HttpAuthorizationHeader valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -201,3 +166,4 @@ private HttpAuthorizationHeader(int value) { // @@protoc_insertion_point(enum_scope:google.apps.script.type.HttpAuthorizationHeader) } + diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HttpOptions.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HttpOptions.java similarity index 67% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HttpOptions.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HttpOptions.java index e19e4f12..6910d5b1 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HttpOptions.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HttpOptions.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/script_manifest.proto package com.google.apps.script.type; /** - * - * *
  * Options for sending requests to add-on HTTP endpoints
  * 
* * Protobuf type {@code google.apps.script.type.HttpOptions} */ -public final class HttpOptions extends com.google.protobuf.GeneratedMessageV3 - implements +public final class HttpOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.apps.script.type.HttpOptions) HttpOptionsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use HttpOptions.newBuilder() to construct. private HttpOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private HttpOptions() { authorizationHeader_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new HttpOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private HttpOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private HttpOptions( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - authorizationHeader_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + authorizationHeader_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,68 +73,54 @@ private HttpOptions( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.apps.script.type.ScriptManifest - .internal_static_google_apps_script_type_HttpOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.apps.script.type.ScriptManifest.internal_static_google_apps_script_type_HttpOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.ScriptManifest - .internal_static_google_apps_script_type_HttpOptions_fieldAccessorTable + return com.google.apps.script.type.ScriptManifest.internal_static_google_apps_script_type_HttpOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.HttpOptions.class, - com.google.apps.script.type.HttpOptions.Builder.class); + com.google.apps.script.type.HttpOptions.class, com.google.apps.script.type.HttpOptions.Builder.class); } public static final int AUTHORIZATION_HEADER_FIELD_NUMBER = 1; private int authorizationHeader_; /** - * - * *
    * Configuration for the token sent in the HTTP Authorization header
    * 
* * .google.apps.script.type.HttpAuthorizationHeader authorization_header = 1; - * * @return The enum numeric value on the wire for authorizationHeader. */ - @java.lang.Override - public int getAuthorizationHeaderValue() { + @java.lang.Override public int getAuthorizationHeaderValue() { return authorizationHeader_; } /** - * - * *
    * Configuration for the token sent in the HTTP Authorization header
    * 
* * .google.apps.script.type.HttpAuthorizationHeader authorization_header = 1; - * * @return The authorizationHeader. */ - @java.lang.Override - public com.google.apps.script.type.HttpAuthorizationHeader getAuthorizationHeader() { + @java.lang.Override public com.google.apps.script.type.HttpAuthorizationHeader getAuthorizationHeader() { @SuppressWarnings("deprecation") - com.google.apps.script.type.HttpAuthorizationHeader result = - com.google.apps.script.type.HttpAuthorizationHeader.valueOf(authorizationHeader_); - return result == null - ? com.google.apps.script.type.HttpAuthorizationHeader.UNRECOGNIZED - : result; + com.google.apps.script.type.HttpAuthorizationHeader result = com.google.apps.script.type.HttpAuthorizationHeader.valueOf(authorizationHeader_); + return result == null ? com.google.apps.script.type.HttpAuthorizationHeader.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -164,10 +132,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (authorizationHeader_ - != com.google.apps.script.type.HttpAuthorizationHeader.HTTP_AUTHORIZATION_HEADER_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (authorizationHeader_ != com.google.apps.script.type.HttpAuthorizationHeader.HTTP_AUTHORIZATION_HEADER_UNSPECIFIED.getNumber()) { output.writeEnum(1, authorizationHeader_); } unknownFields.writeTo(output); @@ -179,10 +146,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (authorizationHeader_ - != com.google.apps.script.type.HttpAuthorizationHeader.HTTP_AUTHORIZATION_HEADER_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, authorizationHeader_); + if (authorizationHeader_ != com.google.apps.script.type.HttpAuthorizationHeader.HTTP_AUTHORIZATION_HEADER_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, authorizationHeader_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -192,7 +158,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.HttpOptions)) { return super.equals(obj); @@ -218,127 +184,118 @@ public int hashCode() { return hash; } - public static com.google.apps.script.type.HttpOptions parseFrom(java.nio.ByteBuffer data) + public static com.google.apps.script.type.HttpOptions parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.HttpOptions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.HttpOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.HttpOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.HttpOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.HttpOptions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.HttpOptions parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.HttpOptions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.apps.script.type.HttpOptions parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.apps.script.type.HttpOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.apps.script.type.HttpOptions parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.HttpOptions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.HttpOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.apps.script.type.HttpOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Options for sending requests to add-on HTTP endpoints
    * 
* * Protobuf type {@code google.apps.script.type.HttpOptions} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.script.type.HttpOptions) com.google.apps.script.type.HttpOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.apps.script.type.ScriptManifest - .internal_static_google_apps_script_type_HttpOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.apps.script.type.ScriptManifest.internal_static_google_apps_script_type_HttpOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.ScriptManifest - .internal_static_google_apps_script_type_HttpOptions_fieldAccessorTable + return com.google.apps.script.type.ScriptManifest.internal_static_google_apps_script_type_HttpOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.HttpOptions.class, - com.google.apps.script.type.HttpOptions.Builder.class); + com.google.apps.script.type.HttpOptions.class, com.google.apps.script.type.HttpOptions.Builder.class); } // Construct using com.google.apps.script.type.HttpOptions.newBuilder() @@ -346,15 +303,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -364,9 +322,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.apps.script.type.ScriptManifest - .internal_static_google_apps_script_type_HttpOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.apps.script.type.ScriptManifest.internal_static_google_apps_script_type_HttpOptions_descriptor; } @java.lang.Override @@ -385,8 +343,7 @@ public com.google.apps.script.type.HttpOptions build() { @java.lang.Override public com.google.apps.script.type.HttpOptions buildPartial() { - com.google.apps.script.type.HttpOptions result = - new com.google.apps.script.type.HttpOptions(this); + com.google.apps.script.type.HttpOptions result = new com.google.apps.script.type.HttpOptions(this); result.authorizationHeader_ = authorizationHeader_; onBuilt(); return result; @@ -396,39 +353,38 @@ public com.google.apps.script.type.HttpOptions buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.script.type.HttpOptions) { - return mergeFrom((com.google.apps.script.type.HttpOptions) other); + return mergeFrom((com.google.apps.script.type.HttpOptions)other); } else { super.mergeFrom(other); return this; @@ -471,100 +427,80 @@ public Builder mergeFrom( private int authorizationHeader_ = 0; /** - * - * *
      * Configuration for the token sent in the HTTP Authorization header
      * 
* * .google.apps.script.type.HttpAuthorizationHeader authorization_header = 1; - * * @return The enum numeric value on the wire for authorizationHeader. */ - @java.lang.Override - public int getAuthorizationHeaderValue() { + @java.lang.Override public int getAuthorizationHeaderValue() { return authorizationHeader_; } /** - * - * *
      * Configuration for the token sent in the HTTP Authorization header
      * 
* * .google.apps.script.type.HttpAuthorizationHeader authorization_header = 1; - * * @param value The enum numeric value on the wire for authorizationHeader to set. * @return This builder for chaining. */ public Builder setAuthorizationHeaderValue(int value) { - + authorizationHeader_ = value; onChanged(); return this; } /** - * - * *
      * Configuration for the token sent in the HTTP Authorization header
      * 
* * .google.apps.script.type.HttpAuthorizationHeader authorization_header = 1; - * * @return The authorizationHeader. */ @java.lang.Override public com.google.apps.script.type.HttpAuthorizationHeader getAuthorizationHeader() { @SuppressWarnings("deprecation") - com.google.apps.script.type.HttpAuthorizationHeader result = - com.google.apps.script.type.HttpAuthorizationHeader.valueOf(authorizationHeader_); - return result == null - ? com.google.apps.script.type.HttpAuthorizationHeader.UNRECOGNIZED - : result; + com.google.apps.script.type.HttpAuthorizationHeader result = com.google.apps.script.type.HttpAuthorizationHeader.valueOf(authorizationHeader_); + return result == null ? com.google.apps.script.type.HttpAuthorizationHeader.UNRECOGNIZED : result; } /** - * - * *
      * Configuration for the token sent in the HTTP Authorization header
      * 
* * .google.apps.script.type.HttpAuthorizationHeader authorization_header = 1; - * * @param value The authorizationHeader to set. * @return This builder for chaining. */ - public Builder setAuthorizationHeader( - com.google.apps.script.type.HttpAuthorizationHeader value) { + public Builder setAuthorizationHeader(com.google.apps.script.type.HttpAuthorizationHeader value) { if (value == null) { throw new NullPointerException(); } - + authorizationHeader_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Configuration for the token sent in the HTTP Authorization header
      * 
* * .google.apps.script.type.HttpAuthorizationHeader authorization_header = 1; - * * @return This builder for chaining. */ public Builder clearAuthorizationHeader() { - + authorizationHeader_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -574,12 +510,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.apps.script.type.HttpOptions) } // @@protoc_insertion_point(class_scope:google.apps.script.type.HttpOptions) private static final com.google.apps.script.type.HttpOptions DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.apps.script.type.HttpOptions(); } @@ -588,16 +524,16 @@ public static com.google.apps.script.type.HttpOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HttpOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new HttpOptions(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HttpOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new HttpOptions(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -612,4 +548,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.HttpOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HttpOptionsOrBuilder.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HttpOptionsOrBuilder.java similarity index 57% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HttpOptionsOrBuilder.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HttpOptionsOrBuilder.java index 102f23ea..da93b346 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HttpOptionsOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HttpOptionsOrBuilder.java @@ -1,49 +1,27 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/script_manifest.proto package com.google.apps.script.type; -public interface HttpOptionsOrBuilder - extends +public interface HttpOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.HttpOptions) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Configuration for the token sent in the HTTP Authorization header
    * 
* * .google.apps.script.type.HttpAuthorizationHeader authorization_header = 1; - * * @return The enum numeric value on the wire for authorizationHeader. */ int getAuthorizationHeaderValue(); /** - * - * *
    * Configuration for the token sent in the HTTP Authorization header
    * 
* * .google.apps.script.type.HttpAuthorizationHeader authorization_header = 1; - * * @return The authorizationHeader. */ com.google.apps.script.type.HttpAuthorizationHeader getAuthorizationHeader(); diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/LayoutProperties.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/LayoutProperties.java similarity index 73% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/LayoutProperties.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/LayoutProperties.java index 3f18dc03..20e0aca4 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/LayoutProperties.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/LayoutProperties.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/script_manifest.proto package com.google.apps.script.type; /** - * - * *
  * Card layout properties shared across all add-on host applications.
  * 
* * Protobuf type {@code google.apps.script.type.LayoutProperties} */ -public final class LayoutProperties extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LayoutProperties extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.apps.script.type.LayoutProperties) LayoutPropertiesOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LayoutProperties.newBuilder() to construct. private LayoutProperties(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LayoutProperties() { primaryColor_ = ""; secondaryColor_ = ""; @@ -44,15 +26,16 @@ private LayoutProperties() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LayoutProperties(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private LayoutProperties( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private LayoutProperties( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - primaryColor_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + primaryColor_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - secondaryColor_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + secondaryColor_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,33 +80,29 @@ private LayoutProperties( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.apps.script.type.ScriptManifest - .internal_static_google_apps_script_type_LayoutProperties_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.apps.script.type.ScriptManifest.internal_static_google_apps_script_type_LayoutProperties_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.ScriptManifest - .internal_static_google_apps_script_type_LayoutProperties_fieldAccessorTable + return com.google.apps.script.type.ScriptManifest.internal_static_google_apps_script_type_LayoutProperties_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.LayoutProperties.class, - com.google.apps.script.type.LayoutProperties.Builder.class); + com.google.apps.script.type.LayoutProperties.class, com.google.apps.script.type.LayoutProperties.Builder.class); } public static final int PRIMARY_COLOR_FIELD_NUMBER = 1; private volatile java.lang.Object primaryColor_; /** - * - * *
    * The primary color of the add-on. It sets the color of toolbar. If no
    * primary color is set explicitly, the default value provided by the
@@ -133,7 +110,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string primary_color = 1; - * * @return The primaryColor. */ @java.lang.Override @@ -142,15 +118,14 @@ public java.lang.String getPrimaryColor() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); primaryColor_ = s; return s; } } /** - * - * *
    * The primary color of the add-on. It sets the color of toolbar. If no
    * primary color is set explicitly, the default value provided by the
@@ -158,15 +133,16 @@ public java.lang.String getPrimaryColor() {
    * 
* * string primary_color = 1; - * * @return The bytes for primaryColor. */ @java.lang.Override - public com.google.protobuf.ByteString getPrimaryColorBytes() { + public com.google.protobuf.ByteString + getPrimaryColorBytes() { java.lang.Object ref = primaryColor_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); primaryColor_ = b; return b; } else { @@ -177,8 +153,6 @@ public com.google.protobuf.ByteString getPrimaryColorBytes() { public static final int SECONDARY_COLOR_FIELD_NUMBER = 2; private volatile java.lang.Object secondaryColor_; /** - * - * *
    * The secondary color of the add-on. It sets the color of buttons.
    * If primary color is set but no secondary color is set, the
@@ -188,7 +162,6 @@ public com.google.protobuf.ByteString getPrimaryColorBytes() {
    * 
* * string secondary_color = 2; - * * @return The secondaryColor. */ @java.lang.Override @@ -197,15 +170,14 @@ public java.lang.String getSecondaryColor() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); secondaryColor_ = s; return s; } } /** - * - * *
    * The secondary color of the add-on. It sets the color of buttons.
    * If primary color is set but no secondary color is set, the
@@ -215,15 +187,16 @@ public java.lang.String getSecondaryColor() {
    * 
* * string secondary_color = 2; - * * @return The bytes for secondaryColor. */ @java.lang.Override - public com.google.protobuf.ByteString getSecondaryColorBytes() { + public com.google.protobuf.ByteString + getSecondaryColorBytes() { java.lang.Object ref = secondaryColor_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); secondaryColor_ = b; return b; } else { @@ -232,7 +205,6 @@ public com.google.protobuf.ByteString getSecondaryColorBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,7 +216,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(primaryColor_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, primaryColor_); } @@ -274,16 +247,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.LayoutProperties)) { return super.equals(obj); } - com.google.apps.script.type.LayoutProperties other = - (com.google.apps.script.type.LayoutProperties) obj; + com.google.apps.script.type.LayoutProperties other = (com.google.apps.script.type.LayoutProperties) obj; - if (!getPrimaryColor().equals(other.getPrimaryColor())) return false; - if (!getSecondaryColor().equals(other.getSecondaryColor())) return false; + if (!getPrimaryColor() + .equals(other.getPrimaryColor())) return false; + if (!getSecondaryColor() + .equals(other.getSecondaryColor())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -304,127 +278,118 @@ public int hashCode() { return hash; } - public static com.google.apps.script.type.LayoutProperties parseFrom(java.nio.ByteBuffer data) + public static com.google.apps.script.type.LayoutProperties parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.LayoutProperties parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.LayoutProperties parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.LayoutProperties parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.LayoutProperties parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.LayoutProperties parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.LayoutProperties parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.LayoutProperties parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.apps.script.type.LayoutProperties parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.apps.script.type.LayoutProperties parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.apps.script.type.LayoutProperties parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.LayoutProperties parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.LayoutProperties parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.apps.script.type.LayoutProperties prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Card layout properties shared across all add-on host applications.
    * 
* * Protobuf type {@code google.apps.script.type.LayoutProperties} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.script.type.LayoutProperties) com.google.apps.script.type.LayoutPropertiesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.apps.script.type.ScriptManifest - .internal_static_google_apps_script_type_LayoutProperties_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.apps.script.type.ScriptManifest.internal_static_google_apps_script_type_LayoutProperties_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.ScriptManifest - .internal_static_google_apps_script_type_LayoutProperties_fieldAccessorTable + return com.google.apps.script.type.ScriptManifest.internal_static_google_apps_script_type_LayoutProperties_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.LayoutProperties.class, - com.google.apps.script.type.LayoutProperties.Builder.class); + com.google.apps.script.type.LayoutProperties.class, com.google.apps.script.type.LayoutProperties.Builder.class); } // Construct using com.google.apps.script.type.LayoutProperties.newBuilder() @@ -432,15 +397,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -452,9 +418,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.apps.script.type.ScriptManifest - .internal_static_google_apps_script_type_LayoutProperties_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.apps.script.type.ScriptManifest.internal_static_google_apps_script_type_LayoutProperties_descriptor; } @java.lang.Override @@ -473,8 +439,7 @@ public com.google.apps.script.type.LayoutProperties build() { @java.lang.Override public com.google.apps.script.type.LayoutProperties buildPartial() { - com.google.apps.script.type.LayoutProperties result = - new com.google.apps.script.type.LayoutProperties(this); + com.google.apps.script.type.LayoutProperties result = new com.google.apps.script.type.LayoutProperties(this); result.primaryColor_ = primaryColor_; result.secondaryColor_ = secondaryColor_; onBuilt(); @@ -485,39 +450,38 @@ public com.google.apps.script.type.LayoutProperties buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.script.type.LayoutProperties) { - return mergeFrom((com.google.apps.script.type.LayoutProperties) other); + return mergeFrom((com.google.apps.script.type.LayoutProperties)other); } else { super.mergeFrom(other); return this; @@ -565,8 +529,6 @@ public Builder mergeFrom( private java.lang.Object primaryColor_ = ""; /** - * - * *
      * The primary color of the add-on. It sets the color of toolbar. If no
      * primary color is set explicitly, the default value provided by the
@@ -574,13 +536,13 @@ public Builder mergeFrom(
      * 
* * string primary_color = 1; - * * @return The primaryColor. */ public java.lang.String getPrimaryColor() { java.lang.Object ref = primaryColor_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); primaryColor_ = s; return s; @@ -589,8 +551,6 @@ public java.lang.String getPrimaryColor() { } } /** - * - * *
      * The primary color of the add-on. It sets the color of toolbar. If no
      * primary color is set explicitly, the default value provided by the
@@ -598,14 +558,15 @@ public java.lang.String getPrimaryColor() {
      * 
* * string primary_color = 1; - * * @return The bytes for primaryColor. */ - public com.google.protobuf.ByteString getPrimaryColorBytes() { + public com.google.protobuf.ByteString + getPrimaryColorBytes() { java.lang.Object ref = primaryColor_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); primaryColor_ = b; return b; } else { @@ -613,8 +574,6 @@ public com.google.protobuf.ByteString getPrimaryColorBytes() { } } /** - * - * *
      * The primary color of the add-on. It sets the color of toolbar. If no
      * primary color is set explicitly, the default value provided by the
@@ -622,22 +581,20 @@ public com.google.protobuf.ByteString getPrimaryColorBytes() {
      * 
* * string primary_color = 1; - * * @param value The primaryColor to set. * @return This builder for chaining. */ - public Builder setPrimaryColor(java.lang.String value) { + public Builder setPrimaryColor( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + primaryColor_ = value; onChanged(); return this; } /** - * - * *
      * The primary color of the add-on. It sets the color of toolbar. If no
      * primary color is set explicitly, the default value provided by the
@@ -645,18 +602,15 @@ public Builder setPrimaryColor(java.lang.String value) {
      * 
* * string primary_color = 1; - * * @return This builder for chaining. */ public Builder clearPrimaryColor() { - + primaryColor_ = getDefaultInstance().getPrimaryColor(); onChanged(); return this; } /** - * - * *
      * The primary color of the add-on. It sets the color of toolbar. If no
      * primary color is set explicitly, the default value provided by the
@@ -664,16 +618,16 @@ public Builder clearPrimaryColor() {
      * 
* * string primary_color = 1; - * * @param value The bytes for primaryColor to set. * @return This builder for chaining. */ - public Builder setPrimaryColorBytes(com.google.protobuf.ByteString value) { + public Builder setPrimaryColorBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + primaryColor_ = value; onChanged(); return this; @@ -681,8 +635,6 @@ public Builder setPrimaryColorBytes(com.google.protobuf.ByteString value) { private java.lang.Object secondaryColor_ = ""; /** - * - * *
      * The secondary color of the add-on. It sets the color of buttons.
      * If primary color is set but no secondary color is set, the
@@ -692,13 +644,13 @@ public Builder setPrimaryColorBytes(com.google.protobuf.ByteString value) {
      * 
* * string secondary_color = 2; - * * @return The secondaryColor. */ public java.lang.String getSecondaryColor() { java.lang.Object ref = secondaryColor_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); secondaryColor_ = s; return s; @@ -707,8 +659,6 @@ public java.lang.String getSecondaryColor() { } } /** - * - * *
      * The secondary color of the add-on. It sets the color of buttons.
      * If primary color is set but no secondary color is set, the
@@ -718,14 +668,15 @@ public java.lang.String getSecondaryColor() {
      * 
* * string secondary_color = 2; - * * @return The bytes for secondaryColor. */ - public com.google.protobuf.ByteString getSecondaryColorBytes() { + public com.google.protobuf.ByteString + getSecondaryColorBytes() { java.lang.Object ref = secondaryColor_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); secondaryColor_ = b; return b; } else { @@ -733,8 +684,6 @@ public com.google.protobuf.ByteString getSecondaryColorBytes() { } } /** - * - * *
      * The secondary color of the add-on. It sets the color of buttons.
      * If primary color is set but no secondary color is set, the
@@ -744,22 +693,20 @@ public com.google.protobuf.ByteString getSecondaryColorBytes() {
      * 
* * string secondary_color = 2; - * * @param value The secondaryColor to set. * @return This builder for chaining. */ - public Builder setSecondaryColor(java.lang.String value) { + public Builder setSecondaryColor( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + secondaryColor_ = value; onChanged(); return this; } /** - * - * *
      * The secondary color of the add-on. It sets the color of buttons.
      * If primary color is set but no secondary color is set, the
@@ -769,18 +716,15 @@ public Builder setSecondaryColor(java.lang.String value) {
      * 
* * string secondary_color = 2; - * * @return This builder for chaining. */ public Builder clearSecondaryColor() { - + secondaryColor_ = getDefaultInstance().getSecondaryColor(); onChanged(); return this; } /** - * - * *
      * The secondary color of the add-on. It sets the color of buttons.
      * If primary color is set but no secondary color is set, the
@@ -790,23 +734,23 @@ public Builder clearSecondaryColor() {
      * 
* * string secondary_color = 2; - * * @param value The bytes for secondaryColor to set. * @return This builder for chaining. */ - public Builder setSecondaryColorBytes(com.google.protobuf.ByteString value) { + public Builder setSecondaryColorBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + secondaryColor_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -816,12 +760,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.apps.script.type.LayoutProperties) } // @@protoc_insertion_point(class_scope:google.apps.script.type.LayoutProperties) private static final com.google.apps.script.type.LayoutProperties DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.apps.script.type.LayoutProperties(); } @@ -830,16 +774,16 @@ public static com.google.apps.script.type.LayoutProperties getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LayoutProperties parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LayoutProperties(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LayoutProperties parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LayoutProperties(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -854,4 +798,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.LayoutProperties getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/LayoutPropertiesOrBuilder.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/LayoutPropertiesOrBuilder.java similarity index 68% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/LayoutPropertiesOrBuilder.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/LayoutPropertiesOrBuilder.java index 91f44602..d6804f5a 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/LayoutPropertiesOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/LayoutPropertiesOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/script_manifest.proto package com.google.apps.script.type; -public interface LayoutPropertiesOrBuilder - extends +public interface LayoutPropertiesOrBuilder extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.LayoutProperties) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The primary color of the add-on. It sets the color of toolbar. If no
    * primary color is set explicitly, the default value provided by the
@@ -33,13 +15,10 @@ public interface LayoutPropertiesOrBuilder
    * 
* * string primary_color = 1; - * * @return The primaryColor. */ java.lang.String getPrimaryColor(); /** - * - * *
    * The primary color of the add-on. It sets the color of toolbar. If no
    * primary color is set explicitly, the default value provided by the
@@ -47,14 +26,12 @@ public interface LayoutPropertiesOrBuilder
    * 
* * string primary_color = 1; - * * @return The bytes for primaryColor. */ - com.google.protobuf.ByteString getPrimaryColorBytes(); + com.google.protobuf.ByteString + getPrimaryColorBytes(); /** - * - * *
    * The secondary color of the add-on. It sets the color of buttons.
    * If primary color is set but no secondary color is set, the
@@ -64,13 +41,10 @@ public interface LayoutPropertiesOrBuilder
    * 
* * string secondary_color = 2; - * * @return The secondaryColor. */ java.lang.String getSecondaryColor(); /** - * - * *
    * The secondary color of the add-on. It sets the color of buttons.
    * If primary color is set but no secondary color is set, the
@@ -80,8 +54,8 @@ public interface LayoutPropertiesOrBuilder
    * 
* * string secondary_color = 2; - * * @return The bytes for secondaryColor. */ - com.google.protobuf.ByteString getSecondaryColorBytes(); + com.google.protobuf.ByteString + getSecondaryColorBytes(); } diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/MenuItemExtensionPoint.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/MenuItemExtensionPoint.java similarity index 71% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/MenuItemExtensionPoint.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/MenuItemExtensionPoint.java index 94cf6abf..38584d57 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/MenuItemExtensionPoint.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/MenuItemExtensionPoint.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/extension_point.proto package com.google.apps.script.type; /** - * - * *
  * Common format for declaring a  menu item, or button, that appears within a
  * host app.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.apps.script.type.MenuItemExtensionPoint}
  */
-public final class MenuItemExtensionPoint extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class MenuItemExtensionPoint extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.apps.script.type.MenuItemExtensionPoint)
     MenuItemExtensionPointOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use MenuItemExtensionPoint.newBuilder() to construct.
   private MenuItemExtensionPoint(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private MenuItemExtensionPoint() {
     runFunction_ = "";
     label_ = "";
@@ -46,15 +28,16 @@ private MenuItemExtensionPoint() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new MenuItemExtensionPoint();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private MenuItemExtensionPoint(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,34 +56,31 @@ private MenuItemExtensionPoint(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              runFunction_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            runFunction_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              label_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            label_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              logoUrl_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            logoUrl_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -108,40 +88,35 @@ private MenuItemExtensionPoint(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.apps.script.type.ExtensionPoint
-        .internal_static_google_apps_script_type_MenuItemExtensionPoint_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.apps.script.type.ExtensionPoint.internal_static_google_apps_script_type_MenuItemExtensionPoint_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.apps.script.type.ExtensionPoint
-        .internal_static_google_apps_script_type_MenuItemExtensionPoint_fieldAccessorTable
+    return com.google.apps.script.type.ExtensionPoint.internal_static_google_apps_script_type_MenuItemExtensionPoint_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.apps.script.type.MenuItemExtensionPoint.class,
-            com.google.apps.script.type.MenuItemExtensionPoint.Builder.class);
+            com.google.apps.script.type.MenuItemExtensionPoint.class, com.google.apps.script.type.MenuItemExtensionPoint.Builder.class);
   }
 
   public static final int RUN_FUNCTION_FIELD_NUMBER = 1;
   private volatile java.lang.Object runFunction_;
   /**
-   *
-   *
    * 
    * Required. The endpoint to execute when this extension point is
    * activated.
    * 
* * string run_function = 1; - * * @return The runFunction. */ @java.lang.Override @@ -150,30 +125,30 @@ public java.lang.String getRunFunction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); runFunction_ = s; return s; } } /** - * - * *
    * Required. The endpoint to execute when this extension point is
    * activated.
    * 
* * string run_function = 1; - * * @return The bytes for runFunction. */ @java.lang.Override - public com.google.protobuf.ByteString getRunFunctionBytes() { + public com.google.protobuf.ByteString + getRunFunctionBytes() { java.lang.Object ref = runFunction_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); runFunction_ = b; return b; } else { @@ -184,15 +159,12 @@ public com.google.protobuf.ByteString getRunFunctionBytes() { public static final int LABEL_FIELD_NUMBER = 2; private volatile java.lang.Object label_; /** - * - * *
    * Required. User-visible text describing the action taken by activating this
    * extension point. For example, "Insert invoice".
    * 
* * string label = 2; - * * @return The label. */ @java.lang.Override @@ -201,30 +173,30 @@ public java.lang.String getLabel() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); label_ = s; return s; } } /** - * - * *
    * Required. User-visible text describing the action taken by activating this
    * extension point. For example, "Insert invoice".
    * 
* * string label = 2; - * * @return The bytes for label. */ @java.lang.Override - public com.google.protobuf.ByteString getLabelBytes() { + public com.google.protobuf.ByteString + getLabelBytes() { java.lang.Object ref = label_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); label_ = b; return b; } else { @@ -235,15 +207,12 @@ public com.google.protobuf.ByteString getLabelBytes() { public static final int LOGO_URL_FIELD_NUMBER = 3; private volatile java.lang.Object logoUrl_; /** - * - * *
    * The URL for the logo image shown in the add-on toolbar.
    * If not set, defaults to the add-on's primary logo URL.
    * 
* * string logo_url = 3; - * * @return The logoUrl. */ @java.lang.Override @@ -252,30 +221,30 @@ public java.lang.String getLogoUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); logoUrl_ = s; return s; } } /** - * - * *
    * The URL for the logo image shown in the add-on toolbar.
    * If not set, defaults to the add-on's primary logo URL.
    * 
* * string logo_url = 3; - * * @return The bytes for logoUrl. */ @java.lang.Override - public com.google.protobuf.ByteString getLogoUrlBytes() { + public com.google.protobuf.ByteString + getLogoUrlBytes() { java.lang.Object ref = logoUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); logoUrl_ = b; return b; } else { @@ -284,7 +253,6 @@ public com.google.protobuf.ByteString getLogoUrlBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -296,7 +264,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(runFunction_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, runFunction_); } @@ -332,17 +301,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.MenuItemExtensionPoint)) { return super.equals(obj); } - com.google.apps.script.type.MenuItemExtensionPoint other = - (com.google.apps.script.type.MenuItemExtensionPoint) obj; + com.google.apps.script.type.MenuItemExtensionPoint other = (com.google.apps.script.type.MenuItemExtensionPoint) obj; - if (!getRunFunction().equals(other.getRunFunction())) return false; - if (!getLabel().equals(other.getLabel())) return false; - if (!getLogoUrl().equals(other.getLogoUrl())) return false; + if (!getRunFunction() + .equals(other.getRunFunction())) return false; + if (!getLabel() + .equals(other.getLabel())) return false; + if (!getLogoUrl() + .equals(other.getLogoUrl())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -366,103 +337,96 @@ public int hashCode() { } public static com.google.apps.script.type.MenuItemExtensionPoint parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.MenuItemExtensionPoint parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.MenuItemExtensionPoint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.MenuItemExtensionPoint parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.MenuItemExtensionPoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.MenuItemExtensionPoint parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.apps.script.type.MenuItemExtensionPoint parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.apps.script.type.MenuItemExtensionPoint parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.MenuItemExtensionPoint parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.apps.script.type.MenuItemExtensionPoint parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.apps.script.type.MenuItemExtensionPoint parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.apps.script.type.MenuItemExtensionPoint parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.MenuItemExtensionPoint parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.MenuItemExtensionPoint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.apps.script.type.MenuItemExtensionPoint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Common format for declaring a  menu item, or button, that appears within a
    * host app.
@@ -470,23 +434,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.apps.script.type.MenuItemExtensionPoint}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.apps.script.type.MenuItemExtensionPoint)
       com.google.apps.script.type.MenuItemExtensionPointOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.apps.script.type.ExtensionPoint
-          .internal_static_google_apps_script_type_MenuItemExtensionPoint_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.apps.script.type.ExtensionPoint.internal_static_google_apps_script_type_MenuItemExtensionPoint_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.apps.script.type.ExtensionPoint
-          .internal_static_google_apps_script_type_MenuItemExtensionPoint_fieldAccessorTable
+      return com.google.apps.script.type.ExtensionPoint.internal_static_google_apps_script_type_MenuItemExtensionPoint_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.apps.script.type.MenuItemExtensionPoint.class,
-              com.google.apps.script.type.MenuItemExtensionPoint.Builder.class);
+              com.google.apps.script.type.MenuItemExtensionPoint.class, com.google.apps.script.type.MenuItemExtensionPoint.Builder.class);
     }
 
     // Construct using com.google.apps.script.type.MenuItemExtensionPoint.newBuilder()
@@ -494,15 +456,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -516,9 +479,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.apps.script.type.ExtensionPoint
-          .internal_static_google_apps_script_type_MenuItemExtensionPoint_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.apps.script.type.ExtensionPoint.internal_static_google_apps_script_type_MenuItemExtensionPoint_descriptor;
     }
 
     @java.lang.Override
@@ -537,8 +500,7 @@ public com.google.apps.script.type.MenuItemExtensionPoint build() {
 
     @java.lang.Override
     public com.google.apps.script.type.MenuItemExtensionPoint buildPartial() {
-      com.google.apps.script.type.MenuItemExtensionPoint result =
-          new com.google.apps.script.type.MenuItemExtensionPoint(this);
+      com.google.apps.script.type.MenuItemExtensionPoint result = new com.google.apps.script.type.MenuItemExtensionPoint(this);
       result.runFunction_ = runFunction_;
       result.label_ = label_;
       result.logoUrl_ = logoUrl_;
@@ -550,39 +512,38 @@ public com.google.apps.script.type.MenuItemExtensionPoint buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.apps.script.type.MenuItemExtensionPoint) {
-        return mergeFrom((com.google.apps.script.type.MenuItemExtensionPoint) other);
+        return mergeFrom((com.google.apps.script.type.MenuItemExtensionPoint)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -590,8 +551,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.apps.script.type.MenuItemExtensionPoint other) {
-      if (other == com.google.apps.script.type.MenuItemExtensionPoint.getDefaultInstance())
-        return this;
+      if (other == com.google.apps.script.type.MenuItemExtensionPoint.getDefaultInstance()) return this;
       if (!other.getRunFunction().isEmpty()) {
         runFunction_ = other.runFunction_;
         onChanged();
@@ -623,8 +583,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.apps.script.type.MenuItemExtensionPoint) e.getUnfinishedMessage();
+        parsedMessage = (com.google.apps.script.type.MenuItemExtensionPoint) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -636,21 +595,19 @@ public Builder mergeFrom(
 
     private java.lang.Object runFunction_ = "";
     /**
-     *
-     *
      * 
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1; - * * @return The runFunction. */ public java.lang.String getRunFunction() { java.lang.Object ref = runFunction_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); runFunction_ = s; return s; @@ -659,22 +616,21 @@ public java.lang.String getRunFunction() { } } /** - * - * *
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1; - * * @return The bytes for runFunction. */ - public com.google.protobuf.ByteString getRunFunctionBytes() { + public com.google.protobuf.ByteString + getRunFunctionBytes() { java.lang.Object ref = runFunction_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); runFunction_ = b; return b; } else { @@ -682,64 +638,57 @@ public com.google.protobuf.ByteString getRunFunctionBytes() { } } /** - * - * *
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1; - * * @param value The runFunction to set. * @return This builder for chaining. */ - public Builder setRunFunction(java.lang.String value) { + public Builder setRunFunction( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + runFunction_ = value; onChanged(); return this; } /** - * - * *
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1; - * * @return This builder for chaining. */ public Builder clearRunFunction() { - + runFunction_ = getDefaultInstance().getRunFunction(); onChanged(); return this; } /** - * - * *
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1; - * * @param value The bytes for runFunction to set. * @return This builder for chaining. */ - public Builder setRunFunctionBytes(com.google.protobuf.ByteString value) { + public Builder setRunFunctionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + runFunction_ = value; onChanged(); return this; @@ -747,21 +696,19 @@ public Builder setRunFunctionBytes(com.google.protobuf.ByteString value) { private java.lang.Object label_ = ""; /** - * - * *
      * Required. User-visible text describing the action taken by activating this
      * extension point. For example, "Insert invoice".
      * 
* * string label = 2; - * * @return The label. */ public java.lang.String getLabel() { java.lang.Object ref = label_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); label_ = s; return s; @@ -770,22 +717,21 @@ public java.lang.String getLabel() { } } /** - * - * *
      * Required. User-visible text describing the action taken by activating this
      * extension point. For example, "Insert invoice".
      * 
* * string label = 2; - * * @return The bytes for label. */ - public com.google.protobuf.ByteString getLabelBytes() { + public com.google.protobuf.ByteString + getLabelBytes() { java.lang.Object ref = label_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); label_ = b; return b; } else { @@ -793,64 +739,57 @@ public com.google.protobuf.ByteString getLabelBytes() { } } /** - * - * *
      * Required. User-visible text describing the action taken by activating this
      * extension point. For example, "Insert invoice".
      * 
* * string label = 2; - * * @param value The label to set. * @return This builder for chaining. */ - public Builder setLabel(java.lang.String value) { + public Builder setLabel( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + label_ = value; onChanged(); return this; } /** - * - * *
      * Required. User-visible text describing the action taken by activating this
      * extension point. For example, "Insert invoice".
      * 
* * string label = 2; - * * @return This builder for chaining. */ public Builder clearLabel() { - + label_ = getDefaultInstance().getLabel(); onChanged(); return this; } /** - * - * *
      * Required. User-visible text describing the action taken by activating this
      * extension point. For example, "Insert invoice".
      * 
* * string label = 2; - * * @param value The bytes for label to set. * @return This builder for chaining. */ - public Builder setLabelBytes(com.google.protobuf.ByteString value) { + public Builder setLabelBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + label_ = value; onChanged(); return this; @@ -858,21 +797,19 @@ public Builder setLabelBytes(com.google.protobuf.ByteString value) { private java.lang.Object logoUrl_ = ""; /** - * - * *
      * The URL for the logo image shown in the add-on toolbar.
      * If not set, defaults to the add-on's primary logo URL.
      * 
* * string logo_url = 3; - * * @return The logoUrl. */ public java.lang.String getLogoUrl() { java.lang.Object ref = logoUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); logoUrl_ = s; return s; @@ -881,22 +818,21 @@ public java.lang.String getLogoUrl() { } } /** - * - * *
      * The URL for the logo image shown in the add-on toolbar.
      * If not set, defaults to the add-on's primary logo URL.
      * 
* * string logo_url = 3; - * * @return The bytes for logoUrl. */ - public com.google.protobuf.ByteString getLogoUrlBytes() { + public com.google.protobuf.ByteString + getLogoUrlBytes() { java.lang.Object ref = logoUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); logoUrl_ = b; return b; } else { @@ -904,71 +840,64 @@ public com.google.protobuf.ByteString getLogoUrlBytes() { } } /** - * - * *
      * The URL for the logo image shown in the add-on toolbar.
      * If not set, defaults to the add-on's primary logo URL.
      * 
* * string logo_url = 3; - * * @param value The logoUrl to set. * @return This builder for chaining. */ - public Builder setLogoUrl(java.lang.String value) { + public Builder setLogoUrl( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + logoUrl_ = value; onChanged(); return this; } /** - * - * *
      * The URL for the logo image shown in the add-on toolbar.
      * If not set, defaults to the add-on's primary logo URL.
      * 
* * string logo_url = 3; - * * @return This builder for chaining. */ public Builder clearLogoUrl() { - + logoUrl_ = getDefaultInstance().getLogoUrl(); onChanged(); return this; } /** - * - * *
      * The URL for the logo image shown in the add-on toolbar.
      * If not set, defaults to the add-on's primary logo URL.
      * 
* * string logo_url = 3; - * * @param value The bytes for logoUrl to set. * @return This builder for chaining. */ - public Builder setLogoUrlBytes(com.google.protobuf.ByteString value) { + public Builder setLogoUrlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + logoUrl_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -978,12 +907,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.apps.script.type.MenuItemExtensionPoint) } // @@protoc_insertion_point(class_scope:google.apps.script.type.MenuItemExtensionPoint) private static final com.google.apps.script.type.MenuItemExtensionPoint DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.apps.script.type.MenuItemExtensionPoint(); } @@ -992,16 +921,16 @@ public static com.google.apps.script.type.MenuItemExtensionPoint getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MenuItemExtensionPoint parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MenuItemExtensionPoint(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MenuItemExtensionPoint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MenuItemExtensionPoint(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1016,4 +945,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.MenuItemExtensionPoint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/MenuItemExtensionPointOrBuilder.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/MenuItemExtensionPointOrBuilder.java similarity index 65% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/MenuItemExtensionPointOrBuilder.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/MenuItemExtensionPointOrBuilder.java index 94fdec4b..2f32530b 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/MenuItemExtensionPointOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/MenuItemExtensionPointOrBuilder.java @@ -1,106 +1,75 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/extension_point.proto package com.google.apps.script.type; -public interface MenuItemExtensionPointOrBuilder - extends +public interface MenuItemExtensionPointOrBuilder extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.MenuItemExtensionPoint) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The endpoint to execute when this extension point is
    * activated.
    * 
* * string run_function = 1; - * * @return The runFunction. */ java.lang.String getRunFunction(); /** - * - * *
    * Required. The endpoint to execute when this extension point is
    * activated.
    * 
* * string run_function = 1; - * * @return The bytes for runFunction. */ - com.google.protobuf.ByteString getRunFunctionBytes(); + com.google.protobuf.ByteString + getRunFunctionBytes(); /** - * - * *
    * Required. User-visible text describing the action taken by activating this
    * extension point. For example, "Insert invoice".
    * 
* * string label = 2; - * * @return The label. */ java.lang.String getLabel(); /** - * - * *
    * Required. User-visible text describing the action taken by activating this
    * extension point. For example, "Insert invoice".
    * 
* * string label = 2; - * * @return The bytes for label. */ - com.google.protobuf.ByteString getLabelBytes(); + com.google.protobuf.ByteString + getLabelBytes(); /** - * - * *
    * The URL for the logo image shown in the add-on toolbar.
    * If not set, defaults to the add-on's primary logo URL.
    * 
* * string logo_url = 3; - * * @return The logoUrl. */ java.lang.String getLogoUrl(); /** - * - * *
    * The URL for the logo image shown in the add-on toolbar.
    * If not set, defaults to the add-on's primary logo URL.
    * 
* * string logo_url = 3; - * * @return The bytes for logoUrl. */ - com.google.protobuf.ByteString getLogoUrlBytes(); + com.google.protobuf.ByteString + getLogoUrlBytes(); } diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/ScriptManifest.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/ScriptManifest.java new file mode 100644 index 00000000..ade0927e --- /dev/null +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/ScriptManifest.java @@ -0,0 +1,101 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/apps/script/type/script_manifest.proto + +package com.google.apps.script.type; + +public final class ScriptManifest { + private ScriptManifest() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_apps_script_type_CommonAddOnManifest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_apps_script_type_CommonAddOnManifest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_apps_script_type_LayoutProperties_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_apps_script_type_LayoutProperties_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_apps_script_type_HttpOptions_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_apps_script_type_HttpOptions_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n-google/apps/script/type/script_manifes" + + "t.proto\022\027google.apps.script.type\032.google" + + "/apps/script/type/addon_widget_set.proto" + + "\032-google/apps/script/type/extension_poin" + + "t.proto\032\034google/protobuf/struct.proto\"\266\003" + + "\n\023CommonAddOnManifest\022\014\n\004name\030\001 \001(\t\022\020\n\010l" + + "ogo_url\030\002 \001(\t\022D\n\021layout_properties\030\003 \001(\013" + + "2).google.apps.script.type.LayoutPropert" + + "ies\022B\n\021add_on_widget_set\030\004 \001(\0132\'.google." + + "apps.script.type.AddOnWidgetSet\022\033\n\023use_l" + + "ocale_from_app\030\005 \001(\010\022I\n\020homepage_trigger" + + "\030\006 \001(\0132/.google.apps.script.type.Homepag" + + "eExtensionPoint\022Q\n\021universal_actions\030\007 \003" + + "(\01326.google.apps.script.type.UniversalAc" + + "tionExtensionPoint\022:\n\026open_link_url_pref" + + "ixes\030\010 \001(\0132\032.google.protobuf.ListValue\"B" + + "\n\020LayoutProperties\022\025\n\rprimary_color\030\001 \001(" + + "\t\022\027\n\017secondary_color\030\002 \001(\t\"]\n\013HttpOption" + + "s\022N\n\024authorization_header\030\001 \001(\01620.google" + + ".apps.script.type.HttpAuthorizationHeade" + + "r*v\n\027HttpAuthorizationHeader\022)\n%HTTP_AUT" + + "HORIZATION_HEADER_UNSPECIFIED\020\000\022\023\n\017SYSTE" + + "M_ID_TOKEN\020\001\022\021\n\rUSER_ID_TOKEN\020\002\022\010\n\004NONE\020" + + "\003B\250\001\n\033com.google.apps.script.typeP\001Z6goo" + + "gle.golang.org/genproto/googleapis/apps/" + + "script/type\252\002\027Google.Apps.Script.Type\312\002\027" + + "Google\\Apps\\Script\\Type\352\002\032Google::Apps::" + + "Script::Typeb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.apps.script.type.AddOnWidgetSetProto.getDescriptor(), + com.google.apps.script.type.ExtensionPoint.getDescriptor(), + com.google.protobuf.StructProto.getDescriptor(), + }); + internal_static_google_apps_script_type_CommonAddOnManifest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_apps_script_type_CommonAddOnManifest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_apps_script_type_CommonAddOnManifest_descriptor, + new java.lang.String[] { "Name", "LogoUrl", "LayoutProperties", "AddOnWidgetSet", "UseLocaleFromApp", "HomepageTrigger", "UniversalActions", "OpenLinkUrlPrefixes", }); + internal_static_google_apps_script_type_LayoutProperties_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_apps_script_type_LayoutProperties_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_apps_script_type_LayoutProperties_descriptor, + new java.lang.String[] { "PrimaryColor", "SecondaryColor", }); + internal_static_google_apps_script_type_HttpOptions_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_apps_script_type_HttpOptions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_apps_script_type_HttpOptions_descriptor, + new java.lang.String[] { "AuthorizationHeader", }); + com.google.apps.script.type.AddOnWidgetSetProto.getDescriptor(); + com.google.apps.script.type.ExtensionPoint.getDescriptor(); + com.google.protobuf.StructProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/UniversalActionExtensionPoint.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/UniversalActionExtensionPoint.java similarity index 71% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/UniversalActionExtensionPoint.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/UniversalActionExtensionPoint.java index 9ae7dd0a..e6a505de 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/UniversalActionExtensionPoint.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/UniversalActionExtensionPoint.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/extension_point.proto package com.google.apps.script.type; /** - * - * *
  * Format for declaring a universal action menu item extension point.
  * 
* * Protobuf type {@code google.apps.script.type.UniversalActionExtensionPoint} */ -public final class UniversalActionExtensionPoint extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UniversalActionExtensionPoint extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.apps.script.type.UniversalActionExtensionPoint) UniversalActionExtensionPointOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UniversalActionExtensionPoint.newBuilder() to construct. private UniversalActionExtensionPoint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UniversalActionExtensionPoint() { label_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UniversalActionExtensionPoint(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UniversalActionExtensionPoint( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,34 +53,31 @@ private UniversalActionExtensionPoint( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - label_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - actionTypeCase_ = 2; - actionType_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - actionTypeCase_ = 3; - actionType_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + label_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + actionTypeCase_ = 2; + actionType_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + actionTypeCase_ = 3; + actionType_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,40 +85,35 @@ private UniversalActionExtensionPoint( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.apps.script.type.ExtensionPoint - .internal_static_google_apps_script_type_UniversalActionExtensionPoint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.apps.script.type.ExtensionPoint.internal_static_google_apps_script_type_UniversalActionExtensionPoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.ExtensionPoint - .internal_static_google_apps_script_type_UniversalActionExtensionPoint_fieldAccessorTable + return com.google.apps.script.type.ExtensionPoint.internal_static_google_apps_script_type_UniversalActionExtensionPoint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.UniversalActionExtensionPoint.class, - com.google.apps.script.type.UniversalActionExtensionPoint.Builder.class); + com.google.apps.script.type.UniversalActionExtensionPoint.class, com.google.apps.script.type.UniversalActionExtensionPoint.Builder.class); } private int actionTypeCase_ = 0; private java.lang.Object actionType_; - public enum ActionTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { OPEN_LINK(2), RUN_FUNCTION(3), ACTIONTYPE_NOT_SET(0); private final int value; - private ActionTypeCase(int value) { this.value = value; } @@ -154,38 +129,32 @@ public static ActionTypeCase valueOf(int value) { public static ActionTypeCase forNumber(int value) { switch (value) { - case 2: - return OPEN_LINK; - case 3: - return RUN_FUNCTION; - case 0: - return ACTIONTYPE_NOT_SET; - default: - return null; + case 2: return OPEN_LINK; + case 3: return RUN_FUNCTION; + case 0: return ACTIONTYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ActionTypeCase getActionTypeCase() { - return ActionTypeCase.forNumber(actionTypeCase_); + public ActionTypeCase + getActionTypeCase() { + return ActionTypeCase.forNumber( + actionTypeCase_); } public static final int LABEL_FIELD_NUMBER = 1; private volatile java.lang.Object label_; /** - * - * *
    * Required. User-visible text describing the action taken by activating this
    * extension point, for example, "Add a new contact".
    * 
* * string label = 1; - * * @return The label. */ @java.lang.Override @@ -194,30 +163,30 @@ public java.lang.String getLabel() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); label_ = s; return s; } } /** - * - * *
    * Required. User-visible text describing the action taken by activating this
    * extension point, for example, "Add a new contact".
    * 
* * string label = 1; - * * @return The bytes for label. */ @java.lang.Override - public com.google.protobuf.ByteString getLabelBytes() { + public com.google.protobuf.ByteString + getLabelBytes() { java.lang.Object ref = label_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); label_ = b; return b; } else { @@ -227,28 +196,22 @@ public com.google.protobuf.ByteString getLabelBytes() { public static final int OPEN_LINK_FIELD_NUMBER = 2; /** - * - * *
    * URL to be opened by the UniversalAction.
    * 
* * string open_link = 2; - * * @return Whether the openLink field is set. */ public boolean hasOpenLink() { return actionTypeCase_ == 2; } /** - * - * *
    * URL to be opened by the UniversalAction.
    * 
* * string open_link = 2; - * * @return The openLink. */ public java.lang.String getOpenLink() { @@ -259,7 +222,8 @@ public java.lang.String getOpenLink() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (actionTypeCase_ == 2) { actionType_ = s; @@ -268,24 +232,23 @@ public java.lang.String getOpenLink() { } } /** - * - * *
    * URL to be opened by the UniversalAction.
    * 
* * string open_link = 2; - * * @return The bytes for openLink. */ - public com.google.protobuf.ByteString getOpenLinkBytes() { + public com.google.protobuf.ByteString + getOpenLinkBytes() { java.lang.Object ref = ""; if (actionTypeCase_ == 2) { ref = actionType_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (actionTypeCase_ == 2) { actionType_ = b; } @@ -297,28 +260,22 @@ public com.google.protobuf.ByteString getOpenLinkBytes() { public static final int RUN_FUNCTION_FIELD_NUMBER = 3; /** - * - * *
    * Endpoint to be run by the UniversalAction.
    * 
* * string run_function = 3; - * * @return Whether the runFunction field is set. */ public boolean hasRunFunction() { return actionTypeCase_ == 3; } /** - * - * *
    * Endpoint to be run by the UniversalAction.
    * 
* * string run_function = 3; - * * @return The runFunction. */ public java.lang.String getRunFunction() { @@ -329,7 +286,8 @@ public java.lang.String getRunFunction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (actionTypeCase_ == 3) { actionType_ = s; @@ -338,24 +296,23 @@ public java.lang.String getRunFunction() { } } /** - * - * *
    * Endpoint to be run by the UniversalAction.
    * 
* * string run_function = 3; - * * @return The bytes for runFunction. */ - public com.google.protobuf.ByteString getRunFunctionBytes() { + public com.google.protobuf.ByteString + getRunFunctionBytes() { java.lang.Object ref = ""; if (actionTypeCase_ == 3) { ref = actionType_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (actionTypeCase_ == 3) { actionType_ = b; } @@ -366,7 +323,6 @@ public com.google.protobuf.ByteString getRunFunctionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -378,7 +334,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(label_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, label_); } @@ -414,22 +371,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.UniversalActionExtensionPoint)) { return super.equals(obj); } - com.google.apps.script.type.UniversalActionExtensionPoint other = - (com.google.apps.script.type.UniversalActionExtensionPoint) obj; + com.google.apps.script.type.UniversalActionExtensionPoint other = (com.google.apps.script.type.UniversalActionExtensionPoint) obj; - if (!getLabel().equals(other.getLabel())) return false; + if (!getLabel() + .equals(other.getLabel())) return false; if (!getActionTypeCase().equals(other.getActionTypeCase())) return false; switch (actionTypeCase_) { case 2: - if (!getOpenLink().equals(other.getOpenLink())) return false; + if (!getOpenLink() + .equals(other.getOpenLink())) return false; break; case 3: - if (!getRunFunction().equals(other.getRunFunction())) return false; + if (!getRunFunction() + .equals(other.getRunFunction())) return false; break; case 0: default: @@ -465,127 +424,117 @@ public int hashCode() { } public static com.google.apps.script.type.UniversalActionExtensionPoint parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.UniversalActionExtensionPoint parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.UniversalActionExtensionPoint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.UniversalActionExtensionPoint parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.UniversalActionExtensionPoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.UniversalActionExtensionPoint parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.apps.script.type.UniversalActionExtensionPoint parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.apps.script.type.UniversalActionExtensionPoint parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.UniversalActionExtensionPoint parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.apps.script.type.UniversalActionExtensionPoint parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.apps.script.type.UniversalActionExtensionPoint parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.apps.script.type.UniversalActionExtensionPoint parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.UniversalActionExtensionPoint parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.UniversalActionExtensionPoint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.apps.script.type.UniversalActionExtensionPoint prototype) { + public static Builder newBuilder(com.google.apps.script.type.UniversalActionExtensionPoint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Format for declaring a universal action menu item extension point.
    * 
* * Protobuf type {@code google.apps.script.type.UniversalActionExtensionPoint} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.script.type.UniversalActionExtensionPoint) com.google.apps.script.type.UniversalActionExtensionPointOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.apps.script.type.ExtensionPoint - .internal_static_google_apps_script_type_UniversalActionExtensionPoint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.apps.script.type.ExtensionPoint.internal_static_google_apps_script_type_UniversalActionExtensionPoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.ExtensionPoint - .internal_static_google_apps_script_type_UniversalActionExtensionPoint_fieldAccessorTable + return com.google.apps.script.type.ExtensionPoint.internal_static_google_apps_script_type_UniversalActionExtensionPoint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.UniversalActionExtensionPoint.class, - com.google.apps.script.type.UniversalActionExtensionPoint.Builder.class); + com.google.apps.script.type.UniversalActionExtensionPoint.class, com.google.apps.script.type.UniversalActionExtensionPoint.Builder.class); } // Construct using com.google.apps.script.type.UniversalActionExtensionPoint.newBuilder() @@ -593,15 +542,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -613,9 +563,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.apps.script.type.ExtensionPoint - .internal_static_google_apps_script_type_UniversalActionExtensionPoint_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.apps.script.type.ExtensionPoint.internal_static_google_apps_script_type_UniversalActionExtensionPoint_descriptor; } @java.lang.Override @@ -634,8 +584,7 @@ public com.google.apps.script.type.UniversalActionExtensionPoint build() { @java.lang.Override public com.google.apps.script.type.UniversalActionExtensionPoint buildPartial() { - com.google.apps.script.type.UniversalActionExtensionPoint result = - new com.google.apps.script.type.UniversalActionExtensionPoint(this); + com.google.apps.script.type.UniversalActionExtensionPoint result = new com.google.apps.script.type.UniversalActionExtensionPoint(this); result.label_ = label_; if (actionTypeCase_ == 2) { result.actionType_ = actionType_; @@ -652,39 +601,38 @@ public com.google.apps.script.type.UniversalActionExtensionPoint buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.script.type.UniversalActionExtensionPoint) { - return mergeFrom((com.google.apps.script.type.UniversalActionExtensionPoint) other); + return mergeFrom((com.google.apps.script.type.UniversalActionExtensionPoint)other); } else { super.mergeFrom(other); return this; @@ -692,31 +640,27 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.apps.script.type.UniversalActionExtensionPoint other) { - if (other == com.google.apps.script.type.UniversalActionExtensionPoint.getDefaultInstance()) - return this; + if (other == com.google.apps.script.type.UniversalActionExtensionPoint.getDefaultInstance()) return this; if (!other.getLabel().isEmpty()) { label_ = other.label_; onChanged(); } switch (other.getActionTypeCase()) { - case OPEN_LINK: - { - actionTypeCase_ = 2; - actionType_ = other.actionType_; - onChanged(); - break; - } - case RUN_FUNCTION: - { - actionTypeCase_ = 3; - actionType_ = other.actionType_; - onChanged(); - break; - } - case ACTIONTYPE_NOT_SET: - { - break; - } + case OPEN_LINK: { + actionTypeCase_ = 2; + actionType_ = other.actionType_; + onChanged(); + break; + } + case RUN_FUNCTION: { + actionTypeCase_ = 3; + actionType_ = other.actionType_; + onChanged(); + break; + } + case ACTIONTYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -737,8 +681,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.apps.script.type.UniversalActionExtensionPoint) e.getUnfinishedMessage(); + parsedMessage = (com.google.apps.script.type.UniversalActionExtensionPoint) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -747,12 +690,12 @@ public Builder mergeFrom( } return this; } - private int actionTypeCase_ = 0; private java.lang.Object actionType_; - - public ActionTypeCase getActionTypeCase() { - return ActionTypeCase.forNumber(actionTypeCase_); + public ActionTypeCase + getActionTypeCase() { + return ActionTypeCase.forNumber( + actionTypeCase_); } public Builder clearActionType() { @@ -762,23 +705,22 @@ public Builder clearActionType() { return this; } + private java.lang.Object label_ = ""; /** - * - * *
      * Required. User-visible text describing the action taken by activating this
      * extension point, for example, "Add a new contact".
      * 
* * string label = 1; - * * @return The label. */ public java.lang.String getLabel() { java.lang.Object ref = label_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); label_ = s; return s; @@ -787,22 +729,21 @@ public java.lang.String getLabel() { } } /** - * - * *
      * Required. User-visible text describing the action taken by activating this
      * extension point, for example, "Add a new contact".
      * 
* * string label = 1; - * * @return The bytes for label. */ - public com.google.protobuf.ByteString getLabelBytes() { + public com.google.protobuf.ByteString + getLabelBytes() { java.lang.Object ref = label_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); label_ = b; return b; } else { @@ -810,78 +751,68 @@ public com.google.protobuf.ByteString getLabelBytes() { } } /** - * - * *
      * Required. User-visible text describing the action taken by activating this
      * extension point, for example, "Add a new contact".
      * 
* * string label = 1; - * * @param value The label to set. * @return This builder for chaining. */ - public Builder setLabel(java.lang.String value) { + public Builder setLabel( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + label_ = value; onChanged(); return this; } /** - * - * *
      * Required. User-visible text describing the action taken by activating this
      * extension point, for example, "Add a new contact".
      * 
* * string label = 1; - * * @return This builder for chaining. */ public Builder clearLabel() { - + label_ = getDefaultInstance().getLabel(); onChanged(); return this; } /** - * - * *
      * Required. User-visible text describing the action taken by activating this
      * extension point, for example, "Add a new contact".
      * 
* * string label = 1; - * * @param value The bytes for label to set. * @return This builder for chaining. */ - public Builder setLabelBytes(com.google.protobuf.ByteString value) { + public Builder setLabelBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + label_ = value; onChanged(); return this; } /** - * - * *
      * URL to be opened by the UniversalAction.
      * 
* * string open_link = 2; - * * @return Whether the openLink field is set. */ @java.lang.Override @@ -889,14 +820,11 @@ public boolean hasOpenLink() { return actionTypeCase_ == 2; } /** - * - * *
      * URL to be opened by the UniversalAction.
      * 
* * string open_link = 2; - * * @return The openLink. */ @java.lang.Override @@ -906,7 +834,8 @@ public java.lang.String getOpenLink() { ref = actionType_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (actionTypeCase_ == 2) { actionType_ = s; @@ -917,25 +846,24 @@ public java.lang.String getOpenLink() { } } /** - * - * *
      * URL to be opened by the UniversalAction.
      * 
* * string open_link = 2; - * * @return The bytes for openLink. */ @java.lang.Override - public com.google.protobuf.ByteString getOpenLinkBytes() { + public com.google.protobuf.ByteString + getOpenLinkBytes() { java.lang.Object ref = ""; if (actionTypeCase_ == 2) { ref = actionType_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (actionTypeCase_ == 2) { actionType_ = b; } @@ -945,35 +873,30 @@ public com.google.protobuf.ByteString getOpenLinkBytes() { } } /** - * - * *
      * URL to be opened by the UniversalAction.
      * 
* * string open_link = 2; - * * @param value The openLink to set. * @return This builder for chaining. */ - public Builder setOpenLink(java.lang.String value) { + public Builder setOpenLink( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - actionTypeCase_ = 2; + throw new NullPointerException(); + } + actionTypeCase_ = 2; actionType_ = value; onChanged(); return this; } /** - * - * *
      * URL to be opened by the UniversalAction.
      * 
* * string open_link = 2; - * * @return This builder for chaining. */ public Builder clearOpenLink() { @@ -985,22 +908,20 @@ public Builder clearOpenLink() { return this; } /** - * - * *
      * URL to be opened by the UniversalAction.
      * 
* * string open_link = 2; - * * @param value The bytes for openLink to set. * @return This builder for chaining. */ - public Builder setOpenLinkBytes(com.google.protobuf.ByteString value) { + public Builder setOpenLinkBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); actionTypeCase_ = 2; actionType_ = value; onChanged(); @@ -1008,14 +929,11 @@ public Builder setOpenLinkBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * Endpoint to be run by the UniversalAction.
      * 
* * string run_function = 3; - * * @return Whether the runFunction field is set. */ @java.lang.Override @@ -1023,14 +941,11 @@ public boolean hasRunFunction() { return actionTypeCase_ == 3; } /** - * - * *
      * Endpoint to be run by the UniversalAction.
      * 
* * string run_function = 3; - * * @return The runFunction. */ @java.lang.Override @@ -1040,7 +955,8 @@ public java.lang.String getRunFunction() { ref = actionType_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (actionTypeCase_ == 3) { actionType_ = s; @@ -1051,25 +967,24 @@ public java.lang.String getRunFunction() { } } /** - * - * *
      * Endpoint to be run by the UniversalAction.
      * 
* * string run_function = 3; - * * @return The bytes for runFunction. */ @java.lang.Override - public com.google.protobuf.ByteString getRunFunctionBytes() { + public com.google.protobuf.ByteString + getRunFunctionBytes() { java.lang.Object ref = ""; if (actionTypeCase_ == 3) { ref = actionType_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (actionTypeCase_ == 3) { actionType_ = b; } @@ -1079,35 +994,30 @@ public com.google.protobuf.ByteString getRunFunctionBytes() { } } /** - * - * *
      * Endpoint to be run by the UniversalAction.
      * 
* * string run_function = 3; - * * @param value The runFunction to set. * @return This builder for chaining. */ - public Builder setRunFunction(java.lang.String value) { + public Builder setRunFunction( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - actionTypeCase_ = 3; + throw new NullPointerException(); + } + actionTypeCase_ = 3; actionType_ = value; onChanged(); return this; } /** - * - * *
      * Endpoint to be run by the UniversalAction.
      * 
* * string run_function = 3; - * * @return This builder for chaining. */ public Builder clearRunFunction() { @@ -1119,30 +1029,28 @@ public Builder clearRunFunction() { return this; } /** - * - * *
      * Endpoint to be run by the UniversalAction.
      * 
* * string run_function = 3; - * * @param value The bytes for runFunction to set. * @return This builder for chaining. */ - public Builder setRunFunctionBytes(com.google.protobuf.ByteString value) { + public Builder setRunFunctionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); actionTypeCase_ = 3; actionType_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1152,12 +1060,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.apps.script.type.UniversalActionExtensionPoint) } // @@protoc_insertion_point(class_scope:google.apps.script.type.UniversalActionExtensionPoint) private static final com.google.apps.script.type.UniversalActionExtensionPoint DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.apps.script.type.UniversalActionExtensionPoint(); } @@ -1166,16 +1074,16 @@ public static com.google.apps.script.type.UniversalActionExtensionPoint getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UniversalActionExtensionPoint parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UniversalActionExtensionPoint(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UniversalActionExtensionPoint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UniversalActionExtensionPoint(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1190,4 +1098,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.apps.script.type.UniversalActionExtensionPoint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/UniversalActionExtensionPointOrBuilder.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/UniversalActionExtensionPointOrBuilder.java similarity index 67% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/UniversalActionExtensionPointOrBuilder.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/UniversalActionExtensionPointOrBuilder.java index 85ceb306..a639fccf 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/UniversalActionExtensionPointOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/UniversalActionExtensionPointOrBuilder.java @@ -1,129 +1,91 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/extension_point.proto package com.google.apps.script.type; -public interface UniversalActionExtensionPointOrBuilder - extends +public interface UniversalActionExtensionPointOrBuilder extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.UniversalActionExtensionPoint) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. User-visible text describing the action taken by activating this
    * extension point, for example, "Add a new contact".
    * 
* * string label = 1; - * * @return The label. */ java.lang.String getLabel(); /** - * - * *
    * Required. User-visible text describing the action taken by activating this
    * extension point, for example, "Add a new contact".
    * 
* * string label = 1; - * * @return The bytes for label. */ - com.google.protobuf.ByteString getLabelBytes(); + com.google.protobuf.ByteString + getLabelBytes(); /** - * - * *
    * URL to be opened by the UniversalAction.
    * 
* * string open_link = 2; - * * @return Whether the openLink field is set. */ boolean hasOpenLink(); /** - * - * *
    * URL to be opened by the UniversalAction.
    * 
* * string open_link = 2; - * * @return The openLink. */ java.lang.String getOpenLink(); /** - * - * *
    * URL to be opened by the UniversalAction.
    * 
* * string open_link = 2; - * * @return The bytes for openLink. */ - com.google.protobuf.ByteString getOpenLinkBytes(); + com.google.protobuf.ByteString + getOpenLinkBytes(); /** - * - * *
    * Endpoint to be run by the UniversalAction.
    * 
* * string run_function = 3; - * * @return Whether the runFunction field is set. */ boolean hasRunFunction(); /** - * - * *
    * Endpoint to be run by the UniversalAction.
    * 
* * string run_function = 3; - * * @return The runFunction. */ java.lang.String getRunFunction(); /** - * - * *
    * Endpoint to be run by the UniversalAction.
    * 
* * string run_function = 3; - * * @return The bytes for runFunction. */ - com.google.protobuf.ByteString getRunFunctionBytes(); + com.google.protobuf.ByteString + getRunFunctionBytes(); - public com.google.apps.script.type.UniversalActionExtensionPoint.ActionTypeCase - getActionTypeCase(); + public com.google.apps.script.type.UniversalActionExtensionPoint.ActionTypeCase getActionTypeCase(); } diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifest.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifest.java similarity index 71% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifest.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifest.java index 80b7cb0f..6efd621f 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifest.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/calendar/calendar_addon_manifest.proto package com.google.apps.script.type.calendar; /** - * - * *
  * Calendar add-on manifest.
  * 
* * Protobuf type {@code google.apps.script.type.calendar.CalendarAddOnManifest} */ -public final class CalendarAddOnManifest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CalendarAddOnManifest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.apps.script.type.calendar.CalendarAddOnManifest) CalendarAddOnManifestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CalendarAddOnManifest.newBuilder() to construct. private CalendarAddOnManifest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CalendarAddOnManifest() { conferenceSolution_ = java.util.Collections.emptyList(); createSettingsUrlFunction_ = ""; @@ -45,15 +27,16 @@ private CalendarAddOnManifest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CalendarAddOnManifest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CalendarAddOnManifest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,92 +56,73 @@ private CalendarAddOnManifest( case 0: done = true; break; - case 26: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - conferenceSolution_ = - new java.util.ArrayList< - com.google.apps.script.type.calendar.ConferenceSolution>(); - mutable_bitField0_ |= 0x00000001; - } - conferenceSolution_.add( - input.readMessage( - com.google.apps.script.type.calendar.ConferenceSolution.parser(), - extensionRegistry)); - break; + case 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + conferenceSolution_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + conferenceSolution_.add( + input.readMessage(com.google.apps.script.type.calendar.ConferenceSolution.parser(), extensionRegistry)); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - createSettingsUrlFunction_ = s; - break; + createSettingsUrlFunction_ = s; + break; + } + case 50: { + com.google.apps.script.type.HomepageExtensionPoint.Builder subBuilder = null; + if (homepageTrigger_ != null) { + subBuilder = homepageTrigger_.toBuilder(); } - case 50: - { - com.google.apps.script.type.HomepageExtensionPoint.Builder subBuilder = null; - if (homepageTrigger_ != null) { - subBuilder = homepageTrigger_.toBuilder(); - } - homepageTrigger_ = - input.readMessage( - com.google.apps.script.type.HomepageExtensionPoint.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(homepageTrigger_); - homepageTrigger_ = subBuilder.buildPartial(); - } - - break; + homepageTrigger_ = input.readMessage(com.google.apps.script.type.HomepageExtensionPoint.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(homepageTrigger_); + homepageTrigger_ = subBuilder.buildPartial(); } - case 82: - { - com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder subBuilder = null; - if (eventOpenTrigger_ != null) { - subBuilder = eventOpenTrigger_.toBuilder(); - } - eventOpenTrigger_ = - input.readMessage( - com.google.apps.script.type.calendar.CalendarExtensionPoint.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(eventOpenTrigger_); - eventOpenTrigger_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 82: { + com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder subBuilder = null; + if (eventOpenTrigger_ != null) { + subBuilder = eventOpenTrigger_.toBuilder(); } - case 90: - { - com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder subBuilder = null; - if (eventUpdateTrigger_ != null) { - subBuilder = eventUpdateTrigger_.toBuilder(); - } - eventUpdateTrigger_ = - input.readMessage( - com.google.apps.script.type.calendar.CalendarExtensionPoint.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(eventUpdateTrigger_); - eventUpdateTrigger_ = subBuilder.buildPartial(); - } - - break; + eventOpenTrigger_ = input.readMessage(com.google.apps.script.type.calendar.CalendarExtensionPoint.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(eventOpenTrigger_); + eventOpenTrigger_ = subBuilder.buildPartial(); } - case 96: - { - int rawValue = input.readEnum(); - currentEventAccess_ = rawValue; - break; + break; + } + case 90: { + com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder subBuilder = null; + if (eventUpdateTrigger_ != null) { + subBuilder = eventUpdateTrigger_.toBuilder(); + } + eventUpdateTrigger_ = input.readMessage(com.google.apps.script.type.calendar.CalendarExtensionPoint.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(eventUpdateTrigger_); + eventUpdateTrigger_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + case 96: { + int rawValue = input.readEnum(); + + currentEventAccess_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -166,7 +130,8 @@ private CalendarAddOnManifest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { conferenceSolution_ = java.util.Collections.unmodifiableList(conferenceSolution_); @@ -175,35 +140,29 @@ private CalendarAddOnManifest( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.apps.script.type.calendar.CalendarAddOnManifestProto - .internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.apps.script.type.calendar.CalendarAddOnManifestProto.internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.calendar.CalendarAddOnManifestProto - .internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_fieldAccessorTable + return com.google.apps.script.type.calendar.CalendarAddOnManifestProto.internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.calendar.CalendarAddOnManifest.class, - com.google.apps.script.type.calendar.CalendarAddOnManifest.Builder.class); + com.google.apps.script.type.calendar.CalendarAddOnManifest.class, com.google.apps.script.type.calendar.CalendarAddOnManifest.Builder.class); } /** - * - * *
    * An enum defining the level of data access event triggers require.
    * 
* * Protobuf enum {@code google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess} */ - public enum EventAccess implements com.google.protobuf.ProtocolMessageEnum { + public enum EventAccess + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value when nothing is set for EventAccess.
      * 
@@ -212,8 +171,6 @@ public enum EventAccess implements com.google.protobuf.ProtocolMessageEnum { */ UNSPECIFIED(0), /** - * - * *
      * METADATA gives event triggers the permission to access the metadata of
      * events such as event id and calendar id.
@@ -223,8 +180,6 @@ public enum EventAccess implements com.google.protobuf.ProtocolMessageEnum {
      */
     METADATA(1),
     /**
-     *
-     *
      * 
      * READ gives event triggers access to all provided event fields including
      * the metadata, attendees, and conference data.
@@ -234,8 +189,6 @@ public enum EventAccess implements com.google.protobuf.ProtocolMessageEnum {
      */
     READ(3),
     /**
-     *
-     *
      * 
      * WRITE gives event triggers access to the metadata of events and the
      * ability to perform all actions, including adding attendees and setting
@@ -246,8 +199,6 @@ public enum EventAccess implements com.google.protobuf.ProtocolMessageEnum {
      */
     WRITE(4),
     /**
-     *
-     *
      * 
      * READ_WRITE gives event triggers access to all provided event fields
      * including the metadata, attendees, and conference data and the ability to
@@ -261,8 +212,6 @@ public enum EventAccess implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Default value when nothing is set for EventAccess.
      * 
@@ -271,8 +220,6 @@ public enum EventAccess implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNSPECIFIED_VALUE = 0; /** - * - * *
      * METADATA gives event triggers the permission to access the metadata of
      * events such as event id and calendar id.
@@ -282,8 +229,6 @@ public enum EventAccess implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int METADATA_VALUE = 1;
     /**
-     *
-     *
      * 
      * READ gives event triggers access to all provided event fields including
      * the metadata, attendees, and conference data.
@@ -293,8 +238,6 @@ public enum EventAccess implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int READ_VALUE = 3;
     /**
-     *
-     *
      * 
      * WRITE gives event triggers access to the metadata of events and the
      * ability to perform all actions, including adding attendees and setting
@@ -305,8 +248,6 @@ public enum EventAccess implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int WRITE_VALUE = 4;
     /**
-     *
-     *
      * 
      * READ_WRITE gives event triggers access to all provided event fields
      * including the metadata, attendees, and conference data and the ability to
@@ -317,6 +258,7 @@ public enum EventAccess implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int READ_WRITE_VALUE = 5;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -341,55 +283,51 @@ public static EventAccess valueOf(int value) {
      */
     public static EventAccess forNumber(int value) {
       switch (value) {
-        case 0:
-          return UNSPECIFIED;
-        case 1:
-          return METADATA;
-        case 3:
-          return READ;
-        case 4:
-          return WRITE;
-        case 5:
-          return READ_WRITE;
-        default:
-          return null;
-      }
-    }
-
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
-      return internalValueMap;
+        case 0: return UNSPECIFIED;
+        case 1: return METADATA;
+        case 3: return READ;
+        case 4: return WRITE;
+        case 5: return READ_WRITE;
+        default: return null;
+      }
     }
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public EventAccess findValueByNumber(int number) {
-            return EventAccess.forNumber(number);
-          }
-        };
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
+      return internalValueMap;
+    }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        EventAccess> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public EventAccess findValueByNumber(int number) {
+              return EventAccess.forNumber(number);
+            }
+          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.apps.script.type.calendar.CalendarAddOnManifest.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.apps.script.type.calendar.CalendarAddOnManifest.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final EventAccess[] VALUES = values();
 
-    public static EventAccess valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static EventAccess valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -409,8 +347,6 @@ private EventAccess(int value) {
   public static final int HOMEPAGE_TRIGGER_FIELD_NUMBER = 6;
   private com.google.apps.script.type.HomepageExtensionPoint homepageTrigger_;
   /**
-   *
-   *
    * 
    * Defines an endpoint that will be executed contexts that don't
    * match a declared contextual trigger. Any cards generated by this function
@@ -421,7 +357,6 @@ private EventAccess(int value) {
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6; - * * @return Whether the homepageTrigger field is set. */ @java.lang.Override @@ -429,8 +364,6 @@ public boolean hasHomepageTrigger() { return homepageTrigger_ != null; } /** - * - * *
    * Defines an endpoint that will be executed contexts that don't
    * match a declared contextual trigger. Any cards generated by this function
@@ -441,18 +374,13 @@ public boolean hasHomepageTrigger() {
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6; - * * @return The homepageTrigger. */ @java.lang.Override public com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger() { - return homepageTrigger_ == null - ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() - : homepageTrigger_; + return homepageTrigger_ == null ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_; } /** - * - * *
    * Defines an endpoint that will be executed contexts that don't
    * match a declared contextual trigger. Any cards generated by this function
@@ -470,93 +398,73 @@ public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTr
   }
 
   public static final int CONFERENCE_SOLUTION_FIELD_NUMBER = 3;
-  private java.util.List
-      conferenceSolution_;
+  private java.util.List conferenceSolution_;
   /**
-   *
-   *
    * 
    * Defines conference solutions provided by this add-on.
    * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; - * + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; */ @java.lang.Override - public java.util.List - getConferenceSolutionList() { + public java.util.List getConferenceSolutionList() { return conferenceSolution_; } /** - * - * *
    * Defines conference solutions provided by this add-on.
    * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; - * + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; */ @java.lang.Override - public java.util.List + public java.util.List getConferenceSolutionOrBuilderList() { return conferenceSolution_; } /** - * - * *
    * Defines conference solutions provided by this add-on.
    * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; - * + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; */ @java.lang.Override public int getConferenceSolutionCount() { return conferenceSolution_.size(); } /** - * - * *
    * Defines conference solutions provided by this add-on.
    * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; - * + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; */ @java.lang.Override public com.google.apps.script.type.calendar.ConferenceSolution getConferenceSolution(int index) { return conferenceSolution_.get(index); } /** - * - * *
    * Defines conference solutions provided by this add-on.
    * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; - * + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; */ @java.lang.Override - public com.google.apps.script.type.calendar.ConferenceSolutionOrBuilder - getConferenceSolutionOrBuilder(int index) { + public com.google.apps.script.type.calendar.ConferenceSolutionOrBuilder getConferenceSolutionOrBuilder( + int index) { return conferenceSolution_.get(index); } public static final int CREATE_SETTINGS_URL_FUNCTION_FIELD_NUMBER = 5; private volatile java.lang.Object createSettingsUrlFunction_; /** - * - * *
    * An endpoint to execute that creates a URL to the add-on's settings page.
    * 
* * string create_settings_url_function = 5; - * * @return The createSettingsUrlFunction. */ @java.lang.Override @@ -565,29 +473,29 @@ public java.lang.String getCreateSettingsUrlFunction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); createSettingsUrlFunction_ = s; return s; } } /** - * - * *
    * An endpoint to execute that creates a URL to the add-on's settings page.
    * 
* * string create_settings_url_function = 5; - * * @return The bytes for createSettingsUrlFunction. */ @java.lang.Override - public com.google.protobuf.ByteString getCreateSettingsUrlFunctionBytes() { + public com.google.protobuf.ByteString + getCreateSettingsUrlFunctionBytes() { java.lang.Object ref = createSettingsUrlFunction_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); createSettingsUrlFunction_ = b; return b; } else { @@ -598,14 +506,11 @@ public com.google.protobuf.ByteString getCreateSettingsUrlFunctionBytes() { public static final int EVENT_OPEN_TRIGGER_FIELD_NUMBER = 10; private com.google.apps.script.type.calendar.CalendarExtensionPoint eventOpenTrigger_; /** - * - * *
    * An endpoint to trigger when an event is opened (viewed/edited).
    * 
* * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; - * * @return Whether the eventOpenTrigger field is set. */ @java.lang.Override @@ -613,25 +518,18 @@ public boolean hasEventOpenTrigger() { return eventOpenTrigger_ != null; } /** - * - * *
    * An endpoint to trigger when an event is opened (viewed/edited).
    * 
* * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; - * * @return The eventOpenTrigger. */ @java.lang.Override public com.google.apps.script.type.calendar.CalendarExtensionPoint getEventOpenTrigger() { - return eventOpenTrigger_ == null - ? com.google.apps.script.type.calendar.CalendarExtensionPoint.getDefaultInstance() - : eventOpenTrigger_; + return eventOpenTrigger_ == null ? com.google.apps.script.type.calendar.CalendarExtensionPoint.getDefaultInstance() : eventOpenTrigger_; } /** - * - * *
    * An endpoint to trigger when an event is opened (viewed/edited).
    * 
@@ -639,23 +537,18 @@ public com.google.apps.script.type.calendar.CalendarExtensionPoint getEventOpenT * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; */ @java.lang.Override - public com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder - getEventOpenTriggerOrBuilder() { + public com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder getEventOpenTriggerOrBuilder() { return getEventOpenTrigger(); } public static final int EVENT_UPDATE_TRIGGER_FIELD_NUMBER = 11; private com.google.apps.script.type.calendar.CalendarExtensionPoint eventUpdateTrigger_; /** - * - * *
    * An endpoint to trigger when the open event is updated.
    * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; - * - * + * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; * @return Whether the eventUpdateTrigger field is set. */ @java.lang.Override @@ -663,85 +556,57 @@ public boolean hasEventUpdateTrigger() { return eventUpdateTrigger_ != null; } /** - * - * *
    * An endpoint to trigger when the open event is updated.
    * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; - * - * + * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; * @return The eventUpdateTrigger. */ @java.lang.Override public com.google.apps.script.type.calendar.CalendarExtensionPoint getEventUpdateTrigger() { - return eventUpdateTrigger_ == null - ? com.google.apps.script.type.calendar.CalendarExtensionPoint.getDefaultInstance() - : eventUpdateTrigger_; + return eventUpdateTrigger_ == null ? com.google.apps.script.type.calendar.CalendarExtensionPoint.getDefaultInstance() : eventUpdateTrigger_; } /** - * - * *
    * An endpoint to trigger when the open event is updated.
    * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; - * + * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; */ @java.lang.Override - public com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder - getEventUpdateTriggerOrBuilder() { + public com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder getEventUpdateTriggerOrBuilder() { return getEventUpdateTrigger(); } public static final int CURRENT_EVENT_ACCESS_FIELD_NUMBER = 12; private int currentEventAccess_; /** - * - * *
    * Define the level of data access when an event addon is triggered.
    * 
* - * - * .google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess current_event_access = 12; - * - * + * .google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess current_event_access = 12; * @return The enum numeric value on the wire for currentEventAccess. */ - @java.lang.Override - public int getCurrentEventAccessValue() { + @java.lang.Override public int getCurrentEventAccessValue() { return currentEventAccess_; } /** - * - * *
    * Define the level of data access when an event addon is triggered.
    * 
* - * - * .google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess current_event_access = 12; - * - * + * .google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess current_event_access = 12; * @return The currentEventAccess. */ - @java.lang.Override - public com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess - getCurrentEventAccess() { + @java.lang.Override public com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess getCurrentEventAccess() { @SuppressWarnings("deprecation") - com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess result = - com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess.valueOf( - currentEventAccess_); - return result == null - ? com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess.UNRECOGNIZED - : result; + com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess result = com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess.valueOf(currentEventAccess_); + return result == null ? com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -753,7 +618,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < conferenceSolution_.size(); i++) { output.writeMessage(3, conferenceSolution_.get(i)); } @@ -769,9 +635,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (eventUpdateTrigger_ != null) { output.writeMessage(11, getEventUpdateTrigger()); } - if (currentEventAccess_ - != com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess.UNSPECIFIED - .getNumber()) { + if (currentEventAccess_ != com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess.UNSPECIFIED.getNumber()) { output.writeEnum(12, currentEventAccess_); } unknownFields.writeTo(output); @@ -784,26 +648,27 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < conferenceSolution_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(3, conferenceSolution_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, conferenceSolution_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(createSettingsUrlFunction_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(5, createSettingsUrlFunction_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, createSettingsUrlFunction_); } if (homepageTrigger_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getHomepageTrigger()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getHomepageTrigger()); } if (eventOpenTrigger_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getEventOpenTrigger()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getEventOpenTrigger()); } if (eventUpdateTrigger_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getEventUpdateTrigger()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getEventUpdateTrigger()); } - if (currentEventAccess_ - != com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess.UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(12, currentEventAccess_); + if (currentEventAccess_ != com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess.UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(12, currentEventAccess_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -813,27 +678,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.calendar.CalendarAddOnManifest)) { return super.equals(obj); } - com.google.apps.script.type.calendar.CalendarAddOnManifest other = - (com.google.apps.script.type.calendar.CalendarAddOnManifest) obj; + com.google.apps.script.type.calendar.CalendarAddOnManifest other = (com.google.apps.script.type.calendar.CalendarAddOnManifest) obj; if (hasHomepageTrigger() != other.hasHomepageTrigger()) return false; if (hasHomepageTrigger()) { - if (!getHomepageTrigger().equals(other.getHomepageTrigger())) return false; + if (!getHomepageTrigger() + .equals(other.getHomepageTrigger())) return false; } - if (!getConferenceSolutionList().equals(other.getConferenceSolutionList())) return false; - if (!getCreateSettingsUrlFunction().equals(other.getCreateSettingsUrlFunction())) return false; + if (!getConferenceSolutionList() + .equals(other.getConferenceSolutionList())) return false; + if (!getCreateSettingsUrlFunction() + .equals(other.getCreateSettingsUrlFunction())) return false; if (hasEventOpenTrigger() != other.hasEventOpenTrigger()) return false; if (hasEventOpenTrigger()) { - if (!getEventOpenTrigger().equals(other.getEventOpenTrigger())) return false; + if (!getEventOpenTrigger() + .equals(other.getEventOpenTrigger())) return false; } if (hasEventUpdateTrigger() != other.hasEventUpdateTrigger()) return false; if (hasEventUpdateTrigger()) { - if (!getEventUpdateTrigger().equals(other.getEventUpdateTrigger())) return false; + if (!getEventUpdateTrigger() + .equals(other.getEventUpdateTrigger())) return false; } if (currentEventAccess_ != other.currentEventAccess_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -873,127 +742,117 @@ public int hashCode() { } public static com.google.apps.script.type.calendar.CalendarAddOnManifest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.calendar.CalendarAddOnManifest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.calendar.CalendarAddOnManifest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.calendar.CalendarAddOnManifest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.calendar.CalendarAddOnManifest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.calendar.CalendarAddOnManifest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.apps.script.type.calendar.CalendarAddOnManifest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.apps.script.type.calendar.CalendarAddOnManifest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.calendar.CalendarAddOnManifest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.apps.script.type.calendar.CalendarAddOnManifest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.apps.script.type.calendar.CalendarAddOnManifest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.apps.script.type.calendar.CalendarAddOnManifest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.calendar.CalendarAddOnManifest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.calendar.CalendarAddOnManifest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.apps.script.type.calendar.CalendarAddOnManifest prototype) { + public static Builder newBuilder(com.google.apps.script.type.calendar.CalendarAddOnManifest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Calendar add-on manifest.
    * 
* * Protobuf type {@code google.apps.script.type.calendar.CalendarAddOnManifest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.script.type.calendar.CalendarAddOnManifest) com.google.apps.script.type.calendar.CalendarAddOnManifestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.apps.script.type.calendar.CalendarAddOnManifestProto - .internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.apps.script.type.calendar.CalendarAddOnManifestProto.internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.calendar.CalendarAddOnManifestProto - .internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_fieldAccessorTable + return com.google.apps.script.type.calendar.CalendarAddOnManifestProto.internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.calendar.CalendarAddOnManifest.class, - com.google.apps.script.type.calendar.CalendarAddOnManifest.Builder.class); + com.google.apps.script.type.calendar.CalendarAddOnManifest.class, com.google.apps.script.type.calendar.CalendarAddOnManifest.Builder.class); } // Construct using com.google.apps.script.type.calendar.CalendarAddOnManifest.newBuilder() @@ -1001,17 +860,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getConferenceSolutionFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1047,9 +906,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.apps.script.type.calendar.CalendarAddOnManifestProto - .internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.apps.script.type.calendar.CalendarAddOnManifestProto.internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_descriptor; } @java.lang.Override @@ -1068,8 +927,7 @@ public com.google.apps.script.type.calendar.CalendarAddOnManifest build() { @java.lang.Override public com.google.apps.script.type.calendar.CalendarAddOnManifest buildPartial() { - com.google.apps.script.type.calendar.CalendarAddOnManifest result = - new com.google.apps.script.type.calendar.CalendarAddOnManifest(this); + com.google.apps.script.type.calendar.CalendarAddOnManifest result = new com.google.apps.script.type.calendar.CalendarAddOnManifest(this); int from_bitField0_ = bitField0_; if (homepageTriggerBuilder_ == null) { result.homepageTrigger_ = homepageTrigger_; @@ -1105,39 +963,38 @@ public com.google.apps.script.type.calendar.CalendarAddOnManifest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.script.type.calendar.CalendarAddOnManifest) { - return mergeFrom((com.google.apps.script.type.calendar.CalendarAddOnManifest) other); + return mergeFrom((com.google.apps.script.type.calendar.CalendarAddOnManifest)other); } else { super.mergeFrom(other); return this; @@ -1145,8 +1002,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.apps.script.type.calendar.CalendarAddOnManifest other) { - if (other == com.google.apps.script.type.calendar.CalendarAddOnManifest.getDefaultInstance()) - return this; + if (other == com.google.apps.script.type.calendar.CalendarAddOnManifest.getDefaultInstance()) return this; if (other.hasHomepageTrigger()) { mergeHomepageTrigger(other.getHomepageTrigger()); } @@ -1168,10 +1024,9 @@ public Builder mergeFrom(com.google.apps.script.type.calendar.CalendarAddOnManif conferenceSolutionBuilder_ = null; conferenceSolution_ = other.conferenceSolution_; bitField0_ = (bitField0_ & ~0x00000001); - conferenceSolutionBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getConferenceSolutionFieldBuilder() - : null; + conferenceSolutionBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getConferenceSolutionFieldBuilder() : null; } else { conferenceSolutionBuilder_.addAllMessages(other.conferenceSolution_); } @@ -1209,8 +1064,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.apps.script.type.calendar.CalendarAddOnManifest) e.getUnfinishedMessage(); + parsedMessage = (com.google.apps.script.type.calendar.CalendarAddOnManifest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1219,18 +1073,12 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private com.google.apps.script.type.HomepageExtensionPoint homepageTrigger_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.HomepageExtensionPoint, - com.google.apps.script.type.HomepageExtensionPoint.Builder, - com.google.apps.script.type.HomepageExtensionPointOrBuilder> - homepageTriggerBuilder_; + com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder> homepageTriggerBuilder_; /** - * - * *
      * Defines an endpoint that will be executed contexts that don't
      * match a declared contextual trigger. Any cards generated by this function
@@ -1241,15 +1089,12 @@ public Builder mergeFrom(
      * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6; - * * @return Whether the homepageTrigger field is set. */ public boolean hasHomepageTrigger() { return homepageTriggerBuilder_ != null || homepageTrigger_ != null; } /** - * - * *
      * Defines an endpoint that will be executed contexts that don't
      * match a declared contextual trigger. Any cards generated by this function
@@ -1260,21 +1105,16 @@ public boolean hasHomepageTrigger() {
      * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6; - * * @return The homepageTrigger. */ public com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger() { if (homepageTriggerBuilder_ == null) { - return homepageTrigger_ == null - ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() - : homepageTrigger_; + return homepageTrigger_ == null ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_; } else { return homepageTriggerBuilder_.getMessage(); } } /** - * - * *
      * Defines an endpoint that will be executed contexts that don't
      * match a declared contextual trigger. Any cards generated by this function
@@ -1300,8 +1140,6 @@ public Builder setHomepageTrigger(com.google.apps.script.type.HomepageExtensionP
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines an endpoint that will be executed contexts that don't
      * match a declared contextual trigger. Any cards generated by this function
@@ -1325,8 +1163,6 @@ public Builder setHomepageTrigger(
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines an endpoint that will be executed contexts that don't
      * match a declared contextual trigger. Any cards generated by this function
@@ -1342,9 +1178,7 @@ public Builder mergeHomepageTrigger(com.google.apps.script.type.HomepageExtensio
       if (homepageTriggerBuilder_ == null) {
         if (homepageTrigger_ != null) {
           homepageTrigger_ =
-              com.google.apps.script.type.HomepageExtensionPoint.newBuilder(homepageTrigger_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.apps.script.type.HomepageExtensionPoint.newBuilder(homepageTrigger_).mergeFrom(value).buildPartial();
         } else {
           homepageTrigger_ = value;
         }
@@ -1356,8 +1190,6 @@ public Builder mergeHomepageTrigger(com.google.apps.script.type.HomepageExtensio
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines an endpoint that will be executed contexts that don't
      * match a declared contextual trigger. Any cards generated by this function
@@ -1381,8 +1213,6 @@ public Builder clearHomepageTrigger() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines an endpoint that will be executed contexts that don't
      * match a declared contextual trigger. Any cards generated by this function
@@ -1395,13 +1225,11 @@ public Builder clearHomepageTrigger() {
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6;
      */
     public com.google.apps.script.type.HomepageExtensionPoint.Builder getHomepageTriggerBuilder() {
-
+      
       onChanged();
       return getHomepageTriggerFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Defines an endpoint that will be executed contexts that don't
      * match a declared contextual trigger. Any cards generated by this function
@@ -1413,19 +1241,15 @@ public com.google.apps.script.type.HomepageExtensionPoint.Builder getHomepageTri
      *
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6;
      */
-    public com.google.apps.script.type.HomepageExtensionPointOrBuilder
-        getHomepageTriggerOrBuilder() {
+    public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder() {
       if (homepageTriggerBuilder_ != null) {
         return homepageTriggerBuilder_.getMessageOrBuilder();
       } else {
-        return homepageTrigger_ == null
-            ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance()
-            : homepageTrigger_;
+        return homepageTrigger_ == null ?
+            com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_;
       }
     }
     /**
-     *
-     *
      * 
      * Defines an endpoint that will be executed contexts that don't
      * match a declared contextual trigger. Any cards generated by this function
@@ -1438,52 +1262,39 @@ public com.google.apps.script.type.HomepageExtensionPoint.Builder getHomepageTri
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.apps.script.type.HomepageExtensionPoint,
-            com.google.apps.script.type.HomepageExtensionPoint.Builder,
-            com.google.apps.script.type.HomepageExtensionPointOrBuilder>
+        com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder> 
         getHomepageTriggerFieldBuilder() {
       if (homepageTriggerBuilder_ == null) {
-        homepageTriggerBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.apps.script.type.HomepageExtensionPoint,
-                com.google.apps.script.type.HomepageExtensionPoint.Builder,
-                com.google.apps.script.type.HomepageExtensionPointOrBuilder>(
-                getHomepageTrigger(), getParentForChildren(), isClean());
+        homepageTriggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder>(
+                getHomepageTrigger(),
+                getParentForChildren(),
+                isClean());
         homepageTrigger_ = null;
       }
       return homepageTriggerBuilder_;
     }
 
-    private java.util.List
-        conferenceSolution_ = java.util.Collections.emptyList();
-
+    private java.util.List conferenceSolution_ =
+      java.util.Collections.emptyList();
     private void ensureConferenceSolutionIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        conferenceSolution_ =
-            new java.util.ArrayList(
-                conferenceSolution_);
+        conferenceSolution_ = new java.util.ArrayList(conferenceSolution_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.apps.script.type.calendar.ConferenceSolution,
-            com.google.apps.script.type.calendar.ConferenceSolution.Builder,
-            com.google.apps.script.type.calendar.ConferenceSolutionOrBuilder>
-        conferenceSolutionBuilder_;
+        com.google.apps.script.type.calendar.ConferenceSolution, com.google.apps.script.type.calendar.ConferenceSolution.Builder, com.google.apps.script.type.calendar.ConferenceSolutionOrBuilder> conferenceSolutionBuilder_;
 
     /**
-     *
-     *
      * 
      * Defines conference solutions provided by this add-on.
      * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; - * + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; */ - public java.util.List - getConferenceSolutionList() { + public java.util.List getConferenceSolutionList() { if (conferenceSolutionBuilder_ == null) { return java.util.Collections.unmodifiableList(conferenceSolution_); } else { @@ -1491,14 +1302,11 @@ private void ensureConferenceSolutionIsMutable() { } } /** - * - * *
      * Defines conference solutions provided by this add-on.
      * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; - * + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; */ public int getConferenceSolutionCount() { if (conferenceSolutionBuilder_ == null) { @@ -1508,17 +1316,13 @@ public int getConferenceSolutionCount() { } } /** - * - * *
      * Defines conference solutions provided by this add-on.
      * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; - * + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; */ - public com.google.apps.script.type.calendar.ConferenceSolution getConferenceSolution( - int index) { + public com.google.apps.script.type.calendar.ConferenceSolution getConferenceSolution(int index) { if (conferenceSolutionBuilder_ == null) { return conferenceSolution_.get(index); } else { @@ -1526,14 +1330,11 @@ public com.google.apps.script.type.calendar.ConferenceSolution getConferenceSolu } } /** - * - * *
      * Defines conference solutions provided by this add-on.
      * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; - * + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; */ public Builder setConferenceSolution( int index, com.google.apps.script.type.calendar.ConferenceSolution value) { @@ -1550,18 +1351,14 @@ public Builder setConferenceSolution( return this; } /** - * - * *
      * Defines conference solutions provided by this add-on.
      * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; - * + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; */ public Builder setConferenceSolution( - int index, - com.google.apps.script.type.calendar.ConferenceSolution.Builder builderForValue) { + int index, com.google.apps.script.type.calendar.ConferenceSolution.Builder builderForValue) { if (conferenceSolutionBuilder_ == null) { ensureConferenceSolutionIsMutable(); conferenceSolution_.set(index, builderForValue.build()); @@ -1572,17 +1369,13 @@ public Builder setConferenceSolution( return this; } /** - * - * *
      * Defines conference solutions provided by this add-on.
      * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; - * + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; */ - public Builder addConferenceSolution( - com.google.apps.script.type.calendar.ConferenceSolution value) { + public Builder addConferenceSolution(com.google.apps.script.type.calendar.ConferenceSolution value) { if (conferenceSolutionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1596,14 +1389,11 @@ public Builder addConferenceSolution( return this; } /** - * - * *
      * Defines conference solutions provided by this add-on.
      * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; - * + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; */ public Builder addConferenceSolution( int index, com.google.apps.script.type.calendar.ConferenceSolution value) { @@ -1620,14 +1410,11 @@ public Builder addConferenceSolution( return this; } /** - * - * *
      * Defines conference solutions provided by this add-on.
      * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; - * + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; */ public Builder addConferenceSolution( com.google.apps.script.type.calendar.ConferenceSolution.Builder builderForValue) { @@ -1641,18 +1428,14 @@ public Builder addConferenceSolution( return this; } /** - * - * *
      * Defines conference solutions provided by this add-on.
      * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; - * + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; */ public Builder addConferenceSolution( - int index, - com.google.apps.script.type.calendar.ConferenceSolution.Builder builderForValue) { + int index, com.google.apps.script.type.calendar.ConferenceSolution.Builder builderForValue) { if (conferenceSolutionBuilder_ == null) { ensureConferenceSolutionIsMutable(); conferenceSolution_.add(index, builderForValue.build()); @@ -1663,21 +1446,18 @@ public Builder addConferenceSolution( return this; } /** - * - * *
      * Defines conference solutions provided by this add-on.
      * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; - * + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; */ public Builder addAllConferenceSolution( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (conferenceSolutionBuilder_ == null) { ensureConferenceSolutionIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, conferenceSolution_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, conferenceSolution_); onChanged(); } else { conferenceSolutionBuilder_.addAllMessages(values); @@ -1685,14 +1465,11 @@ public Builder addAllConferenceSolution( return this; } /** - * - * *
      * Defines conference solutions provided by this add-on.
      * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; - * + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; */ public Builder clearConferenceSolution() { if (conferenceSolutionBuilder_ == null) { @@ -1705,14 +1482,11 @@ public Builder clearConferenceSolution() { return this; } /** - * - * *
      * Defines conference solutions provided by this add-on.
      * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; - * + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; */ public Builder removeConferenceSolution(int index) { if (conferenceSolutionBuilder_ == null) { @@ -1725,50 +1499,39 @@ public Builder removeConferenceSolution(int index) { return this; } /** - * - * *
      * Defines conference solutions provided by this add-on.
      * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; - * + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; */ - public com.google.apps.script.type.calendar.ConferenceSolution.Builder - getConferenceSolutionBuilder(int index) { + public com.google.apps.script.type.calendar.ConferenceSolution.Builder getConferenceSolutionBuilder( + int index) { return getConferenceSolutionFieldBuilder().getBuilder(index); } /** - * - * *
      * Defines conference solutions provided by this add-on.
      * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; - * + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; */ - public com.google.apps.script.type.calendar.ConferenceSolutionOrBuilder - getConferenceSolutionOrBuilder(int index) { + public com.google.apps.script.type.calendar.ConferenceSolutionOrBuilder getConferenceSolutionOrBuilder( + int index) { if (conferenceSolutionBuilder_ == null) { - return conferenceSolution_.get(index); - } else { + return conferenceSolution_.get(index); } else { return conferenceSolutionBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Defines conference solutions provided by this add-on.
      * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; - * + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; */ - public java.util.List< - ? extends com.google.apps.script.type.calendar.ConferenceSolutionOrBuilder> - getConferenceSolutionOrBuilderList() { + public java.util.List + getConferenceSolutionOrBuilderList() { if (conferenceSolutionBuilder_ != null) { return conferenceSolutionBuilder_.getMessageOrBuilderList(); } else { @@ -1776,62 +1539,45 @@ public Builder removeConferenceSolution(int index) { } } /** - * - * *
      * Defines conference solutions provided by this add-on.
      * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; - * + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; */ - public com.google.apps.script.type.calendar.ConferenceSolution.Builder - addConferenceSolutionBuilder() { - return getConferenceSolutionFieldBuilder() - .addBuilder(com.google.apps.script.type.calendar.ConferenceSolution.getDefaultInstance()); + public com.google.apps.script.type.calendar.ConferenceSolution.Builder addConferenceSolutionBuilder() { + return getConferenceSolutionFieldBuilder().addBuilder( + com.google.apps.script.type.calendar.ConferenceSolution.getDefaultInstance()); } /** - * - * *
      * Defines conference solutions provided by this add-on.
      * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; - * + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; */ - public com.google.apps.script.type.calendar.ConferenceSolution.Builder - addConferenceSolutionBuilder(int index) { - return getConferenceSolutionFieldBuilder() - .addBuilder( - index, com.google.apps.script.type.calendar.ConferenceSolution.getDefaultInstance()); + public com.google.apps.script.type.calendar.ConferenceSolution.Builder addConferenceSolutionBuilder( + int index) { + return getConferenceSolutionFieldBuilder().addBuilder( + index, com.google.apps.script.type.calendar.ConferenceSolution.getDefaultInstance()); } /** - * - * *
      * Defines conference solutions provided by this add-on.
      * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; - * + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; */ - public java.util.List - getConferenceSolutionBuilderList() { + public java.util.List + getConferenceSolutionBuilderList() { return getConferenceSolutionFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.apps.script.type.calendar.ConferenceSolution, - com.google.apps.script.type.calendar.ConferenceSolution.Builder, - com.google.apps.script.type.calendar.ConferenceSolutionOrBuilder> + com.google.apps.script.type.calendar.ConferenceSolution, com.google.apps.script.type.calendar.ConferenceSolution.Builder, com.google.apps.script.type.calendar.ConferenceSolutionOrBuilder> getConferenceSolutionFieldBuilder() { if (conferenceSolutionBuilder_ == null) { - conferenceSolutionBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.apps.script.type.calendar.ConferenceSolution, - com.google.apps.script.type.calendar.ConferenceSolution.Builder, - com.google.apps.script.type.calendar.ConferenceSolutionOrBuilder>( + conferenceSolutionBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.apps.script.type.calendar.ConferenceSolution, com.google.apps.script.type.calendar.ConferenceSolution.Builder, com.google.apps.script.type.calendar.ConferenceSolutionOrBuilder>( conferenceSolution_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1843,20 +1589,18 @@ public Builder removeConferenceSolution(int index) { private java.lang.Object createSettingsUrlFunction_ = ""; /** - * - * *
      * An endpoint to execute that creates a URL to the add-on's settings page.
      * 
* * string create_settings_url_function = 5; - * * @return The createSettingsUrlFunction. */ public java.lang.String getCreateSettingsUrlFunction() { java.lang.Object ref = createSettingsUrlFunction_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); createSettingsUrlFunction_ = s; return s; @@ -1865,21 +1609,20 @@ public java.lang.String getCreateSettingsUrlFunction() { } } /** - * - * *
      * An endpoint to execute that creates a URL to the add-on's settings page.
      * 
* * string create_settings_url_function = 5; - * * @return The bytes for createSettingsUrlFunction. */ - public com.google.protobuf.ByteString getCreateSettingsUrlFunctionBytes() { + public com.google.protobuf.ByteString + getCreateSettingsUrlFunctionBytes() { java.lang.Object ref = createSettingsUrlFunction_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); createSettingsUrlFunction_ = b; return b; } else { @@ -1887,61 +1630,54 @@ public com.google.protobuf.ByteString getCreateSettingsUrlFunctionBytes() { } } /** - * - * *
      * An endpoint to execute that creates a URL to the add-on's settings page.
      * 
* * string create_settings_url_function = 5; - * * @param value The createSettingsUrlFunction to set. * @return This builder for chaining. */ - public Builder setCreateSettingsUrlFunction(java.lang.String value) { + public Builder setCreateSettingsUrlFunction( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + createSettingsUrlFunction_ = value; onChanged(); return this; } /** - * - * *
      * An endpoint to execute that creates a URL to the add-on's settings page.
      * 
* * string create_settings_url_function = 5; - * * @return This builder for chaining. */ public Builder clearCreateSettingsUrlFunction() { - + createSettingsUrlFunction_ = getDefaultInstance().getCreateSettingsUrlFunction(); onChanged(); return this; } /** - * - * *
      * An endpoint to execute that creates a URL to the add-on's settings page.
      * 
* * string create_settings_url_function = 5; - * * @param value The bytes for createSettingsUrlFunction to set. * @return This builder for chaining. */ - public Builder setCreateSettingsUrlFunctionBytes(com.google.protobuf.ByteString value) { + public Builder setCreateSettingsUrlFunctionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + createSettingsUrlFunction_ = value; onChanged(); return this; @@ -1949,58 +1685,41 @@ public Builder setCreateSettingsUrlFunctionBytes(com.google.protobuf.ByteString private com.google.apps.script.type.calendar.CalendarExtensionPoint eventOpenTrigger_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.calendar.CalendarExtensionPoint, - com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder, - com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder> - eventOpenTriggerBuilder_; + com.google.apps.script.type.calendar.CalendarExtensionPoint, com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder, com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder> eventOpenTriggerBuilder_; /** - * - * *
      * An endpoint to trigger when an event is opened (viewed/edited).
      * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; - * - * + * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; * @return Whether the eventOpenTrigger field is set. */ public boolean hasEventOpenTrigger() { return eventOpenTriggerBuilder_ != null || eventOpenTrigger_ != null; } /** - * - * *
      * An endpoint to trigger when an event is opened (viewed/edited).
      * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; - * - * + * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; * @return The eventOpenTrigger. */ public com.google.apps.script.type.calendar.CalendarExtensionPoint getEventOpenTrigger() { if (eventOpenTriggerBuilder_ == null) { - return eventOpenTrigger_ == null - ? com.google.apps.script.type.calendar.CalendarExtensionPoint.getDefaultInstance() - : eventOpenTrigger_; + return eventOpenTrigger_ == null ? com.google.apps.script.type.calendar.CalendarExtensionPoint.getDefaultInstance() : eventOpenTrigger_; } else { return eventOpenTriggerBuilder_.getMessage(); } } /** - * - * *
      * An endpoint to trigger when an event is opened (viewed/edited).
      * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; - * + * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; */ - public Builder setEventOpenTrigger( - com.google.apps.script.type.calendar.CalendarExtensionPoint value) { + public Builder setEventOpenTrigger(com.google.apps.script.type.calendar.CalendarExtensionPoint value) { if (eventOpenTriggerBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2014,14 +1733,11 @@ public Builder setEventOpenTrigger( return this; } /** - * - * *
      * An endpoint to trigger when an event is opened (viewed/edited).
      * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; - * + * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; */ public Builder setEventOpenTrigger( com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder builderForValue) { @@ -2035,24 +1751,17 @@ public Builder setEventOpenTrigger( return this; } /** - * - * *
      * An endpoint to trigger when an event is opened (viewed/edited).
      * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; - * + * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; */ - public Builder mergeEventOpenTrigger( - com.google.apps.script.type.calendar.CalendarExtensionPoint value) { + public Builder mergeEventOpenTrigger(com.google.apps.script.type.calendar.CalendarExtensionPoint value) { if (eventOpenTriggerBuilder_ == null) { if (eventOpenTrigger_ != null) { eventOpenTrigger_ = - com.google.apps.script.type.calendar.CalendarExtensionPoint.newBuilder( - eventOpenTrigger_) - .mergeFrom(value) - .buildPartial(); + com.google.apps.script.type.calendar.CalendarExtensionPoint.newBuilder(eventOpenTrigger_).mergeFrom(value).buildPartial(); } else { eventOpenTrigger_ = value; } @@ -2064,14 +1773,11 @@ public Builder mergeEventOpenTrigger( return this; } /** - * - * *
      * An endpoint to trigger when an event is opened (viewed/edited).
      * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; - * + * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; */ public Builder clearEventOpenTrigger() { if (eventOpenTriggerBuilder_ == null) { @@ -2085,63 +1791,48 @@ public Builder clearEventOpenTrigger() { return this; } /** - * - * *
      * An endpoint to trigger when an event is opened (viewed/edited).
      * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; - * + * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; */ - public com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder - getEventOpenTriggerBuilder() { - + public com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder getEventOpenTriggerBuilder() { + onChanged(); return getEventOpenTriggerFieldBuilder().getBuilder(); } /** - * - * *
      * An endpoint to trigger when an event is opened (viewed/edited).
      * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; - * + * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; */ - public com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder - getEventOpenTriggerOrBuilder() { + public com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder getEventOpenTriggerOrBuilder() { if (eventOpenTriggerBuilder_ != null) { return eventOpenTriggerBuilder_.getMessageOrBuilder(); } else { - return eventOpenTrigger_ == null - ? com.google.apps.script.type.calendar.CalendarExtensionPoint.getDefaultInstance() - : eventOpenTrigger_; + return eventOpenTrigger_ == null ? + com.google.apps.script.type.calendar.CalendarExtensionPoint.getDefaultInstance() : eventOpenTrigger_; } } /** - * - * *
      * An endpoint to trigger when an event is opened (viewed/edited).
      * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; - * + * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.calendar.CalendarExtensionPoint, - com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder, - com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder> + com.google.apps.script.type.calendar.CalendarExtensionPoint, com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder, com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder> getEventOpenTriggerFieldBuilder() { if (eventOpenTriggerBuilder_ == null) { - eventOpenTriggerBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.calendar.CalendarExtensionPoint, - com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder, - com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder>( - getEventOpenTrigger(), getParentForChildren(), isClean()); + eventOpenTriggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.apps.script.type.calendar.CalendarExtensionPoint, com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder, com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder>( + getEventOpenTrigger(), + getParentForChildren(), + isClean()); eventOpenTrigger_ = null; } return eventOpenTriggerBuilder_; @@ -2149,58 +1840,41 @@ public Builder clearEventOpenTrigger() { private com.google.apps.script.type.calendar.CalendarExtensionPoint eventUpdateTrigger_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.calendar.CalendarExtensionPoint, - com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder, - com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder> - eventUpdateTriggerBuilder_; + com.google.apps.script.type.calendar.CalendarExtensionPoint, com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder, com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder> eventUpdateTriggerBuilder_; /** - * - * *
      * An endpoint to trigger when the open event is updated.
      * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; - * - * + * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; * @return Whether the eventUpdateTrigger field is set. */ public boolean hasEventUpdateTrigger() { return eventUpdateTriggerBuilder_ != null || eventUpdateTrigger_ != null; } /** - * - * *
      * An endpoint to trigger when the open event is updated.
      * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; - * - * + * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; * @return The eventUpdateTrigger. */ public com.google.apps.script.type.calendar.CalendarExtensionPoint getEventUpdateTrigger() { if (eventUpdateTriggerBuilder_ == null) { - return eventUpdateTrigger_ == null - ? com.google.apps.script.type.calendar.CalendarExtensionPoint.getDefaultInstance() - : eventUpdateTrigger_; + return eventUpdateTrigger_ == null ? com.google.apps.script.type.calendar.CalendarExtensionPoint.getDefaultInstance() : eventUpdateTrigger_; } else { return eventUpdateTriggerBuilder_.getMessage(); } } /** - * - * *
      * An endpoint to trigger when the open event is updated.
      * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; - * + * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; */ - public Builder setEventUpdateTrigger( - com.google.apps.script.type.calendar.CalendarExtensionPoint value) { + public Builder setEventUpdateTrigger(com.google.apps.script.type.calendar.CalendarExtensionPoint value) { if (eventUpdateTriggerBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2214,14 +1888,11 @@ public Builder setEventUpdateTrigger( return this; } /** - * - * *
      * An endpoint to trigger when the open event is updated.
      * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; - * + * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; */ public Builder setEventUpdateTrigger( com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder builderForValue) { @@ -2235,24 +1906,17 @@ public Builder setEventUpdateTrigger( return this; } /** - * - * *
      * An endpoint to trigger when the open event is updated.
      * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; - * + * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; */ - public Builder mergeEventUpdateTrigger( - com.google.apps.script.type.calendar.CalendarExtensionPoint value) { + public Builder mergeEventUpdateTrigger(com.google.apps.script.type.calendar.CalendarExtensionPoint value) { if (eventUpdateTriggerBuilder_ == null) { if (eventUpdateTrigger_ != null) { eventUpdateTrigger_ = - com.google.apps.script.type.calendar.CalendarExtensionPoint.newBuilder( - eventUpdateTrigger_) - .mergeFrom(value) - .buildPartial(); + com.google.apps.script.type.calendar.CalendarExtensionPoint.newBuilder(eventUpdateTrigger_).mergeFrom(value).buildPartial(); } else { eventUpdateTrigger_ = value; } @@ -2264,14 +1928,11 @@ public Builder mergeEventUpdateTrigger( return this; } /** - * - * *
      * An endpoint to trigger when the open event is updated.
      * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; - * + * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; */ public Builder clearEventUpdateTrigger() { if (eventUpdateTriggerBuilder_ == null) { @@ -2285,63 +1946,48 @@ public Builder clearEventUpdateTrigger() { return this; } /** - * - * *
      * An endpoint to trigger when the open event is updated.
      * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; - * + * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; */ - public com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder - getEventUpdateTriggerBuilder() { - + public com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder getEventUpdateTriggerBuilder() { + onChanged(); return getEventUpdateTriggerFieldBuilder().getBuilder(); } /** - * - * *
      * An endpoint to trigger when the open event is updated.
      * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; - * + * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; */ - public com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder - getEventUpdateTriggerOrBuilder() { + public com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder getEventUpdateTriggerOrBuilder() { if (eventUpdateTriggerBuilder_ != null) { return eventUpdateTriggerBuilder_.getMessageOrBuilder(); } else { - return eventUpdateTrigger_ == null - ? com.google.apps.script.type.calendar.CalendarExtensionPoint.getDefaultInstance() - : eventUpdateTrigger_; + return eventUpdateTrigger_ == null ? + com.google.apps.script.type.calendar.CalendarExtensionPoint.getDefaultInstance() : eventUpdateTrigger_; } } /** - * - * *
      * An endpoint to trigger when the open event is updated.
      * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; - * + * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.calendar.CalendarExtensionPoint, - com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder, - com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder> + com.google.apps.script.type.calendar.CalendarExtensionPoint, com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder, com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder> getEventUpdateTriggerFieldBuilder() { if (eventUpdateTriggerBuilder_ == null) { - eventUpdateTriggerBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.calendar.CalendarExtensionPoint, - com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder, - com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder>( - getEventUpdateTrigger(), getParentForChildren(), isClean()); + eventUpdateTriggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.apps.script.type.calendar.CalendarExtensionPoint, com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder, com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder>( + getEventUpdateTrigger(), + getParentForChildren(), + isClean()); eventUpdateTrigger_ = null; } return eventUpdateTriggerBuilder_; @@ -2349,112 +1995,80 @@ public Builder clearEventUpdateTrigger() { private int currentEventAccess_ = 0; /** - * - * *
      * Define the level of data access when an event addon is triggered.
      * 
* - * - * .google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess current_event_access = 12; - * - * + * .google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess current_event_access = 12; * @return The enum numeric value on the wire for currentEventAccess. */ - @java.lang.Override - public int getCurrentEventAccessValue() { + @java.lang.Override public int getCurrentEventAccessValue() { return currentEventAccess_; } /** - * - * *
      * Define the level of data access when an event addon is triggered.
      * 
* - * - * .google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess current_event_access = 12; - * - * + * .google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess current_event_access = 12; * @param value The enum numeric value on the wire for currentEventAccess to set. * @return This builder for chaining. */ public Builder setCurrentEventAccessValue(int value) { - + currentEventAccess_ = value; onChanged(); return this; } /** - * - * *
      * Define the level of data access when an event addon is triggered.
      * 
* - * - * .google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess current_event_access = 12; - * - * + * .google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess current_event_access = 12; * @return The currentEventAccess. */ @java.lang.Override - public com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess - getCurrentEventAccess() { + public com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess getCurrentEventAccess() { @SuppressWarnings("deprecation") - com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess result = - com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess.valueOf( - currentEventAccess_); - return result == null - ? com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess.UNRECOGNIZED - : result; + com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess result = com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess.valueOf(currentEventAccess_); + return result == null ? com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess.UNRECOGNIZED : result; } /** - * - * *
      * Define the level of data access when an event addon is triggered.
      * 
* - * - * .google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess current_event_access = 12; - * - * + * .google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess current_event_access = 12; * @param value The currentEventAccess to set. * @return This builder for chaining. */ - public Builder setCurrentEventAccess( - com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess value) { + public Builder setCurrentEventAccess(com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess value) { if (value == null) { throw new NullPointerException(); } - + currentEventAccess_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Define the level of data access when an event addon is triggered.
      * 
* - * - * .google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess current_event_access = 12; - * - * + * .google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess current_event_access = 12; * @return This builder for chaining. */ public Builder clearCurrentEventAccess() { - + currentEventAccess_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2464,12 +2078,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.apps.script.type.calendar.CalendarAddOnManifest) } // @@protoc_insertion_point(class_scope:google.apps.script.type.calendar.CalendarAddOnManifest) private static final com.google.apps.script.type.calendar.CalendarAddOnManifest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.apps.script.type.calendar.CalendarAddOnManifest(); } @@ -2478,16 +2092,16 @@ public static com.google.apps.script.type.calendar.CalendarAddOnManifest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CalendarAddOnManifest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CalendarAddOnManifest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CalendarAddOnManifest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CalendarAddOnManifest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2502,4 +2116,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.calendar.CalendarAddOnManifest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifestOrBuilder.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifestOrBuilder.java similarity index 78% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifestOrBuilder.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifestOrBuilder.java index d8d07fe3..ed47959d 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/calendar/calendar_addon_manifest.proto package com.google.apps.script.type.calendar; -public interface CalendarAddOnManifestOrBuilder - extends +public interface CalendarAddOnManifestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.calendar.CalendarAddOnManifest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Defines an endpoint that will be executed contexts that don't
    * match a declared contextual trigger. Any cards generated by this function
@@ -36,13 +18,10 @@ public interface CalendarAddOnManifestOrBuilder
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6; - * * @return Whether the homepageTrigger field is set. */ boolean hasHomepageTrigger(); /** - * - * *
    * Defines an endpoint that will be executed contexts that don't
    * match a declared contextual trigger. Any cards generated by this function
@@ -53,13 +32,10 @@ public interface CalendarAddOnManifestOrBuilder
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6; - * * @return The homepageTrigger. */ com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger(); /** - * - * *
    * Defines an endpoint that will be executed contexts that don't
    * match a declared contextual trigger. Any cards generated by this function
@@ -74,189 +50,138 @@ public interface CalendarAddOnManifestOrBuilder
   com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder();
 
   /**
-   *
-   *
    * 
    * Defines conference solutions provided by this add-on.
    * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; - * + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; */ - java.util.List + java.util.List getConferenceSolutionList(); /** - * - * *
    * Defines conference solutions provided by this add-on.
    * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; - * + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; */ com.google.apps.script.type.calendar.ConferenceSolution getConferenceSolution(int index); /** - * - * *
    * Defines conference solutions provided by this add-on.
    * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; - * + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; */ int getConferenceSolutionCount(); /** - * - * *
    * Defines conference solutions provided by this add-on.
    * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; - * + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; */ - java.util.List + java.util.List getConferenceSolutionOrBuilderList(); /** - * - * *
    * Defines conference solutions provided by this add-on.
    * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; - * + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; */ com.google.apps.script.type.calendar.ConferenceSolutionOrBuilder getConferenceSolutionOrBuilder( int index); /** - * - * *
    * An endpoint to execute that creates a URL to the add-on's settings page.
    * 
* * string create_settings_url_function = 5; - * * @return The createSettingsUrlFunction. */ java.lang.String getCreateSettingsUrlFunction(); /** - * - * *
    * An endpoint to execute that creates a URL to the add-on's settings page.
    * 
* * string create_settings_url_function = 5; - * * @return The bytes for createSettingsUrlFunction. */ - com.google.protobuf.ByteString getCreateSettingsUrlFunctionBytes(); + com.google.protobuf.ByteString + getCreateSettingsUrlFunctionBytes(); /** - * - * *
    * An endpoint to trigger when an event is opened (viewed/edited).
    * 
* * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; - * * @return Whether the eventOpenTrigger field is set. */ boolean hasEventOpenTrigger(); /** - * - * *
    * An endpoint to trigger when an event is opened (viewed/edited).
    * 
* * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; - * * @return The eventOpenTrigger. */ com.google.apps.script.type.calendar.CalendarExtensionPoint getEventOpenTrigger(); /** - * - * *
    * An endpoint to trigger when an event is opened (viewed/edited).
    * 
* * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; */ - com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder - getEventOpenTriggerOrBuilder(); + com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder getEventOpenTriggerOrBuilder(); /** - * - * *
    * An endpoint to trigger when the open event is updated.
    * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; - * - * + * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; * @return Whether the eventUpdateTrigger field is set. */ boolean hasEventUpdateTrigger(); /** - * - * *
    * An endpoint to trigger when the open event is updated.
    * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; - * - * + * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; * @return The eventUpdateTrigger. */ com.google.apps.script.type.calendar.CalendarExtensionPoint getEventUpdateTrigger(); /** - * - * *
    * An endpoint to trigger when the open event is updated.
    * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; - * + * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; */ - com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder - getEventUpdateTriggerOrBuilder(); + com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder getEventUpdateTriggerOrBuilder(); /** - * - * *
    * Define the level of data access when an event addon is triggered.
    * 
* - * - * .google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess current_event_access = 12; - * - * + * .google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess current_event_access = 12; * @return The enum numeric value on the wire for currentEventAccess. */ int getCurrentEventAccessValue(); /** - * - * *
    * Define the level of data access when an event addon is triggered.
    * 
* - * - * .google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess current_event_access = 12; - * - * + * .google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess current_event_access = 12; * @return The currentEventAccess. */ com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess getCurrentEventAccess(); diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifestProto.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifestProto.java new file mode 100644 index 00000000..1ac3290c --- /dev/null +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifestProto.java @@ -0,0 +1,106 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/apps/script/type/calendar/calendar_addon_manifest.proto + +package com.google.apps.script.type.calendar; + +public final class CalendarAddOnManifestProto { + private CalendarAddOnManifestProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_apps_script_type_calendar_ConferenceSolution_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_apps_script_type_calendar_ConferenceSolution_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n>google/apps/script/type/calendar/calen" + + "dar_addon_manifest.proto\022 google.apps.sc" + + "ript.type.calendar\032\037google/api/field_beh" + + "avior.proto\032-google/apps/script/type/ext" + + "ension_point.proto\"\277\004\n\025CalendarAddOnMani" + + "fest\022I\n\020homepage_trigger\030\006 \001(\0132/.google." + + "apps.script.type.HomepageExtensionPoint\022" + + "Q\n\023conference_solution\030\003 \003(\01324.google.ap" + + "ps.script.type.calendar.ConferenceSoluti" + + "on\022$\n\034create_settings_url_function\030\005 \001(\t" + + "\022T\n\022event_open_trigger\030\n \001(\01328.google.ap" + + "ps.script.type.calendar.CalendarExtensio" + + "nPoint\022V\n\024event_update_trigger\030\013 \001(\01328.g" + + "oogle.apps.script.type.calendar.Calendar" + + "ExtensionPoint\022a\n\024current_event_access\030\014" + + " \001(\0162C.google.apps.script.type.calendar." + + "CalendarAddOnManifest.EventAccess\"Q\n\013Eve" + + "ntAccess\022\017\n\013UNSPECIFIED\020\000\022\014\n\010METADATA\020\001\022" + + "\010\n\004READ\020\003\022\t\n\005WRITE\020\004\022\016\n\nREAD_WRITE\020\005\"p\n\022" + + "ConferenceSolution\022\037\n\022on_create_function" + + "\030\001 \001(\tB\003\340A\002\022\017\n\002id\030\004 \001(\tB\003\340A\002\022\021\n\004name\030\005 \001" + + "(\tB\003\340A\002\022\025\n\010logo_url\030\006 \001(\tB\003\340A\002\"3\n\026Calend" + + "arExtensionPoint\022\031\n\014run_function\030\001 \001(\tB\003" + + "\340A\002B\362\001\n$com.google.apps.script.type.cale" + + "ndarB\032CalendarAddOnManifestProtoP\001Z?goog" + + "le.golang.org/genproto/googleapis/apps/s" + + "cript/type/calendar\252\002 Google.Apps.Script" + + ".Type.Calendar\312\002 Google\\Apps\\Script\\Type" + + "\\Calendar\352\002$Google::Apps::Script::Type::" + + "Calendarb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.apps.script.type.ExtensionPoint.getDescriptor(), + }); + internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_descriptor, + new java.lang.String[] { "HomepageTrigger", "ConferenceSolution", "CreateSettingsUrlFunction", "EventOpenTrigger", "EventUpdateTrigger", "CurrentEventAccess", }); + internal_static_google_apps_script_type_calendar_ConferenceSolution_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_apps_script_type_calendar_ConferenceSolution_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_apps_script_type_calendar_ConferenceSolution_descriptor, + new java.lang.String[] { "OnCreateFunction", "Id", "Name", "LogoUrl", }); + internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_descriptor, + new java.lang.String[] { "RunFunction", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.apps.script.type.ExtensionPoint.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarExtensionPoint.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarExtensionPoint.java similarity index 70% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarExtensionPoint.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarExtensionPoint.java index 3683bcda..3607e647 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarExtensionPoint.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarExtensionPoint.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/calendar/calendar_addon_manifest.proto package com.google.apps.script.type.calendar; /** - * - * *
  * Common format for declaring a calendar add-on's triggers.
  * 
* * Protobuf type {@code google.apps.script.type.calendar.CalendarExtensionPoint} */ -public final class CalendarExtensionPoint extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CalendarExtensionPoint extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.apps.script.type.calendar.CalendarExtensionPoint) CalendarExtensionPointOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CalendarExtensionPoint.newBuilder() to construct. private CalendarExtensionPoint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CalendarExtensionPoint() { runFunction_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CalendarExtensionPoint(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CalendarExtensionPoint( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private CalendarExtensionPoint( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - runFunction_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + runFunction_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,40 +73,35 @@ private CalendarExtensionPoint( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.apps.script.type.calendar.CalendarAddOnManifestProto - .internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.apps.script.type.calendar.CalendarAddOnManifestProto.internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.calendar.CalendarAddOnManifestProto - .internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_fieldAccessorTable + return com.google.apps.script.type.calendar.CalendarAddOnManifestProto.internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.calendar.CalendarExtensionPoint.class, - com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder.class); + com.google.apps.script.type.calendar.CalendarExtensionPoint.class, com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder.class); } public static final int RUN_FUNCTION_FIELD_NUMBER = 1; private volatile java.lang.Object runFunction_; /** - * - * *
    * Required. The endpoint to execute when this extension point is
    * activated.
    * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The runFunction. */ @java.lang.Override @@ -133,30 +110,30 @@ public java.lang.String getRunFunction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); runFunction_ = s; return s; } } /** - * - * *
    * Required. The endpoint to execute when this extension point is
    * activated.
    * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for runFunction. */ @java.lang.Override - public com.google.protobuf.ByteString getRunFunctionBytes() { + public com.google.protobuf.ByteString + getRunFunctionBytes() { java.lang.Object ref = runFunction_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); runFunction_ = b; return b; } else { @@ -165,7 +142,6 @@ public com.google.protobuf.ByteString getRunFunctionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(runFunction_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, runFunction_); } @@ -201,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.calendar.CalendarExtensionPoint)) { return super.equals(obj); } - com.google.apps.script.type.calendar.CalendarExtensionPoint other = - (com.google.apps.script.type.calendar.CalendarExtensionPoint) obj; + com.google.apps.script.type.calendar.CalendarExtensionPoint other = (com.google.apps.script.type.calendar.CalendarExtensionPoint) obj; - if (!getRunFunction().equals(other.getRunFunction())) return false; + if (!getRunFunction() + .equals(other.getRunFunction())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -229,127 +206,117 @@ public int hashCode() { } public static com.google.apps.script.type.calendar.CalendarExtensionPoint parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.calendar.CalendarExtensionPoint parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.calendar.CalendarExtensionPoint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.calendar.CalendarExtensionPoint parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.calendar.CalendarExtensionPoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.calendar.CalendarExtensionPoint parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.apps.script.type.calendar.CalendarExtensionPoint parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.apps.script.type.calendar.CalendarExtensionPoint parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.calendar.CalendarExtensionPoint parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.apps.script.type.calendar.CalendarExtensionPoint parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.apps.script.type.calendar.CalendarExtensionPoint parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.apps.script.type.calendar.CalendarExtensionPoint parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.calendar.CalendarExtensionPoint parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.calendar.CalendarExtensionPoint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.apps.script.type.calendar.CalendarExtensionPoint prototype) { + public static Builder newBuilder(com.google.apps.script.type.calendar.CalendarExtensionPoint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Common format for declaring a calendar add-on's triggers.
    * 
* * Protobuf type {@code google.apps.script.type.calendar.CalendarExtensionPoint} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.script.type.calendar.CalendarExtensionPoint) com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.apps.script.type.calendar.CalendarAddOnManifestProto - .internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.apps.script.type.calendar.CalendarAddOnManifestProto.internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.calendar.CalendarAddOnManifestProto - .internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_fieldAccessorTable + return com.google.apps.script.type.calendar.CalendarAddOnManifestProto.internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.calendar.CalendarExtensionPoint.class, - com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder.class); + com.google.apps.script.type.calendar.CalendarExtensionPoint.class, com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder.class); } // Construct using com.google.apps.script.type.calendar.CalendarExtensionPoint.newBuilder() @@ -357,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -375,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.apps.script.type.calendar.CalendarAddOnManifestProto - .internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.apps.script.type.calendar.CalendarAddOnManifestProto.internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_descriptor; } @java.lang.Override @@ -396,8 +364,7 @@ public com.google.apps.script.type.calendar.CalendarExtensionPoint build() { @java.lang.Override public com.google.apps.script.type.calendar.CalendarExtensionPoint buildPartial() { - com.google.apps.script.type.calendar.CalendarExtensionPoint result = - new com.google.apps.script.type.calendar.CalendarExtensionPoint(this); + com.google.apps.script.type.calendar.CalendarExtensionPoint result = new com.google.apps.script.type.calendar.CalendarExtensionPoint(this); result.runFunction_ = runFunction_; onBuilt(); return result; @@ -407,39 +374,38 @@ public com.google.apps.script.type.calendar.CalendarExtensionPoint buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.script.type.calendar.CalendarExtensionPoint) { - return mergeFrom((com.google.apps.script.type.calendar.CalendarExtensionPoint) other); + return mergeFrom((com.google.apps.script.type.calendar.CalendarExtensionPoint)other); } else { super.mergeFrom(other); return this; @@ -447,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.apps.script.type.calendar.CalendarExtensionPoint other) { - if (other == com.google.apps.script.type.calendar.CalendarExtensionPoint.getDefaultInstance()) - return this; + if (other == com.google.apps.script.type.calendar.CalendarExtensionPoint.getDefaultInstance()) return this; if (!other.getRunFunction().isEmpty()) { runFunction_ = other.runFunction_; onChanged(); @@ -472,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.apps.script.type.calendar.CalendarExtensionPoint) e.getUnfinishedMessage(); + parsedMessage = (com.google.apps.script.type.calendar.CalendarExtensionPoint) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -485,21 +449,19 @@ public Builder mergeFrom( private java.lang.Object runFunction_ = ""; /** - * - * *
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The runFunction. */ public java.lang.String getRunFunction() { java.lang.Object ref = runFunction_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); runFunction_ = s; return s; @@ -508,22 +470,21 @@ public java.lang.String getRunFunction() { } } /** - * - * *
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for runFunction. */ - public com.google.protobuf.ByteString getRunFunctionBytes() { + public com.google.protobuf.ByteString + getRunFunctionBytes() { java.lang.Object ref = runFunction_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); runFunction_ = b; return b; } else { @@ -531,71 +492,64 @@ public com.google.protobuf.ByteString getRunFunctionBytes() { } } /** - * - * *
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The runFunction to set. * @return This builder for chaining. */ - public Builder setRunFunction(java.lang.String value) { + public Builder setRunFunction( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + runFunction_ = value; onChanged(); return this; } /** - * - * *
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearRunFunction() { - + runFunction_ = getDefaultInstance().getRunFunction(); onChanged(); return this; } /** - * - * *
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for runFunction to set. * @return This builder for chaining. */ - public Builder setRunFunctionBytes(com.google.protobuf.ByteString value) { + public Builder setRunFunctionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + runFunction_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -605,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.apps.script.type.calendar.CalendarExtensionPoint) } // @@protoc_insertion_point(class_scope:google.apps.script.type.calendar.CalendarExtensionPoint) private static final com.google.apps.script.type.calendar.CalendarExtensionPoint DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.apps.script.type.calendar.CalendarExtensionPoint(); } @@ -619,16 +573,16 @@ public static com.google.apps.script.type.calendar.CalendarExtensionPoint getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CalendarExtensionPoint parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CalendarExtensionPoint(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CalendarExtensionPoint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CalendarExtensionPoint(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -643,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.calendar.CalendarExtensionPoint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarExtensionPointOrBuilder.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarExtensionPointOrBuilder.java similarity index 53% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarExtensionPointOrBuilder.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarExtensionPointOrBuilder.java index d2592543..5609426f 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarExtensionPointOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarExtensionPointOrBuilder.java @@ -1,52 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/calendar/calendar_addon_manifest.proto package com.google.apps.script.type.calendar; -public interface CalendarExtensionPointOrBuilder - extends +public interface CalendarExtensionPointOrBuilder extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.calendar.CalendarExtensionPoint) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The endpoint to execute when this extension point is
    * activated.
    * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The runFunction. */ java.lang.String getRunFunction(); /** - * - * *
    * Required. The endpoint to execute when this extension point is
    * activated.
    * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for runFunction. */ - com.google.protobuf.ByteString getRunFunctionBytes(); + com.google.protobuf.ByteString + getRunFunctionBytes(); } diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/ConferenceSolution.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/ConferenceSolution.java similarity index 74% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/ConferenceSolution.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/ConferenceSolution.java index 71589a1c..302bb0ad 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/ConferenceSolution.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/ConferenceSolution.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/calendar/calendar_addon_manifest.proto package com.google.apps.script.type.calendar; /** - * - * *
  * Defines conference related values.
  * 
* * Protobuf type {@code google.apps.script.type.calendar.ConferenceSolution} */ -public final class ConferenceSolution extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ConferenceSolution extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.apps.script.type.calendar.ConferenceSolution) ConferenceSolutionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ConferenceSolution.newBuilder() to construct. private ConferenceSolution(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ConferenceSolution() { onCreateFunction_ = ""; id_ = ""; @@ -46,15 +28,16 @@ private ConferenceSolution() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ConferenceSolution(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ConferenceSolution( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,41 +56,37 @@ private ConferenceSolution( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - onCreateFunction_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + onCreateFunction_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - id_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + id_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); - logoUrl_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + logoUrl_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,39 +94,34 @@ private ConferenceSolution( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.apps.script.type.calendar.CalendarAddOnManifestProto - .internal_static_google_apps_script_type_calendar_ConferenceSolution_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.apps.script.type.calendar.CalendarAddOnManifestProto.internal_static_google_apps_script_type_calendar_ConferenceSolution_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.calendar.CalendarAddOnManifestProto - .internal_static_google_apps_script_type_calendar_ConferenceSolution_fieldAccessorTable + return com.google.apps.script.type.calendar.CalendarAddOnManifestProto.internal_static_google_apps_script_type_calendar_ConferenceSolution_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.calendar.ConferenceSolution.class, - com.google.apps.script.type.calendar.ConferenceSolution.Builder.class); + com.google.apps.script.type.calendar.ConferenceSolution.class, com.google.apps.script.type.calendar.ConferenceSolution.Builder.class); } public static final int ON_CREATE_FUNCTION_FIELD_NUMBER = 1; private volatile java.lang.Object onCreateFunction_; /** - * - * *
    * Required. The endpoint to call when ConferenceData should be created.
    * 
* * string on_create_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The onCreateFunction. */ @java.lang.Override @@ -156,29 +130,29 @@ public java.lang.String getOnCreateFunction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); onCreateFunction_ = s; return s; } } /** - * - * *
    * Required. The endpoint to call when ConferenceData should be created.
    * 
* * string on_create_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for onCreateFunction. */ @java.lang.Override - public com.google.protobuf.ByteString getOnCreateFunctionBytes() { + public com.google.protobuf.ByteString + getOnCreateFunctionBytes() { java.lang.Object ref = onCreateFunction_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); onCreateFunction_ = b; return b; } else { @@ -189,8 +163,6 @@ public com.google.protobuf.ByteString getOnCreateFunctionBytes() { public static final int ID_FIELD_NUMBER = 4; private volatile java.lang.Object id_; /** - * - * *
    * Required. IDs should be unique across ConferenceSolutions within one
    * add-on, but this is not strictly enforced. It is up to the add-on developer
@@ -200,7 +172,6 @@ public com.google.protobuf.ByteString getOnCreateFunctionBytes() {
    * 
* * string id = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The id. */ @java.lang.Override @@ -209,15 +180,14 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
    * Required. IDs should be unique across ConferenceSolutions within one
    * add-on, but this is not strictly enforced. It is up to the add-on developer
@@ -227,15 +197,16 @@ public java.lang.String getId() {
    * 
* * string id = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -246,14 +217,11 @@ public com.google.protobuf.ByteString getIdBytes() { public static final int NAME_FIELD_NUMBER = 5; private volatile java.lang.Object name_; /** - * - * *
    * Required. The display name of the ConferenceSolution.
    * 
* * string name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -262,29 +230,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The display name of the ConferenceSolution.
    * 
* * string name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -295,14 +263,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int LOGO_URL_FIELD_NUMBER = 6; private volatile java.lang.Object logoUrl_; /** - * - * *
    * Required. The URL for the logo image of the ConferenceSolution.
    * 
* * string logo_url = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The logoUrl. */ @java.lang.Override @@ -311,29 +276,29 @@ public java.lang.String getLogoUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); logoUrl_ = s; return s; } } /** - * - * *
    * Required. The URL for the logo image of the ConferenceSolution.
    * 
* * string logo_url = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for logoUrl. */ @java.lang.Override - public com.google.protobuf.ByteString getLogoUrlBytes() { + public com.google.protobuf.ByteString + getLogoUrlBytes() { java.lang.Object ref = logoUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); logoUrl_ = b; return b; } else { @@ -342,7 +307,6 @@ public com.google.protobuf.ByteString getLogoUrlBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -354,7 +318,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(onCreateFunction_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, onCreateFunction_); } @@ -396,18 +361,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.calendar.ConferenceSolution)) { return super.equals(obj); } - com.google.apps.script.type.calendar.ConferenceSolution other = - (com.google.apps.script.type.calendar.ConferenceSolution) obj; - - if (!getOnCreateFunction().equals(other.getOnCreateFunction())) return false; - if (!getId().equals(other.getId())) return false; - if (!getName().equals(other.getName())) return false; - if (!getLogoUrl().equals(other.getLogoUrl())) return false; + com.google.apps.script.type.calendar.ConferenceSolution other = (com.google.apps.script.type.calendar.ConferenceSolution) obj; + + if (!getOnCreateFunction() + .equals(other.getOnCreateFunction())) return false; + if (!getId() + .equals(other.getId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getLogoUrl() + .equals(other.getLogoUrl())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -433,127 +401,117 @@ public int hashCode() { } public static com.google.apps.script.type.calendar.ConferenceSolution parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.calendar.ConferenceSolution parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.calendar.ConferenceSolution parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.calendar.ConferenceSolution parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.calendar.ConferenceSolution parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.calendar.ConferenceSolution parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.apps.script.type.calendar.ConferenceSolution parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.apps.script.type.calendar.ConferenceSolution parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.calendar.ConferenceSolution parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.apps.script.type.calendar.ConferenceSolution parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.apps.script.type.calendar.ConferenceSolution parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.apps.script.type.calendar.ConferenceSolution parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.calendar.ConferenceSolution parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.calendar.ConferenceSolution parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.apps.script.type.calendar.ConferenceSolution prototype) { + public static Builder newBuilder(com.google.apps.script.type.calendar.ConferenceSolution prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Defines conference related values.
    * 
* * Protobuf type {@code google.apps.script.type.calendar.ConferenceSolution} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.script.type.calendar.ConferenceSolution) com.google.apps.script.type.calendar.ConferenceSolutionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.apps.script.type.calendar.CalendarAddOnManifestProto - .internal_static_google_apps_script_type_calendar_ConferenceSolution_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.apps.script.type.calendar.CalendarAddOnManifestProto.internal_static_google_apps_script_type_calendar_ConferenceSolution_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.calendar.CalendarAddOnManifestProto - .internal_static_google_apps_script_type_calendar_ConferenceSolution_fieldAccessorTable + return com.google.apps.script.type.calendar.CalendarAddOnManifestProto.internal_static_google_apps_script_type_calendar_ConferenceSolution_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.calendar.ConferenceSolution.class, - com.google.apps.script.type.calendar.ConferenceSolution.Builder.class); + com.google.apps.script.type.calendar.ConferenceSolution.class, com.google.apps.script.type.calendar.ConferenceSolution.Builder.class); } // Construct using com.google.apps.script.type.calendar.ConferenceSolution.newBuilder() @@ -561,15 +519,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -585,9 +544,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.apps.script.type.calendar.CalendarAddOnManifestProto - .internal_static_google_apps_script_type_calendar_ConferenceSolution_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.apps.script.type.calendar.CalendarAddOnManifestProto.internal_static_google_apps_script_type_calendar_ConferenceSolution_descriptor; } @java.lang.Override @@ -606,8 +565,7 @@ public com.google.apps.script.type.calendar.ConferenceSolution build() { @java.lang.Override public com.google.apps.script.type.calendar.ConferenceSolution buildPartial() { - com.google.apps.script.type.calendar.ConferenceSolution result = - new com.google.apps.script.type.calendar.ConferenceSolution(this); + com.google.apps.script.type.calendar.ConferenceSolution result = new com.google.apps.script.type.calendar.ConferenceSolution(this); result.onCreateFunction_ = onCreateFunction_; result.id_ = id_; result.name_ = name_; @@ -620,39 +578,38 @@ public com.google.apps.script.type.calendar.ConferenceSolution buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.script.type.calendar.ConferenceSolution) { - return mergeFrom((com.google.apps.script.type.calendar.ConferenceSolution) other); + return mergeFrom((com.google.apps.script.type.calendar.ConferenceSolution)other); } else { super.mergeFrom(other); return this; @@ -660,8 +617,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.apps.script.type.calendar.ConferenceSolution other) { - if (other == com.google.apps.script.type.calendar.ConferenceSolution.getDefaultInstance()) - return this; + if (other == com.google.apps.script.type.calendar.ConferenceSolution.getDefaultInstance()) return this; if (!other.getOnCreateFunction().isEmpty()) { onCreateFunction_ = other.onCreateFunction_; onChanged(); @@ -697,8 +653,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.apps.script.type.calendar.ConferenceSolution) e.getUnfinishedMessage(); + parsedMessage = (com.google.apps.script.type.calendar.ConferenceSolution) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -710,20 +665,18 @@ public Builder mergeFrom( private java.lang.Object onCreateFunction_ = ""; /** - * - * *
      * Required. The endpoint to call when ConferenceData should be created.
      * 
* * string on_create_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The onCreateFunction. */ public java.lang.String getOnCreateFunction() { java.lang.Object ref = onCreateFunction_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); onCreateFunction_ = s; return s; @@ -732,21 +685,20 @@ public java.lang.String getOnCreateFunction() { } } /** - * - * *
      * Required. The endpoint to call when ConferenceData should be created.
      * 
* * string on_create_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for onCreateFunction. */ - public com.google.protobuf.ByteString getOnCreateFunctionBytes() { + public com.google.protobuf.ByteString + getOnCreateFunctionBytes() { java.lang.Object ref = onCreateFunction_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); onCreateFunction_ = b; return b; } else { @@ -754,61 +706,54 @@ public com.google.protobuf.ByteString getOnCreateFunctionBytes() { } } /** - * - * *
      * Required. The endpoint to call when ConferenceData should be created.
      * 
* * string on_create_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The onCreateFunction to set. * @return This builder for chaining. */ - public Builder setOnCreateFunction(java.lang.String value) { + public Builder setOnCreateFunction( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + onCreateFunction_ = value; onChanged(); return this; } /** - * - * *
      * Required. The endpoint to call when ConferenceData should be created.
      * 
* * string on_create_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearOnCreateFunction() { - + onCreateFunction_ = getDefaultInstance().getOnCreateFunction(); onChanged(); return this; } /** - * - * *
      * Required. The endpoint to call when ConferenceData should be created.
      * 
* * string on_create_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for onCreateFunction to set. * @return This builder for chaining. */ - public Builder setOnCreateFunctionBytes(com.google.protobuf.ByteString value) { + public Builder setOnCreateFunctionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + onCreateFunction_ = value; onChanged(); return this; @@ -816,8 +761,6 @@ public Builder setOnCreateFunctionBytes(com.google.protobuf.ByteString value) { private java.lang.Object id_ = ""; /** - * - * *
      * Required. IDs should be unique across ConferenceSolutions within one
      * add-on, but this is not strictly enforced. It is up to the add-on developer
@@ -827,13 +770,13 @@ public Builder setOnCreateFunctionBytes(com.google.protobuf.ByteString value) {
      * 
* * string id = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -842,8 +785,6 @@ public java.lang.String getId() { } } /** - * - * *
      * Required. IDs should be unique across ConferenceSolutions within one
      * add-on, but this is not strictly enforced. It is up to the add-on developer
@@ -853,14 +794,15 @@ public java.lang.String getId() {
      * 
* * string id = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -868,8 +810,6 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
      * Required. IDs should be unique across ConferenceSolutions within one
      * add-on, but this is not strictly enforced. It is up to the add-on developer
@@ -879,22 +819,20 @@ public com.google.protobuf.ByteString getIdBytes() {
      * 
* * string id = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { + public Builder setId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** - * - * *
      * Required. IDs should be unique across ConferenceSolutions within one
      * add-on, but this is not strictly enforced. It is up to the add-on developer
@@ -904,18 +842,15 @@ public Builder setId(java.lang.String value) {
      * 
* * string id = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** - * - * *
      * Required. IDs should be unique across ConferenceSolutions within one
      * add-on, but this is not strictly enforced. It is up to the add-on developer
@@ -925,16 +860,16 @@ public Builder clearId() {
      * 
* * string id = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { + public Builder setIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -942,20 +877,18 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
      * Required. The display name of the ConferenceSolution.
      * 
* * string name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -964,21 +897,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The display name of the ConferenceSolution.
      * 
* * string name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -986,61 +918,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The display name of the ConferenceSolution.
      * 
* * string name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The display name of the ConferenceSolution.
      * 
* * string name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The display name of the ConferenceSolution.
      * 
* * string name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1048,20 +973,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object logoUrl_ = ""; /** - * - * *
      * Required. The URL for the logo image of the ConferenceSolution.
      * 
* * string logo_url = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The logoUrl. */ public java.lang.String getLogoUrl() { java.lang.Object ref = logoUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); logoUrl_ = s; return s; @@ -1070,21 +993,20 @@ public java.lang.String getLogoUrl() { } } /** - * - * *
      * Required. The URL for the logo image of the ConferenceSolution.
      * 
* * string logo_url = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for logoUrl. */ - public com.google.protobuf.ByteString getLogoUrlBytes() { + public com.google.protobuf.ByteString + getLogoUrlBytes() { java.lang.Object ref = logoUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); logoUrl_ = b; return b; } else { @@ -1092,68 +1014,61 @@ public com.google.protobuf.ByteString getLogoUrlBytes() { } } /** - * - * *
      * Required. The URL for the logo image of the ConferenceSolution.
      * 
* * string logo_url = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The logoUrl to set. * @return This builder for chaining. */ - public Builder setLogoUrl(java.lang.String value) { + public Builder setLogoUrl( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + logoUrl_ = value; onChanged(); return this; } /** - * - * *
      * Required. The URL for the logo image of the ConferenceSolution.
      * 
* * string logo_url = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearLogoUrl() { - + logoUrl_ = getDefaultInstance().getLogoUrl(); onChanged(); return this; } /** - * - * *
      * Required. The URL for the logo image of the ConferenceSolution.
      * 
* * string logo_url = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for logoUrl to set. * @return This builder for chaining. */ - public Builder setLogoUrlBytes(com.google.protobuf.ByteString value) { + public Builder setLogoUrlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + logoUrl_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1163,12 +1078,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.apps.script.type.calendar.ConferenceSolution) } // @@protoc_insertion_point(class_scope:google.apps.script.type.calendar.ConferenceSolution) private static final com.google.apps.script.type.calendar.ConferenceSolution DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.apps.script.type.calendar.ConferenceSolution(); } @@ -1177,16 +1092,16 @@ public static com.google.apps.script.type.calendar.ConferenceSolution getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConferenceSolution parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ConferenceSolution(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConferenceSolution parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ConferenceSolution(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1201,4 +1116,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.calendar.ConferenceSolution getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/ConferenceSolutionOrBuilder.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/ConferenceSolutionOrBuilder.java similarity index 74% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/ConferenceSolutionOrBuilder.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/ConferenceSolutionOrBuilder.java index e94cba17..c277995d 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/ConferenceSolutionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/ConferenceSolutionOrBuilder.java @@ -1,56 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/calendar/calendar_addon_manifest.proto package com.google.apps.script.type.calendar; -public interface ConferenceSolutionOrBuilder - extends +public interface ConferenceSolutionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.calendar.ConferenceSolution) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The endpoint to call when ConferenceData should be created.
    * 
* * string on_create_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The onCreateFunction. */ java.lang.String getOnCreateFunction(); /** - * - * *
    * Required. The endpoint to call when ConferenceData should be created.
    * 
* * string on_create_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for onCreateFunction. */ - com.google.protobuf.ByteString getOnCreateFunctionBytes(); + com.google.protobuf.ByteString + getOnCreateFunctionBytes(); /** - * - * *
    * Required. IDs should be unique across ConferenceSolutions within one
    * add-on, but this is not strictly enforced. It is up to the add-on developer
@@ -60,13 +37,10 @@ public interface ConferenceSolutionOrBuilder
    * 
* * string id = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The id. */ java.lang.String getId(); /** - * - * *
    * Required. IDs should be unique across ConferenceSolutions within one
    * add-on, but this is not strictly enforced. It is up to the add-on developer
@@ -76,58 +50,48 @@ public interface ConferenceSolutionOrBuilder
    * 
* * string id = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); /** - * - * *
    * Required. The display name of the ConferenceSolution.
    * 
* * string name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The display name of the ConferenceSolution.
    * 
* * string name = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The URL for the logo image of the ConferenceSolution.
    * 
* * string logo_url = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The logoUrl. */ java.lang.String getLogoUrl(); /** - * - * *
    * Required. The URL for the logo image of the ConferenceSolution.
    * 
* * string logo_url = 6 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for logoUrl. */ - com.google.protobuf.ByteString getLogoUrlBytes(); + com.google.protobuf.ByteString + getLogoUrlBytes(); } diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifest.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifest.java similarity index 69% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifest.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifest.java index 515fc19c..afe1109d 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifest.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/docs/docs_addon_manifest.proto package com.google.apps.script.type.docs; /** - * - * *
  * Docs add-on manifest.
  * 
* * Protobuf type {@code google.apps.script.type.docs.DocsAddOnManifest} */ -public final class DocsAddOnManifest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DocsAddOnManifest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.apps.script.type.docs.DocsAddOnManifest) DocsAddOnManifestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DocsAddOnManifest.newBuilder() to construct. private DocsAddOnManifest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private DocsAddOnManifest() {} + private DocsAddOnManifest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DocsAddOnManifest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DocsAddOnManifest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,47 +52,39 @@ private DocsAddOnManifest( case 0: done = true; break; - case 10: - { - com.google.apps.script.type.HomepageExtensionPoint.Builder subBuilder = null; - if (homepageTrigger_ != null) { - subBuilder = homepageTrigger_.toBuilder(); - } - homepageTrigger_ = - input.readMessage( - com.google.apps.script.type.HomepageExtensionPoint.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(homepageTrigger_); - homepageTrigger_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.apps.script.type.HomepageExtensionPoint.Builder subBuilder = null; + if (homepageTrigger_ != null) { + subBuilder = homepageTrigger_.toBuilder(); + } + homepageTrigger_ = input.readMessage(com.google.apps.script.type.HomepageExtensionPoint.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(homepageTrigger_); + homepageTrigger_ = subBuilder.buildPartial(); } - case 18: - { - com.google.apps.script.type.docs.DocsExtensionPoint.Builder subBuilder = null; - if (onFileScopeGrantedTrigger_ != null) { - subBuilder = onFileScopeGrantedTrigger_.toBuilder(); - } - onFileScopeGrantedTrigger_ = - input.readMessage( - com.google.apps.script.type.docs.DocsExtensionPoint.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(onFileScopeGrantedTrigger_); - onFileScopeGrantedTrigger_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.apps.script.type.docs.DocsExtensionPoint.Builder subBuilder = null; + if (onFileScopeGrantedTrigger_ != null) { + subBuilder = onFileScopeGrantedTrigger_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + onFileScopeGrantedTrigger_ = input.readMessage(com.google.apps.script.type.docs.DocsExtensionPoint.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(onFileScopeGrantedTrigger_); + onFileScopeGrantedTrigger_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -116,40 +92,35 @@ private DocsAddOnManifest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.apps.script.type.docs.DocsAddOnManifestProto - .internal_static_google_apps_script_type_docs_DocsAddOnManifest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.apps.script.type.docs.DocsAddOnManifestProto.internal_static_google_apps_script_type_docs_DocsAddOnManifest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.docs.DocsAddOnManifestProto - .internal_static_google_apps_script_type_docs_DocsAddOnManifest_fieldAccessorTable + return com.google.apps.script.type.docs.DocsAddOnManifestProto.internal_static_google_apps_script_type_docs_DocsAddOnManifest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.docs.DocsAddOnManifest.class, - com.google.apps.script.type.docs.DocsAddOnManifest.Builder.class); + com.google.apps.script.type.docs.DocsAddOnManifest.class, com.google.apps.script.type.docs.DocsAddOnManifest.Builder.class); } public static final int HOMEPAGE_TRIGGER_FIELD_NUMBER = 1; private com.google.apps.script.type.HomepageExtensionPoint homepageTrigger_; /** - * - * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1; - * * @return Whether the homepageTrigger field is set. */ @java.lang.Override @@ -157,26 +128,19 @@ public boolean hasHomepageTrigger() { return homepageTrigger_ != null; } /** - * - * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1; - * * @return The homepageTrigger. */ @java.lang.Override public com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger() { - return homepageTrigger_ == null - ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() - : homepageTrigger_; + return homepageTrigger_ == null ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_; } /** - * - * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
@@ -192,16 +156,12 @@ public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTr
   public static final int ON_FILE_SCOPE_GRANTED_TRIGGER_FIELD_NUMBER = 2;
   private com.google.apps.script.type.docs.DocsExtensionPoint onFileScopeGrantedTrigger_;
   /**
-   *
-   *
    * 
    * Endpoint to execute when file scope authorization is granted
    * for this document/user pair.
    * 
* - * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; - * - * + * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; * @return Whether the onFileScopeGrantedTrigger field is set. */ @java.lang.Override @@ -209,43 +169,32 @@ public boolean hasOnFileScopeGrantedTrigger() { return onFileScopeGrantedTrigger_ != null; } /** - * - * *
    * Endpoint to execute when file scope authorization is granted
    * for this document/user pair.
    * 
* - * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; - * - * + * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; * @return The onFileScopeGrantedTrigger. */ @java.lang.Override public com.google.apps.script.type.docs.DocsExtensionPoint getOnFileScopeGrantedTrigger() { - return onFileScopeGrantedTrigger_ == null - ? com.google.apps.script.type.docs.DocsExtensionPoint.getDefaultInstance() - : onFileScopeGrantedTrigger_; + return onFileScopeGrantedTrigger_ == null ? com.google.apps.script.type.docs.DocsExtensionPoint.getDefaultInstance() : onFileScopeGrantedTrigger_; } /** - * - * *
    * Endpoint to execute when file scope authorization is granted
    * for this document/user pair.
    * 
* - * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; - * + * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; */ @java.lang.Override - public com.google.apps.script.type.docs.DocsExtensionPointOrBuilder - getOnFileScopeGrantedTriggerOrBuilder() { + public com.google.apps.script.type.docs.DocsExtensionPointOrBuilder getOnFileScopeGrantedTriggerOrBuilder() { return getOnFileScopeGrantedTrigger(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -257,7 +206,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (homepageTrigger_ != null) { output.writeMessage(1, getHomepageTrigger()); } @@ -274,12 +224,12 @@ public int getSerializedSize() { size = 0; if (homepageTrigger_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getHomepageTrigger()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getHomepageTrigger()); } if (onFileScopeGrantedTrigger_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, getOnFileScopeGrantedTrigger()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getOnFileScopeGrantedTrigger()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -289,22 +239,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.docs.DocsAddOnManifest)) { return super.equals(obj); } - com.google.apps.script.type.docs.DocsAddOnManifest other = - (com.google.apps.script.type.docs.DocsAddOnManifest) obj; + com.google.apps.script.type.docs.DocsAddOnManifest other = (com.google.apps.script.type.docs.DocsAddOnManifest) obj; if (hasHomepageTrigger() != other.hasHomepageTrigger()) return false; if (hasHomepageTrigger()) { - if (!getHomepageTrigger().equals(other.getHomepageTrigger())) return false; + if (!getHomepageTrigger() + .equals(other.getHomepageTrigger())) return false; } if (hasOnFileScopeGrantedTrigger() != other.hasOnFileScopeGrantedTrigger()) return false; if (hasOnFileScopeGrantedTrigger()) { - if (!getOnFileScopeGrantedTrigger().equals(other.getOnFileScopeGrantedTrigger())) - return false; + if (!getOnFileScopeGrantedTrigger() + .equals(other.getOnFileScopeGrantedTrigger())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -331,126 +281,117 @@ public int hashCode() { } public static com.google.apps.script.type.docs.DocsAddOnManifest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.docs.DocsAddOnManifest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.docs.DocsAddOnManifest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.docs.DocsAddOnManifest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.docs.DocsAddOnManifest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.docs.DocsAddOnManifest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.apps.script.type.docs.DocsAddOnManifest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.apps.script.type.docs.DocsAddOnManifest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.docs.DocsAddOnManifest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.apps.script.type.docs.DocsAddOnManifest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.apps.script.type.docs.DocsAddOnManifest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.apps.script.type.docs.DocsAddOnManifest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.docs.DocsAddOnManifest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.docs.DocsAddOnManifest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.apps.script.type.docs.DocsAddOnManifest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Docs add-on manifest.
    * 
* * Protobuf type {@code google.apps.script.type.docs.DocsAddOnManifest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.script.type.docs.DocsAddOnManifest) com.google.apps.script.type.docs.DocsAddOnManifestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.apps.script.type.docs.DocsAddOnManifestProto - .internal_static_google_apps_script_type_docs_DocsAddOnManifest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.apps.script.type.docs.DocsAddOnManifestProto.internal_static_google_apps_script_type_docs_DocsAddOnManifest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.docs.DocsAddOnManifestProto - .internal_static_google_apps_script_type_docs_DocsAddOnManifest_fieldAccessorTable + return com.google.apps.script.type.docs.DocsAddOnManifestProto.internal_static_google_apps_script_type_docs_DocsAddOnManifest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.docs.DocsAddOnManifest.class, - com.google.apps.script.type.docs.DocsAddOnManifest.Builder.class); + com.google.apps.script.type.docs.DocsAddOnManifest.class, com.google.apps.script.type.docs.DocsAddOnManifest.Builder.class); } // Construct using com.google.apps.script.type.docs.DocsAddOnManifest.newBuilder() @@ -458,15 +399,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -486,9 +428,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.apps.script.type.docs.DocsAddOnManifestProto - .internal_static_google_apps_script_type_docs_DocsAddOnManifest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.apps.script.type.docs.DocsAddOnManifestProto.internal_static_google_apps_script_type_docs_DocsAddOnManifest_descriptor; } @java.lang.Override @@ -507,8 +449,7 @@ public com.google.apps.script.type.docs.DocsAddOnManifest build() { @java.lang.Override public com.google.apps.script.type.docs.DocsAddOnManifest buildPartial() { - com.google.apps.script.type.docs.DocsAddOnManifest result = - new com.google.apps.script.type.docs.DocsAddOnManifest(this); + com.google.apps.script.type.docs.DocsAddOnManifest result = new com.google.apps.script.type.docs.DocsAddOnManifest(this); if (homepageTriggerBuilder_ == null) { result.homepageTrigger_ = homepageTrigger_; } else { @@ -527,39 +468,38 @@ public com.google.apps.script.type.docs.DocsAddOnManifest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.script.type.docs.DocsAddOnManifest) { - return mergeFrom((com.google.apps.script.type.docs.DocsAddOnManifest) other); + return mergeFrom((com.google.apps.script.type.docs.DocsAddOnManifest)other); } else { super.mergeFrom(other); return this; @@ -567,8 +507,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.apps.script.type.docs.DocsAddOnManifest other) { - if (other == com.google.apps.script.type.docs.DocsAddOnManifest.getDefaultInstance()) - return this; + if (other == com.google.apps.script.type.docs.DocsAddOnManifest.getDefaultInstance()) return this; if (other.hasHomepageTrigger()) { mergeHomepageTrigger(other.getHomepageTrigger()); } @@ -594,8 +533,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.apps.script.type.docs.DocsAddOnManifest) e.getUnfinishedMessage(); + parsedMessage = (com.google.apps.script.type.docs.DocsAddOnManifest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -607,49 +545,36 @@ public Builder mergeFrom( private com.google.apps.script.type.HomepageExtensionPoint homepageTrigger_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.HomepageExtensionPoint, - com.google.apps.script.type.HomepageExtensionPoint.Builder, - com.google.apps.script.type.HomepageExtensionPointOrBuilder> - homepageTriggerBuilder_; + com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder> homepageTriggerBuilder_; /** - * - * *
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
      * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1; - * * @return Whether the homepageTrigger field is set. */ public boolean hasHomepageTrigger() { return homepageTriggerBuilder_ != null || homepageTrigger_ != null; } /** - * - * *
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
      * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1; - * * @return The homepageTrigger. */ public com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger() { if (homepageTriggerBuilder_ == null) { - return homepageTrigger_ == null - ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() - : homepageTrigger_; + return homepageTrigger_ == null ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_; } else { return homepageTriggerBuilder_.getMessage(); } } /** - * - * *
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -671,8 +596,6 @@ public Builder setHomepageTrigger(com.google.apps.script.type.HomepageExtensionP
       return this;
     }
     /**
-     *
-     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -692,8 +615,6 @@ public Builder setHomepageTrigger(
       return this;
     }
     /**
-     *
-     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -705,9 +626,7 @@ public Builder mergeHomepageTrigger(com.google.apps.script.type.HomepageExtensio
       if (homepageTriggerBuilder_ == null) {
         if (homepageTrigger_ != null) {
           homepageTrigger_ =
-              com.google.apps.script.type.HomepageExtensionPoint.newBuilder(homepageTrigger_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.apps.script.type.HomepageExtensionPoint.newBuilder(homepageTrigger_).mergeFrom(value).buildPartial();
         } else {
           homepageTrigger_ = value;
         }
@@ -719,8 +638,6 @@ public Builder mergeHomepageTrigger(com.google.apps.script.type.HomepageExtensio
       return this;
     }
     /**
-     *
-     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -740,8 +657,6 @@ public Builder clearHomepageTrigger() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -750,13 +665,11 @@ public Builder clearHomepageTrigger() {
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
      */
     public com.google.apps.script.type.HomepageExtensionPoint.Builder getHomepageTriggerBuilder() {
-
+      
       onChanged();
       return getHomepageTriggerFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -764,19 +677,15 @@ public com.google.apps.script.type.HomepageExtensionPoint.Builder getHomepageTri
      *
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
      */
-    public com.google.apps.script.type.HomepageExtensionPointOrBuilder
-        getHomepageTriggerOrBuilder() {
+    public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder() {
       if (homepageTriggerBuilder_ != null) {
         return homepageTriggerBuilder_.getMessageOrBuilder();
       } else {
-        return homepageTrigger_ == null
-            ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance()
-            : homepageTrigger_;
+        return homepageTrigger_ == null ?
+            com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_;
       }
     }
     /**
-     *
-     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -785,17 +694,14 @@ public com.google.apps.script.type.HomepageExtensionPoint.Builder getHomepageTri
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.apps.script.type.HomepageExtensionPoint,
-            com.google.apps.script.type.HomepageExtensionPoint.Builder,
-            com.google.apps.script.type.HomepageExtensionPointOrBuilder>
+        com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder> 
         getHomepageTriggerFieldBuilder() {
       if (homepageTriggerBuilder_ == null) {
-        homepageTriggerBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.apps.script.type.HomepageExtensionPoint,
-                com.google.apps.script.type.HomepageExtensionPoint.Builder,
-                com.google.apps.script.type.HomepageExtensionPointOrBuilder>(
-                getHomepageTrigger(), getParentForChildren(), isClean());
+        homepageTriggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder>(
+                getHomepageTrigger(),
+                getParentForChildren(),
+                isClean());
         homepageTrigger_ = null;
       }
       return homepageTriggerBuilder_;
@@ -803,61 +709,44 @@ public com.google.apps.script.type.HomepageExtensionPoint.Builder getHomepageTri
 
     private com.google.apps.script.type.docs.DocsExtensionPoint onFileScopeGrantedTrigger_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.apps.script.type.docs.DocsExtensionPoint,
-            com.google.apps.script.type.docs.DocsExtensionPoint.Builder,
-            com.google.apps.script.type.docs.DocsExtensionPointOrBuilder>
-        onFileScopeGrantedTriggerBuilder_;
+        com.google.apps.script.type.docs.DocsExtensionPoint, com.google.apps.script.type.docs.DocsExtensionPoint.Builder, com.google.apps.script.type.docs.DocsExtensionPointOrBuilder> onFileScopeGrantedTriggerBuilder_;
     /**
-     *
-     *
      * 
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; - * - * + * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; * @return Whether the onFileScopeGrantedTrigger field is set. */ public boolean hasOnFileScopeGrantedTrigger() { return onFileScopeGrantedTriggerBuilder_ != null || onFileScopeGrantedTrigger_ != null; } /** - * - * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; - * - * + * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; * @return The onFileScopeGrantedTrigger. */ public com.google.apps.script.type.docs.DocsExtensionPoint getOnFileScopeGrantedTrigger() { if (onFileScopeGrantedTriggerBuilder_ == null) { - return onFileScopeGrantedTrigger_ == null - ? com.google.apps.script.type.docs.DocsExtensionPoint.getDefaultInstance() - : onFileScopeGrantedTrigger_; + return onFileScopeGrantedTrigger_ == null ? com.google.apps.script.type.docs.DocsExtensionPoint.getDefaultInstance() : onFileScopeGrantedTrigger_; } else { return onFileScopeGrantedTriggerBuilder_.getMessage(); } } /** - * - * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; - * + * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; */ - public Builder setOnFileScopeGrantedTrigger( - com.google.apps.script.type.docs.DocsExtensionPoint value) { + public Builder setOnFileScopeGrantedTrigger(com.google.apps.script.type.docs.DocsExtensionPoint value) { if (onFileScopeGrantedTriggerBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -871,15 +760,12 @@ public Builder setOnFileScopeGrantedTrigger( return this; } /** - * - * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; - * + * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; */ public Builder setOnFileScopeGrantedTrigger( com.google.apps.script.type.docs.DocsExtensionPoint.Builder builderForValue) { @@ -893,25 +779,18 @@ public Builder setOnFileScopeGrantedTrigger( return this; } /** - * - * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; - * + * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; */ - public Builder mergeOnFileScopeGrantedTrigger( - com.google.apps.script.type.docs.DocsExtensionPoint value) { + public Builder mergeOnFileScopeGrantedTrigger(com.google.apps.script.type.docs.DocsExtensionPoint value) { if (onFileScopeGrantedTriggerBuilder_ == null) { if (onFileScopeGrantedTrigger_ != null) { onFileScopeGrantedTrigger_ = - com.google.apps.script.type.docs.DocsExtensionPoint.newBuilder( - onFileScopeGrantedTrigger_) - .mergeFrom(value) - .buildPartial(); + com.google.apps.script.type.docs.DocsExtensionPoint.newBuilder(onFileScopeGrantedTrigger_).mergeFrom(value).buildPartial(); } else { onFileScopeGrantedTrigger_ = value; } @@ -923,15 +802,12 @@ public Builder mergeOnFileScopeGrantedTrigger( return this; } /** - * - * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; - * + * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; */ public Builder clearOnFileScopeGrantedTrigger() { if (onFileScopeGrantedTriggerBuilder_ == null) { @@ -945,73 +821,58 @@ public Builder clearOnFileScopeGrantedTrigger() { return this; } /** - * - * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; - * + * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; */ - public com.google.apps.script.type.docs.DocsExtensionPoint.Builder - getOnFileScopeGrantedTriggerBuilder() { - + public com.google.apps.script.type.docs.DocsExtensionPoint.Builder getOnFileScopeGrantedTriggerBuilder() { + onChanged(); return getOnFileScopeGrantedTriggerFieldBuilder().getBuilder(); } /** - * - * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; - * + * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; */ - public com.google.apps.script.type.docs.DocsExtensionPointOrBuilder - getOnFileScopeGrantedTriggerOrBuilder() { + public com.google.apps.script.type.docs.DocsExtensionPointOrBuilder getOnFileScopeGrantedTriggerOrBuilder() { if (onFileScopeGrantedTriggerBuilder_ != null) { return onFileScopeGrantedTriggerBuilder_.getMessageOrBuilder(); } else { - return onFileScopeGrantedTrigger_ == null - ? com.google.apps.script.type.docs.DocsExtensionPoint.getDefaultInstance() - : onFileScopeGrantedTrigger_; + return onFileScopeGrantedTrigger_ == null ? + com.google.apps.script.type.docs.DocsExtensionPoint.getDefaultInstance() : onFileScopeGrantedTrigger_; } } /** - * - * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; - * + * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.docs.DocsExtensionPoint, - com.google.apps.script.type.docs.DocsExtensionPoint.Builder, - com.google.apps.script.type.docs.DocsExtensionPointOrBuilder> + com.google.apps.script.type.docs.DocsExtensionPoint, com.google.apps.script.type.docs.DocsExtensionPoint.Builder, com.google.apps.script.type.docs.DocsExtensionPointOrBuilder> getOnFileScopeGrantedTriggerFieldBuilder() { if (onFileScopeGrantedTriggerBuilder_ == null) { - onFileScopeGrantedTriggerBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.docs.DocsExtensionPoint, - com.google.apps.script.type.docs.DocsExtensionPoint.Builder, - com.google.apps.script.type.docs.DocsExtensionPointOrBuilder>( - getOnFileScopeGrantedTrigger(), getParentForChildren(), isClean()); + onFileScopeGrantedTriggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.apps.script.type.docs.DocsExtensionPoint, com.google.apps.script.type.docs.DocsExtensionPoint.Builder, com.google.apps.script.type.docs.DocsExtensionPointOrBuilder>( + getOnFileScopeGrantedTrigger(), + getParentForChildren(), + isClean()); onFileScopeGrantedTrigger_ = null; } return onFileScopeGrantedTriggerBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1021,12 +882,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.apps.script.type.docs.DocsAddOnManifest) } // @@protoc_insertion_point(class_scope:google.apps.script.type.docs.DocsAddOnManifest) private static final com.google.apps.script.type.docs.DocsAddOnManifest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.apps.script.type.docs.DocsAddOnManifest(); } @@ -1035,16 +896,16 @@ public static com.google.apps.script.type.docs.DocsAddOnManifest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DocsAddOnManifest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DocsAddOnManifest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DocsAddOnManifest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DocsAddOnManifest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1059,4 +920,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.docs.DocsAddOnManifest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifestOrBuilder.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifestOrBuilder.java similarity index 68% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifestOrBuilder.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifestOrBuilder.java index 84584203..8e09eac3 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifestOrBuilder.java @@ -1,57 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/docs/docs_addon_manifest.proto package com.google.apps.script.type.docs; -public interface DocsAddOnManifestOrBuilder - extends +public interface DocsAddOnManifestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.docs.DocsAddOnManifest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1; - * * @return Whether the homepageTrigger field is set. */ boolean hasHomepageTrigger(); /** - * - * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1; - * * @return The homepageTrigger. */ com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger(); /** - * - * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
@@ -62,44 +38,32 @@ public interface DocsAddOnManifestOrBuilder
   com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder();
 
   /**
-   *
-   *
    * 
    * Endpoint to execute when file scope authorization is granted
    * for this document/user pair.
    * 
* - * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; - * - * + * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; * @return Whether the onFileScopeGrantedTrigger field is set. */ boolean hasOnFileScopeGrantedTrigger(); /** - * - * *
    * Endpoint to execute when file scope authorization is granted
    * for this document/user pair.
    * 
* - * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; - * - * + * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; * @return The onFileScopeGrantedTrigger. */ com.google.apps.script.type.docs.DocsExtensionPoint getOnFileScopeGrantedTrigger(); /** - * - * *
    * Endpoint to execute when file scope authorization is granted
    * for this document/user pair.
    * 
* - * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; - * + * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; */ - com.google.apps.script.type.docs.DocsExtensionPointOrBuilder - getOnFileScopeGrantedTriggerOrBuilder(); + com.google.apps.script.type.docs.DocsExtensionPointOrBuilder getOnFileScopeGrantedTriggerOrBuilder(); } diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifestProto.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifestProto.java new file mode 100644 index 00000000..f561fe8f --- /dev/null +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifestProto.java @@ -0,0 +1,81 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/apps/script/type/docs/docs_addon_manifest.proto + +package com.google.apps.script.type.docs; + +public final class DocsAddOnManifestProto { + private DocsAddOnManifestProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_apps_script_type_docs_DocsAddOnManifest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_apps_script_type_docs_DocsAddOnManifest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_apps_script_type_docs_DocsExtensionPoint_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_apps_script_type_docs_DocsExtensionPoint_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n6google/apps/script/type/docs/docs_addo" + + "n_manifest.proto\022\034google.apps.script.typ" + + "e.docs\032\037google/api/field_behavior.proto\032" + + "-google/apps/script/type/extension_point" + + ".proto\"\267\001\n\021DocsAddOnManifest\022I\n\020homepage" + + "_trigger\030\001 \001(\0132/.google.apps.script.type" + + ".HomepageExtensionPoint\022W\n\035on_file_scope" + + "_granted_trigger\030\002 \001(\01320.google.apps.scr" + + "ipt.type.docs.DocsExtensionPoint\"/\n\022Docs" + + "ExtensionPoint\022\031\n\014run_function\030\001 \001(\tB\003\340A" + + "\002B\332\001\n com.google.apps.script.type.docsB\026" + + "DocsAddOnManifestProtoP\001Z;google.golang." + + "org/genproto/googleapis/apps/script/type" + + "/docs\252\002\034Google.Apps.Script.Type.Docs\312\002\034G" + + "oogle\\Apps\\Script\\Type\\Docs\352\002 Google::Ap" + + "ps::Script::Type::Docsb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.apps.script.type.ExtensionPoint.getDescriptor(), + }); + internal_static_google_apps_script_type_docs_DocsAddOnManifest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_apps_script_type_docs_DocsAddOnManifest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_apps_script_type_docs_DocsAddOnManifest_descriptor, + new java.lang.String[] { "HomepageTrigger", "OnFileScopeGrantedTrigger", }); + internal_static_google_apps_script_type_docs_DocsExtensionPoint_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_apps_script_type_docs_DocsExtensionPoint_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_apps_script_type_docs_DocsExtensionPoint_descriptor, + new java.lang.String[] { "RunFunction", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.apps.script.type.ExtensionPoint.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsExtensionPoint.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsExtensionPoint.java similarity index 70% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsExtensionPoint.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsExtensionPoint.java index 6ebe2ae9..ae845746 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsExtensionPoint.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsExtensionPoint.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/docs/docs_addon_manifest.proto package com.google.apps.script.type.docs; /** - * - * *
  * Common format for declaring a Docs add-on's triggers.
  * 
* * Protobuf type {@code google.apps.script.type.docs.DocsExtensionPoint} */ -public final class DocsExtensionPoint extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DocsExtensionPoint extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.apps.script.type.docs.DocsExtensionPoint) DocsExtensionPointOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DocsExtensionPoint.newBuilder() to construct. private DocsExtensionPoint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DocsExtensionPoint() { runFunction_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DocsExtensionPoint(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DocsExtensionPoint( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DocsExtensionPoint( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - runFunction_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + runFunction_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private DocsExtensionPoint( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.apps.script.type.docs.DocsAddOnManifestProto - .internal_static_google_apps_script_type_docs_DocsExtensionPoint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.apps.script.type.docs.DocsAddOnManifestProto.internal_static_google_apps_script_type_docs_DocsExtensionPoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.docs.DocsAddOnManifestProto - .internal_static_google_apps_script_type_docs_DocsExtensionPoint_fieldAccessorTable + return com.google.apps.script.type.docs.DocsAddOnManifestProto.internal_static_google_apps_script_type_docs_DocsExtensionPoint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.docs.DocsExtensionPoint.class, - com.google.apps.script.type.docs.DocsExtensionPoint.Builder.class); + com.google.apps.script.type.docs.DocsExtensionPoint.class, com.google.apps.script.type.docs.DocsExtensionPoint.Builder.class); } public static final int RUN_FUNCTION_FIELD_NUMBER = 1; private volatile java.lang.Object runFunction_; /** - * - * *
    * Required. The endpoint to execute when this extension point is activated.
    * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The runFunction. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getRunFunction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); runFunction_ = s; return s; } } /** - * - * *
    * Required. The endpoint to execute when this extension point is activated.
    * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for runFunction. */ @java.lang.Override - public com.google.protobuf.ByteString getRunFunctionBytes() { + public com.google.protobuf.ByteString + getRunFunctionBytes() { java.lang.Object ref = runFunction_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); runFunction_ = b; return b; } else { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getRunFunctionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(runFunction_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, runFunction_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.docs.DocsExtensionPoint)) { return super.equals(obj); } - com.google.apps.script.type.docs.DocsExtensionPoint other = - (com.google.apps.script.type.docs.DocsExtensionPoint) obj; + com.google.apps.script.type.docs.DocsExtensionPoint other = (com.google.apps.script.type.docs.DocsExtensionPoint) obj; - if (!getRunFunction().equals(other.getRunFunction())) return false; + if (!getRunFunction() + .equals(other.getRunFunction())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,126 +204,117 @@ public int hashCode() { } public static com.google.apps.script.type.docs.DocsExtensionPoint parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.docs.DocsExtensionPoint parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.docs.DocsExtensionPoint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.docs.DocsExtensionPoint parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.docs.DocsExtensionPoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.docs.DocsExtensionPoint parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.apps.script.type.docs.DocsExtensionPoint parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.apps.script.type.docs.DocsExtensionPoint parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.docs.DocsExtensionPoint parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.apps.script.type.docs.DocsExtensionPoint parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.apps.script.type.docs.DocsExtensionPoint parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.apps.script.type.docs.DocsExtensionPoint parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.docs.DocsExtensionPoint parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.docs.DocsExtensionPoint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.apps.script.type.docs.DocsExtensionPoint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Common format for declaring a Docs add-on's triggers.
    * 
* * Protobuf type {@code google.apps.script.type.docs.DocsExtensionPoint} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.script.type.docs.DocsExtensionPoint) com.google.apps.script.type.docs.DocsExtensionPointOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.apps.script.type.docs.DocsAddOnManifestProto - .internal_static_google_apps_script_type_docs_DocsExtensionPoint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.apps.script.type.docs.DocsAddOnManifestProto.internal_static_google_apps_script_type_docs_DocsExtensionPoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.docs.DocsAddOnManifestProto - .internal_static_google_apps_script_type_docs_DocsExtensionPoint_fieldAccessorTable + return com.google.apps.script.type.docs.DocsAddOnManifestProto.internal_static_google_apps_script_type_docs_DocsExtensionPoint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.docs.DocsExtensionPoint.class, - com.google.apps.script.type.docs.DocsExtensionPoint.Builder.class); + com.google.apps.script.type.docs.DocsExtensionPoint.class, com.google.apps.script.type.docs.DocsExtensionPoint.Builder.class); } // Construct using com.google.apps.script.type.docs.DocsExtensionPoint.newBuilder() @@ -354,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -372,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.apps.script.type.docs.DocsAddOnManifestProto - .internal_static_google_apps_script_type_docs_DocsExtensionPoint_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.apps.script.type.docs.DocsAddOnManifestProto.internal_static_google_apps_script_type_docs_DocsExtensionPoint_descriptor; } @java.lang.Override @@ -393,8 +362,7 @@ public com.google.apps.script.type.docs.DocsExtensionPoint build() { @java.lang.Override public com.google.apps.script.type.docs.DocsExtensionPoint buildPartial() { - com.google.apps.script.type.docs.DocsExtensionPoint result = - new com.google.apps.script.type.docs.DocsExtensionPoint(this); + com.google.apps.script.type.docs.DocsExtensionPoint result = new com.google.apps.script.type.docs.DocsExtensionPoint(this); result.runFunction_ = runFunction_; onBuilt(); return result; @@ -404,39 +372,38 @@ public com.google.apps.script.type.docs.DocsExtensionPoint buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.script.type.docs.DocsExtensionPoint) { - return mergeFrom((com.google.apps.script.type.docs.DocsExtensionPoint) other); + return mergeFrom((com.google.apps.script.type.docs.DocsExtensionPoint)other); } else { super.mergeFrom(other); return this; @@ -444,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.apps.script.type.docs.DocsExtensionPoint other) { - if (other == com.google.apps.script.type.docs.DocsExtensionPoint.getDefaultInstance()) - return this; + if (other == com.google.apps.script.type.docs.DocsExtensionPoint.getDefaultInstance()) return this; if (!other.getRunFunction().isEmpty()) { runFunction_ = other.runFunction_; onChanged(); @@ -469,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.apps.script.type.docs.DocsExtensionPoint) e.getUnfinishedMessage(); + parsedMessage = (com.google.apps.script.type.docs.DocsExtensionPoint) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -482,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object runFunction_ = ""; /** - * - * *
      * Required. The endpoint to execute when this extension point is activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The runFunction. */ public java.lang.String getRunFunction() { java.lang.Object ref = runFunction_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); runFunction_ = s; return s; @@ -504,21 +467,20 @@ public java.lang.String getRunFunction() { } } /** - * - * *
      * Required. The endpoint to execute when this extension point is activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for runFunction. */ - public com.google.protobuf.ByteString getRunFunctionBytes() { + public com.google.protobuf.ByteString + getRunFunctionBytes() { java.lang.Object ref = runFunction_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); runFunction_ = b; return b; } else { @@ -526,68 +488,61 @@ public com.google.protobuf.ByteString getRunFunctionBytes() { } } /** - * - * *
      * Required. The endpoint to execute when this extension point is activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The runFunction to set. * @return This builder for chaining. */ - public Builder setRunFunction(java.lang.String value) { + public Builder setRunFunction( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + runFunction_ = value; onChanged(); return this; } /** - * - * *
      * Required. The endpoint to execute when this extension point is activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearRunFunction() { - + runFunction_ = getDefaultInstance().getRunFunction(); onChanged(); return this; } /** - * - * *
      * Required. The endpoint to execute when this extension point is activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for runFunction to set. * @return This builder for chaining. */ - public Builder setRunFunctionBytes(com.google.protobuf.ByteString value) { + public Builder setRunFunctionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + runFunction_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -597,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.apps.script.type.docs.DocsExtensionPoint) } // @@protoc_insertion_point(class_scope:google.apps.script.type.docs.DocsExtensionPoint) private static final com.google.apps.script.type.docs.DocsExtensionPoint DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.apps.script.type.docs.DocsExtensionPoint(); } @@ -611,16 +566,16 @@ public static com.google.apps.script.type.docs.DocsExtensionPoint getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DocsExtensionPoint parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DocsExtensionPoint(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DocsExtensionPoint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DocsExtensionPoint(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -635,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.docs.DocsExtensionPoint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsExtensionPointOrBuilder.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsExtensionPointOrBuilder.java similarity index 52% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsExtensionPointOrBuilder.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsExtensionPointOrBuilder.java index 22373352..628d7788 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsExtensionPointOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsExtensionPointOrBuilder.java @@ -1,50 +1,29 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/docs/docs_addon_manifest.proto package com.google.apps.script.type.docs; -public interface DocsExtensionPointOrBuilder - extends +public interface DocsExtensionPointOrBuilder extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.docs.DocsExtensionPoint) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The endpoint to execute when this extension point is activated.
    * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The runFunction. */ java.lang.String getRunFunction(); /** - * - * *
    * Required. The endpoint to execute when this extension point is activated.
    * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for runFunction. */ - com.google.protobuf.ByteString getRunFunctionBytes(); + com.google.protobuf.ByteString + getRunFunctionBytes(); } diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifest.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifest.java similarity index 70% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifest.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifest.java index 8a1f517c..d4d0b435 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifest.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/drive/drive_addon_manifest.proto package com.google.apps.script.type.drive; /** - * - * *
  * Drive add-on manifest.
  * 
* * Protobuf type {@code google.apps.script.type.drive.DriveAddOnManifest} */ -public final class DriveAddOnManifest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DriveAddOnManifest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.apps.script.type.drive.DriveAddOnManifest) DriveAddOnManifestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DriveAddOnManifest.newBuilder() to construct. private DriveAddOnManifest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private DriveAddOnManifest() {} + private DriveAddOnManifest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DriveAddOnManifest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DriveAddOnManifest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,47 +52,39 @@ private DriveAddOnManifest( case 0: done = true; break; - case 10: - { - com.google.apps.script.type.HomepageExtensionPoint.Builder subBuilder = null; - if (homepageTrigger_ != null) { - subBuilder = homepageTrigger_.toBuilder(); - } - homepageTrigger_ = - input.readMessage( - com.google.apps.script.type.HomepageExtensionPoint.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(homepageTrigger_); - homepageTrigger_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.apps.script.type.HomepageExtensionPoint.Builder subBuilder = null; + if (homepageTrigger_ != null) { + subBuilder = homepageTrigger_.toBuilder(); + } + homepageTrigger_ = input.readMessage(com.google.apps.script.type.HomepageExtensionPoint.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(homepageTrigger_); + homepageTrigger_ = subBuilder.buildPartial(); } - case 18: - { - com.google.apps.script.type.drive.DriveExtensionPoint.Builder subBuilder = null; - if (onItemsSelectedTrigger_ != null) { - subBuilder = onItemsSelectedTrigger_.toBuilder(); - } - onItemsSelectedTrigger_ = - input.readMessage( - com.google.apps.script.type.drive.DriveExtensionPoint.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(onItemsSelectedTrigger_); - onItemsSelectedTrigger_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.apps.script.type.drive.DriveExtensionPoint.Builder subBuilder = null; + if (onItemsSelectedTrigger_ != null) { + subBuilder = onItemsSelectedTrigger_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + onItemsSelectedTrigger_ = input.readMessage(com.google.apps.script.type.drive.DriveExtensionPoint.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(onItemsSelectedTrigger_); + onItemsSelectedTrigger_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -116,40 +92,35 @@ private DriveAddOnManifest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.apps.script.type.drive.DriveAddOnManifestProto - .internal_static_google_apps_script_type_drive_DriveAddOnManifest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.apps.script.type.drive.DriveAddOnManifestProto.internal_static_google_apps_script_type_drive_DriveAddOnManifest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.drive.DriveAddOnManifestProto - .internal_static_google_apps_script_type_drive_DriveAddOnManifest_fieldAccessorTable + return com.google.apps.script.type.drive.DriveAddOnManifestProto.internal_static_google_apps_script_type_drive_DriveAddOnManifest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.drive.DriveAddOnManifest.class, - com.google.apps.script.type.drive.DriveAddOnManifest.Builder.class); + com.google.apps.script.type.drive.DriveAddOnManifest.class, com.google.apps.script.type.drive.DriveAddOnManifest.Builder.class); } public static final int HOMEPAGE_TRIGGER_FIELD_NUMBER = 1; private com.google.apps.script.type.HomepageExtensionPoint homepageTrigger_; /** - * - * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1; - * * @return Whether the homepageTrigger field is set. */ @java.lang.Override @@ -157,26 +128,19 @@ public boolean hasHomepageTrigger() { return homepageTrigger_ != null; } /** - * - * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1; - * * @return The homepageTrigger. */ @java.lang.Override public com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger() { - return homepageTrigger_ == null - ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() - : homepageTrigger_; + return homepageTrigger_ == null ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_; } /** - * - * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
@@ -192,15 +156,12 @@ public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTr
   public static final int ON_ITEMS_SELECTED_TRIGGER_FIELD_NUMBER = 2;
   private com.google.apps.script.type.drive.DriveExtensionPoint onItemsSelectedTrigger_;
   /**
-   *
-   *
    * 
    * Corresponds to behvior that should execute when items are selected
    * in relevant Drive view (e.g. the My Drive Doclist).
    * 
* * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; - * * @return Whether the onItemsSelectedTrigger field is set. */ @java.lang.Override @@ -208,26 +169,19 @@ public boolean hasOnItemsSelectedTrigger() { return onItemsSelectedTrigger_ != null; } /** - * - * *
    * Corresponds to behvior that should execute when items are selected
    * in relevant Drive view (e.g. the My Drive Doclist).
    * 
* * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; - * * @return The onItemsSelectedTrigger. */ @java.lang.Override public com.google.apps.script.type.drive.DriveExtensionPoint getOnItemsSelectedTrigger() { - return onItemsSelectedTrigger_ == null - ? com.google.apps.script.type.drive.DriveExtensionPoint.getDefaultInstance() - : onItemsSelectedTrigger_; + return onItemsSelectedTrigger_ == null ? com.google.apps.script.type.drive.DriveExtensionPoint.getDefaultInstance() : onItemsSelectedTrigger_; } /** - * - * *
    * Corresponds to behvior that should execute when items are selected
    * in relevant Drive view (e.g. the My Drive Doclist).
@@ -236,13 +190,11 @@ public com.google.apps.script.type.drive.DriveExtensionPoint getOnItemsSelectedT
    * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2;
    */
   @java.lang.Override
-  public com.google.apps.script.type.drive.DriveExtensionPointOrBuilder
-      getOnItemsSelectedTriggerOrBuilder() {
+  public com.google.apps.script.type.drive.DriveExtensionPointOrBuilder getOnItemsSelectedTriggerOrBuilder() {
     return getOnItemsSelectedTrigger();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -254,7 +206,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (homepageTrigger_ != null) {
       output.writeMessage(1, getHomepageTrigger());
     }
@@ -271,11 +224,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (homepageTrigger_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getHomepageTrigger());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getHomepageTrigger());
     }
     if (onItemsSelectedTrigger_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOnItemsSelectedTrigger());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getOnItemsSelectedTrigger());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -285,21 +239,22 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.apps.script.type.drive.DriveAddOnManifest)) {
       return super.equals(obj);
     }
-    com.google.apps.script.type.drive.DriveAddOnManifest other =
-        (com.google.apps.script.type.drive.DriveAddOnManifest) obj;
+    com.google.apps.script.type.drive.DriveAddOnManifest other = (com.google.apps.script.type.drive.DriveAddOnManifest) obj;
 
     if (hasHomepageTrigger() != other.hasHomepageTrigger()) return false;
     if (hasHomepageTrigger()) {
-      if (!getHomepageTrigger().equals(other.getHomepageTrigger())) return false;
+      if (!getHomepageTrigger()
+          .equals(other.getHomepageTrigger())) return false;
     }
     if (hasOnItemsSelectedTrigger() != other.hasOnItemsSelectedTrigger()) return false;
     if (hasOnItemsSelectedTrigger()) {
-      if (!getOnItemsSelectedTrigger().equals(other.getOnItemsSelectedTrigger())) return false;
+      if (!getOnItemsSelectedTrigger()
+          .equals(other.getOnItemsSelectedTrigger())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -326,126 +281,117 @@ public int hashCode() {
   }
 
   public static com.google.apps.script.type.drive.DriveAddOnManifest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.apps.script.type.drive.DriveAddOnManifest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.apps.script.type.drive.DriveAddOnManifest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.apps.script.type.drive.DriveAddOnManifest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.apps.script.type.drive.DriveAddOnManifest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.apps.script.type.drive.DriveAddOnManifest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.apps.script.type.drive.DriveAddOnManifest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.apps.script.type.drive.DriveAddOnManifest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.apps.script.type.drive.DriveAddOnManifest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.apps.script.type.drive.DriveAddOnManifest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.apps.script.type.drive.DriveAddOnManifest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.apps.script.type.drive.DriveAddOnManifest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.apps.script.type.drive.DriveAddOnManifest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.apps.script.type.drive.DriveAddOnManifest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.apps.script.type.drive.DriveAddOnManifest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Drive add-on manifest.
    * 
* * Protobuf type {@code google.apps.script.type.drive.DriveAddOnManifest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.script.type.drive.DriveAddOnManifest) com.google.apps.script.type.drive.DriveAddOnManifestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.apps.script.type.drive.DriveAddOnManifestProto - .internal_static_google_apps_script_type_drive_DriveAddOnManifest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.apps.script.type.drive.DriveAddOnManifestProto.internal_static_google_apps_script_type_drive_DriveAddOnManifest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.drive.DriveAddOnManifestProto - .internal_static_google_apps_script_type_drive_DriveAddOnManifest_fieldAccessorTable + return com.google.apps.script.type.drive.DriveAddOnManifestProto.internal_static_google_apps_script_type_drive_DriveAddOnManifest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.drive.DriveAddOnManifest.class, - com.google.apps.script.type.drive.DriveAddOnManifest.Builder.class); + com.google.apps.script.type.drive.DriveAddOnManifest.class, com.google.apps.script.type.drive.DriveAddOnManifest.Builder.class); } // Construct using com.google.apps.script.type.drive.DriveAddOnManifest.newBuilder() @@ -453,15 +399,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -481,9 +428,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.apps.script.type.drive.DriveAddOnManifestProto - .internal_static_google_apps_script_type_drive_DriveAddOnManifest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.apps.script.type.drive.DriveAddOnManifestProto.internal_static_google_apps_script_type_drive_DriveAddOnManifest_descriptor; } @java.lang.Override @@ -502,8 +449,7 @@ public com.google.apps.script.type.drive.DriveAddOnManifest build() { @java.lang.Override public com.google.apps.script.type.drive.DriveAddOnManifest buildPartial() { - com.google.apps.script.type.drive.DriveAddOnManifest result = - new com.google.apps.script.type.drive.DriveAddOnManifest(this); + com.google.apps.script.type.drive.DriveAddOnManifest result = new com.google.apps.script.type.drive.DriveAddOnManifest(this); if (homepageTriggerBuilder_ == null) { result.homepageTrigger_ = homepageTrigger_; } else { @@ -522,39 +468,38 @@ public com.google.apps.script.type.drive.DriveAddOnManifest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.script.type.drive.DriveAddOnManifest) { - return mergeFrom((com.google.apps.script.type.drive.DriveAddOnManifest) other); + return mergeFrom((com.google.apps.script.type.drive.DriveAddOnManifest)other); } else { super.mergeFrom(other); return this; @@ -562,8 +507,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.apps.script.type.drive.DriveAddOnManifest other) { - if (other == com.google.apps.script.type.drive.DriveAddOnManifest.getDefaultInstance()) - return this; + if (other == com.google.apps.script.type.drive.DriveAddOnManifest.getDefaultInstance()) return this; if (other.hasHomepageTrigger()) { mergeHomepageTrigger(other.getHomepageTrigger()); } @@ -589,8 +533,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.apps.script.type.drive.DriveAddOnManifest) e.getUnfinishedMessage(); + parsedMessage = (com.google.apps.script.type.drive.DriveAddOnManifest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -602,49 +545,36 @@ public Builder mergeFrom( private com.google.apps.script.type.HomepageExtensionPoint homepageTrigger_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.HomepageExtensionPoint, - com.google.apps.script.type.HomepageExtensionPoint.Builder, - com.google.apps.script.type.HomepageExtensionPointOrBuilder> - homepageTriggerBuilder_; + com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder> homepageTriggerBuilder_; /** - * - * *
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
      * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1; - * * @return Whether the homepageTrigger field is set. */ public boolean hasHomepageTrigger() { return homepageTriggerBuilder_ != null || homepageTrigger_ != null; } /** - * - * *
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
      * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1; - * * @return The homepageTrigger. */ public com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger() { if (homepageTriggerBuilder_ == null) { - return homepageTrigger_ == null - ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() - : homepageTrigger_; + return homepageTrigger_ == null ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_; } else { return homepageTriggerBuilder_.getMessage(); } } /** - * - * *
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -666,8 +596,6 @@ public Builder setHomepageTrigger(com.google.apps.script.type.HomepageExtensionP
       return this;
     }
     /**
-     *
-     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -687,8 +615,6 @@ public Builder setHomepageTrigger(
       return this;
     }
     /**
-     *
-     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -700,9 +626,7 @@ public Builder mergeHomepageTrigger(com.google.apps.script.type.HomepageExtensio
       if (homepageTriggerBuilder_ == null) {
         if (homepageTrigger_ != null) {
           homepageTrigger_ =
-              com.google.apps.script.type.HomepageExtensionPoint.newBuilder(homepageTrigger_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.apps.script.type.HomepageExtensionPoint.newBuilder(homepageTrigger_).mergeFrom(value).buildPartial();
         } else {
           homepageTrigger_ = value;
         }
@@ -714,8 +638,6 @@ public Builder mergeHomepageTrigger(com.google.apps.script.type.HomepageExtensio
       return this;
     }
     /**
-     *
-     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -735,8 +657,6 @@ public Builder clearHomepageTrigger() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -745,13 +665,11 @@ public Builder clearHomepageTrigger() {
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
      */
     public com.google.apps.script.type.HomepageExtensionPoint.Builder getHomepageTriggerBuilder() {
-
+      
       onChanged();
       return getHomepageTriggerFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -759,19 +677,15 @@ public com.google.apps.script.type.HomepageExtensionPoint.Builder getHomepageTri
      *
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
      */
-    public com.google.apps.script.type.HomepageExtensionPointOrBuilder
-        getHomepageTriggerOrBuilder() {
+    public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder() {
       if (homepageTriggerBuilder_ != null) {
         return homepageTriggerBuilder_.getMessageOrBuilder();
       } else {
-        return homepageTrigger_ == null
-            ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance()
-            : homepageTrigger_;
+        return homepageTrigger_ == null ?
+            com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_;
       }
     }
     /**
-     *
-     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -780,17 +694,14 @@ public com.google.apps.script.type.HomepageExtensionPoint.Builder getHomepageTri
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.apps.script.type.HomepageExtensionPoint,
-            com.google.apps.script.type.HomepageExtensionPoint.Builder,
-            com.google.apps.script.type.HomepageExtensionPointOrBuilder>
+        com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder> 
         getHomepageTriggerFieldBuilder() {
       if (homepageTriggerBuilder_ == null) {
-        homepageTriggerBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.apps.script.type.HomepageExtensionPoint,
-                com.google.apps.script.type.HomepageExtensionPoint.Builder,
-                com.google.apps.script.type.HomepageExtensionPointOrBuilder>(
-                getHomepageTrigger(), getParentForChildren(), isClean());
+        homepageTriggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder>(
+                getHomepageTrigger(),
+                getParentForChildren(),
+                isClean());
         homepageTrigger_ = null;
       }
       return homepageTriggerBuilder_;
@@ -798,61 +709,44 @@ public com.google.apps.script.type.HomepageExtensionPoint.Builder getHomepageTri
 
     private com.google.apps.script.type.drive.DriveExtensionPoint onItemsSelectedTrigger_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.apps.script.type.drive.DriveExtensionPoint,
-            com.google.apps.script.type.drive.DriveExtensionPoint.Builder,
-            com.google.apps.script.type.drive.DriveExtensionPointOrBuilder>
-        onItemsSelectedTriggerBuilder_;
+        com.google.apps.script.type.drive.DriveExtensionPoint, com.google.apps.script.type.drive.DriveExtensionPoint.Builder, com.google.apps.script.type.drive.DriveExtensionPointOrBuilder> onItemsSelectedTriggerBuilder_;
     /**
-     *
-     *
      * 
      * Corresponds to behvior that should execute when items are selected
      * in relevant Drive view (e.g. the My Drive Doclist).
      * 
* - * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; - * - * + * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; * @return Whether the onItemsSelectedTrigger field is set. */ public boolean hasOnItemsSelectedTrigger() { return onItemsSelectedTriggerBuilder_ != null || onItemsSelectedTrigger_ != null; } /** - * - * *
      * Corresponds to behvior that should execute when items are selected
      * in relevant Drive view (e.g. the My Drive Doclist).
      * 
* - * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; - * - * + * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; * @return The onItemsSelectedTrigger. */ public com.google.apps.script.type.drive.DriveExtensionPoint getOnItemsSelectedTrigger() { if (onItemsSelectedTriggerBuilder_ == null) { - return onItemsSelectedTrigger_ == null - ? com.google.apps.script.type.drive.DriveExtensionPoint.getDefaultInstance() - : onItemsSelectedTrigger_; + return onItemsSelectedTrigger_ == null ? com.google.apps.script.type.drive.DriveExtensionPoint.getDefaultInstance() : onItemsSelectedTrigger_; } else { return onItemsSelectedTriggerBuilder_.getMessage(); } } /** - * - * *
      * Corresponds to behvior that should execute when items are selected
      * in relevant Drive view (e.g. the My Drive Doclist).
      * 
* - * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; - * + * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; */ - public Builder setOnItemsSelectedTrigger( - com.google.apps.script.type.drive.DriveExtensionPoint value) { + public Builder setOnItemsSelectedTrigger(com.google.apps.script.type.drive.DriveExtensionPoint value) { if (onItemsSelectedTriggerBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -866,15 +760,12 @@ public Builder setOnItemsSelectedTrigger( return this; } /** - * - * *
      * Corresponds to behvior that should execute when items are selected
      * in relevant Drive view (e.g. the My Drive Doclist).
      * 
* - * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; - * + * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; */ public Builder setOnItemsSelectedTrigger( com.google.apps.script.type.drive.DriveExtensionPoint.Builder builderForValue) { @@ -888,25 +779,18 @@ public Builder setOnItemsSelectedTrigger( return this; } /** - * - * *
      * Corresponds to behvior that should execute when items are selected
      * in relevant Drive view (e.g. the My Drive Doclist).
      * 
* - * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; - * + * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; */ - public Builder mergeOnItemsSelectedTrigger( - com.google.apps.script.type.drive.DriveExtensionPoint value) { + public Builder mergeOnItemsSelectedTrigger(com.google.apps.script.type.drive.DriveExtensionPoint value) { if (onItemsSelectedTriggerBuilder_ == null) { if (onItemsSelectedTrigger_ != null) { onItemsSelectedTrigger_ = - com.google.apps.script.type.drive.DriveExtensionPoint.newBuilder( - onItemsSelectedTrigger_) - .mergeFrom(value) - .buildPartial(); + com.google.apps.script.type.drive.DriveExtensionPoint.newBuilder(onItemsSelectedTrigger_).mergeFrom(value).buildPartial(); } else { onItemsSelectedTrigger_ = value; } @@ -918,15 +802,12 @@ public Builder mergeOnItemsSelectedTrigger( return this; } /** - * - * *
      * Corresponds to behvior that should execute when items are selected
      * in relevant Drive view (e.g. the My Drive Doclist).
      * 
* - * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; - * + * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; */ public Builder clearOnItemsSelectedTrigger() { if (onItemsSelectedTriggerBuilder_ == null) { @@ -940,73 +821,58 @@ public Builder clearOnItemsSelectedTrigger() { return this; } /** - * - * *
      * Corresponds to behvior that should execute when items are selected
      * in relevant Drive view (e.g. the My Drive Doclist).
      * 
* - * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; - * + * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; */ - public com.google.apps.script.type.drive.DriveExtensionPoint.Builder - getOnItemsSelectedTriggerBuilder() { - + public com.google.apps.script.type.drive.DriveExtensionPoint.Builder getOnItemsSelectedTriggerBuilder() { + onChanged(); return getOnItemsSelectedTriggerFieldBuilder().getBuilder(); } /** - * - * *
      * Corresponds to behvior that should execute when items are selected
      * in relevant Drive view (e.g. the My Drive Doclist).
      * 
* - * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; - * + * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; */ - public com.google.apps.script.type.drive.DriveExtensionPointOrBuilder - getOnItemsSelectedTriggerOrBuilder() { + public com.google.apps.script.type.drive.DriveExtensionPointOrBuilder getOnItemsSelectedTriggerOrBuilder() { if (onItemsSelectedTriggerBuilder_ != null) { return onItemsSelectedTriggerBuilder_.getMessageOrBuilder(); } else { - return onItemsSelectedTrigger_ == null - ? com.google.apps.script.type.drive.DriveExtensionPoint.getDefaultInstance() - : onItemsSelectedTrigger_; + return onItemsSelectedTrigger_ == null ? + com.google.apps.script.type.drive.DriveExtensionPoint.getDefaultInstance() : onItemsSelectedTrigger_; } } /** - * - * *
      * Corresponds to behvior that should execute when items are selected
      * in relevant Drive view (e.g. the My Drive Doclist).
      * 
* - * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; - * + * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.drive.DriveExtensionPoint, - com.google.apps.script.type.drive.DriveExtensionPoint.Builder, - com.google.apps.script.type.drive.DriveExtensionPointOrBuilder> + com.google.apps.script.type.drive.DriveExtensionPoint, com.google.apps.script.type.drive.DriveExtensionPoint.Builder, com.google.apps.script.type.drive.DriveExtensionPointOrBuilder> getOnItemsSelectedTriggerFieldBuilder() { if (onItemsSelectedTriggerBuilder_ == null) { - onItemsSelectedTriggerBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.drive.DriveExtensionPoint, - com.google.apps.script.type.drive.DriveExtensionPoint.Builder, - com.google.apps.script.type.drive.DriveExtensionPointOrBuilder>( - getOnItemsSelectedTrigger(), getParentForChildren(), isClean()); + onItemsSelectedTriggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.apps.script.type.drive.DriveExtensionPoint, com.google.apps.script.type.drive.DriveExtensionPoint.Builder, com.google.apps.script.type.drive.DriveExtensionPointOrBuilder>( + getOnItemsSelectedTrigger(), + getParentForChildren(), + isClean()); onItemsSelectedTrigger_ = null; } return onItemsSelectedTriggerBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1016,12 +882,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.apps.script.type.drive.DriveAddOnManifest) } // @@protoc_insertion_point(class_scope:google.apps.script.type.drive.DriveAddOnManifest) private static final com.google.apps.script.type.drive.DriveAddOnManifest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.apps.script.type.drive.DriveAddOnManifest(); } @@ -1030,16 +896,16 @@ public static com.google.apps.script.type.drive.DriveAddOnManifest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DriveAddOnManifest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DriveAddOnManifest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DriveAddOnManifest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DriveAddOnManifest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1054,4 +920,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.drive.DriveAddOnManifest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifestOrBuilder.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifestOrBuilder.java similarity index 75% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifestOrBuilder.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifestOrBuilder.java index de31e377..04a318fb 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifestOrBuilder.java @@ -1,57 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/drive/drive_addon_manifest.proto package com.google.apps.script.type.drive; -public interface DriveAddOnManifestOrBuilder - extends +public interface DriveAddOnManifestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.drive.DriveAddOnManifest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1; - * * @return Whether the homepageTrigger field is set. */ boolean hasHomepageTrigger(); /** - * - * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1; - * * @return The homepageTrigger. */ com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger(); /** - * - * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
@@ -62,34 +38,26 @@ public interface DriveAddOnManifestOrBuilder
   com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder();
 
   /**
-   *
-   *
    * 
    * Corresponds to behvior that should execute when items are selected
    * in relevant Drive view (e.g. the My Drive Doclist).
    * 
* * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; - * * @return Whether the onItemsSelectedTrigger field is set. */ boolean hasOnItemsSelectedTrigger(); /** - * - * *
    * Corresponds to behvior that should execute when items are selected
    * in relevant Drive view (e.g. the My Drive Doclist).
    * 
* * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; - * * @return The onItemsSelectedTrigger. */ com.google.apps.script.type.drive.DriveExtensionPoint getOnItemsSelectedTrigger(); /** - * - * *
    * Corresponds to behvior that should execute when items are selected
    * in relevant Drive view (e.g. the My Drive Doclist).
@@ -97,6 +65,5 @@ public interface DriveAddOnManifestOrBuilder
    *
    * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2;
    */
-  com.google.apps.script.type.drive.DriveExtensionPointOrBuilder
-      getOnItemsSelectedTriggerOrBuilder();
+  com.google.apps.script.type.drive.DriveExtensionPointOrBuilder getOnItemsSelectedTriggerOrBuilder();
 }
diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifestProto.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifestProto.java
new file mode 100644
index 00000000..419e267e
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifestProto.java
@@ -0,0 +1,74 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/apps/script/type/drive/drive_addon_manifest.proto
+
+package com.google.apps.script.type.drive;
+
+public final class DriveAddOnManifestProto {
+  private DriveAddOnManifestProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_apps_script_type_drive_DriveAddOnManifest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_apps_script_type_drive_DriveAddOnManifest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_apps_script_type_drive_DriveExtensionPoint_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_apps_script_type_drive_DriveExtensionPoint_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n8google/apps/script/type/drive/drive_ad" +
+      "don_manifest.proto\022\035google.apps.script.t" +
+      "ype.drive\032-google/apps/script/type/exten" +
+      "sion_point.proto\"\266\001\n\022DriveAddOnManifest\022" +
+      "I\n\020homepage_trigger\030\001 \001(\0132/.google.apps." +
+      "script.type.HomepageExtensionPoint\022U\n\031on" +
+      "_items_selected_trigger\030\002 \001(\01322.google.a" +
+      "pps.script.type.drive.DriveExtensionPoin" +
+      "t\"+\n\023DriveExtensionPoint\022\024\n\014run_function" +
+      "\030\001 \001(\tB\340\001\n!com.google.apps.script.type.d" +
+      "riveB\027DriveAddOnManifestProtoP\001Z
  * A generic extension point with common features, e.g. something that simply
  * needs a corresponding run function to work.
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.apps.script.type.drive.DriveExtensionPoint}
  */
-public final class DriveExtensionPoint extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DriveExtensionPoint extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.apps.script.type.drive.DriveExtensionPoint)
     DriveExtensionPointOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DriveExtensionPoint.newBuilder() to construct.
   private DriveExtensionPoint(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DriveExtensionPoint() {
     runFunction_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DriveExtensionPoint();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private DriveExtensionPoint(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,20 +54,19 @@ private DriveExtensionPoint(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              runFunction_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            runFunction_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -92,40 +74,35 @@ private DriveExtensionPoint(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.apps.script.type.drive.DriveAddOnManifestProto
-        .internal_static_google_apps_script_type_drive_DriveExtensionPoint_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.apps.script.type.drive.DriveAddOnManifestProto.internal_static_google_apps_script_type_drive_DriveExtensionPoint_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.apps.script.type.drive.DriveAddOnManifestProto
-        .internal_static_google_apps_script_type_drive_DriveExtensionPoint_fieldAccessorTable
+    return com.google.apps.script.type.drive.DriveAddOnManifestProto.internal_static_google_apps_script_type_drive_DriveExtensionPoint_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.apps.script.type.drive.DriveExtensionPoint.class,
-            com.google.apps.script.type.drive.DriveExtensionPoint.Builder.class);
+            com.google.apps.script.type.drive.DriveExtensionPoint.class, com.google.apps.script.type.drive.DriveExtensionPoint.Builder.class);
   }
 
   public static final int RUN_FUNCTION_FIELD_NUMBER = 1;
   private volatile java.lang.Object runFunction_;
   /**
-   *
-   *
    * 
    * Required. The endpoint to execute when this extension point is
    * activated.
    * 
* * string run_function = 1; - * * @return The runFunction. */ @java.lang.Override @@ -134,30 +111,30 @@ public java.lang.String getRunFunction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); runFunction_ = s; return s; } } /** - * - * *
    * Required. The endpoint to execute when this extension point is
    * activated.
    * 
* * string run_function = 1; - * * @return The bytes for runFunction. */ @java.lang.Override - public com.google.protobuf.ByteString getRunFunctionBytes() { + public com.google.protobuf.ByteString + getRunFunctionBytes() { java.lang.Object ref = runFunction_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); runFunction_ = b; return b; } else { @@ -166,7 +143,6 @@ public com.google.protobuf.ByteString getRunFunctionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,7 +154,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(runFunction_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, runFunction_); } @@ -202,15 +179,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.drive.DriveExtensionPoint)) { return super.equals(obj); } - com.google.apps.script.type.drive.DriveExtensionPoint other = - (com.google.apps.script.type.drive.DriveExtensionPoint) obj; + com.google.apps.script.type.drive.DriveExtensionPoint other = (com.google.apps.script.type.drive.DriveExtensionPoint) obj; - if (!getRunFunction().equals(other.getRunFunction())) return false; + if (!getRunFunction() + .equals(other.getRunFunction())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -230,104 +207,96 @@ public int hashCode() { } public static com.google.apps.script.type.drive.DriveExtensionPoint parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.drive.DriveExtensionPoint parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.drive.DriveExtensionPoint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.drive.DriveExtensionPoint parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.drive.DriveExtensionPoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.drive.DriveExtensionPoint parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.apps.script.type.drive.DriveExtensionPoint parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.apps.script.type.drive.DriveExtensionPoint parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.drive.DriveExtensionPoint parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.apps.script.type.drive.DriveExtensionPoint parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.apps.script.type.drive.DriveExtensionPoint parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.apps.script.type.drive.DriveExtensionPoint parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.drive.DriveExtensionPoint parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.drive.DriveExtensionPoint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.apps.script.type.drive.DriveExtensionPoint prototype) { + public static Builder newBuilder(com.google.apps.script.type.drive.DriveExtensionPoint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A generic extension point with common features, e.g. something that simply
    * needs a corresponding run function to work.
@@ -335,23 +304,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.apps.script.type.drive.DriveExtensionPoint}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.apps.script.type.drive.DriveExtensionPoint)
       com.google.apps.script.type.drive.DriveExtensionPointOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.apps.script.type.drive.DriveAddOnManifestProto
-          .internal_static_google_apps_script_type_drive_DriveExtensionPoint_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.apps.script.type.drive.DriveAddOnManifestProto.internal_static_google_apps_script_type_drive_DriveExtensionPoint_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.apps.script.type.drive.DriveAddOnManifestProto
-          .internal_static_google_apps_script_type_drive_DriveExtensionPoint_fieldAccessorTable
+      return com.google.apps.script.type.drive.DriveAddOnManifestProto.internal_static_google_apps_script_type_drive_DriveExtensionPoint_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.apps.script.type.drive.DriveExtensionPoint.class,
-              com.google.apps.script.type.drive.DriveExtensionPoint.Builder.class);
+              com.google.apps.script.type.drive.DriveExtensionPoint.class, com.google.apps.script.type.drive.DriveExtensionPoint.Builder.class);
     }
 
     // Construct using com.google.apps.script.type.drive.DriveExtensionPoint.newBuilder()
@@ -359,15 +326,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -377,9 +345,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.apps.script.type.drive.DriveAddOnManifestProto
-          .internal_static_google_apps_script_type_drive_DriveExtensionPoint_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.apps.script.type.drive.DriveAddOnManifestProto.internal_static_google_apps_script_type_drive_DriveExtensionPoint_descriptor;
     }
 
     @java.lang.Override
@@ -398,8 +366,7 @@ public com.google.apps.script.type.drive.DriveExtensionPoint build() {
 
     @java.lang.Override
     public com.google.apps.script.type.drive.DriveExtensionPoint buildPartial() {
-      com.google.apps.script.type.drive.DriveExtensionPoint result =
-          new com.google.apps.script.type.drive.DriveExtensionPoint(this);
+      com.google.apps.script.type.drive.DriveExtensionPoint result = new com.google.apps.script.type.drive.DriveExtensionPoint(this);
       result.runFunction_ = runFunction_;
       onBuilt();
       return result;
@@ -409,39 +376,38 @@ public com.google.apps.script.type.drive.DriveExtensionPoint buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.apps.script.type.drive.DriveExtensionPoint) {
-        return mergeFrom((com.google.apps.script.type.drive.DriveExtensionPoint) other);
+        return mergeFrom((com.google.apps.script.type.drive.DriveExtensionPoint)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -449,8 +415,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.apps.script.type.drive.DriveExtensionPoint other) {
-      if (other == com.google.apps.script.type.drive.DriveExtensionPoint.getDefaultInstance())
-        return this;
+      if (other == com.google.apps.script.type.drive.DriveExtensionPoint.getDefaultInstance()) return this;
       if (!other.getRunFunction().isEmpty()) {
         runFunction_ = other.runFunction_;
         onChanged();
@@ -474,8 +439,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.apps.script.type.drive.DriveExtensionPoint) e.getUnfinishedMessage();
+        parsedMessage = (com.google.apps.script.type.drive.DriveExtensionPoint) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -487,21 +451,19 @@ public Builder mergeFrom(
 
     private java.lang.Object runFunction_ = "";
     /**
-     *
-     *
      * 
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1; - * * @return The runFunction. */ public java.lang.String getRunFunction() { java.lang.Object ref = runFunction_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); runFunction_ = s; return s; @@ -510,22 +472,21 @@ public java.lang.String getRunFunction() { } } /** - * - * *
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1; - * * @return The bytes for runFunction. */ - public com.google.protobuf.ByteString getRunFunctionBytes() { + public com.google.protobuf.ByteString + getRunFunctionBytes() { java.lang.Object ref = runFunction_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); runFunction_ = b; return b; } else { @@ -533,71 +494,64 @@ public com.google.protobuf.ByteString getRunFunctionBytes() { } } /** - * - * *
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1; - * * @param value The runFunction to set. * @return This builder for chaining. */ - public Builder setRunFunction(java.lang.String value) { + public Builder setRunFunction( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + runFunction_ = value; onChanged(); return this; } /** - * - * *
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1; - * * @return This builder for chaining. */ public Builder clearRunFunction() { - + runFunction_ = getDefaultInstance().getRunFunction(); onChanged(); return this; } /** - * - * *
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1; - * * @param value The bytes for runFunction to set. * @return This builder for chaining. */ - public Builder setRunFunctionBytes(com.google.protobuf.ByteString value) { + public Builder setRunFunctionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + runFunction_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -607,12 +561,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.apps.script.type.drive.DriveExtensionPoint) } // @@protoc_insertion_point(class_scope:google.apps.script.type.drive.DriveExtensionPoint) private static final com.google.apps.script.type.drive.DriveExtensionPoint DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.apps.script.type.drive.DriveExtensionPoint(); } @@ -621,16 +575,16 @@ public static com.google.apps.script.type.drive.DriveExtensionPoint getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DriveExtensionPoint parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DriveExtensionPoint(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DriveExtensionPoint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DriveExtensionPoint(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -645,4 +599,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.drive.DriveExtensionPoint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveExtensionPointOrBuilder.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveExtensionPointOrBuilder.java similarity index 50% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveExtensionPointOrBuilder.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveExtensionPointOrBuilder.java index f3d15b27..61ae70a6 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveExtensionPointOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveExtensionPointOrBuilder.java @@ -1,52 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/drive/drive_addon_manifest.proto package com.google.apps.script.type.drive; -public interface DriveExtensionPointOrBuilder - extends +public interface DriveExtensionPointOrBuilder extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.drive.DriveExtensionPoint) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The endpoint to execute when this extension point is
    * activated.
    * 
* * string run_function = 1; - * * @return The runFunction. */ java.lang.String getRunFunction(); /** - * - * *
    * Required. The endpoint to execute when this extension point is
    * activated.
    * 
* * string run_function = 1; - * * @return The bytes for runFunction. */ - com.google.protobuf.ByteString getRunFunctionBytes(); + com.google.protobuf.ByteString + getRunFunctionBytes(); } diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ComposeTrigger.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ComposeTrigger.java similarity index 75% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ComposeTrigger.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ComposeTrigger.java index 3c51f8c0..69a564eb 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ComposeTrigger.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ComposeTrigger.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/gmail/gmail_addon_manifest.proto package com.google.apps.script.type.gmail; /** - * - * *
  * A trigger that activates when user is composing an email.
  * 
* * Protobuf type {@code google.apps.script.type.gmail.ComposeTrigger} */ -public final class ComposeTrigger extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ComposeTrigger extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.apps.script.type.gmail.ComposeTrigger) ComposeTriggerOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ComposeTrigger.newBuilder() to construct. private ComposeTrigger(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ComposeTrigger() { actions_ = java.util.Collections.emptyList(); draftAccess_ = 0; @@ -44,15 +26,16 @@ private ComposeTrigger() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ComposeTrigger(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ComposeTrigger( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,33 +55,28 @@ private ComposeTrigger( case 0: done = true; break; - case 32: - { - int rawValue = input.readEnum(); + case 32: { + int rawValue = input.readEnum(); - draftAccess_ = rawValue; - break; - } - case 42: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - actions_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - actions_.add( - input.readMessage( - com.google.apps.script.type.MenuItemExtensionPoint.parser(), - extensionRegistry)); - break; + draftAccess_ = rawValue; + break; + } + case 42: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + actions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + actions_.add( + input.readMessage(com.google.apps.script.type.MenuItemExtensionPoint.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,7 +84,8 @@ private ComposeTrigger( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { actions_ = java.util.Collections.unmodifiableList(actions_); @@ -115,35 +94,29 @@ private ComposeTrigger( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.apps.script.type.gmail.GmailAddOnManifestProto - .internal_static_google_apps_script_type_gmail_ComposeTrigger_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_ComposeTrigger_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.gmail.GmailAddOnManifestProto - .internal_static_google_apps_script_type_gmail_ComposeTrigger_fieldAccessorTable + return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_ComposeTrigger_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.gmail.ComposeTrigger.class, - com.google.apps.script.type.gmail.ComposeTrigger.Builder.class); + com.google.apps.script.type.gmail.ComposeTrigger.class, com.google.apps.script.type.gmail.ComposeTrigger.Builder.class); } /** - * - * *
    * An enum defining the level of data access this compose trigger requires.
    * 
* * Protobuf enum {@code google.apps.script.type.gmail.ComposeTrigger.DraftAccess} */ - public enum DraftAccess implements com.google.protobuf.ProtocolMessageEnum { + public enum DraftAccess + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value when nothing is set for DraftAccess.
      * 
@@ -152,8 +125,6 @@ public enum DraftAccess implements com.google.protobuf.ProtocolMessageEnum { */ UNSPECIFIED(0), /** - * - * *
      * NONE means compose trigger won't be able to access any data of the draft
      * when a compose addon is triggered.
@@ -163,8 +134,6 @@ public enum DraftAccess implements com.google.protobuf.ProtocolMessageEnum {
      */
     NONE(1),
     /**
-     *
-     *
      * 
      * METADATA gives compose trigger the permission to access the metadata of
      * the draft when a compose addon is triggered. This includes the audience
@@ -178,8 +147,6 @@ public enum DraftAccess implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Default value when nothing is set for DraftAccess.
      * 
@@ -188,8 +155,6 @@ public enum DraftAccess implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNSPECIFIED_VALUE = 0; /** - * - * *
      * NONE means compose trigger won't be able to access any data of the draft
      * when a compose addon is triggered.
@@ -199,8 +164,6 @@ public enum DraftAccess implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int NONE_VALUE = 1;
     /**
-     *
-     *
      * 
      * METADATA gives compose trigger the permission to access the metadata of
      * the draft when a compose addon is triggered. This includes the audience
@@ -211,6 +174,7 @@ public enum DraftAccess implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int METADATA_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -235,49 +199,49 @@ public static DraftAccess valueOf(int value) {
      */
     public static DraftAccess forNumber(int value) {
       switch (value) {
-        case 0:
-          return UNSPECIFIED;
-        case 1:
-          return NONE;
-        case 2:
-          return METADATA;
-        default:
-          return null;
+        case 0: return UNSPECIFIED;
+        case 1: return NONE;
+        case 2: return METADATA;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        DraftAccess> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public DraftAccess findValueByNumber(int number) {
+              return DraftAccess.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public DraftAccess findValueByNumber(int number) {
-            return DraftAccess.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.apps.script.type.gmail.ComposeTrigger.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final DraftAccess[] VALUES = values();
 
-    public static DraftAccess valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static DraftAccess valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -297,8 +261,6 @@ private DraftAccess(int value) {
   public static final int ACTIONS_FIELD_NUMBER = 5;
   private java.util.List actions_;
   /**
-   *
-   *
    * 
    * Defines the set of actions for compose time add-on. These are actions
    * that user can trigger on a compose time addon.
@@ -311,8 +273,6 @@ public java.util.List getAct
     return actions_;
   }
   /**
-   *
-   *
    * 
    * Defines the set of actions for compose time add-on. These are actions
    * that user can trigger on a compose time addon.
@@ -321,13 +281,11 @@ public java.util.List getAct
    * repeated .google.apps.script.type.MenuItemExtensionPoint actions = 5;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getActionsOrBuilderList() {
     return actions_;
   }
   /**
-   *
-   *
    * 
    * Defines the set of actions for compose time add-on. These are actions
    * that user can trigger on a compose time addon.
@@ -340,8 +298,6 @@ public int getActionsCount() {
     return actions_.size();
   }
   /**
-   *
-   *
    * 
    * Defines the set of actions for compose time add-on. These are actions
    * that user can trigger on a compose time addon.
@@ -354,8 +310,6 @@ public com.google.apps.script.type.MenuItemExtensionPoint getActions(int index)
     return actions_.get(index);
   }
   /**
-   *
-   *
    * 
    * Defines the set of actions for compose time add-on. These are actions
    * that user can trigger on a compose time addon.
@@ -372,43 +326,31 @@ public com.google.apps.script.type.MenuItemExtensionPointOrBuilder getActionsOrB
   public static final int DRAFT_ACCESS_FIELD_NUMBER = 4;
   private int draftAccess_;
   /**
-   *
-   *
    * 
    * Define the level of data access when a compose time addon is triggered.
    * 
* * .google.apps.script.type.gmail.ComposeTrigger.DraftAccess draft_access = 4; - * * @return The enum numeric value on the wire for draftAccess. */ - @java.lang.Override - public int getDraftAccessValue() { + @java.lang.Override public int getDraftAccessValue() { return draftAccess_; } /** - * - * *
    * Define the level of data access when a compose time addon is triggered.
    * 
* * .google.apps.script.type.gmail.ComposeTrigger.DraftAccess draft_access = 4; - * * @return The draftAccess. */ - @java.lang.Override - public com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess getDraftAccess() { + @java.lang.Override public com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess getDraftAccess() { @SuppressWarnings("deprecation") - com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess result = - com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess.valueOf(draftAccess_); - return result == null - ? com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess.UNRECOGNIZED - : result; + com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess result = com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess.valueOf(draftAccess_); + return result == null ? com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -420,9 +362,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (draftAccess_ - != com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess.UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (draftAccess_ != com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess.UNSPECIFIED.getNumber()) { output.writeEnum(4, draftAccess_); } for (int i = 0; i < actions_.size(); i++) { @@ -437,12 +379,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (draftAccess_ - != com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess.UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, draftAccess_); + if (draftAccess_ != com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess.UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, draftAccess_); } for (int i = 0; i < actions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, actions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, actions_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -452,15 +395,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.gmail.ComposeTrigger)) { return super.equals(obj); } - com.google.apps.script.type.gmail.ComposeTrigger other = - (com.google.apps.script.type.gmail.ComposeTrigger) obj; + com.google.apps.script.type.gmail.ComposeTrigger other = (com.google.apps.script.type.gmail.ComposeTrigger) obj; - if (!getActionsList().equals(other.getActionsList())) return false; + if (!getActionsList() + .equals(other.getActionsList())) return false; if (draftAccess_ != other.draftAccess_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -484,127 +427,118 @@ public int hashCode() { return hash; } - public static com.google.apps.script.type.gmail.ComposeTrigger parseFrom(java.nio.ByteBuffer data) + public static com.google.apps.script.type.gmail.ComposeTrigger parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.gmail.ComposeTrigger parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.gmail.ComposeTrigger parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.gmail.ComposeTrigger parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.gmail.ComposeTrigger parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.gmail.ComposeTrigger parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.apps.script.type.gmail.ComposeTrigger parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.apps.script.type.gmail.ComposeTrigger parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.gmail.ComposeTrigger parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.apps.script.type.gmail.ComposeTrigger parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.apps.script.type.gmail.ComposeTrigger parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.apps.script.type.gmail.ComposeTrigger parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.gmail.ComposeTrigger parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.gmail.ComposeTrigger parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.apps.script.type.gmail.ComposeTrigger prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A trigger that activates when user is composing an email.
    * 
* * Protobuf type {@code google.apps.script.type.gmail.ComposeTrigger} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.script.type.gmail.ComposeTrigger) com.google.apps.script.type.gmail.ComposeTriggerOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.apps.script.type.gmail.GmailAddOnManifestProto - .internal_static_google_apps_script_type_gmail_ComposeTrigger_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_ComposeTrigger_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.gmail.GmailAddOnManifestProto - .internal_static_google_apps_script_type_gmail_ComposeTrigger_fieldAccessorTable + return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_ComposeTrigger_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.gmail.ComposeTrigger.class, - com.google.apps.script.type.gmail.ComposeTrigger.Builder.class); + com.google.apps.script.type.gmail.ComposeTrigger.class, com.google.apps.script.type.gmail.ComposeTrigger.Builder.class); } // Construct using com.google.apps.script.type.gmail.ComposeTrigger.newBuilder() @@ -612,17 +546,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getActionsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -638,9 +572,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.apps.script.type.gmail.GmailAddOnManifestProto - .internal_static_google_apps_script_type_gmail_ComposeTrigger_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_ComposeTrigger_descriptor; } @java.lang.Override @@ -659,8 +593,7 @@ public com.google.apps.script.type.gmail.ComposeTrigger build() { @java.lang.Override public com.google.apps.script.type.gmail.ComposeTrigger buildPartial() { - com.google.apps.script.type.gmail.ComposeTrigger result = - new com.google.apps.script.type.gmail.ComposeTrigger(this); + com.google.apps.script.type.gmail.ComposeTrigger result = new com.google.apps.script.type.gmail.ComposeTrigger(this); int from_bitField0_ = bitField0_; if (actionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -680,39 +613,38 @@ public com.google.apps.script.type.gmail.ComposeTrigger buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.script.type.gmail.ComposeTrigger) { - return mergeFrom((com.google.apps.script.type.gmail.ComposeTrigger) other); + return mergeFrom((com.google.apps.script.type.gmail.ComposeTrigger)other); } else { super.mergeFrom(other); return this; @@ -720,8 +652,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.apps.script.type.gmail.ComposeTrigger other) { - if (other == com.google.apps.script.type.gmail.ComposeTrigger.getDefaultInstance()) - return this; + if (other == com.google.apps.script.type.gmail.ComposeTrigger.getDefaultInstance()) return this; if (actionsBuilder_ == null) { if (!other.actions_.isEmpty()) { if (actions_.isEmpty()) { @@ -740,10 +671,9 @@ public Builder mergeFrom(com.google.apps.script.type.gmail.ComposeTrigger other) actionsBuilder_ = null; actions_ = other.actions_; bitField0_ = (bitField0_ & ~0x00000001); - actionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getActionsFieldBuilder() - : null; + actionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getActionsFieldBuilder() : null; } else { actionsBuilder_.addAllMessages(other.actions_); } @@ -780,29 +710,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List actions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureActionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - actions_ = - new java.util.ArrayList(actions_); + actions_ = new java.util.ArrayList(actions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.apps.script.type.MenuItemExtensionPoint, - com.google.apps.script.type.MenuItemExtensionPoint.Builder, - com.google.apps.script.type.MenuItemExtensionPointOrBuilder> - actionsBuilder_; + com.google.apps.script.type.MenuItemExtensionPoint, com.google.apps.script.type.MenuItemExtensionPoint.Builder, com.google.apps.script.type.MenuItemExtensionPointOrBuilder> actionsBuilder_; /** - * - * *
      * Defines the set of actions for compose time add-on. These are actions
      * that user can trigger on a compose time addon.
@@ -818,8 +740,6 @@ public java.util.List getAct
       }
     }
     /**
-     *
-     *
      * 
      * Defines the set of actions for compose time add-on. These are actions
      * that user can trigger on a compose time addon.
@@ -835,8 +755,6 @@ public int getActionsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Defines the set of actions for compose time add-on. These are actions
      * that user can trigger on a compose time addon.
@@ -852,8 +770,6 @@ public com.google.apps.script.type.MenuItemExtensionPoint getActions(int index)
       }
     }
     /**
-     *
-     *
      * 
      * Defines the set of actions for compose time add-on. These are actions
      * that user can trigger on a compose time addon.
@@ -861,7 +777,8 @@ public com.google.apps.script.type.MenuItemExtensionPoint getActions(int index)
      *
      * repeated .google.apps.script.type.MenuItemExtensionPoint actions = 5;
      */
-    public Builder setActions(int index, com.google.apps.script.type.MenuItemExtensionPoint value) {
+    public Builder setActions(
+        int index, com.google.apps.script.type.MenuItemExtensionPoint value) {
       if (actionsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -875,8 +792,6 @@ public Builder setActions(int index, com.google.apps.script.type.MenuItemExtensi
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines the set of actions for compose time add-on. These are actions
      * that user can trigger on a compose time addon.
@@ -896,8 +811,6 @@ public Builder setActions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines the set of actions for compose time add-on. These are actions
      * that user can trigger on a compose time addon.
@@ -919,8 +832,6 @@ public Builder addActions(com.google.apps.script.type.MenuItemExtensionPoint val
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines the set of actions for compose time add-on. These are actions
      * that user can trigger on a compose time addon.
@@ -928,7 +839,8 @@ public Builder addActions(com.google.apps.script.type.MenuItemExtensionPoint val
      *
      * repeated .google.apps.script.type.MenuItemExtensionPoint actions = 5;
      */
-    public Builder addActions(int index, com.google.apps.script.type.MenuItemExtensionPoint value) {
+    public Builder addActions(
+        int index, com.google.apps.script.type.MenuItemExtensionPoint value) {
       if (actionsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -942,8 +854,6 @@ public Builder addActions(int index, com.google.apps.script.type.MenuItemExtensi
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines the set of actions for compose time add-on. These are actions
      * that user can trigger on a compose time addon.
@@ -963,8 +873,6 @@ public Builder addActions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines the set of actions for compose time add-on. These are actions
      * that user can trigger on a compose time addon.
@@ -984,8 +892,6 @@ public Builder addActions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines the set of actions for compose time add-on. These are actions
      * that user can trigger on a compose time addon.
@@ -997,7 +903,8 @@ public Builder addAllActions(
         java.lang.Iterable values) {
       if (actionsBuilder_ == null) {
         ensureActionsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, actions_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, actions_);
         onChanged();
       } else {
         actionsBuilder_.addAllMessages(values);
@@ -1005,8 +912,6 @@ public Builder addAllActions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines the set of actions for compose time add-on. These are actions
      * that user can trigger on a compose time addon.
@@ -1025,8 +930,6 @@ public Builder clearActions() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines the set of actions for compose time add-on. These are actions
      * that user can trigger on a compose time addon.
@@ -1045,8 +948,6 @@ public Builder removeActions(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines the set of actions for compose time add-on. These are actions
      * that user can trigger on a compose time addon.
@@ -1054,12 +955,11 @@ public Builder removeActions(int index) {
      *
      * repeated .google.apps.script.type.MenuItemExtensionPoint actions = 5;
      */
-    public com.google.apps.script.type.MenuItemExtensionPoint.Builder getActionsBuilder(int index) {
+    public com.google.apps.script.type.MenuItemExtensionPoint.Builder getActionsBuilder(
+        int index) {
       return getActionsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Defines the set of actions for compose time add-on. These are actions
      * that user can trigger on a compose time addon.
@@ -1070,14 +970,11 @@ public com.google.apps.script.type.MenuItemExtensionPoint.Builder getActionsBuil
     public com.google.apps.script.type.MenuItemExtensionPointOrBuilder getActionsOrBuilder(
         int index) {
       if (actionsBuilder_ == null) {
-        return actions_.get(index);
-      } else {
+        return actions_.get(index);  } else {
         return actionsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Defines the set of actions for compose time add-on. These are actions
      * that user can trigger on a compose time addon.
@@ -1085,8 +982,8 @@ public com.google.apps.script.type.MenuItemExtensionPointOrBuilder getActionsOrB
      *
      * repeated .google.apps.script.type.MenuItemExtensionPoint actions = 5;
      */
-    public java.util.List
-        getActionsOrBuilderList() {
+    public java.util.List 
+         getActionsOrBuilderList() {
       if (actionsBuilder_ != null) {
         return actionsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1094,8 +991,6 @@ public com.google.apps.script.type.MenuItemExtensionPointOrBuilder getActionsOrB
       }
     }
     /**
-     *
-     *
      * 
      * Defines the set of actions for compose time add-on. These are actions
      * that user can trigger on a compose time addon.
@@ -1104,12 +999,10 @@ public com.google.apps.script.type.MenuItemExtensionPointOrBuilder getActionsOrB
      * repeated .google.apps.script.type.MenuItemExtensionPoint actions = 5;
      */
     public com.google.apps.script.type.MenuItemExtensionPoint.Builder addActionsBuilder() {
-      return getActionsFieldBuilder()
-          .addBuilder(com.google.apps.script.type.MenuItemExtensionPoint.getDefaultInstance());
+      return getActionsFieldBuilder().addBuilder(
+          com.google.apps.script.type.MenuItemExtensionPoint.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Defines the set of actions for compose time add-on. These are actions
      * that user can trigger on a compose time addon.
@@ -1117,14 +1010,12 @@ public com.google.apps.script.type.MenuItemExtensionPoint.Builder addActionsBuil
      *
      * repeated .google.apps.script.type.MenuItemExtensionPoint actions = 5;
      */
-    public com.google.apps.script.type.MenuItemExtensionPoint.Builder addActionsBuilder(int index) {
-      return getActionsFieldBuilder()
-          .addBuilder(
-              index, com.google.apps.script.type.MenuItemExtensionPoint.getDefaultInstance());
+    public com.google.apps.script.type.MenuItemExtensionPoint.Builder addActionsBuilder(
+        int index) {
+      return getActionsFieldBuilder().addBuilder(
+          index, com.google.apps.script.type.MenuItemExtensionPoint.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Defines the set of actions for compose time add-on. These are actions
      * that user can trigger on a compose time addon.
@@ -1132,23 +1023,20 @@ public com.google.apps.script.type.MenuItemExtensionPoint.Builder addActionsBuil
      *
      * repeated .google.apps.script.type.MenuItemExtensionPoint actions = 5;
      */
-    public java.util.List
-        getActionsBuilderList() {
+    public java.util.List 
+         getActionsBuilderList() {
       return getActionsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.apps.script.type.MenuItemExtensionPoint,
-            com.google.apps.script.type.MenuItemExtensionPoint.Builder,
-            com.google.apps.script.type.MenuItemExtensionPointOrBuilder>
+        com.google.apps.script.type.MenuItemExtensionPoint, com.google.apps.script.type.MenuItemExtensionPoint.Builder, com.google.apps.script.type.MenuItemExtensionPointOrBuilder> 
         getActionsFieldBuilder() {
       if (actionsBuilder_ == null) {
-        actionsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.apps.script.type.MenuItemExtensionPoint,
-                com.google.apps.script.type.MenuItemExtensionPoint.Builder,
-                com.google.apps.script.type.MenuItemExtensionPointOrBuilder>(
-                actions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        actionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.apps.script.type.MenuItemExtensionPoint, com.google.apps.script.type.MenuItemExtensionPoint.Builder, com.google.apps.script.type.MenuItemExtensionPointOrBuilder>(
+                actions_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         actions_ = null;
       }
       return actionsBuilder_;
@@ -1156,100 +1044,80 @@ public com.google.apps.script.type.MenuItemExtensionPoint.Builder addActionsBuil
 
     private int draftAccess_ = 0;
     /**
-     *
-     *
      * 
      * Define the level of data access when a compose time addon is triggered.
      * 
* * .google.apps.script.type.gmail.ComposeTrigger.DraftAccess draft_access = 4; - * * @return The enum numeric value on the wire for draftAccess. */ - @java.lang.Override - public int getDraftAccessValue() { + @java.lang.Override public int getDraftAccessValue() { return draftAccess_; } /** - * - * *
      * Define the level of data access when a compose time addon is triggered.
      * 
* * .google.apps.script.type.gmail.ComposeTrigger.DraftAccess draft_access = 4; - * * @param value The enum numeric value on the wire for draftAccess to set. * @return This builder for chaining. */ public Builder setDraftAccessValue(int value) { - + draftAccess_ = value; onChanged(); return this; } /** - * - * *
      * Define the level of data access when a compose time addon is triggered.
      * 
* * .google.apps.script.type.gmail.ComposeTrigger.DraftAccess draft_access = 4; - * * @return The draftAccess. */ @java.lang.Override public com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess getDraftAccess() { @SuppressWarnings("deprecation") - com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess result = - com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess.valueOf(draftAccess_); - return result == null - ? com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess.UNRECOGNIZED - : result; + com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess result = com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess.valueOf(draftAccess_); + return result == null ? com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess.UNRECOGNIZED : result; } /** - * - * *
      * Define the level of data access when a compose time addon is triggered.
      * 
* * .google.apps.script.type.gmail.ComposeTrigger.DraftAccess draft_access = 4; - * * @param value The draftAccess to set. * @return This builder for chaining. */ - public Builder setDraftAccess( - com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess value) { + public Builder setDraftAccess(com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess value) { if (value == null) { throw new NullPointerException(); } - + draftAccess_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Define the level of data access when a compose time addon is triggered.
      * 
* * .google.apps.script.type.gmail.ComposeTrigger.DraftAccess draft_access = 4; - * * @return This builder for chaining. */ public Builder clearDraftAccess() { - + draftAccess_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1259,12 +1127,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.apps.script.type.gmail.ComposeTrigger) } // @@protoc_insertion_point(class_scope:google.apps.script.type.gmail.ComposeTrigger) private static final com.google.apps.script.type.gmail.ComposeTrigger DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.apps.script.type.gmail.ComposeTrigger(); } @@ -1273,16 +1141,16 @@ public static com.google.apps.script.type.gmail.ComposeTrigger getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ComposeTrigger parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ComposeTrigger(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ComposeTrigger parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ComposeTrigger(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1297,4 +1165,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.gmail.ComposeTrigger getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ComposeTriggerOrBuilder.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ComposeTriggerOrBuilder.java similarity index 75% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ComposeTriggerOrBuilder.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ComposeTriggerOrBuilder.java index cf806db1..165aa8d2 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ComposeTriggerOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ComposeTriggerOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/gmail/gmail_addon_manifest.proto package com.google.apps.script.type.gmail; -public interface ComposeTriggerOrBuilder - extends +public interface ComposeTriggerOrBuilder extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.gmail.ComposeTrigger) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Defines the set of actions for compose time add-on. These are actions
    * that user can trigger on a compose time addon.
@@ -33,10 +15,9 @@ public interface ComposeTriggerOrBuilder
    *
    * repeated .google.apps.script.type.MenuItemExtensionPoint actions = 5;
    */
-  java.util.List getActionsList();
+  java.util.List 
+      getActionsList();
   /**
-   *
-   *
    * 
    * Defines the set of actions for compose time add-on. These are actions
    * that user can trigger on a compose time addon.
@@ -46,8 +27,6 @@ public interface ComposeTriggerOrBuilder
    */
   com.google.apps.script.type.MenuItemExtensionPoint getActions(int index);
   /**
-   *
-   *
    * 
    * Defines the set of actions for compose time add-on. These are actions
    * that user can trigger on a compose time addon.
@@ -57,8 +36,6 @@ public interface ComposeTriggerOrBuilder
    */
   int getActionsCount();
   /**
-   *
-   *
    * 
    * Defines the set of actions for compose time add-on. These are actions
    * that user can trigger on a compose time addon.
@@ -66,11 +43,9 @@ public interface ComposeTriggerOrBuilder
    *
    * repeated .google.apps.script.type.MenuItemExtensionPoint actions = 5;
    */
-  java.util.List
+  java.util.List 
       getActionsOrBuilderList();
   /**
-   *
-   *
    * 
    * Defines the set of actions for compose time add-on. These are actions
    * that user can trigger on a compose time addon.
@@ -78,29 +53,24 @@ public interface ComposeTriggerOrBuilder
    *
    * repeated .google.apps.script.type.MenuItemExtensionPoint actions = 5;
    */
-  com.google.apps.script.type.MenuItemExtensionPointOrBuilder getActionsOrBuilder(int index);
+  com.google.apps.script.type.MenuItemExtensionPointOrBuilder getActionsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Define the level of data access when a compose time addon is triggered.
    * 
* * .google.apps.script.type.gmail.ComposeTrigger.DraftAccess draft_access = 4; - * * @return The enum numeric value on the wire for draftAccess. */ int getDraftAccessValue(); /** - * - * *
    * Define the level of data access when a compose time addon is triggered.
    * 
* * .google.apps.script.type.gmail.ComposeTrigger.DraftAccess draft_access = 4; - * * @return The draftAccess. */ com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess getDraftAccess(); diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ContextualTrigger.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ContextualTrigger.java similarity index 71% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ContextualTrigger.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ContextualTrigger.java index 8b65f9bd..aa697fd5 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ContextualTrigger.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ContextualTrigger.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/gmail/gmail_addon_manifest.proto package com.google.apps.script.type.gmail; /** - * - * *
  * Defines a trigger that fires when the open email meets a specific criteria.
  * When the trigger fires, it executes a specific endpoint, usually
@@ -29,31 +12,31 @@
  *
  * Protobuf type {@code google.apps.script.type.gmail.ContextualTrigger}
  */
-public final class ContextualTrigger extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ContextualTrigger extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.apps.script.type.gmail.ContextualTrigger)
     ContextualTriggerOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ContextualTrigger.newBuilder() to construct.
   private ContextualTrigger(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ContextualTrigger() {
     onTriggerFunction_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ContextualTrigger();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ContextualTrigger(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,39 +55,33 @@ private ContextualTrigger(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              com.google.apps.script.type.gmail.UnconditionalTrigger.Builder subBuilder = null;
-              if (triggerCase_ == 1) {
-                subBuilder =
-                    ((com.google.apps.script.type.gmail.UnconditionalTrigger) trigger_).toBuilder();
-              }
-              trigger_ =
-                  input.readMessage(
-                      com.google.apps.script.type.gmail.UnconditionalTrigger.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(
-                    (com.google.apps.script.type.gmail.UnconditionalTrigger) trigger_);
-                trigger_ = subBuilder.buildPartial();
-              }
-              triggerCase_ = 1;
-              break;
+          case 10: {
+            com.google.apps.script.type.gmail.UnconditionalTrigger.Builder subBuilder = null;
+            if (triggerCase_ == 1) {
+              subBuilder = ((com.google.apps.script.type.gmail.UnconditionalTrigger) trigger_).toBuilder();
             }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              onTriggerFunction_ = s;
-              break;
+            trigger_ =
+                input.readMessage(com.google.apps.script.type.gmail.UnconditionalTrigger.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom((com.google.apps.script.type.gmail.UnconditionalTrigger) trigger_);
+              trigger_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            triggerCase_ = 1;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            onTriggerFunction_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -112,39 +89,34 @@ private ContextualTrigger(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.apps.script.type.gmail.GmailAddOnManifestProto
-        .internal_static_google_apps_script_type_gmail_ContextualTrigger_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_ContextualTrigger_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.apps.script.type.gmail.GmailAddOnManifestProto
-        .internal_static_google_apps_script_type_gmail_ContextualTrigger_fieldAccessorTable
+    return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_ContextualTrigger_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.apps.script.type.gmail.ContextualTrigger.class,
-            com.google.apps.script.type.gmail.ContextualTrigger.Builder.class);
+            com.google.apps.script.type.gmail.ContextualTrigger.class, com.google.apps.script.type.gmail.ContextualTrigger.Builder.class);
   }
 
   private int triggerCase_ = 0;
   private java.lang.Object trigger_;
-
   public enum TriggerCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     UNCONDITIONAL(1),
     TRIGGER_NOT_SET(0);
     private final int value;
-
     private TriggerCase(int value) {
       this.value = value;
     }
@@ -160,34 +132,29 @@ public static TriggerCase valueOf(int value) {
 
     public static TriggerCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return UNCONDITIONAL;
-        case 0:
-          return TRIGGER_NOT_SET;
-        default:
-          return null;
+        case 1: return UNCONDITIONAL;
+        case 0: return TRIGGER_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TriggerCase getTriggerCase() {
-    return TriggerCase.forNumber(triggerCase_);
+  public TriggerCase
+  getTriggerCase() {
+    return TriggerCase.forNumber(
+        triggerCase_);
   }
 
   public static final int UNCONDITIONAL_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * UnconditionalTriggers are executed when any mail message is opened.
    * 
* * .google.apps.script.type.gmail.UnconditionalTrigger unconditional = 1; - * * @return Whether the unconditional field is set. */ @java.lang.Override @@ -195,26 +162,21 @@ public boolean hasUnconditional() { return triggerCase_ == 1; } /** - * - * *
    * UnconditionalTriggers are executed when any mail message is opened.
    * 
* * .google.apps.script.type.gmail.UnconditionalTrigger unconditional = 1; - * * @return The unconditional. */ @java.lang.Override public com.google.apps.script.type.gmail.UnconditionalTrigger getUnconditional() { if (triggerCase_ == 1) { - return (com.google.apps.script.type.gmail.UnconditionalTrigger) trigger_; + return (com.google.apps.script.type.gmail.UnconditionalTrigger) trigger_; } return com.google.apps.script.type.gmail.UnconditionalTrigger.getDefaultInstance(); } /** - * - * *
    * UnconditionalTriggers are executed when any mail message is opened.
    * 
@@ -222,10 +184,9 @@ public com.google.apps.script.type.gmail.UnconditionalTrigger getUnconditional() * .google.apps.script.type.gmail.UnconditionalTrigger unconditional = 1; */ @java.lang.Override - public com.google.apps.script.type.gmail.UnconditionalTriggerOrBuilder - getUnconditionalOrBuilder() { + public com.google.apps.script.type.gmail.UnconditionalTriggerOrBuilder getUnconditionalOrBuilder() { if (triggerCase_ == 1) { - return (com.google.apps.script.type.gmail.UnconditionalTrigger) trigger_; + return (com.google.apps.script.type.gmail.UnconditionalTrigger) trigger_; } return com.google.apps.script.type.gmail.UnconditionalTrigger.getDefaultInstance(); } @@ -233,15 +194,12 @@ public com.google.apps.script.type.gmail.UnconditionalTrigger getUnconditional() public static final int ON_TRIGGER_FUNCTION_FIELD_NUMBER = 4; private volatile java.lang.Object onTriggerFunction_; /** - * - * *
    * Required. The name of the endpoint to call when a message matches the
    * trigger.
    * 
* * string on_trigger_function = 4; - * * @return The onTriggerFunction. */ @java.lang.Override @@ -250,30 +208,30 @@ public java.lang.String getOnTriggerFunction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); onTriggerFunction_ = s; return s; } } /** - * - * *
    * Required. The name of the endpoint to call when a message matches the
    * trigger.
    * 
* * string on_trigger_function = 4; - * * @return The bytes for onTriggerFunction. */ @java.lang.Override - public com.google.protobuf.ByteString getOnTriggerFunctionBytes() { + public com.google.protobuf.ByteString + getOnTriggerFunctionBytes() { java.lang.Object ref = onTriggerFunction_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); onTriggerFunction_ = b; return b; } else { @@ -282,7 +240,6 @@ public com.google.protobuf.ByteString getOnTriggerFunctionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -294,7 +251,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (triggerCase_ == 1) { output.writeMessage(1, (com.google.apps.script.type.gmail.UnconditionalTrigger) trigger_); } @@ -311,9 +269,8 @@ public int getSerializedSize() { size = 0; if (triggerCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.apps.script.type.gmail.UnconditionalTrigger) trigger_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.apps.script.type.gmail.UnconditionalTrigger) trigger_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(onTriggerFunction_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, onTriggerFunction_); @@ -326,19 +283,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.gmail.ContextualTrigger)) { return super.equals(obj); } - com.google.apps.script.type.gmail.ContextualTrigger other = - (com.google.apps.script.type.gmail.ContextualTrigger) obj; + com.google.apps.script.type.gmail.ContextualTrigger other = (com.google.apps.script.type.gmail.ContextualTrigger) obj; - if (!getOnTriggerFunction().equals(other.getOnTriggerFunction())) return false; + if (!getOnTriggerFunction() + .equals(other.getOnTriggerFunction())) return false; if (!getTriggerCase().equals(other.getTriggerCase())) return false; switch (triggerCase_) { case 1: - if (!getUnconditional().equals(other.getUnconditional())) return false; + if (!getUnconditional() + .equals(other.getUnconditional())) return false; break; case 0: default: @@ -370,103 +328,96 @@ public int hashCode() { } public static com.google.apps.script.type.gmail.ContextualTrigger parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.gmail.ContextualTrigger parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.gmail.ContextualTrigger parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.gmail.ContextualTrigger parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.gmail.ContextualTrigger parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.gmail.ContextualTrigger parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.apps.script.type.gmail.ContextualTrigger parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.apps.script.type.gmail.ContextualTrigger parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.gmail.ContextualTrigger parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.apps.script.type.gmail.ContextualTrigger parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.apps.script.type.gmail.ContextualTrigger parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.apps.script.type.gmail.ContextualTrigger parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.gmail.ContextualTrigger parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.gmail.ContextualTrigger parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.apps.script.type.gmail.ContextualTrigger prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Defines a trigger that fires when the open email meets a specific criteria.
    * When the trigger fires, it executes a specific endpoint, usually
@@ -475,23 +426,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.apps.script.type.gmail.ContextualTrigger}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.apps.script.type.gmail.ContextualTrigger)
       com.google.apps.script.type.gmail.ContextualTriggerOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.apps.script.type.gmail.GmailAddOnManifestProto
-          .internal_static_google_apps_script_type_gmail_ContextualTrigger_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_ContextualTrigger_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.apps.script.type.gmail.GmailAddOnManifestProto
-          .internal_static_google_apps_script_type_gmail_ContextualTrigger_fieldAccessorTable
+      return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_ContextualTrigger_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.apps.script.type.gmail.ContextualTrigger.class,
-              com.google.apps.script.type.gmail.ContextualTrigger.Builder.class);
+              com.google.apps.script.type.gmail.ContextualTrigger.class, com.google.apps.script.type.gmail.ContextualTrigger.Builder.class);
     }
 
     // Construct using com.google.apps.script.type.gmail.ContextualTrigger.newBuilder()
@@ -499,15 +448,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -519,9 +469,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.apps.script.type.gmail.GmailAddOnManifestProto
-          .internal_static_google_apps_script_type_gmail_ContextualTrigger_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_ContextualTrigger_descriptor;
     }
 
     @java.lang.Override
@@ -540,8 +490,7 @@ public com.google.apps.script.type.gmail.ContextualTrigger build() {
 
     @java.lang.Override
     public com.google.apps.script.type.gmail.ContextualTrigger buildPartial() {
-      com.google.apps.script.type.gmail.ContextualTrigger result =
-          new com.google.apps.script.type.gmail.ContextualTrigger(this);
+      com.google.apps.script.type.gmail.ContextualTrigger result = new com.google.apps.script.type.gmail.ContextualTrigger(this);
       if (triggerCase_ == 1) {
         if (unconditionalBuilder_ == null) {
           result.trigger_ = trigger_;
@@ -559,39 +508,38 @@ public com.google.apps.script.type.gmail.ContextualTrigger buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.apps.script.type.gmail.ContextualTrigger) {
-        return mergeFrom((com.google.apps.script.type.gmail.ContextualTrigger) other);
+        return mergeFrom((com.google.apps.script.type.gmail.ContextualTrigger)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -599,22 +547,19 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.apps.script.type.gmail.ContextualTrigger other) {
-      if (other == com.google.apps.script.type.gmail.ContextualTrigger.getDefaultInstance())
-        return this;
+      if (other == com.google.apps.script.type.gmail.ContextualTrigger.getDefaultInstance()) return this;
       if (!other.getOnTriggerFunction().isEmpty()) {
         onTriggerFunction_ = other.onTriggerFunction_;
         onChanged();
       }
       switch (other.getTriggerCase()) {
-        case UNCONDITIONAL:
-          {
-            mergeUnconditional(other.getUnconditional());
-            break;
-          }
-        case TRIGGER_NOT_SET:
-          {
-            break;
-          }
+        case UNCONDITIONAL: {
+          mergeUnconditional(other.getUnconditional());
+          break;
+        }
+        case TRIGGER_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -635,8 +580,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.apps.script.type.gmail.ContextualTrigger) e.getUnfinishedMessage();
+        parsedMessage = (com.google.apps.script.type.gmail.ContextualTrigger) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -645,12 +589,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int triggerCase_ = 0;
     private java.lang.Object trigger_;
-
-    public TriggerCase getTriggerCase() {
-      return TriggerCase.forNumber(triggerCase_);
+    public TriggerCase
+        getTriggerCase() {
+      return TriggerCase.forNumber(
+          triggerCase_);
     }
 
     public Builder clearTrigger() {
@@ -660,20 +604,15 @@ public Builder clearTrigger() {
       return this;
     }
 
+
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.apps.script.type.gmail.UnconditionalTrigger,
-            com.google.apps.script.type.gmail.UnconditionalTrigger.Builder,
-            com.google.apps.script.type.gmail.UnconditionalTriggerOrBuilder>
-        unconditionalBuilder_;
+        com.google.apps.script.type.gmail.UnconditionalTrigger, com.google.apps.script.type.gmail.UnconditionalTrigger.Builder, com.google.apps.script.type.gmail.UnconditionalTriggerOrBuilder> unconditionalBuilder_;
     /**
-     *
-     *
      * 
      * UnconditionalTriggers are executed when any mail message is opened.
      * 
* * .google.apps.script.type.gmail.UnconditionalTrigger unconditional = 1; - * * @return Whether the unconditional field is set. */ @java.lang.Override @@ -681,14 +620,11 @@ public boolean hasUnconditional() { return triggerCase_ == 1; } /** - * - * *
      * UnconditionalTriggers are executed when any mail message is opened.
      * 
* * .google.apps.script.type.gmail.UnconditionalTrigger unconditional = 1; - * * @return The unconditional. */ @java.lang.Override @@ -706,8 +642,6 @@ public com.google.apps.script.type.gmail.UnconditionalTrigger getUnconditional() } } /** - * - * *
      * UnconditionalTriggers are executed when any mail message is opened.
      * 
@@ -728,8 +662,6 @@ public Builder setUnconditional(com.google.apps.script.type.gmail.UnconditionalT return this; } /** - * - * *
      * UnconditionalTriggers are executed when any mail message is opened.
      * 
@@ -748,25 +680,18 @@ public Builder setUnconditional( return this; } /** - * - * *
      * UnconditionalTriggers are executed when any mail message is opened.
      * 
* * .google.apps.script.type.gmail.UnconditionalTrigger unconditional = 1; */ - public Builder mergeUnconditional( - com.google.apps.script.type.gmail.UnconditionalTrigger value) { + public Builder mergeUnconditional(com.google.apps.script.type.gmail.UnconditionalTrigger value) { if (unconditionalBuilder_ == null) { - if (triggerCase_ == 1 - && trigger_ - != com.google.apps.script.type.gmail.UnconditionalTrigger.getDefaultInstance()) { - trigger_ = - com.google.apps.script.type.gmail.UnconditionalTrigger.newBuilder( - (com.google.apps.script.type.gmail.UnconditionalTrigger) trigger_) - .mergeFrom(value) - .buildPartial(); + if (triggerCase_ == 1 && + trigger_ != com.google.apps.script.type.gmail.UnconditionalTrigger.getDefaultInstance()) { + trigger_ = com.google.apps.script.type.gmail.UnconditionalTrigger.newBuilder((com.google.apps.script.type.gmail.UnconditionalTrigger) trigger_) + .mergeFrom(value).buildPartial(); } else { trigger_ = value; } @@ -782,8 +707,6 @@ public Builder mergeUnconditional( return this; } /** - * - * *
      * UnconditionalTriggers are executed when any mail message is opened.
      * 
@@ -807,21 +730,16 @@ public Builder clearUnconditional() { return this; } /** - * - * *
      * UnconditionalTriggers are executed when any mail message is opened.
      * 
* * .google.apps.script.type.gmail.UnconditionalTrigger unconditional = 1; */ - public com.google.apps.script.type.gmail.UnconditionalTrigger.Builder - getUnconditionalBuilder() { + public com.google.apps.script.type.gmail.UnconditionalTrigger.Builder getUnconditionalBuilder() { return getUnconditionalFieldBuilder().getBuilder(); } /** - * - * *
      * UnconditionalTriggers are executed when any mail message is opened.
      * 
@@ -829,8 +747,7 @@ public Builder clearUnconditional() { * .google.apps.script.type.gmail.UnconditionalTrigger unconditional = 1; */ @java.lang.Override - public com.google.apps.script.type.gmail.UnconditionalTriggerOrBuilder - getUnconditionalOrBuilder() { + public com.google.apps.script.type.gmail.UnconditionalTriggerOrBuilder getUnconditionalOrBuilder() { if ((triggerCase_ == 1) && (unconditionalBuilder_ != null)) { return unconditionalBuilder_.getMessageOrBuilder(); } else { @@ -841,8 +758,6 @@ public Builder clearUnconditional() { } } /** - * - * *
      * UnconditionalTriggers are executed when any mail message is opened.
      * 
@@ -850,47 +765,39 @@ public Builder clearUnconditional() { * .google.apps.script.type.gmail.UnconditionalTrigger unconditional = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.gmail.UnconditionalTrigger, - com.google.apps.script.type.gmail.UnconditionalTrigger.Builder, - com.google.apps.script.type.gmail.UnconditionalTriggerOrBuilder> + com.google.apps.script.type.gmail.UnconditionalTrigger, com.google.apps.script.type.gmail.UnconditionalTrigger.Builder, com.google.apps.script.type.gmail.UnconditionalTriggerOrBuilder> getUnconditionalFieldBuilder() { if (unconditionalBuilder_ == null) { if (!(triggerCase_ == 1)) { trigger_ = com.google.apps.script.type.gmail.UnconditionalTrigger.getDefaultInstance(); } - unconditionalBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.gmail.UnconditionalTrigger, - com.google.apps.script.type.gmail.UnconditionalTrigger.Builder, - com.google.apps.script.type.gmail.UnconditionalTriggerOrBuilder>( + unconditionalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.apps.script.type.gmail.UnconditionalTrigger, com.google.apps.script.type.gmail.UnconditionalTrigger.Builder, com.google.apps.script.type.gmail.UnconditionalTriggerOrBuilder>( (com.google.apps.script.type.gmail.UnconditionalTrigger) trigger_, getParentForChildren(), isClean()); trigger_ = null; } triggerCase_ = 1; - onChanged(); - ; + onChanged();; return unconditionalBuilder_; } private java.lang.Object onTriggerFunction_ = ""; /** - * - * *
      * Required. The name of the endpoint to call when a message matches the
      * trigger.
      * 
* * string on_trigger_function = 4; - * * @return The onTriggerFunction. */ public java.lang.String getOnTriggerFunction() { java.lang.Object ref = onTriggerFunction_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); onTriggerFunction_ = s; return s; @@ -899,22 +806,21 @@ public java.lang.String getOnTriggerFunction() { } } /** - * - * *
      * Required. The name of the endpoint to call when a message matches the
      * trigger.
      * 
* * string on_trigger_function = 4; - * * @return The bytes for onTriggerFunction. */ - public com.google.protobuf.ByteString getOnTriggerFunctionBytes() { + public com.google.protobuf.ByteString + getOnTriggerFunctionBytes() { java.lang.Object ref = onTriggerFunction_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); onTriggerFunction_ = b; return b; } else { @@ -922,71 +828,64 @@ public com.google.protobuf.ByteString getOnTriggerFunctionBytes() { } } /** - * - * *
      * Required. The name of the endpoint to call when a message matches the
      * trigger.
      * 
* * string on_trigger_function = 4; - * * @param value The onTriggerFunction to set. * @return This builder for chaining. */ - public Builder setOnTriggerFunction(java.lang.String value) { + public Builder setOnTriggerFunction( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + onTriggerFunction_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the endpoint to call when a message matches the
      * trigger.
      * 
* * string on_trigger_function = 4; - * * @return This builder for chaining. */ public Builder clearOnTriggerFunction() { - + onTriggerFunction_ = getDefaultInstance().getOnTriggerFunction(); onChanged(); return this; } /** - * - * *
      * Required. The name of the endpoint to call when a message matches the
      * trigger.
      * 
* * string on_trigger_function = 4; - * * @param value The bytes for onTriggerFunction to set. * @return This builder for chaining. */ - public Builder setOnTriggerFunctionBytes(com.google.protobuf.ByteString value) { + public Builder setOnTriggerFunctionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + onTriggerFunction_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -996,12 +895,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.apps.script.type.gmail.ContextualTrigger) } // @@protoc_insertion_point(class_scope:google.apps.script.type.gmail.ContextualTrigger) private static final com.google.apps.script.type.gmail.ContextualTrigger DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.apps.script.type.gmail.ContextualTrigger(); } @@ -1010,16 +909,16 @@ public static com.google.apps.script.type.gmail.ContextualTrigger getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ContextualTrigger parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ContextualTrigger(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ContextualTrigger parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ContextualTrigger(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1034,4 +933,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.gmail.ContextualTrigger getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ContextualTriggerOrBuilder.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ContextualTriggerOrBuilder.java similarity index 69% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ContextualTriggerOrBuilder.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ContextualTriggerOrBuilder.java index 44b14b0d..3c39b26e 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ContextualTriggerOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ContextualTriggerOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/gmail/gmail_addon_manifest.proto package com.google.apps.script.type.gmail; -public interface ContextualTriggerOrBuilder - extends +public interface ContextualTriggerOrBuilder extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.gmail.ContextualTrigger) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * UnconditionalTriggers are executed when any mail message is opened.
    * 
* * .google.apps.script.type.gmail.UnconditionalTrigger unconditional = 1; - * * @return Whether the unconditional field is set. */ boolean hasUnconditional(); /** - * - * *
    * UnconditionalTriggers are executed when any mail message is opened.
    * 
* * .google.apps.script.type.gmail.UnconditionalTrigger unconditional = 1; - * * @return The unconditional. */ com.google.apps.script.type.gmail.UnconditionalTrigger getUnconditional(); /** - * - * *
    * UnconditionalTriggers are executed when any mail message is opened.
    * 
@@ -59,31 +35,26 @@ public interface ContextualTriggerOrBuilder com.google.apps.script.type.gmail.UnconditionalTriggerOrBuilder getUnconditionalOrBuilder(); /** - * - * *
    * Required. The name of the endpoint to call when a message matches the
    * trigger.
    * 
* * string on_trigger_function = 4; - * * @return The onTriggerFunction. */ java.lang.String getOnTriggerFunction(); /** - * - * *
    * Required. The name of the endpoint to call when a message matches the
    * trigger.
    * 
* * string on_trigger_function = 4; - * * @return The bytes for onTriggerFunction. */ - com.google.protobuf.ByteString getOnTriggerFunctionBytes(); + com.google.protobuf.ByteString + getOnTriggerFunctionBytes(); public com.google.apps.script.type.gmail.ContextualTrigger.TriggerCase getTriggerCase(); } diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/GmailAddOnManifest.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/GmailAddOnManifest.java similarity index 78% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/GmailAddOnManifest.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/GmailAddOnManifest.java index c22e0e4f..e1fd6a20 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/GmailAddOnManifest.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/GmailAddOnManifest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/gmail/gmail_addon_manifest.proto package com.google.apps.script.type.gmail; /** - * - * *
  * Properties customizing the appearance and execution of a Gmail add-on.
  * 
* * Protobuf type {@code google.apps.script.type.gmail.GmailAddOnManifest} */ -public final class GmailAddOnManifest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GmailAddOnManifest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.apps.script.type.gmail.GmailAddOnManifest) GmailAddOnManifestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GmailAddOnManifest.newBuilder() to construct. private GmailAddOnManifest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GmailAddOnManifest() { contextualTriggers_ = java.util.Collections.emptyList(); universalActions_ = java.util.Collections.emptyList(); @@ -45,15 +27,16 @@ private GmailAddOnManifest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GmailAddOnManifest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GmailAddOnManifest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,79 +56,63 @@ private GmailAddOnManifest( case 0: done = true; break; - case 26: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - contextualTriggers_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - contextualTriggers_.add( - input.readMessage( - com.google.apps.script.type.gmail.ContextualTrigger.parser(), - extensionRegistry)); - break; + case 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + contextualTriggers_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - universalActions_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - universalActions_.add( - input.readMessage( - com.google.apps.script.type.gmail.UniversalAction.parser(), - extensionRegistry)); - break; + contextualTriggers_.add( + input.readMessage(com.google.apps.script.type.gmail.ContextualTrigger.parser(), extensionRegistry)); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + universalActions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); + universalActions_.add( + input.readMessage(com.google.apps.script.type.gmail.UniversalAction.parser(), extensionRegistry)); + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); - authorizationCheckFunction_ = s; - break; + authorizationCheckFunction_ = s; + break; + } + case 98: { + com.google.apps.script.type.gmail.ComposeTrigger.Builder subBuilder = null; + if (composeTrigger_ != null) { + subBuilder = composeTrigger_.toBuilder(); + } + composeTrigger_ = input.readMessage(com.google.apps.script.type.gmail.ComposeTrigger.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(composeTrigger_); + composeTrigger_ = subBuilder.buildPartial(); } - case 98: - { - com.google.apps.script.type.gmail.ComposeTrigger.Builder subBuilder = null; - if (composeTrigger_ != null) { - subBuilder = composeTrigger_.toBuilder(); - } - composeTrigger_ = - input.readMessage( - com.google.apps.script.type.gmail.ComposeTrigger.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(composeTrigger_); - composeTrigger_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 114: { + com.google.apps.script.type.HomepageExtensionPoint.Builder subBuilder = null; + if (homepageTrigger_ != null) { + subBuilder = homepageTrigger_.toBuilder(); } - case 114: - { - com.google.apps.script.type.HomepageExtensionPoint.Builder subBuilder = null; - if (homepageTrigger_ != null) { - subBuilder = homepageTrigger_.toBuilder(); - } - homepageTrigger_ = - input.readMessage( - com.google.apps.script.type.HomepageExtensionPoint.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(homepageTrigger_); - homepageTrigger_ = subBuilder.buildPartial(); - } - - break; + homepageTrigger_ = input.readMessage(com.google.apps.script.type.HomepageExtensionPoint.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(homepageTrigger_); + homepageTrigger_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -153,7 +120,8 @@ private GmailAddOnManifest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { contextualTriggers_ = java.util.Collections.unmodifiableList(contextualTriggers_); @@ -165,27 +133,22 @@ private GmailAddOnManifest( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.apps.script.type.gmail.GmailAddOnManifestProto - .internal_static_google_apps_script_type_gmail_GmailAddOnManifest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_GmailAddOnManifest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.gmail.GmailAddOnManifestProto - .internal_static_google_apps_script_type_gmail_GmailAddOnManifest_fieldAccessorTable + return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_GmailAddOnManifest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.gmail.GmailAddOnManifest.class, - com.google.apps.script.type.gmail.GmailAddOnManifest.Builder.class); + com.google.apps.script.type.gmail.GmailAddOnManifest.class, com.google.apps.script.type.gmail.GmailAddOnManifest.Builder.class); } public static final int HOMEPAGE_TRIGGER_FIELD_NUMBER = 14; private com.google.apps.script.type.HomepageExtensionPoint homepageTrigger_; /** - * - * *
    * Defines an endpoint that will be executed in contexts that don't
    * match a declared contextual trigger. Any cards generated by this function
@@ -196,7 +159,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 14; - * * @return Whether the homepageTrigger field is set. */ @java.lang.Override @@ -204,8 +166,6 @@ public boolean hasHomepageTrigger() { return homepageTrigger_ != null; } /** - * - * *
    * Defines an endpoint that will be executed in contexts that don't
    * match a declared contextual trigger. Any cards generated by this function
@@ -216,18 +176,13 @@ public boolean hasHomepageTrigger() {
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 14; - * * @return The homepageTrigger. */ @java.lang.Override public com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger() { - return homepageTrigger_ == null - ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() - : homepageTrigger_; + return homepageTrigger_ == null ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_; } /** - * - * *
    * Defines an endpoint that will be executed in contexts that don't
    * match a declared contextual trigger. Any cards generated by this function
@@ -247,8 +202,6 @@ public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTr
   public static final int CONTEXTUAL_TRIGGERS_FIELD_NUMBER = 3;
   private java.util.List contextualTriggers_;
   /**
-   *
-   *
    * 
    * Defines the set of conditions that trigger the add-on.
    * 
@@ -256,13 +209,10 @@ public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTr * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; */ @java.lang.Override - public java.util.List - getContextualTriggersList() { + public java.util.List getContextualTriggersList() { return contextualTriggers_; } /** - * - * *
    * Defines the set of conditions that trigger the add-on.
    * 
@@ -270,13 +220,11 @@ public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTr * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; */ @java.lang.Override - public java.util.List + public java.util.List getContextualTriggersOrBuilderList() { return contextualTriggers_; } /** - * - * *
    * Defines the set of conditions that trigger the add-on.
    * 
@@ -288,8 +236,6 @@ public int getContextualTriggersCount() { return contextualTriggers_.size(); } /** - * - * *
    * Defines the set of conditions that trigger the add-on.
    * 
@@ -301,8 +247,6 @@ public com.google.apps.script.type.gmail.ContextualTrigger getContextualTriggers return contextualTriggers_.get(index); } /** - * - * *
    * Defines the set of conditions that trigger the add-on.
    * 
@@ -310,16 +254,14 @@ public com.google.apps.script.type.gmail.ContextualTrigger getContextualTriggers * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; */ @java.lang.Override - public com.google.apps.script.type.gmail.ContextualTriggerOrBuilder - getContextualTriggersOrBuilder(int index) { + public com.google.apps.script.type.gmail.ContextualTriggerOrBuilder getContextualTriggersOrBuilder( + int index) { return contextualTriggers_.get(index); } public static final int UNIVERSAL_ACTIONS_FIELD_NUMBER = 4; private java.util.List universalActions_; /** - * - * *
    * Defines set of [universal
    * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -329,13 +271,10 @@ public com.google.apps.script.type.gmail.ContextualTrigger getContextualTriggers
    * repeated .google.apps.script.type.gmail.UniversalAction universal_actions = 4;
    */
   @java.lang.Override
-  public java.util.List
-      getUniversalActionsList() {
+  public java.util.List getUniversalActionsList() {
     return universalActions_;
   }
   /**
-   *
-   *
    * 
    * Defines set of [universal
    * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -345,13 +284,11 @@ public com.google.apps.script.type.gmail.ContextualTrigger getContextualTriggers
    * repeated .google.apps.script.type.gmail.UniversalAction universal_actions = 4;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getUniversalActionsOrBuilderList() {
     return universalActions_;
   }
   /**
-   *
-   *
    * 
    * Defines set of [universal
    * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -365,8 +302,6 @@ public int getUniversalActionsCount() {
     return universalActions_.size();
   }
   /**
-   *
-   *
    * 
    * Defines set of [universal
    * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -380,8 +315,6 @@ public com.google.apps.script.type.gmail.UniversalAction getUniversalActions(int
     return universalActions_.get(index);
   }
   /**
-   *
-   *
    * 
    * Defines set of [universal
    * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -399,8 +332,6 @@ public com.google.apps.script.type.gmail.UniversalActionOrBuilder getUniversalAc
   public static final int COMPOSE_TRIGGER_FIELD_NUMBER = 12;
   private com.google.apps.script.type.gmail.ComposeTrigger composeTrigger_;
   /**
-   *
-   *
    * 
    * Defines the compose time trigger for a compose time add-on. This is the
    * trigger that causes an add-on to take action when the user is composing an
@@ -411,7 +342,6 @@ public com.google.apps.script.type.gmail.UniversalActionOrBuilder getUniversalAc
    * 
* * .google.apps.script.type.gmail.ComposeTrigger compose_trigger = 12; - * * @return Whether the composeTrigger field is set. */ @java.lang.Override @@ -419,8 +349,6 @@ public boolean hasComposeTrigger() { return composeTrigger_ != null; } /** - * - * *
    * Defines the compose time trigger for a compose time add-on. This is the
    * trigger that causes an add-on to take action when the user is composing an
@@ -431,18 +359,13 @@ public boolean hasComposeTrigger() {
    * 
* * .google.apps.script.type.gmail.ComposeTrigger compose_trigger = 12; - * * @return The composeTrigger. */ @java.lang.Override public com.google.apps.script.type.gmail.ComposeTrigger getComposeTrigger() { - return composeTrigger_ == null - ? com.google.apps.script.type.gmail.ComposeTrigger.getDefaultInstance() - : composeTrigger_; + return composeTrigger_ == null ? com.google.apps.script.type.gmail.ComposeTrigger.getDefaultInstance() : composeTrigger_; } /** - * - * *
    * Defines the compose time trigger for a compose time add-on. This is the
    * trigger that causes an add-on to take action when the user is composing an
@@ -462,8 +385,6 @@ public com.google.apps.script.type.gmail.ComposeTriggerOrBuilder getComposeTrigg
   public static final int AUTHORIZATION_CHECK_FUNCTION_FIELD_NUMBER = 7;
   private volatile java.lang.Object authorizationCheckFunction_;
   /**
-   *
-   *
    * 
    * The name of an endpoint that verifies that the add-on has
    * all the required third-party authorizations, by probing the third-party
@@ -473,7 +394,6 @@ public com.google.apps.script.type.gmail.ComposeTriggerOrBuilder getComposeTrigg
    * 
* * string authorization_check_function = 7; - * * @return The authorizationCheckFunction. */ @java.lang.Override @@ -482,15 +402,14 @@ public java.lang.String getAuthorizationCheckFunction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authorizationCheckFunction_ = s; return s; } } /** - * - * *
    * The name of an endpoint that verifies that the add-on has
    * all the required third-party authorizations, by probing the third-party
@@ -500,15 +419,16 @@ public java.lang.String getAuthorizationCheckFunction() {
    * 
* * string authorization_check_function = 7; - * * @return The bytes for authorizationCheckFunction. */ @java.lang.Override - public com.google.protobuf.ByteString getAuthorizationCheckFunctionBytes() { + public com.google.protobuf.ByteString + getAuthorizationCheckFunctionBytes() { java.lang.Object ref = authorizationCheckFunction_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); authorizationCheckFunction_ = b; return b; } else { @@ -517,7 +437,6 @@ public com.google.protobuf.ByteString getAuthorizationCheckFunctionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -529,7 +448,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < contextualTriggers_.size(); i++) { output.writeMessage(3, contextualTriggers_.get(i)); } @@ -555,21 +475,23 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < contextualTriggers_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(3, contextualTriggers_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, contextualTriggers_.get(i)); } for (int i = 0; i < universalActions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, universalActions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, universalActions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authorizationCheckFunction_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(7, authorizationCheckFunction_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, authorizationCheckFunction_); } if (composeTrigger_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getComposeTrigger()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getComposeTrigger()); } if (homepageTrigger_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getHomepageTrigger()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, getHomepageTrigger()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -579,26 +501,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.gmail.GmailAddOnManifest)) { return super.equals(obj); } - com.google.apps.script.type.gmail.GmailAddOnManifest other = - (com.google.apps.script.type.gmail.GmailAddOnManifest) obj; + com.google.apps.script.type.gmail.GmailAddOnManifest other = (com.google.apps.script.type.gmail.GmailAddOnManifest) obj; if (hasHomepageTrigger() != other.hasHomepageTrigger()) return false; if (hasHomepageTrigger()) { - if (!getHomepageTrigger().equals(other.getHomepageTrigger())) return false; + if (!getHomepageTrigger() + .equals(other.getHomepageTrigger())) return false; } - if (!getContextualTriggersList().equals(other.getContextualTriggersList())) return false; - if (!getUniversalActionsList().equals(other.getUniversalActionsList())) return false; + if (!getContextualTriggersList() + .equals(other.getContextualTriggersList())) return false; + if (!getUniversalActionsList() + .equals(other.getUniversalActionsList())) return false; if (hasComposeTrigger() != other.hasComposeTrigger()) return false; if (hasComposeTrigger()) { - if (!getComposeTrigger().equals(other.getComposeTrigger())) return false; + if (!getComposeTrigger() + .equals(other.getComposeTrigger())) return false; } - if (!getAuthorizationCheckFunction().equals(other.getAuthorizationCheckFunction())) - return false; + if (!getAuthorizationCheckFunction() + .equals(other.getAuthorizationCheckFunction())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -634,126 +559,117 @@ public int hashCode() { } public static com.google.apps.script.type.gmail.GmailAddOnManifest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.gmail.GmailAddOnManifest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.gmail.GmailAddOnManifest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.gmail.GmailAddOnManifest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.gmail.GmailAddOnManifest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.gmail.GmailAddOnManifest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.apps.script.type.gmail.GmailAddOnManifest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.apps.script.type.gmail.GmailAddOnManifest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.gmail.GmailAddOnManifest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.apps.script.type.gmail.GmailAddOnManifest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.apps.script.type.gmail.GmailAddOnManifest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.apps.script.type.gmail.GmailAddOnManifest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.gmail.GmailAddOnManifest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.gmail.GmailAddOnManifest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.apps.script.type.gmail.GmailAddOnManifest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Properties customizing the appearance and execution of a Gmail add-on.
    * 
* * Protobuf type {@code google.apps.script.type.gmail.GmailAddOnManifest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.script.type.gmail.GmailAddOnManifest) com.google.apps.script.type.gmail.GmailAddOnManifestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.apps.script.type.gmail.GmailAddOnManifestProto - .internal_static_google_apps_script_type_gmail_GmailAddOnManifest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_GmailAddOnManifest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.gmail.GmailAddOnManifestProto - .internal_static_google_apps_script_type_gmail_GmailAddOnManifest_fieldAccessorTable + return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_GmailAddOnManifest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.gmail.GmailAddOnManifest.class, - com.google.apps.script.type.gmail.GmailAddOnManifest.Builder.class); + com.google.apps.script.type.gmail.GmailAddOnManifest.class, com.google.apps.script.type.gmail.GmailAddOnManifest.Builder.class); } // Construct using com.google.apps.script.type.gmail.GmailAddOnManifest.newBuilder() @@ -761,18 +677,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getContextualTriggersFieldBuilder(); getUniversalActionsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -806,9 +722,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.apps.script.type.gmail.GmailAddOnManifestProto - .internal_static_google_apps_script_type_gmail_GmailAddOnManifest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_GmailAddOnManifest_descriptor; } @java.lang.Override @@ -827,8 +743,7 @@ public com.google.apps.script.type.gmail.GmailAddOnManifest build() { @java.lang.Override public com.google.apps.script.type.gmail.GmailAddOnManifest buildPartial() { - com.google.apps.script.type.gmail.GmailAddOnManifest result = - new com.google.apps.script.type.gmail.GmailAddOnManifest(this); + com.google.apps.script.type.gmail.GmailAddOnManifest result = new com.google.apps.script.type.gmail.GmailAddOnManifest(this); int from_bitField0_ = bitField0_; if (homepageTriggerBuilder_ == null) { result.homepageTrigger_ = homepageTrigger_; @@ -867,39 +782,38 @@ public com.google.apps.script.type.gmail.GmailAddOnManifest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.script.type.gmail.GmailAddOnManifest) { - return mergeFrom((com.google.apps.script.type.gmail.GmailAddOnManifest) other); + return mergeFrom((com.google.apps.script.type.gmail.GmailAddOnManifest)other); } else { super.mergeFrom(other); return this; @@ -907,8 +821,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.apps.script.type.gmail.GmailAddOnManifest other) { - if (other == com.google.apps.script.type.gmail.GmailAddOnManifest.getDefaultInstance()) - return this; + if (other == com.google.apps.script.type.gmail.GmailAddOnManifest.getDefaultInstance()) return this; if (other.hasHomepageTrigger()) { mergeHomepageTrigger(other.getHomepageTrigger()); } @@ -930,10 +843,9 @@ public Builder mergeFrom(com.google.apps.script.type.gmail.GmailAddOnManifest ot contextualTriggersBuilder_ = null; contextualTriggers_ = other.contextualTriggers_; bitField0_ = (bitField0_ & ~0x00000001); - contextualTriggersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getContextualTriggersFieldBuilder() - : null; + contextualTriggersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getContextualTriggersFieldBuilder() : null; } else { contextualTriggersBuilder_.addAllMessages(other.contextualTriggers_); } @@ -957,10 +869,9 @@ public Builder mergeFrom(com.google.apps.script.type.gmail.GmailAddOnManifest ot universalActionsBuilder_ = null; universalActions_ = other.universalActions_; bitField0_ = (bitField0_ & ~0x00000002); - universalActionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getUniversalActionsFieldBuilder() - : null; + universalActionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getUniversalActionsFieldBuilder() : null; } else { universalActionsBuilder_.addAllMessages(other.universalActions_); } @@ -992,8 +903,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.apps.script.type.gmail.GmailAddOnManifest) e.getUnfinishedMessage(); + parsedMessage = (com.google.apps.script.type.gmail.GmailAddOnManifest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1002,18 +912,12 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private com.google.apps.script.type.HomepageExtensionPoint homepageTrigger_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.HomepageExtensionPoint, - com.google.apps.script.type.HomepageExtensionPoint.Builder, - com.google.apps.script.type.HomepageExtensionPointOrBuilder> - homepageTriggerBuilder_; + com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder> homepageTriggerBuilder_; /** - * - * *
      * Defines an endpoint that will be executed in contexts that don't
      * match a declared contextual trigger. Any cards generated by this function
@@ -1024,15 +928,12 @@ public Builder mergeFrom(
      * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 14; - * * @return Whether the homepageTrigger field is set. */ public boolean hasHomepageTrigger() { return homepageTriggerBuilder_ != null || homepageTrigger_ != null; } /** - * - * *
      * Defines an endpoint that will be executed in contexts that don't
      * match a declared contextual trigger. Any cards generated by this function
@@ -1043,21 +944,16 @@ public boolean hasHomepageTrigger() {
      * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 14; - * * @return The homepageTrigger. */ public com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger() { if (homepageTriggerBuilder_ == null) { - return homepageTrigger_ == null - ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() - : homepageTrigger_; + return homepageTrigger_ == null ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_; } else { return homepageTriggerBuilder_.getMessage(); } } /** - * - * *
      * Defines an endpoint that will be executed in contexts that don't
      * match a declared contextual trigger. Any cards generated by this function
@@ -1083,8 +979,6 @@ public Builder setHomepageTrigger(com.google.apps.script.type.HomepageExtensionP
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines an endpoint that will be executed in contexts that don't
      * match a declared contextual trigger. Any cards generated by this function
@@ -1108,8 +1002,6 @@ public Builder setHomepageTrigger(
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines an endpoint that will be executed in contexts that don't
      * match a declared contextual trigger. Any cards generated by this function
@@ -1125,9 +1017,7 @@ public Builder mergeHomepageTrigger(com.google.apps.script.type.HomepageExtensio
       if (homepageTriggerBuilder_ == null) {
         if (homepageTrigger_ != null) {
           homepageTrigger_ =
-              com.google.apps.script.type.HomepageExtensionPoint.newBuilder(homepageTrigger_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.apps.script.type.HomepageExtensionPoint.newBuilder(homepageTrigger_).mergeFrom(value).buildPartial();
         } else {
           homepageTrigger_ = value;
         }
@@ -1139,8 +1029,6 @@ public Builder mergeHomepageTrigger(com.google.apps.script.type.HomepageExtensio
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines an endpoint that will be executed in contexts that don't
      * match a declared contextual trigger. Any cards generated by this function
@@ -1164,8 +1052,6 @@ public Builder clearHomepageTrigger() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines an endpoint that will be executed in contexts that don't
      * match a declared contextual trigger. Any cards generated by this function
@@ -1178,13 +1064,11 @@ public Builder clearHomepageTrigger() {
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 14;
      */
     public com.google.apps.script.type.HomepageExtensionPoint.Builder getHomepageTriggerBuilder() {
-
+      
       onChanged();
       return getHomepageTriggerFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Defines an endpoint that will be executed in contexts that don't
      * match a declared contextual trigger. Any cards generated by this function
@@ -1196,19 +1080,15 @@ public com.google.apps.script.type.HomepageExtensionPoint.Builder getHomepageTri
      *
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 14;
      */
-    public com.google.apps.script.type.HomepageExtensionPointOrBuilder
-        getHomepageTriggerOrBuilder() {
+    public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder() {
       if (homepageTriggerBuilder_ != null) {
         return homepageTriggerBuilder_.getMessageOrBuilder();
       } else {
-        return homepageTrigger_ == null
-            ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance()
-            : homepageTrigger_;
+        return homepageTrigger_ == null ?
+            com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_;
       }
     }
     /**
-     *
-     *
      * 
      * Defines an endpoint that will be executed in contexts that don't
      * match a declared contextual trigger. Any cards generated by this function
@@ -1221,52 +1101,39 @@ public com.google.apps.script.type.HomepageExtensionPoint.Builder getHomepageTri
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 14;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.apps.script.type.HomepageExtensionPoint,
-            com.google.apps.script.type.HomepageExtensionPoint.Builder,
-            com.google.apps.script.type.HomepageExtensionPointOrBuilder>
+        com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder> 
         getHomepageTriggerFieldBuilder() {
       if (homepageTriggerBuilder_ == null) {
-        homepageTriggerBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.apps.script.type.HomepageExtensionPoint,
-                com.google.apps.script.type.HomepageExtensionPoint.Builder,
-                com.google.apps.script.type.HomepageExtensionPointOrBuilder>(
-                getHomepageTrigger(), getParentForChildren(), isClean());
+        homepageTriggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder>(
+                getHomepageTrigger(),
+                getParentForChildren(),
+                isClean());
         homepageTrigger_ = null;
       }
       return homepageTriggerBuilder_;
     }
 
-    private java.util.List
-        contextualTriggers_ = java.util.Collections.emptyList();
-
+    private java.util.List contextualTriggers_ =
+      java.util.Collections.emptyList();
     private void ensureContextualTriggersIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        contextualTriggers_ =
-            new java.util.ArrayList(
-                contextualTriggers_);
+        contextualTriggers_ = new java.util.ArrayList(contextualTriggers_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.apps.script.type.gmail.ContextualTrigger,
-            com.google.apps.script.type.gmail.ContextualTrigger.Builder,
-            com.google.apps.script.type.gmail.ContextualTriggerOrBuilder>
-        contextualTriggersBuilder_;
+        com.google.apps.script.type.gmail.ContextualTrigger, com.google.apps.script.type.gmail.ContextualTrigger.Builder, com.google.apps.script.type.gmail.ContextualTriggerOrBuilder> contextualTriggersBuilder_;
 
     /**
-     *
-     *
      * 
      * Defines the set of conditions that trigger the add-on.
      * 
* - * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; - * + * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; */ - public java.util.List - getContextualTriggersList() { + public java.util.List getContextualTriggersList() { if (contextualTriggersBuilder_ == null) { return java.util.Collections.unmodifiableList(contextualTriggers_); } else { @@ -1274,14 +1141,11 @@ private void ensureContextualTriggersIsMutable() { } } /** - * - * *
      * Defines the set of conditions that trigger the add-on.
      * 
* - * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; - * + * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; */ public int getContextualTriggersCount() { if (contextualTriggersBuilder_ == null) { @@ -1291,14 +1155,11 @@ public int getContextualTriggersCount() { } } /** - * - * *
      * Defines the set of conditions that trigger the add-on.
      * 
* - * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; - * + * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; */ public com.google.apps.script.type.gmail.ContextualTrigger getContextualTriggers(int index) { if (contextualTriggersBuilder_ == null) { @@ -1308,14 +1169,11 @@ public com.google.apps.script.type.gmail.ContextualTrigger getContextualTriggers } } /** - * - * *
      * Defines the set of conditions that trigger the add-on.
      * 
* - * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; - * + * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; */ public Builder setContextualTriggers( int index, com.google.apps.script.type.gmail.ContextualTrigger value) { @@ -1332,14 +1190,11 @@ public Builder setContextualTriggers( return this; } /** - * - * *
      * Defines the set of conditions that trigger the add-on.
      * 
* - * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; - * + * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; */ public Builder setContextualTriggers( int index, com.google.apps.script.type.gmail.ContextualTrigger.Builder builderForValue) { @@ -1353,17 +1208,13 @@ public Builder setContextualTriggers( return this; } /** - * - * *
      * Defines the set of conditions that trigger the add-on.
      * 
* - * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; - * + * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; */ - public Builder addContextualTriggers( - com.google.apps.script.type.gmail.ContextualTrigger value) { + public Builder addContextualTriggers(com.google.apps.script.type.gmail.ContextualTrigger value) { if (contextualTriggersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1377,14 +1228,11 @@ public Builder addContextualTriggers( return this; } /** - * - * *
      * Defines the set of conditions that trigger the add-on.
      * 
* - * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; - * + * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; */ public Builder addContextualTriggers( int index, com.google.apps.script.type.gmail.ContextualTrigger value) { @@ -1401,14 +1249,11 @@ public Builder addContextualTriggers( return this; } /** - * - * *
      * Defines the set of conditions that trigger the add-on.
      * 
* - * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; - * + * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; */ public Builder addContextualTriggers( com.google.apps.script.type.gmail.ContextualTrigger.Builder builderForValue) { @@ -1422,14 +1267,11 @@ public Builder addContextualTriggers( return this; } /** - * - * *
      * Defines the set of conditions that trigger the add-on.
      * 
* - * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; - * + * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; */ public Builder addContextualTriggers( int index, com.google.apps.script.type.gmail.ContextualTrigger.Builder builderForValue) { @@ -1443,20 +1285,18 @@ public Builder addContextualTriggers( return this; } /** - * - * *
      * Defines the set of conditions that trigger the add-on.
      * 
* - * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; - * + * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; */ public Builder addAllContextualTriggers( java.lang.Iterable values) { if (contextualTriggersBuilder_ == null) { ensureContextualTriggersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, contextualTriggers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, contextualTriggers_); onChanged(); } else { contextualTriggersBuilder_.addAllMessages(values); @@ -1464,14 +1304,11 @@ public Builder addAllContextualTriggers( return this; } /** - * - * *
      * Defines the set of conditions that trigger the add-on.
      * 
* - * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; - * + * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; */ public Builder clearContextualTriggers() { if (contextualTriggersBuilder_ == null) { @@ -1484,14 +1321,11 @@ public Builder clearContextualTriggers() { return this; } /** - * - * *
      * Defines the set of conditions that trigger the add-on.
      * 
* - * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; - * + * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; */ public Builder removeContextualTriggers(int index) { if (contextualTriggersBuilder_ == null) { @@ -1504,49 +1338,39 @@ public Builder removeContextualTriggers(int index) { return this; } /** - * - * *
      * Defines the set of conditions that trigger the add-on.
      * 
* - * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; - * + * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; */ public com.google.apps.script.type.gmail.ContextualTrigger.Builder getContextualTriggersBuilder( int index) { return getContextualTriggersFieldBuilder().getBuilder(index); } /** - * - * *
      * Defines the set of conditions that trigger the add-on.
      * 
* - * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; - * + * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; */ - public com.google.apps.script.type.gmail.ContextualTriggerOrBuilder - getContextualTriggersOrBuilder(int index) { + public com.google.apps.script.type.gmail.ContextualTriggerOrBuilder getContextualTriggersOrBuilder( + int index) { if (contextualTriggersBuilder_ == null) { - return contextualTriggers_.get(index); - } else { + return contextualTriggers_.get(index); } else { return contextualTriggersBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Defines the set of conditions that trigger the add-on.
      * 
* - * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; - * + * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; */ - public java.util.List - getContextualTriggersOrBuilderList() { + public java.util.List + getContextualTriggersOrBuilderList() { if (contextualTriggersBuilder_ != null) { return contextualTriggersBuilder_.getMessageOrBuilderList(); } else { @@ -1554,62 +1378,45 @@ public com.google.apps.script.type.gmail.ContextualTrigger.Builder getContextual } } /** - * - * *
      * Defines the set of conditions that trigger the add-on.
      * 
* - * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; - * + * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; */ - public com.google.apps.script.type.gmail.ContextualTrigger.Builder - addContextualTriggersBuilder() { - return getContextualTriggersFieldBuilder() - .addBuilder(com.google.apps.script.type.gmail.ContextualTrigger.getDefaultInstance()); + public com.google.apps.script.type.gmail.ContextualTrigger.Builder addContextualTriggersBuilder() { + return getContextualTriggersFieldBuilder().addBuilder( + com.google.apps.script.type.gmail.ContextualTrigger.getDefaultInstance()); } /** - * - * *
      * Defines the set of conditions that trigger the add-on.
      * 
* - * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; - * + * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; */ public com.google.apps.script.type.gmail.ContextualTrigger.Builder addContextualTriggersBuilder( int index) { - return getContextualTriggersFieldBuilder() - .addBuilder( - index, com.google.apps.script.type.gmail.ContextualTrigger.getDefaultInstance()); + return getContextualTriggersFieldBuilder().addBuilder( + index, com.google.apps.script.type.gmail.ContextualTrigger.getDefaultInstance()); } /** - * - * *
      * Defines the set of conditions that trigger the add-on.
      * 
* - * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; - * + * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; */ - public java.util.List - getContextualTriggersBuilderList() { + public java.util.List + getContextualTriggersBuilderList() { return getContextualTriggersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.apps.script.type.gmail.ContextualTrigger, - com.google.apps.script.type.gmail.ContextualTrigger.Builder, - com.google.apps.script.type.gmail.ContextualTriggerOrBuilder> + com.google.apps.script.type.gmail.ContextualTrigger, com.google.apps.script.type.gmail.ContextualTrigger.Builder, com.google.apps.script.type.gmail.ContextualTriggerOrBuilder> getContextualTriggersFieldBuilder() { if (contextualTriggersBuilder_ == null) { - contextualTriggersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.apps.script.type.gmail.ContextualTrigger, - com.google.apps.script.type.gmail.ContextualTrigger.Builder, - com.google.apps.script.type.gmail.ContextualTriggerOrBuilder>( + contextualTriggersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.apps.script.type.gmail.ContextualTrigger, com.google.apps.script.type.gmail.ContextualTrigger.Builder, com.google.apps.script.type.gmail.ContextualTriggerOrBuilder>( contextualTriggers_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1620,26 +1427,18 @@ public com.google.apps.script.type.gmail.ContextualTrigger.Builder addContextual } private java.util.List universalActions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureUniversalActionsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - universalActions_ = - new java.util.ArrayList( - universalActions_); + universalActions_ = new java.util.ArrayList(universalActions_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.apps.script.type.gmail.UniversalAction, - com.google.apps.script.type.gmail.UniversalAction.Builder, - com.google.apps.script.type.gmail.UniversalActionOrBuilder> - universalActionsBuilder_; + com.google.apps.script.type.gmail.UniversalAction, com.google.apps.script.type.gmail.UniversalAction.Builder, com.google.apps.script.type.gmail.UniversalActionOrBuilder> universalActionsBuilder_; /** - * - * *
      * Defines set of [universal
      * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -1648,8 +1447,7 @@ private void ensureUniversalActionsIsMutable() {
      *
      * repeated .google.apps.script.type.gmail.UniversalAction universal_actions = 4;
      */
-    public java.util.List
-        getUniversalActionsList() {
+    public java.util.List getUniversalActionsList() {
       if (universalActionsBuilder_ == null) {
         return java.util.Collections.unmodifiableList(universalActions_);
       } else {
@@ -1657,8 +1455,6 @@ private void ensureUniversalActionsIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * Defines set of [universal
      * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -1675,8 +1471,6 @@ public int getUniversalActionsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Defines set of [universal
      * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -1693,8 +1487,6 @@ public com.google.apps.script.type.gmail.UniversalAction getUniversalActions(int
       }
     }
     /**
-     *
-     *
      * 
      * Defines set of [universal
      * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -1718,8 +1510,6 @@ public Builder setUniversalActions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines set of [universal
      * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -1740,8 +1530,6 @@ public Builder setUniversalActions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines set of [universal
      * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -1764,8 +1552,6 @@ public Builder addUniversalActions(com.google.apps.script.type.gmail.UniversalAc
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines set of [universal
      * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -1789,8 +1575,6 @@ public Builder addUniversalActions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines set of [universal
      * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -1811,8 +1595,6 @@ public Builder addUniversalActions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines set of [universal
      * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -1833,8 +1615,6 @@ public Builder addUniversalActions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines set of [universal
      * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -1847,7 +1627,8 @@ public Builder addAllUniversalActions(
         java.lang.Iterable values) {
       if (universalActionsBuilder_ == null) {
         ensureUniversalActionsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, universalActions_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, universalActions_);
         onChanged();
       } else {
         universalActionsBuilder_.addAllMessages(values);
@@ -1855,8 +1636,6 @@ public Builder addAllUniversalActions(
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines set of [universal
      * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -1876,8 +1655,6 @@ public Builder clearUniversalActions() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines set of [universal
      * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -1897,8 +1674,6 @@ public Builder removeUniversalActions(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines set of [universal
      * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -1912,8 +1687,6 @@ public com.google.apps.script.type.gmail.UniversalAction.Builder getUniversalAct
       return getUniversalActionsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Defines set of [universal
      * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -1925,14 +1698,11 @@ public com.google.apps.script.type.gmail.UniversalAction.Builder getUniversalAct
     public com.google.apps.script.type.gmail.UniversalActionOrBuilder getUniversalActionsOrBuilder(
         int index) {
       if (universalActionsBuilder_ == null) {
-        return universalActions_.get(index);
-      } else {
+        return universalActions_.get(index);  } else {
         return universalActionsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Defines set of [universal
      * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -1941,8 +1711,8 @@ public com.google.apps.script.type.gmail.UniversalActionOrBuilder getUniversalAc
      *
      * repeated .google.apps.script.type.gmail.UniversalAction universal_actions = 4;
      */
-    public java.util.List
-        getUniversalActionsOrBuilderList() {
+    public java.util.List 
+         getUniversalActionsOrBuilderList() {
       if (universalActionsBuilder_ != null) {
         return universalActionsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1950,8 +1720,6 @@ public com.google.apps.script.type.gmail.UniversalActionOrBuilder getUniversalAc
       }
     }
     /**
-     *
-     *
      * 
      * Defines set of [universal
      * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -1961,12 +1729,10 @@ public com.google.apps.script.type.gmail.UniversalActionOrBuilder getUniversalAc
      * repeated .google.apps.script.type.gmail.UniversalAction universal_actions = 4;
      */
     public com.google.apps.script.type.gmail.UniversalAction.Builder addUniversalActionsBuilder() {
-      return getUniversalActionsFieldBuilder()
-          .addBuilder(com.google.apps.script.type.gmail.UniversalAction.getDefaultInstance());
+      return getUniversalActionsFieldBuilder().addBuilder(
+          com.google.apps.script.type.gmail.UniversalAction.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Defines set of [universal
      * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -1977,13 +1743,10 @@ public com.google.apps.script.type.gmail.UniversalAction.Builder addUniversalAct
      */
     public com.google.apps.script.type.gmail.UniversalAction.Builder addUniversalActionsBuilder(
         int index) {
-      return getUniversalActionsFieldBuilder()
-          .addBuilder(
-              index, com.google.apps.script.type.gmail.UniversalAction.getDefaultInstance());
+      return getUniversalActionsFieldBuilder().addBuilder(
+          index, com.google.apps.script.type.gmail.UniversalAction.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Defines set of [universal
      * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -1992,22 +1755,16 @@ public com.google.apps.script.type.gmail.UniversalAction.Builder addUniversalAct
      *
      * repeated .google.apps.script.type.gmail.UniversalAction universal_actions = 4;
      */
-    public java.util.List
-        getUniversalActionsBuilderList() {
+    public java.util.List 
+         getUniversalActionsBuilderList() {
       return getUniversalActionsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.apps.script.type.gmail.UniversalAction,
-            com.google.apps.script.type.gmail.UniversalAction.Builder,
-            com.google.apps.script.type.gmail.UniversalActionOrBuilder>
+        com.google.apps.script.type.gmail.UniversalAction, com.google.apps.script.type.gmail.UniversalAction.Builder, com.google.apps.script.type.gmail.UniversalActionOrBuilder> 
         getUniversalActionsFieldBuilder() {
       if (universalActionsBuilder_ == null) {
-        universalActionsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.apps.script.type.gmail.UniversalAction,
-                com.google.apps.script.type.gmail.UniversalAction.Builder,
-                com.google.apps.script.type.gmail.UniversalActionOrBuilder>(
+        universalActionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.apps.script.type.gmail.UniversalAction, com.google.apps.script.type.gmail.UniversalAction.Builder, com.google.apps.script.type.gmail.UniversalActionOrBuilder>(
                 universalActions_,
                 ((bitField0_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -2019,13 +1776,8 @@ public com.google.apps.script.type.gmail.UniversalAction.Builder addUniversalAct
 
     private com.google.apps.script.type.gmail.ComposeTrigger composeTrigger_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.apps.script.type.gmail.ComposeTrigger,
-            com.google.apps.script.type.gmail.ComposeTrigger.Builder,
-            com.google.apps.script.type.gmail.ComposeTriggerOrBuilder>
-        composeTriggerBuilder_;
+        com.google.apps.script.type.gmail.ComposeTrigger, com.google.apps.script.type.gmail.ComposeTrigger.Builder, com.google.apps.script.type.gmail.ComposeTriggerOrBuilder> composeTriggerBuilder_;
     /**
-     *
-     *
      * 
      * Defines the compose time trigger for a compose time add-on. This is the
      * trigger that causes an add-on to take action when the user is composing an
@@ -2036,15 +1788,12 @@ public com.google.apps.script.type.gmail.UniversalAction.Builder addUniversalAct
      * 
* * .google.apps.script.type.gmail.ComposeTrigger compose_trigger = 12; - * * @return Whether the composeTrigger field is set. */ public boolean hasComposeTrigger() { return composeTriggerBuilder_ != null || composeTrigger_ != null; } /** - * - * *
      * Defines the compose time trigger for a compose time add-on. This is the
      * trigger that causes an add-on to take action when the user is composing an
@@ -2055,21 +1804,16 @@ public boolean hasComposeTrigger() {
      * 
* * .google.apps.script.type.gmail.ComposeTrigger compose_trigger = 12; - * * @return The composeTrigger. */ public com.google.apps.script.type.gmail.ComposeTrigger getComposeTrigger() { if (composeTriggerBuilder_ == null) { - return composeTrigger_ == null - ? com.google.apps.script.type.gmail.ComposeTrigger.getDefaultInstance() - : composeTrigger_; + return composeTrigger_ == null ? com.google.apps.script.type.gmail.ComposeTrigger.getDefaultInstance() : composeTrigger_; } else { return composeTriggerBuilder_.getMessage(); } } /** - * - * *
      * Defines the compose time trigger for a compose time add-on. This is the
      * trigger that causes an add-on to take action when the user is composing an
@@ -2095,8 +1839,6 @@ public Builder setComposeTrigger(com.google.apps.script.type.gmail.ComposeTrigge
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines the compose time trigger for a compose time add-on. This is the
      * trigger that causes an add-on to take action when the user is composing an
@@ -2120,8 +1862,6 @@ public Builder setComposeTrigger(
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines the compose time trigger for a compose time add-on. This is the
      * trigger that causes an add-on to take action when the user is composing an
@@ -2137,9 +1877,7 @@ public Builder mergeComposeTrigger(com.google.apps.script.type.gmail.ComposeTrig
       if (composeTriggerBuilder_ == null) {
         if (composeTrigger_ != null) {
           composeTrigger_ =
-              com.google.apps.script.type.gmail.ComposeTrigger.newBuilder(composeTrigger_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.apps.script.type.gmail.ComposeTrigger.newBuilder(composeTrigger_).mergeFrom(value).buildPartial();
         } else {
           composeTrigger_ = value;
         }
@@ -2151,8 +1889,6 @@ public Builder mergeComposeTrigger(com.google.apps.script.type.gmail.ComposeTrig
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines the compose time trigger for a compose time add-on. This is the
      * trigger that causes an add-on to take action when the user is composing an
@@ -2176,8 +1912,6 @@ public Builder clearComposeTrigger() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Defines the compose time trigger for a compose time add-on. This is the
      * trigger that causes an add-on to take action when the user is composing an
@@ -2190,13 +1924,11 @@ public Builder clearComposeTrigger() {
      * .google.apps.script.type.gmail.ComposeTrigger compose_trigger = 12;
      */
     public com.google.apps.script.type.gmail.ComposeTrigger.Builder getComposeTriggerBuilder() {
-
+      
       onChanged();
       return getComposeTriggerFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Defines the compose time trigger for a compose time add-on. This is the
      * trigger that causes an add-on to take action when the user is composing an
@@ -2212,14 +1944,11 @@ public com.google.apps.script.type.gmail.ComposeTriggerOrBuilder getComposeTrigg
       if (composeTriggerBuilder_ != null) {
         return composeTriggerBuilder_.getMessageOrBuilder();
       } else {
-        return composeTrigger_ == null
-            ? com.google.apps.script.type.gmail.ComposeTrigger.getDefaultInstance()
-            : composeTrigger_;
+        return composeTrigger_ == null ?
+            com.google.apps.script.type.gmail.ComposeTrigger.getDefaultInstance() : composeTrigger_;
       }
     }
     /**
-     *
-     *
      * 
      * Defines the compose time trigger for a compose time add-on. This is the
      * trigger that causes an add-on to take action when the user is composing an
@@ -2232,17 +1961,14 @@ public com.google.apps.script.type.gmail.ComposeTriggerOrBuilder getComposeTrigg
      * .google.apps.script.type.gmail.ComposeTrigger compose_trigger = 12;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.apps.script.type.gmail.ComposeTrigger,
-            com.google.apps.script.type.gmail.ComposeTrigger.Builder,
-            com.google.apps.script.type.gmail.ComposeTriggerOrBuilder>
+        com.google.apps.script.type.gmail.ComposeTrigger, com.google.apps.script.type.gmail.ComposeTrigger.Builder, com.google.apps.script.type.gmail.ComposeTriggerOrBuilder> 
         getComposeTriggerFieldBuilder() {
       if (composeTriggerBuilder_ == null) {
-        composeTriggerBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.apps.script.type.gmail.ComposeTrigger,
-                com.google.apps.script.type.gmail.ComposeTrigger.Builder,
-                com.google.apps.script.type.gmail.ComposeTriggerOrBuilder>(
-                getComposeTrigger(), getParentForChildren(), isClean());
+        composeTriggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.apps.script.type.gmail.ComposeTrigger, com.google.apps.script.type.gmail.ComposeTrigger.Builder, com.google.apps.script.type.gmail.ComposeTriggerOrBuilder>(
+                getComposeTrigger(),
+                getParentForChildren(),
+                isClean());
         composeTrigger_ = null;
       }
       return composeTriggerBuilder_;
@@ -2250,8 +1976,6 @@ public com.google.apps.script.type.gmail.ComposeTriggerOrBuilder getComposeTrigg
 
     private java.lang.Object authorizationCheckFunction_ = "";
     /**
-     *
-     *
      * 
      * The name of an endpoint that verifies that the add-on has
      * all the required third-party authorizations, by probing the third-party
@@ -2261,13 +1985,13 @@ public com.google.apps.script.type.gmail.ComposeTriggerOrBuilder getComposeTrigg
      * 
* * string authorization_check_function = 7; - * * @return The authorizationCheckFunction. */ public java.lang.String getAuthorizationCheckFunction() { java.lang.Object ref = authorizationCheckFunction_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authorizationCheckFunction_ = s; return s; @@ -2276,8 +2000,6 @@ public java.lang.String getAuthorizationCheckFunction() { } } /** - * - * *
      * The name of an endpoint that verifies that the add-on has
      * all the required third-party authorizations, by probing the third-party
@@ -2287,14 +2009,15 @@ public java.lang.String getAuthorizationCheckFunction() {
      * 
* * string authorization_check_function = 7; - * * @return The bytes for authorizationCheckFunction. */ - public com.google.protobuf.ByteString getAuthorizationCheckFunctionBytes() { + public com.google.protobuf.ByteString + getAuthorizationCheckFunctionBytes() { java.lang.Object ref = authorizationCheckFunction_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); authorizationCheckFunction_ = b; return b; } else { @@ -2302,8 +2025,6 @@ public com.google.protobuf.ByteString getAuthorizationCheckFunctionBytes() { } } /** - * - * *
      * The name of an endpoint that verifies that the add-on has
      * all the required third-party authorizations, by probing the third-party
@@ -2313,22 +2034,20 @@ public com.google.protobuf.ByteString getAuthorizationCheckFunctionBytes() {
      * 
* * string authorization_check_function = 7; - * * @param value The authorizationCheckFunction to set. * @return This builder for chaining. */ - public Builder setAuthorizationCheckFunction(java.lang.String value) { + public Builder setAuthorizationCheckFunction( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + authorizationCheckFunction_ = value; onChanged(); return this; } /** - * - * *
      * The name of an endpoint that verifies that the add-on has
      * all the required third-party authorizations, by probing the third-party
@@ -2338,18 +2057,15 @@ public Builder setAuthorizationCheckFunction(java.lang.String value) {
      * 
* * string authorization_check_function = 7; - * * @return This builder for chaining. */ public Builder clearAuthorizationCheckFunction() { - + authorizationCheckFunction_ = getDefaultInstance().getAuthorizationCheckFunction(); onChanged(); return this; } /** - * - * *
      * The name of an endpoint that verifies that the add-on has
      * all the required third-party authorizations, by probing the third-party
@@ -2359,23 +2075,23 @@ public Builder clearAuthorizationCheckFunction() {
      * 
* * string authorization_check_function = 7; - * * @param value The bytes for authorizationCheckFunction to set. * @return This builder for chaining. */ - public Builder setAuthorizationCheckFunctionBytes(com.google.protobuf.ByteString value) { + public Builder setAuthorizationCheckFunctionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + authorizationCheckFunction_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2385,12 +2101,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.apps.script.type.gmail.GmailAddOnManifest) } // @@protoc_insertion_point(class_scope:google.apps.script.type.gmail.GmailAddOnManifest) private static final com.google.apps.script.type.gmail.GmailAddOnManifest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.apps.script.type.gmail.GmailAddOnManifest(); } @@ -2399,16 +2115,16 @@ public static com.google.apps.script.type.gmail.GmailAddOnManifest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GmailAddOnManifest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GmailAddOnManifest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GmailAddOnManifest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GmailAddOnManifest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2423,4 +2139,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.gmail.GmailAddOnManifest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/GmailAddOnManifestOrBuilder.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/GmailAddOnManifestOrBuilder.java similarity index 88% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/GmailAddOnManifestOrBuilder.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/GmailAddOnManifestOrBuilder.java index 5f064a12..e2f4dcf3 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/GmailAddOnManifestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/GmailAddOnManifestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/gmail/gmail_addon_manifest.proto package com.google.apps.script.type.gmail; -public interface GmailAddOnManifestOrBuilder - extends +public interface GmailAddOnManifestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.gmail.GmailAddOnManifest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Defines an endpoint that will be executed in contexts that don't
    * match a declared contextual trigger. Any cards generated by this function
@@ -36,13 +18,10 @@ public interface GmailAddOnManifestOrBuilder
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 14; - * * @return Whether the homepageTrigger field is set. */ boolean hasHomepageTrigger(); /** - * - * *
    * Defines an endpoint that will be executed in contexts that don't
    * match a declared contextual trigger. Any cards generated by this function
@@ -53,13 +32,10 @@ public interface GmailAddOnManifestOrBuilder
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 14; - * * @return The homepageTrigger. */ com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger(); /** - * - * *
    * Defines an endpoint that will be executed in contexts that don't
    * match a declared contextual trigger. Any cards generated by this function
@@ -74,18 +50,15 @@ public interface GmailAddOnManifestOrBuilder
   com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder();
 
   /**
-   *
-   *
    * 
    * Defines the set of conditions that trigger the add-on.
    * 
* * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; */ - java.util.List getContextualTriggersList(); + java.util.List + getContextualTriggersList(); /** - * - * *
    * Defines the set of conditions that trigger the add-on.
    * 
@@ -94,8 +67,6 @@ public interface GmailAddOnManifestOrBuilder */ com.google.apps.script.type.gmail.ContextualTrigger getContextualTriggers(int index); /** - * - * *
    * Defines the set of conditions that trigger the add-on.
    * 
@@ -104,19 +75,15 @@ public interface GmailAddOnManifestOrBuilder */ int getContextualTriggersCount(); /** - * - * *
    * Defines the set of conditions that trigger the add-on.
    * 
* * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; */ - java.util.List + java.util.List getContextualTriggersOrBuilderList(); /** - * - * *
    * Defines the set of conditions that trigger the add-on.
    * 
@@ -127,8 +94,6 @@ com.google.apps.script.type.gmail.ContextualTriggerOrBuilder getContextualTrigge int index); /** - * - * *
    * Defines set of [universal
    * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -137,10 +102,9 @@ com.google.apps.script.type.gmail.ContextualTriggerOrBuilder getContextualTrigge
    *
    * repeated .google.apps.script.type.gmail.UniversalAction universal_actions = 4;
    */
-  java.util.List getUniversalActionsList();
+  java.util.List 
+      getUniversalActionsList();
   /**
-   *
-   *
    * 
    * Defines set of [universal
    * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -151,8 +115,6 @@ com.google.apps.script.type.gmail.ContextualTriggerOrBuilder getContextualTrigge
    */
   com.google.apps.script.type.gmail.UniversalAction getUniversalActions(int index);
   /**
-   *
-   *
    * 
    * Defines set of [universal
    * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -163,8 +125,6 @@ com.google.apps.script.type.gmail.ContextualTriggerOrBuilder getContextualTrigge
    */
   int getUniversalActionsCount();
   /**
-   *
-   *
    * 
    * Defines set of [universal
    * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -173,11 +133,9 @@ com.google.apps.script.type.gmail.ContextualTriggerOrBuilder getContextualTrigge
    *
    * repeated .google.apps.script.type.gmail.UniversalAction universal_actions = 4;
    */
-  java.util.List
+  java.util.List 
       getUniversalActionsOrBuilderList();
   /**
-   *
-   *
    * 
    * Defines set of [universal
    * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -190,8 +148,6 @@ com.google.apps.script.type.gmail.UniversalActionOrBuilder getUniversalActionsOr
       int index);
 
   /**
-   *
-   *
    * 
    * Defines the compose time trigger for a compose time add-on. This is the
    * trigger that causes an add-on to take action when the user is composing an
@@ -202,13 +158,10 @@ com.google.apps.script.type.gmail.UniversalActionOrBuilder getUniversalActionsOr
    * 
* * .google.apps.script.type.gmail.ComposeTrigger compose_trigger = 12; - * * @return Whether the composeTrigger field is set. */ boolean hasComposeTrigger(); /** - * - * *
    * Defines the compose time trigger for a compose time add-on. This is the
    * trigger that causes an add-on to take action when the user is composing an
@@ -219,13 +172,10 @@ com.google.apps.script.type.gmail.UniversalActionOrBuilder getUniversalActionsOr
    * 
* * .google.apps.script.type.gmail.ComposeTrigger compose_trigger = 12; - * * @return The composeTrigger. */ com.google.apps.script.type.gmail.ComposeTrigger getComposeTrigger(); /** - * - * *
    * Defines the compose time trigger for a compose time add-on. This is the
    * trigger that causes an add-on to take action when the user is composing an
@@ -240,8 +190,6 @@ com.google.apps.script.type.gmail.UniversalActionOrBuilder getUniversalActionsOr
   com.google.apps.script.type.gmail.ComposeTriggerOrBuilder getComposeTriggerOrBuilder();
 
   /**
-   *
-   *
    * 
    * The name of an endpoint that verifies that the add-on has
    * all the required third-party authorizations, by probing the third-party
@@ -251,13 +199,10 @@ com.google.apps.script.type.gmail.UniversalActionOrBuilder getUniversalActionsOr
    * 
* * string authorization_check_function = 7; - * * @return The authorizationCheckFunction. */ java.lang.String getAuthorizationCheckFunction(); /** - * - * *
    * The name of an endpoint that verifies that the add-on has
    * all the required third-party authorizations, by probing the third-party
@@ -267,8 +212,8 @@ com.google.apps.script.type.gmail.UniversalActionOrBuilder getUniversalActionsOr
    * 
* * string authorization_check_function = 7; - * * @return The bytes for authorizationCheckFunction. */ - com.google.protobuf.ByteString getAuthorizationCheckFunctionBytes(); + com.google.protobuf.ByteString + getAuthorizationCheckFunctionBytes(); } diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/GmailAddOnManifestProto.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/GmailAddOnManifestProto.java new file mode 100644 index 00000000..fd368d3a --- /dev/null +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/GmailAddOnManifestProto.java @@ -0,0 +1,128 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/apps/script/type/gmail/gmail_addon_manifest.proto + +package com.google.apps.script.type.gmail; + +public final class GmailAddOnManifestProto { + private GmailAddOnManifestProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_apps_script_type_gmail_GmailAddOnManifest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_apps_script_type_gmail_GmailAddOnManifest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_apps_script_type_gmail_UniversalAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_apps_script_type_gmail_UniversalAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_apps_script_type_gmail_ComposeTrigger_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_apps_script_type_gmail_ComposeTrigger_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_apps_script_type_gmail_ContextualTrigger_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_apps_script_type_gmail_ContextualTrigger_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_apps_script_type_gmail_UnconditionalTrigger_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_apps_script_type_gmail_UnconditionalTrigger_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n8google/apps/script/type/gmail/gmail_ad" + + "don_manifest.proto\022\035google.apps.script.t" + + "ype.gmail\032.google/apps/script/type/addon" + + "_widget_set.proto\032-google/apps/script/ty" + + "pe/extension_point.proto\032\034google/protobu" + + "f/struct.proto\"\347\002\n\022GmailAddOnManifest\022I\n" + + "\020homepage_trigger\030\016 \001(\0132/.google.apps.sc" + + "ript.type.HomepageExtensionPoint\022M\n\023cont" + + "extual_triggers\030\003 \003(\01320.google.apps.scri" + + "pt.type.gmail.ContextualTrigger\022I\n\021unive" + + "rsal_actions\030\004 \003(\0132..google.apps.script." + + "type.gmail.UniversalAction\022F\n\017compose_tr" + + "igger\030\014 \001(\0132-.google.apps.script.type.gm" + + "ail.ComposeTrigger\022$\n\034authorization_chec" + + "k_function\030\007 \001(\t\"[\n\017UniversalAction\022\014\n\004t" + + "ext\030\001 \001(\t\022\023\n\topen_link\030\002 \001(\tH\000\022\026\n\014run_fu" + + "nction\030\003 \001(\tH\000B\r\n\013action_type\"\333\001\n\016Compos" + + "eTrigger\022@\n\007actions\030\005 \003(\0132/.google.apps." + + "script.type.MenuItemExtensionPoint\022O\n\014dr" + + "aft_access\030\004 \001(\01629.google.apps.script.ty" + + "pe.gmail.ComposeTrigger.DraftAccess\"6\n\013D" + + "raftAccess\022\017\n\013UNSPECIFIED\020\000\022\010\n\004NONE\020\001\022\014\n" + + "\010METADATA\020\002\"\211\001\n\021ContextualTrigger\022L\n\runc" + + "onditional\030\001 \001(\01323.google.apps.script.ty" + + "pe.gmail.UnconditionalTriggerH\000\022\033\n\023on_tr" + + "igger_function\030\004 \001(\tB\t\n\007trigger\"\026\n\024Uncon" + + "ditionalTriggerB\340\001\n!com.google.apps.scri" + + "pt.type.gmailB\027GmailAddOnManifestProtoP\001" + + "Z * A trigger that fires when any email message is opened. *
* * Protobuf type {@code google.apps.script.type.gmail.UnconditionalTrigger} */ -public final class UnconditionalTrigger extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UnconditionalTrigger extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.apps.script.type.gmail.UnconditionalTrigger) UnconditionalTriggerOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UnconditionalTrigger.newBuilder() to construct. private UnconditionalTrigger(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UnconditionalTrigger() {} + private UnconditionalTrigger() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UnconditionalTrigger(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UnconditionalTrigger( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private UnconditionalTrigger( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private UnconditionalTrigger( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.apps.script.type.gmail.GmailAddOnManifestProto - .internal_static_google_apps_script_type_gmail_UnconditionalTrigger_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_UnconditionalTrigger_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.gmail.GmailAddOnManifestProto - .internal_static_google_apps_script_type_gmail_UnconditionalTrigger_fieldAccessorTable + return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_UnconditionalTrigger_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.gmail.UnconditionalTrigger.class, - com.google.apps.script.type.gmail.UnconditionalTrigger.Builder.class); + com.google.apps.script.type.gmail.UnconditionalTrigger.class, com.google.apps.script.type.gmail.UnconditionalTrigger.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.gmail.UnconditionalTrigger)) { return super.equals(obj); } - com.google.apps.script.type.gmail.UnconditionalTrigger other = - (com.google.apps.script.type.gmail.UnconditionalTrigger) obj; + com.google.apps.script.type.gmail.UnconditionalTrigger other = (com.google.apps.script.type.gmail.UnconditionalTrigger) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ public int hashCode() { } public static com.google.apps.script.type.gmail.UnconditionalTrigger parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.gmail.UnconditionalTrigger parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.gmail.UnconditionalTrigger parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.gmail.UnconditionalTrigger parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.gmail.UnconditionalTrigger parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.gmail.UnconditionalTrigger parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.apps.script.type.gmail.UnconditionalTrigger parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.apps.script.type.gmail.UnconditionalTrigger parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.gmail.UnconditionalTrigger parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.apps.script.type.gmail.UnconditionalTrigger parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.apps.script.type.gmail.UnconditionalTrigger parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.apps.script.type.gmail.UnconditionalTrigger parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.gmail.UnconditionalTrigger parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.gmail.UnconditionalTrigger parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.apps.script.type.gmail.UnconditionalTrigger prototype) { + public static Builder newBuilder(com.google.apps.script.type.gmail.UnconditionalTrigger prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A trigger that fires when any email message is opened.
    * 
* * Protobuf type {@code google.apps.script.type.gmail.UnconditionalTrigger} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.script.type.gmail.UnconditionalTrigger) com.google.apps.script.type.gmail.UnconditionalTriggerOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.apps.script.type.gmail.GmailAddOnManifestProto - .internal_static_google_apps_script_type_gmail_UnconditionalTrigger_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_UnconditionalTrigger_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.gmail.GmailAddOnManifestProto - .internal_static_google_apps_script_type_gmail_UnconditionalTrigger_fieldAccessorTable + return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_UnconditionalTrigger_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.gmail.UnconditionalTrigger.class, - com.google.apps.script.type.gmail.UnconditionalTrigger.Builder.class); + com.google.apps.script.type.gmail.UnconditionalTrigger.class, com.google.apps.script.type.gmail.UnconditionalTrigger.Builder.class); } // Construct using com.google.apps.script.type.gmail.UnconditionalTrigger.newBuilder() @@ -288,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -304,9 +276,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.apps.script.type.gmail.GmailAddOnManifestProto - .internal_static_google_apps_script_type_gmail_UnconditionalTrigger_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_UnconditionalTrigger_descriptor; } @java.lang.Override @@ -325,8 +297,7 @@ public com.google.apps.script.type.gmail.UnconditionalTrigger build() { @java.lang.Override public com.google.apps.script.type.gmail.UnconditionalTrigger buildPartial() { - com.google.apps.script.type.gmail.UnconditionalTrigger result = - new com.google.apps.script.type.gmail.UnconditionalTrigger(this); + com.google.apps.script.type.gmail.UnconditionalTrigger result = new com.google.apps.script.type.gmail.UnconditionalTrigger(this); onBuilt(); return result; } @@ -335,39 +306,38 @@ public com.google.apps.script.type.gmail.UnconditionalTrigger buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.script.type.gmail.UnconditionalTrigger) { - return mergeFrom((com.google.apps.script.type.gmail.UnconditionalTrigger) other); + return mergeFrom((com.google.apps.script.type.gmail.UnconditionalTrigger)other); } else { super.mergeFrom(other); return this; @@ -375,8 +345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.apps.script.type.gmail.UnconditionalTrigger other) { - if (other == com.google.apps.script.type.gmail.UnconditionalTrigger.getDefaultInstance()) - return this; + if (other == com.google.apps.script.type.gmail.UnconditionalTrigger.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -396,8 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.apps.script.type.gmail.UnconditionalTrigger) e.getUnfinishedMessage(); + parsedMessage = (com.google.apps.script.type.gmail.UnconditionalTrigger) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -406,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -418,12 +386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.apps.script.type.gmail.UnconditionalTrigger) } // @@protoc_insertion_point(class_scope:google.apps.script.type.gmail.UnconditionalTrigger) private static final com.google.apps.script.type.gmail.UnconditionalTrigger DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.apps.script.type.gmail.UnconditionalTrigger(); } @@ -432,16 +400,16 @@ public static com.google.apps.script.type.gmail.UnconditionalTrigger getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UnconditionalTrigger parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UnconditionalTrigger(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UnconditionalTrigger parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UnconditionalTrigger(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -456,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.gmail.UnconditionalTrigger getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/UnconditionalTriggerOrBuilder.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/UnconditionalTriggerOrBuilder.java new file mode 100644 index 00000000..e3849fe6 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/UnconditionalTriggerOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/apps/script/type/gmail/gmail_addon_manifest.proto + +package com.google.apps.script.type.gmail; + +public interface UnconditionalTriggerOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.apps.script.type.gmail.UnconditionalTrigger) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/UniversalAction.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/UniversalAction.java similarity index 73% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/UniversalAction.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/UniversalAction.java index 75b444a0..64963309 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/UniversalAction.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/UniversalAction.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/gmail/gmail_addon_manifest.proto package com.google.apps.script.type.gmail; /** - * - * *
  * An action that is always available in the add-on toolbar menu regardless of
  * message context.
@@ -28,31 +11,31 @@
  *
  * Protobuf type {@code google.apps.script.type.gmail.UniversalAction}
  */
-public final class UniversalAction extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UniversalAction extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.apps.script.type.gmail.UniversalAction)
     UniversalActionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UniversalAction.newBuilder() to construct.
   private UniversalAction(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private UniversalAction() {
     text_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UniversalAction();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private UniversalAction(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -71,34 +54,31 @@ private UniversalAction(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              text_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              actionTypeCase_ = 2;
-              actionType_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              actionTypeCase_ = 3;
-              actionType_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            text_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
+            actionTypeCase_ = 2;
+            actionType_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+            actionTypeCase_ = 3;
+            actionType_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -106,40 +86,35 @@ private UniversalAction(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.apps.script.type.gmail.GmailAddOnManifestProto
-        .internal_static_google_apps_script_type_gmail_UniversalAction_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_UniversalAction_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.apps.script.type.gmail.GmailAddOnManifestProto
-        .internal_static_google_apps_script_type_gmail_UniversalAction_fieldAccessorTable
+    return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_UniversalAction_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.apps.script.type.gmail.UniversalAction.class,
-            com.google.apps.script.type.gmail.UniversalAction.Builder.class);
+            com.google.apps.script.type.gmail.UniversalAction.class, com.google.apps.script.type.gmail.UniversalAction.Builder.class);
   }
 
   private int actionTypeCase_ = 0;
   private java.lang.Object actionType_;
-
   public enum ActionTypeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     OPEN_LINK(2),
     RUN_FUNCTION(3),
     ACTIONTYPE_NOT_SET(0);
     private final int value;
-
     private ActionTypeCase(int value) {
       this.value = value;
     }
@@ -155,38 +130,32 @@ public static ActionTypeCase valueOf(int value) {
 
     public static ActionTypeCase forNumber(int value) {
       switch (value) {
-        case 2:
-          return OPEN_LINK;
-        case 3:
-          return RUN_FUNCTION;
-        case 0:
-          return ACTIONTYPE_NOT_SET;
-        default:
-          return null;
+        case 2: return OPEN_LINK;
+        case 3: return RUN_FUNCTION;
+        case 0: return ACTIONTYPE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ActionTypeCase getActionTypeCase() {
-    return ActionTypeCase.forNumber(actionTypeCase_);
+  public ActionTypeCase
+  getActionTypeCase() {
+    return ActionTypeCase.forNumber(
+        actionTypeCase_);
   }
 
   public static final int TEXT_FIELD_NUMBER = 1;
   private volatile java.lang.Object text_;
   /**
-   *
-   *
    * 
    * Required. User-visible text describing the action, for example, "Add a new
    * contact."
    * 
* * string text = 1; - * * @return The text. */ @java.lang.Override @@ -195,30 +164,30 @@ public java.lang.String getText() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); text_ = s; return s; } } /** - * - * *
    * Required. User-visible text describing the action, for example, "Add a new
    * contact."
    * 
* * string text = 1; - * * @return The bytes for text. */ @java.lang.Override - public com.google.protobuf.ByteString getTextBytes() { + public com.google.protobuf.ByteString + getTextBytes() { java.lang.Object ref = text_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); text_ = b; return b; } else { @@ -228,28 +197,22 @@ public com.google.protobuf.ByteString getTextBytes() { public static final int OPEN_LINK_FIELD_NUMBER = 2; /** - * - * *
    * A link that is opened by Gmail when the user triggers the action.
    * 
* * string open_link = 2; - * * @return Whether the openLink field is set. */ public boolean hasOpenLink() { return actionTypeCase_ == 2; } /** - * - * *
    * A link that is opened by Gmail when the user triggers the action.
    * 
* * string open_link = 2; - * * @return The openLink. */ public java.lang.String getOpenLink() { @@ -260,7 +223,8 @@ public java.lang.String getOpenLink() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (actionTypeCase_ == 2) { actionType_ = s; @@ -269,24 +233,23 @@ public java.lang.String getOpenLink() { } } /** - * - * *
    * A link that is opened by Gmail when the user triggers the action.
    * 
* * string open_link = 2; - * * @return The bytes for openLink. */ - public com.google.protobuf.ByteString getOpenLinkBytes() { + public com.google.protobuf.ByteString + getOpenLinkBytes() { java.lang.Object ref = ""; if (actionTypeCase_ == 2) { ref = actionType_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (actionTypeCase_ == 2) { actionType_ = b; } @@ -298,8 +261,6 @@ public com.google.protobuf.ByteString getOpenLinkBytes() { public static final int RUN_FUNCTION_FIELD_NUMBER = 3; /** - * - * *
    * An endpoint that is called when the user triggers the
    * action. See the [universal actions
@@ -307,15 +268,12 @@ public com.google.protobuf.ByteString getOpenLinkBytes() {
    * 
* * string run_function = 3; - * * @return Whether the runFunction field is set. */ public boolean hasRunFunction() { return actionTypeCase_ == 3; } /** - * - * *
    * An endpoint that is called when the user triggers the
    * action. See the [universal actions
@@ -323,7 +281,6 @@ public boolean hasRunFunction() {
    * 
* * string run_function = 3; - * * @return The runFunction. */ public java.lang.String getRunFunction() { @@ -334,7 +291,8 @@ public java.lang.String getRunFunction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (actionTypeCase_ == 3) { actionType_ = s; @@ -343,8 +301,6 @@ public java.lang.String getRunFunction() { } } /** - * - * *
    * An endpoint that is called when the user triggers the
    * action. See the [universal actions
@@ -352,17 +308,18 @@ public java.lang.String getRunFunction() {
    * 
* * string run_function = 3; - * * @return The bytes for runFunction. */ - public com.google.protobuf.ByteString getRunFunctionBytes() { + public com.google.protobuf.ByteString + getRunFunctionBytes() { java.lang.Object ref = ""; if (actionTypeCase_ == 3) { ref = actionType_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (actionTypeCase_ == 3) { actionType_ = b; } @@ -373,7 +330,6 @@ public com.google.protobuf.ByteString getRunFunctionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -385,7 +341,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, text_); } @@ -421,22 +378,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.gmail.UniversalAction)) { return super.equals(obj); } - com.google.apps.script.type.gmail.UniversalAction other = - (com.google.apps.script.type.gmail.UniversalAction) obj; + com.google.apps.script.type.gmail.UniversalAction other = (com.google.apps.script.type.gmail.UniversalAction) obj; - if (!getText().equals(other.getText())) return false; + if (!getText() + .equals(other.getText())) return false; if (!getActionTypeCase().equals(other.getActionTypeCase())) return false; switch (actionTypeCase_) { case 2: - if (!getOpenLink().equals(other.getOpenLink())) return false; + if (!getOpenLink() + .equals(other.getOpenLink())) return false; break; case 3: - if (!getRunFunction().equals(other.getRunFunction())) return false; + if (!getRunFunction() + .equals(other.getRunFunction())) return false; break; case 0: default: @@ -472,103 +431,96 @@ public int hashCode() { } public static com.google.apps.script.type.gmail.UniversalAction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.gmail.UniversalAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.gmail.UniversalAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.gmail.UniversalAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.gmail.UniversalAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.gmail.UniversalAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.apps.script.type.gmail.UniversalAction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.apps.script.type.gmail.UniversalAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.gmail.UniversalAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.apps.script.type.gmail.UniversalAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.apps.script.type.gmail.UniversalAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.apps.script.type.gmail.UniversalAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.gmail.UniversalAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.gmail.UniversalAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.apps.script.type.gmail.UniversalAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * An action that is always available in the add-on toolbar menu regardless of
    * message context.
@@ -576,23 +528,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.apps.script.type.gmail.UniversalAction}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.apps.script.type.gmail.UniversalAction)
       com.google.apps.script.type.gmail.UniversalActionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.apps.script.type.gmail.GmailAddOnManifestProto
-          .internal_static_google_apps_script_type_gmail_UniversalAction_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_UniversalAction_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.apps.script.type.gmail.GmailAddOnManifestProto
-          .internal_static_google_apps_script_type_gmail_UniversalAction_fieldAccessorTable
+      return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_UniversalAction_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.apps.script.type.gmail.UniversalAction.class,
-              com.google.apps.script.type.gmail.UniversalAction.Builder.class);
+              com.google.apps.script.type.gmail.UniversalAction.class, com.google.apps.script.type.gmail.UniversalAction.Builder.class);
     }
 
     // Construct using com.google.apps.script.type.gmail.UniversalAction.newBuilder()
@@ -600,15 +550,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -620,9 +571,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.apps.script.type.gmail.GmailAddOnManifestProto
-          .internal_static_google_apps_script_type_gmail_UniversalAction_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_UniversalAction_descriptor;
     }
 
     @java.lang.Override
@@ -641,8 +592,7 @@ public com.google.apps.script.type.gmail.UniversalAction build() {
 
     @java.lang.Override
     public com.google.apps.script.type.gmail.UniversalAction buildPartial() {
-      com.google.apps.script.type.gmail.UniversalAction result =
-          new com.google.apps.script.type.gmail.UniversalAction(this);
+      com.google.apps.script.type.gmail.UniversalAction result = new com.google.apps.script.type.gmail.UniversalAction(this);
       result.text_ = text_;
       if (actionTypeCase_ == 2) {
         result.actionType_ = actionType_;
@@ -659,39 +609,38 @@ public com.google.apps.script.type.gmail.UniversalAction buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.apps.script.type.gmail.UniversalAction) {
-        return mergeFrom((com.google.apps.script.type.gmail.UniversalAction) other);
+        return mergeFrom((com.google.apps.script.type.gmail.UniversalAction)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -699,31 +648,27 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.apps.script.type.gmail.UniversalAction other) {
-      if (other == com.google.apps.script.type.gmail.UniversalAction.getDefaultInstance())
-        return this;
+      if (other == com.google.apps.script.type.gmail.UniversalAction.getDefaultInstance()) return this;
       if (!other.getText().isEmpty()) {
         text_ = other.text_;
         onChanged();
       }
       switch (other.getActionTypeCase()) {
-        case OPEN_LINK:
-          {
-            actionTypeCase_ = 2;
-            actionType_ = other.actionType_;
-            onChanged();
-            break;
-          }
-        case RUN_FUNCTION:
-          {
-            actionTypeCase_ = 3;
-            actionType_ = other.actionType_;
-            onChanged();
-            break;
-          }
-        case ACTIONTYPE_NOT_SET:
-          {
-            break;
-          }
+        case OPEN_LINK: {
+          actionTypeCase_ = 2;
+          actionType_ = other.actionType_;
+          onChanged();
+          break;
+        }
+        case RUN_FUNCTION: {
+          actionTypeCase_ = 3;
+          actionType_ = other.actionType_;
+          onChanged();
+          break;
+        }
+        case ACTIONTYPE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -744,8 +689,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.apps.script.type.gmail.UniversalAction) e.getUnfinishedMessage();
+        parsedMessage = (com.google.apps.script.type.gmail.UniversalAction) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -754,12 +698,12 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int actionTypeCase_ = 0;
     private java.lang.Object actionType_;
-
-    public ActionTypeCase getActionTypeCase() {
-      return ActionTypeCase.forNumber(actionTypeCase_);
+    public ActionTypeCase
+        getActionTypeCase() {
+      return ActionTypeCase.forNumber(
+          actionTypeCase_);
     }
 
     public Builder clearActionType() {
@@ -769,23 +713,22 @@ public Builder clearActionType() {
       return this;
     }
 
+
     private java.lang.Object text_ = "";
     /**
-     *
-     *
      * 
      * Required. User-visible text describing the action, for example, "Add a new
      * contact."
      * 
* * string text = 1; - * * @return The text. */ public java.lang.String getText() { java.lang.Object ref = text_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); text_ = s; return s; @@ -794,22 +737,21 @@ public java.lang.String getText() { } } /** - * - * *
      * Required. User-visible text describing the action, for example, "Add a new
      * contact."
      * 
* * string text = 1; - * * @return The bytes for text. */ - public com.google.protobuf.ByteString getTextBytes() { + public com.google.protobuf.ByteString + getTextBytes() { java.lang.Object ref = text_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); text_ = b; return b; } else { @@ -817,78 +759,68 @@ public com.google.protobuf.ByteString getTextBytes() { } } /** - * - * *
      * Required. User-visible text describing the action, for example, "Add a new
      * contact."
      * 
* * string text = 1; - * * @param value The text to set. * @return This builder for chaining. */ - public Builder setText(java.lang.String value) { + public Builder setText( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + text_ = value; onChanged(); return this; } /** - * - * *
      * Required. User-visible text describing the action, for example, "Add a new
      * contact."
      * 
* * string text = 1; - * * @return This builder for chaining. */ public Builder clearText() { - + text_ = getDefaultInstance().getText(); onChanged(); return this; } /** - * - * *
      * Required. User-visible text describing the action, for example, "Add a new
      * contact."
      * 
* * string text = 1; - * * @param value The bytes for text to set. * @return This builder for chaining. */ - public Builder setTextBytes(com.google.protobuf.ByteString value) { + public Builder setTextBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + text_ = value; onChanged(); return this; } /** - * - * *
      * A link that is opened by Gmail when the user triggers the action.
      * 
* * string open_link = 2; - * * @return Whether the openLink field is set. */ @java.lang.Override @@ -896,14 +828,11 @@ public boolean hasOpenLink() { return actionTypeCase_ == 2; } /** - * - * *
      * A link that is opened by Gmail when the user triggers the action.
      * 
* * string open_link = 2; - * * @return The openLink. */ @java.lang.Override @@ -913,7 +842,8 @@ public java.lang.String getOpenLink() { ref = actionType_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (actionTypeCase_ == 2) { actionType_ = s; @@ -924,25 +854,24 @@ public java.lang.String getOpenLink() { } } /** - * - * *
      * A link that is opened by Gmail when the user triggers the action.
      * 
* * string open_link = 2; - * * @return The bytes for openLink. */ @java.lang.Override - public com.google.protobuf.ByteString getOpenLinkBytes() { + public com.google.protobuf.ByteString + getOpenLinkBytes() { java.lang.Object ref = ""; if (actionTypeCase_ == 2) { ref = actionType_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (actionTypeCase_ == 2) { actionType_ = b; } @@ -952,35 +881,30 @@ public com.google.protobuf.ByteString getOpenLinkBytes() { } } /** - * - * *
      * A link that is opened by Gmail when the user triggers the action.
      * 
* * string open_link = 2; - * * @param value The openLink to set. * @return This builder for chaining. */ - public Builder setOpenLink(java.lang.String value) { + public Builder setOpenLink( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - actionTypeCase_ = 2; + throw new NullPointerException(); + } + actionTypeCase_ = 2; actionType_ = value; onChanged(); return this; } /** - * - * *
      * A link that is opened by Gmail when the user triggers the action.
      * 
* * string open_link = 2; - * * @return This builder for chaining. */ public Builder clearOpenLink() { @@ -992,22 +916,20 @@ public Builder clearOpenLink() { return this; } /** - * - * *
      * A link that is opened by Gmail when the user triggers the action.
      * 
* * string open_link = 2; - * * @param value The bytes for openLink to set. * @return This builder for chaining. */ - public Builder setOpenLinkBytes(com.google.protobuf.ByteString value) { + public Builder setOpenLinkBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); actionTypeCase_ = 2; actionType_ = value; onChanged(); @@ -1015,8 +937,6 @@ public Builder setOpenLinkBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * An endpoint that is called when the user triggers the
      * action. See the [universal actions
@@ -1024,7 +944,6 @@ public Builder setOpenLinkBytes(com.google.protobuf.ByteString value) {
      * 
* * string run_function = 3; - * * @return Whether the runFunction field is set. */ @java.lang.Override @@ -1032,8 +951,6 @@ public boolean hasRunFunction() { return actionTypeCase_ == 3; } /** - * - * *
      * An endpoint that is called when the user triggers the
      * action. See the [universal actions
@@ -1041,7 +958,6 @@ public boolean hasRunFunction() {
      * 
* * string run_function = 3; - * * @return The runFunction. */ @java.lang.Override @@ -1051,7 +967,8 @@ public java.lang.String getRunFunction() { ref = actionType_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (actionTypeCase_ == 3) { actionType_ = s; @@ -1062,8 +979,6 @@ public java.lang.String getRunFunction() { } } /** - * - * *
      * An endpoint that is called when the user triggers the
      * action. See the [universal actions
@@ -1071,18 +986,19 @@ public java.lang.String getRunFunction() {
      * 
* * string run_function = 3; - * * @return The bytes for runFunction. */ @java.lang.Override - public com.google.protobuf.ByteString getRunFunctionBytes() { + public com.google.protobuf.ByteString + getRunFunctionBytes() { java.lang.Object ref = ""; if (actionTypeCase_ == 3) { ref = actionType_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (actionTypeCase_ == 3) { actionType_ = b; } @@ -1092,8 +1008,6 @@ public com.google.protobuf.ByteString getRunFunctionBytes() { } } /** - * - * *
      * An endpoint that is called when the user triggers the
      * action. See the [universal actions
@@ -1101,22 +1015,20 @@ public com.google.protobuf.ByteString getRunFunctionBytes() {
      * 
* * string run_function = 3; - * * @param value The runFunction to set. * @return This builder for chaining. */ - public Builder setRunFunction(java.lang.String value) { + public Builder setRunFunction( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - actionTypeCase_ = 3; + throw new NullPointerException(); + } + actionTypeCase_ = 3; actionType_ = value; onChanged(); return this; } /** - * - * *
      * An endpoint that is called when the user triggers the
      * action. See the [universal actions
@@ -1124,7 +1036,6 @@ public Builder setRunFunction(java.lang.String value) {
      * 
* * string run_function = 3; - * * @return This builder for chaining. */ public Builder clearRunFunction() { @@ -1136,8 +1047,6 @@ public Builder clearRunFunction() { return this; } /** - * - * *
      * An endpoint that is called when the user triggers the
      * action. See the [universal actions
@@ -1145,23 +1054,23 @@ public Builder clearRunFunction() {
      * 
* * string run_function = 3; - * * @param value The bytes for runFunction to set. * @return This builder for chaining. */ - public Builder setRunFunctionBytes(com.google.protobuf.ByteString value) { + public Builder setRunFunctionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); actionTypeCase_ = 3; actionType_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1171,12 +1080,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.apps.script.type.gmail.UniversalAction) } // @@protoc_insertion_point(class_scope:google.apps.script.type.gmail.UniversalAction) private static final com.google.apps.script.type.gmail.UniversalAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.apps.script.type.gmail.UniversalAction(); } @@ -1185,16 +1094,16 @@ public static com.google.apps.script.type.gmail.UniversalAction getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UniversalAction parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UniversalAction(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UniversalAction parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UniversalAction(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1209,4 +1118,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.gmail.UniversalAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/UniversalActionOrBuilder.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/UniversalActionOrBuilder.java similarity index 72% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/UniversalActionOrBuilder.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/UniversalActionOrBuilder.java index 2778d8f3..5eed5f90 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/UniversalActionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/UniversalActionOrBuilder.java @@ -1,95 +1,64 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/gmail/gmail_addon_manifest.proto package com.google.apps.script.type.gmail; -public interface UniversalActionOrBuilder - extends +public interface UniversalActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.gmail.UniversalAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. User-visible text describing the action, for example, "Add a new
    * contact."
    * 
* * string text = 1; - * * @return The text. */ java.lang.String getText(); /** - * - * *
    * Required. User-visible text describing the action, for example, "Add a new
    * contact."
    * 
* * string text = 1; - * * @return The bytes for text. */ - com.google.protobuf.ByteString getTextBytes(); + com.google.protobuf.ByteString + getTextBytes(); /** - * - * *
    * A link that is opened by Gmail when the user triggers the action.
    * 
* * string open_link = 2; - * * @return Whether the openLink field is set. */ boolean hasOpenLink(); /** - * - * *
    * A link that is opened by Gmail when the user triggers the action.
    * 
* * string open_link = 2; - * * @return The openLink. */ java.lang.String getOpenLink(); /** - * - * *
    * A link that is opened by Gmail when the user triggers the action.
    * 
* * string open_link = 2; - * * @return The bytes for openLink. */ - com.google.protobuf.ByteString getOpenLinkBytes(); + com.google.protobuf.ByteString + getOpenLinkBytes(); /** - * - * *
    * An endpoint that is called when the user triggers the
    * action. See the [universal actions
@@ -97,13 +66,10 @@ public interface UniversalActionOrBuilder
    * 
* * string run_function = 3; - * * @return Whether the runFunction field is set. */ boolean hasRunFunction(); /** - * - * *
    * An endpoint that is called when the user triggers the
    * action. See the [universal actions
@@ -111,13 +77,10 @@ public interface UniversalActionOrBuilder
    * 
* * string run_function = 3; - * * @return The runFunction. */ java.lang.String getRunFunction(); /** - * - * *
    * An endpoint that is called when the user triggers the
    * action. See the [universal actions
@@ -125,10 +88,10 @@ public interface UniversalActionOrBuilder
    * 
* * string run_function = 3; - * * @return The bytes for runFunction. */ - com.google.protobuf.ByteString getRunFunctionBytes(); + com.google.protobuf.ByteString + getRunFunctionBytes(); public com.google.apps.script.type.gmail.UniversalAction.ActionTypeCase getActionTypeCase(); } diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsAddOnManifest.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsAddOnManifest.java similarity index 69% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsAddOnManifest.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsAddOnManifest.java index 7254cf60..6835bd9c 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsAddOnManifest.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsAddOnManifest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/sheets/sheets_addon_manifest.proto package com.google.apps.script.type.sheets; /** - * - * *
  * Sheets add-on manifest.
  * 
* * Protobuf type {@code google.apps.script.type.sheets.SheetsAddOnManifest} */ -public final class SheetsAddOnManifest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SheetsAddOnManifest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.apps.script.type.sheets.SheetsAddOnManifest) SheetsAddOnManifestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SheetsAddOnManifest.newBuilder() to construct. private SheetsAddOnManifest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private SheetsAddOnManifest() {} + private SheetsAddOnManifest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SheetsAddOnManifest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SheetsAddOnManifest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,47 +52,39 @@ private SheetsAddOnManifest( case 0: done = true; break; - case 26: - { - com.google.apps.script.type.HomepageExtensionPoint.Builder subBuilder = null; - if (homepageTrigger_ != null) { - subBuilder = homepageTrigger_.toBuilder(); - } - homepageTrigger_ = - input.readMessage( - com.google.apps.script.type.HomepageExtensionPoint.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(homepageTrigger_); - homepageTrigger_ = subBuilder.buildPartial(); - } - - break; + case 26: { + com.google.apps.script.type.HomepageExtensionPoint.Builder subBuilder = null; + if (homepageTrigger_ != null) { + subBuilder = homepageTrigger_.toBuilder(); + } + homepageTrigger_ = input.readMessage(com.google.apps.script.type.HomepageExtensionPoint.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(homepageTrigger_); + homepageTrigger_ = subBuilder.buildPartial(); } - case 42: - { - com.google.apps.script.type.sheets.SheetsExtensionPoint.Builder subBuilder = null; - if (onFileScopeGrantedTrigger_ != null) { - subBuilder = onFileScopeGrantedTrigger_.toBuilder(); - } - onFileScopeGrantedTrigger_ = - input.readMessage( - com.google.apps.script.type.sheets.SheetsExtensionPoint.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(onFileScopeGrantedTrigger_); - onFileScopeGrantedTrigger_ = subBuilder.buildPartial(); - } - break; + break; + } + case 42: { + com.google.apps.script.type.sheets.SheetsExtensionPoint.Builder subBuilder = null; + if (onFileScopeGrantedTrigger_ != null) { + subBuilder = onFileScopeGrantedTrigger_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + onFileScopeGrantedTrigger_ = input.readMessage(com.google.apps.script.type.sheets.SheetsExtensionPoint.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(onFileScopeGrantedTrigger_); + onFileScopeGrantedTrigger_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -116,40 +92,35 @@ private SheetsAddOnManifest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.apps.script.type.sheets.SheetsAddOnManifestProto - .internal_static_google_apps_script_type_sheets_SheetsAddOnManifest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.apps.script.type.sheets.SheetsAddOnManifestProto.internal_static_google_apps_script_type_sheets_SheetsAddOnManifest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.sheets.SheetsAddOnManifestProto - .internal_static_google_apps_script_type_sheets_SheetsAddOnManifest_fieldAccessorTable + return com.google.apps.script.type.sheets.SheetsAddOnManifestProto.internal_static_google_apps_script_type_sheets_SheetsAddOnManifest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.sheets.SheetsAddOnManifest.class, - com.google.apps.script.type.sheets.SheetsAddOnManifest.Builder.class); + com.google.apps.script.type.sheets.SheetsAddOnManifest.class, com.google.apps.script.type.sheets.SheetsAddOnManifest.Builder.class); } public static final int HOMEPAGE_TRIGGER_FIELD_NUMBER = 3; private com.google.apps.script.type.HomepageExtensionPoint homepageTrigger_; /** - * - * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 3; - * * @return Whether the homepageTrigger field is set. */ @java.lang.Override @@ -157,26 +128,19 @@ public boolean hasHomepageTrigger() { return homepageTrigger_ != null; } /** - * - * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 3; - * * @return The homepageTrigger. */ @java.lang.Override public com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger() { - return homepageTrigger_ == null - ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() - : homepageTrigger_; + return homepageTrigger_ == null ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_; } /** - * - * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
@@ -192,16 +156,12 @@ public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTr
   public static final int ON_FILE_SCOPE_GRANTED_TRIGGER_FIELD_NUMBER = 5;
   private com.google.apps.script.type.sheets.SheetsExtensionPoint onFileScopeGrantedTrigger_;
   /**
-   *
-   *
    * 
    * Endpoint to execute when file scope authorization is granted
    * for this document/user pair.
    * 
* - * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; - * - * + * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; * @return Whether the onFileScopeGrantedTrigger field is set. */ @java.lang.Override @@ -209,43 +169,32 @@ public boolean hasOnFileScopeGrantedTrigger() { return onFileScopeGrantedTrigger_ != null; } /** - * - * *
    * Endpoint to execute when file scope authorization is granted
    * for this document/user pair.
    * 
* - * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; - * - * + * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; * @return The onFileScopeGrantedTrigger. */ @java.lang.Override public com.google.apps.script.type.sheets.SheetsExtensionPoint getOnFileScopeGrantedTrigger() { - return onFileScopeGrantedTrigger_ == null - ? com.google.apps.script.type.sheets.SheetsExtensionPoint.getDefaultInstance() - : onFileScopeGrantedTrigger_; + return onFileScopeGrantedTrigger_ == null ? com.google.apps.script.type.sheets.SheetsExtensionPoint.getDefaultInstance() : onFileScopeGrantedTrigger_; } /** - * - * *
    * Endpoint to execute when file scope authorization is granted
    * for this document/user pair.
    * 
* - * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; - * + * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; */ @java.lang.Override - public com.google.apps.script.type.sheets.SheetsExtensionPointOrBuilder - getOnFileScopeGrantedTriggerOrBuilder() { + public com.google.apps.script.type.sheets.SheetsExtensionPointOrBuilder getOnFileScopeGrantedTriggerOrBuilder() { return getOnFileScopeGrantedTrigger(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -257,7 +206,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (homepageTrigger_ != null) { output.writeMessage(3, getHomepageTrigger()); } @@ -274,12 +224,12 @@ public int getSerializedSize() { size = 0; if (homepageTrigger_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getHomepageTrigger()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getHomepageTrigger()); } if (onFileScopeGrantedTrigger_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, getOnFileScopeGrantedTrigger()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getOnFileScopeGrantedTrigger()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -289,22 +239,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.sheets.SheetsAddOnManifest)) { return super.equals(obj); } - com.google.apps.script.type.sheets.SheetsAddOnManifest other = - (com.google.apps.script.type.sheets.SheetsAddOnManifest) obj; + com.google.apps.script.type.sheets.SheetsAddOnManifest other = (com.google.apps.script.type.sheets.SheetsAddOnManifest) obj; if (hasHomepageTrigger() != other.hasHomepageTrigger()) return false; if (hasHomepageTrigger()) { - if (!getHomepageTrigger().equals(other.getHomepageTrigger())) return false; + if (!getHomepageTrigger() + .equals(other.getHomepageTrigger())) return false; } if (hasOnFileScopeGrantedTrigger() != other.hasOnFileScopeGrantedTrigger()) return false; if (hasOnFileScopeGrantedTrigger()) { - if (!getOnFileScopeGrantedTrigger().equals(other.getOnFileScopeGrantedTrigger())) - return false; + if (!getOnFileScopeGrantedTrigger() + .equals(other.getOnFileScopeGrantedTrigger())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -331,127 +281,117 @@ public int hashCode() { } public static com.google.apps.script.type.sheets.SheetsAddOnManifest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.sheets.SheetsAddOnManifest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.sheets.SheetsAddOnManifest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.sheets.SheetsAddOnManifest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.sheets.SheetsAddOnManifest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.sheets.SheetsAddOnManifest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.apps.script.type.sheets.SheetsAddOnManifest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.apps.script.type.sheets.SheetsAddOnManifest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.sheets.SheetsAddOnManifest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.apps.script.type.sheets.SheetsAddOnManifest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.apps.script.type.sheets.SheetsAddOnManifest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.apps.script.type.sheets.SheetsAddOnManifest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.sheets.SheetsAddOnManifest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.sheets.SheetsAddOnManifest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.apps.script.type.sheets.SheetsAddOnManifest prototype) { + public static Builder newBuilder(com.google.apps.script.type.sheets.SheetsAddOnManifest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Sheets add-on manifest.
    * 
* * Protobuf type {@code google.apps.script.type.sheets.SheetsAddOnManifest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.script.type.sheets.SheetsAddOnManifest) com.google.apps.script.type.sheets.SheetsAddOnManifestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.apps.script.type.sheets.SheetsAddOnManifestProto - .internal_static_google_apps_script_type_sheets_SheetsAddOnManifest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.apps.script.type.sheets.SheetsAddOnManifestProto.internal_static_google_apps_script_type_sheets_SheetsAddOnManifest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.sheets.SheetsAddOnManifestProto - .internal_static_google_apps_script_type_sheets_SheetsAddOnManifest_fieldAccessorTable + return com.google.apps.script.type.sheets.SheetsAddOnManifestProto.internal_static_google_apps_script_type_sheets_SheetsAddOnManifest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.sheets.SheetsAddOnManifest.class, - com.google.apps.script.type.sheets.SheetsAddOnManifest.Builder.class); + com.google.apps.script.type.sheets.SheetsAddOnManifest.class, com.google.apps.script.type.sheets.SheetsAddOnManifest.Builder.class); } // Construct using com.google.apps.script.type.sheets.SheetsAddOnManifest.newBuilder() @@ -459,15 +399,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -487,9 +428,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.apps.script.type.sheets.SheetsAddOnManifestProto - .internal_static_google_apps_script_type_sheets_SheetsAddOnManifest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.apps.script.type.sheets.SheetsAddOnManifestProto.internal_static_google_apps_script_type_sheets_SheetsAddOnManifest_descriptor; } @java.lang.Override @@ -508,8 +449,7 @@ public com.google.apps.script.type.sheets.SheetsAddOnManifest build() { @java.lang.Override public com.google.apps.script.type.sheets.SheetsAddOnManifest buildPartial() { - com.google.apps.script.type.sheets.SheetsAddOnManifest result = - new com.google.apps.script.type.sheets.SheetsAddOnManifest(this); + com.google.apps.script.type.sheets.SheetsAddOnManifest result = new com.google.apps.script.type.sheets.SheetsAddOnManifest(this); if (homepageTriggerBuilder_ == null) { result.homepageTrigger_ = homepageTrigger_; } else { @@ -528,39 +468,38 @@ public com.google.apps.script.type.sheets.SheetsAddOnManifest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.script.type.sheets.SheetsAddOnManifest) { - return mergeFrom((com.google.apps.script.type.sheets.SheetsAddOnManifest) other); + return mergeFrom((com.google.apps.script.type.sheets.SheetsAddOnManifest)other); } else { super.mergeFrom(other); return this; @@ -568,8 +507,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.apps.script.type.sheets.SheetsAddOnManifest other) { - if (other == com.google.apps.script.type.sheets.SheetsAddOnManifest.getDefaultInstance()) - return this; + if (other == com.google.apps.script.type.sheets.SheetsAddOnManifest.getDefaultInstance()) return this; if (other.hasHomepageTrigger()) { mergeHomepageTrigger(other.getHomepageTrigger()); } @@ -595,8 +533,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.apps.script.type.sheets.SheetsAddOnManifest) e.getUnfinishedMessage(); + parsedMessage = (com.google.apps.script.type.sheets.SheetsAddOnManifest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -608,49 +545,36 @@ public Builder mergeFrom( private com.google.apps.script.type.HomepageExtensionPoint homepageTrigger_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.HomepageExtensionPoint, - com.google.apps.script.type.HomepageExtensionPoint.Builder, - com.google.apps.script.type.HomepageExtensionPointOrBuilder> - homepageTriggerBuilder_; + com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder> homepageTriggerBuilder_; /** - * - * *
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
      * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 3; - * * @return Whether the homepageTrigger field is set. */ public boolean hasHomepageTrigger() { return homepageTriggerBuilder_ != null || homepageTrigger_ != null; } /** - * - * *
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
      * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 3; - * * @return The homepageTrigger. */ public com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger() { if (homepageTriggerBuilder_ == null) { - return homepageTrigger_ == null - ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() - : homepageTrigger_; + return homepageTrigger_ == null ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_; } else { return homepageTriggerBuilder_.getMessage(); } } /** - * - * *
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -672,8 +596,6 @@ public Builder setHomepageTrigger(com.google.apps.script.type.HomepageExtensionP
       return this;
     }
     /**
-     *
-     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -693,8 +615,6 @@ public Builder setHomepageTrigger(
       return this;
     }
     /**
-     *
-     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -706,9 +626,7 @@ public Builder mergeHomepageTrigger(com.google.apps.script.type.HomepageExtensio
       if (homepageTriggerBuilder_ == null) {
         if (homepageTrigger_ != null) {
           homepageTrigger_ =
-              com.google.apps.script.type.HomepageExtensionPoint.newBuilder(homepageTrigger_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.apps.script.type.HomepageExtensionPoint.newBuilder(homepageTrigger_).mergeFrom(value).buildPartial();
         } else {
           homepageTrigger_ = value;
         }
@@ -720,8 +638,6 @@ public Builder mergeHomepageTrigger(com.google.apps.script.type.HomepageExtensio
       return this;
     }
     /**
-     *
-     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -741,8 +657,6 @@ public Builder clearHomepageTrigger() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -751,13 +665,11 @@ public Builder clearHomepageTrigger() {
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 3;
      */
     public com.google.apps.script.type.HomepageExtensionPoint.Builder getHomepageTriggerBuilder() {
-
+      
       onChanged();
       return getHomepageTriggerFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -765,19 +677,15 @@ public com.google.apps.script.type.HomepageExtensionPoint.Builder getHomepageTri
      *
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 3;
      */
-    public com.google.apps.script.type.HomepageExtensionPointOrBuilder
-        getHomepageTriggerOrBuilder() {
+    public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder() {
       if (homepageTriggerBuilder_ != null) {
         return homepageTriggerBuilder_.getMessageOrBuilder();
       } else {
-        return homepageTrigger_ == null
-            ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance()
-            : homepageTrigger_;
+        return homepageTrigger_ == null ?
+            com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_;
       }
     }
     /**
-     *
-     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -786,17 +694,14 @@ public com.google.apps.script.type.HomepageExtensionPoint.Builder getHomepageTri
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.apps.script.type.HomepageExtensionPoint,
-            com.google.apps.script.type.HomepageExtensionPoint.Builder,
-            com.google.apps.script.type.HomepageExtensionPointOrBuilder>
+        com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder> 
         getHomepageTriggerFieldBuilder() {
       if (homepageTriggerBuilder_ == null) {
-        homepageTriggerBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.apps.script.type.HomepageExtensionPoint,
-                com.google.apps.script.type.HomepageExtensionPoint.Builder,
-                com.google.apps.script.type.HomepageExtensionPointOrBuilder>(
-                getHomepageTrigger(), getParentForChildren(), isClean());
+        homepageTriggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder>(
+                getHomepageTrigger(),
+                getParentForChildren(),
+                isClean());
         homepageTrigger_ = null;
       }
       return homepageTriggerBuilder_;
@@ -804,61 +709,44 @@ public com.google.apps.script.type.HomepageExtensionPoint.Builder getHomepageTri
 
     private com.google.apps.script.type.sheets.SheetsExtensionPoint onFileScopeGrantedTrigger_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.apps.script.type.sheets.SheetsExtensionPoint,
-            com.google.apps.script.type.sheets.SheetsExtensionPoint.Builder,
-            com.google.apps.script.type.sheets.SheetsExtensionPointOrBuilder>
-        onFileScopeGrantedTriggerBuilder_;
+        com.google.apps.script.type.sheets.SheetsExtensionPoint, com.google.apps.script.type.sheets.SheetsExtensionPoint.Builder, com.google.apps.script.type.sheets.SheetsExtensionPointOrBuilder> onFileScopeGrantedTriggerBuilder_;
     /**
-     *
-     *
      * 
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; - * - * + * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; * @return Whether the onFileScopeGrantedTrigger field is set. */ public boolean hasOnFileScopeGrantedTrigger() { return onFileScopeGrantedTriggerBuilder_ != null || onFileScopeGrantedTrigger_ != null; } /** - * - * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; - * - * + * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; * @return The onFileScopeGrantedTrigger. */ public com.google.apps.script.type.sheets.SheetsExtensionPoint getOnFileScopeGrantedTrigger() { if (onFileScopeGrantedTriggerBuilder_ == null) { - return onFileScopeGrantedTrigger_ == null - ? com.google.apps.script.type.sheets.SheetsExtensionPoint.getDefaultInstance() - : onFileScopeGrantedTrigger_; + return onFileScopeGrantedTrigger_ == null ? com.google.apps.script.type.sheets.SheetsExtensionPoint.getDefaultInstance() : onFileScopeGrantedTrigger_; } else { return onFileScopeGrantedTriggerBuilder_.getMessage(); } } /** - * - * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; - * + * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; */ - public Builder setOnFileScopeGrantedTrigger( - com.google.apps.script.type.sheets.SheetsExtensionPoint value) { + public Builder setOnFileScopeGrantedTrigger(com.google.apps.script.type.sheets.SheetsExtensionPoint value) { if (onFileScopeGrantedTriggerBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -872,15 +760,12 @@ public Builder setOnFileScopeGrantedTrigger( return this; } /** - * - * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; - * + * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; */ public Builder setOnFileScopeGrantedTrigger( com.google.apps.script.type.sheets.SheetsExtensionPoint.Builder builderForValue) { @@ -894,25 +779,18 @@ public Builder setOnFileScopeGrantedTrigger( return this; } /** - * - * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; - * + * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; */ - public Builder mergeOnFileScopeGrantedTrigger( - com.google.apps.script.type.sheets.SheetsExtensionPoint value) { + public Builder mergeOnFileScopeGrantedTrigger(com.google.apps.script.type.sheets.SheetsExtensionPoint value) { if (onFileScopeGrantedTriggerBuilder_ == null) { if (onFileScopeGrantedTrigger_ != null) { onFileScopeGrantedTrigger_ = - com.google.apps.script.type.sheets.SheetsExtensionPoint.newBuilder( - onFileScopeGrantedTrigger_) - .mergeFrom(value) - .buildPartial(); + com.google.apps.script.type.sheets.SheetsExtensionPoint.newBuilder(onFileScopeGrantedTrigger_).mergeFrom(value).buildPartial(); } else { onFileScopeGrantedTrigger_ = value; } @@ -924,15 +802,12 @@ public Builder mergeOnFileScopeGrantedTrigger( return this; } /** - * - * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; - * + * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; */ public Builder clearOnFileScopeGrantedTrigger() { if (onFileScopeGrantedTriggerBuilder_ == null) { @@ -946,73 +821,58 @@ public Builder clearOnFileScopeGrantedTrigger() { return this; } /** - * - * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; - * + * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; */ - public com.google.apps.script.type.sheets.SheetsExtensionPoint.Builder - getOnFileScopeGrantedTriggerBuilder() { - + public com.google.apps.script.type.sheets.SheetsExtensionPoint.Builder getOnFileScopeGrantedTriggerBuilder() { + onChanged(); return getOnFileScopeGrantedTriggerFieldBuilder().getBuilder(); } /** - * - * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; - * + * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; */ - public com.google.apps.script.type.sheets.SheetsExtensionPointOrBuilder - getOnFileScopeGrantedTriggerOrBuilder() { + public com.google.apps.script.type.sheets.SheetsExtensionPointOrBuilder getOnFileScopeGrantedTriggerOrBuilder() { if (onFileScopeGrantedTriggerBuilder_ != null) { return onFileScopeGrantedTriggerBuilder_.getMessageOrBuilder(); } else { - return onFileScopeGrantedTrigger_ == null - ? com.google.apps.script.type.sheets.SheetsExtensionPoint.getDefaultInstance() - : onFileScopeGrantedTrigger_; + return onFileScopeGrantedTrigger_ == null ? + com.google.apps.script.type.sheets.SheetsExtensionPoint.getDefaultInstance() : onFileScopeGrantedTrigger_; } } /** - * - * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; - * + * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.sheets.SheetsExtensionPoint, - com.google.apps.script.type.sheets.SheetsExtensionPoint.Builder, - com.google.apps.script.type.sheets.SheetsExtensionPointOrBuilder> + com.google.apps.script.type.sheets.SheetsExtensionPoint, com.google.apps.script.type.sheets.SheetsExtensionPoint.Builder, com.google.apps.script.type.sheets.SheetsExtensionPointOrBuilder> getOnFileScopeGrantedTriggerFieldBuilder() { if (onFileScopeGrantedTriggerBuilder_ == null) { - onFileScopeGrantedTriggerBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.sheets.SheetsExtensionPoint, - com.google.apps.script.type.sheets.SheetsExtensionPoint.Builder, - com.google.apps.script.type.sheets.SheetsExtensionPointOrBuilder>( - getOnFileScopeGrantedTrigger(), getParentForChildren(), isClean()); + onFileScopeGrantedTriggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.apps.script.type.sheets.SheetsExtensionPoint, com.google.apps.script.type.sheets.SheetsExtensionPoint.Builder, com.google.apps.script.type.sheets.SheetsExtensionPointOrBuilder>( + getOnFileScopeGrantedTrigger(), + getParentForChildren(), + isClean()); onFileScopeGrantedTrigger_ = null; } return onFileScopeGrantedTriggerBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1022,12 +882,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.apps.script.type.sheets.SheetsAddOnManifest) } // @@protoc_insertion_point(class_scope:google.apps.script.type.sheets.SheetsAddOnManifest) private static final com.google.apps.script.type.sheets.SheetsAddOnManifest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.apps.script.type.sheets.SheetsAddOnManifest(); } @@ -1036,16 +896,16 @@ public static com.google.apps.script.type.sheets.SheetsAddOnManifest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SheetsAddOnManifest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SheetsAddOnManifest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SheetsAddOnManifest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SheetsAddOnManifest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1060,4 +920,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.sheets.SheetsAddOnManifest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsAddOnManifestOrBuilder.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsAddOnManifestOrBuilder.java similarity index 70% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsAddOnManifestOrBuilder.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsAddOnManifestOrBuilder.java index bac8b376..21accebf 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsAddOnManifestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsAddOnManifestOrBuilder.java @@ -1,57 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/sheets/sheets_addon_manifest.proto package com.google.apps.script.type.sheets; -public interface SheetsAddOnManifestOrBuilder - extends +public interface SheetsAddOnManifestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.sheets.SheetsAddOnManifest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 3; - * * @return Whether the homepageTrigger field is set. */ boolean hasHomepageTrigger(); /** - * - * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 3; - * * @return The homepageTrigger. */ com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger(); /** - * - * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
@@ -62,44 +38,32 @@ public interface SheetsAddOnManifestOrBuilder
   com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder();
 
   /**
-   *
-   *
    * 
    * Endpoint to execute when file scope authorization is granted
    * for this document/user pair.
    * 
* - * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; - * - * + * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; * @return Whether the onFileScopeGrantedTrigger field is set. */ boolean hasOnFileScopeGrantedTrigger(); /** - * - * *
    * Endpoint to execute when file scope authorization is granted
    * for this document/user pair.
    * 
* - * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; - * - * + * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; * @return The onFileScopeGrantedTrigger. */ com.google.apps.script.type.sheets.SheetsExtensionPoint getOnFileScopeGrantedTrigger(); /** - * - * *
    * Endpoint to execute when file scope authorization is granted
    * for this document/user pair.
    * 
* - * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; - * + * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; */ - com.google.apps.script.type.sheets.SheetsExtensionPointOrBuilder - getOnFileScopeGrantedTriggerOrBuilder(); + com.google.apps.script.type.sheets.SheetsExtensionPointOrBuilder getOnFileScopeGrantedTriggerOrBuilder(); } diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsAddOnManifestProto.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsAddOnManifestProto.java new file mode 100644 index 00000000..206c49cc --- /dev/null +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsAddOnManifestProto.java @@ -0,0 +1,82 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/apps/script/type/sheets/sheets_addon_manifest.proto + +package com.google.apps.script.type.sheets; + +public final class SheetsAddOnManifestProto { + private SheetsAddOnManifestProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_apps_script_type_sheets_SheetsAddOnManifest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_apps_script_type_sheets_SheetsAddOnManifest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_apps_script_type_sheets_SheetsExtensionPoint_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_apps_script_type_sheets_SheetsExtensionPoint_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n:google/apps/script/type/sheets/sheets_" + + "addon_manifest.proto\022\036google.apps.script" + + ".type.sheets\032\037google/api/field_behavior." + + "proto\032-google/apps/script/type/extension" + + "_point.proto\"\275\001\n\023SheetsAddOnManifest\022I\n\020" + + "homepage_trigger\030\003 \001(\0132/.google.apps.scr" + + "ipt.type.HomepageExtensionPoint\022[\n\035on_fi" + + "le_scope_granted_trigger\030\005 \001(\01324.google." + + "apps.script.type.sheets.SheetsExtensionP" + + "oint\"1\n\024SheetsExtensionPoint\022\031\n\014run_func" + + "tion\030\001 \001(\tB\003\340A\002B\346\001\n\"com.google.apps.scri" + + "pt.type.sheetsB\030SheetsAddOnManifestProto" + + "P\001Z=google.golang.org/genproto/googleapi" + + "s/apps/script/type/sheets\252\002\036Google.Apps." + + "Script.Type.Sheets\312\002\036Google\\Apps\\Script\\" + + "Type\\Sheets\352\002\"Google::Apps::Script::Type" + + "::Sheetsb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.apps.script.type.ExtensionPoint.getDescriptor(), + }); + internal_static_google_apps_script_type_sheets_SheetsAddOnManifest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_apps_script_type_sheets_SheetsAddOnManifest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_apps_script_type_sheets_SheetsAddOnManifest_descriptor, + new java.lang.String[] { "HomepageTrigger", "OnFileScopeGrantedTrigger", }); + internal_static_google_apps_script_type_sheets_SheetsExtensionPoint_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_apps_script_type_sheets_SheetsExtensionPoint_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_apps_script_type_sheets_SheetsExtensionPoint_descriptor, + new java.lang.String[] { "RunFunction", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.apps.script.type.ExtensionPoint.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsExtensionPoint.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsExtensionPoint.java similarity index 70% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsExtensionPoint.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsExtensionPoint.java index 6e9d091a..bc4a79a1 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsExtensionPoint.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsExtensionPoint.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/sheets/sheets_addon_manifest.proto package com.google.apps.script.type.sheets; /** - * - * *
  * Common format for declaring a Sheets add-on's triggers.
  * 
* * Protobuf type {@code google.apps.script.type.sheets.SheetsExtensionPoint} */ -public final class SheetsExtensionPoint extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SheetsExtensionPoint extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.apps.script.type.sheets.SheetsExtensionPoint) SheetsExtensionPointOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SheetsExtensionPoint.newBuilder() to construct. private SheetsExtensionPoint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SheetsExtensionPoint() { runFunction_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SheetsExtensionPoint(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SheetsExtensionPoint( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private SheetsExtensionPoint( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - runFunction_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + runFunction_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private SheetsExtensionPoint( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.apps.script.type.sheets.SheetsAddOnManifestProto - .internal_static_google_apps_script_type_sheets_SheetsExtensionPoint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.apps.script.type.sheets.SheetsAddOnManifestProto.internal_static_google_apps_script_type_sheets_SheetsExtensionPoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.sheets.SheetsAddOnManifestProto - .internal_static_google_apps_script_type_sheets_SheetsExtensionPoint_fieldAccessorTable + return com.google.apps.script.type.sheets.SheetsAddOnManifestProto.internal_static_google_apps_script_type_sheets_SheetsExtensionPoint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.sheets.SheetsExtensionPoint.class, - com.google.apps.script.type.sheets.SheetsExtensionPoint.Builder.class); + com.google.apps.script.type.sheets.SheetsExtensionPoint.class, com.google.apps.script.type.sheets.SheetsExtensionPoint.Builder.class); } public static final int RUN_FUNCTION_FIELD_NUMBER = 1; private volatile java.lang.Object runFunction_; /** - * - * *
    * Required. The endpoint to execute when this extension point is activated.
    * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The runFunction. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getRunFunction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); runFunction_ = s; return s; } } /** - * - * *
    * Required. The endpoint to execute when this extension point is activated.
    * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for runFunction. */ @java.lang.Override - public com.google.protobuf.ByteString getRunFunctionBytes() { + public com.google.protobuf.ByteString + getRunFunctionBytes() { java.lang.Object ref = runFunction_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); runFunction_ = b; return b; } else { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getRunFunctionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(runFunction_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, runFunction_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.sheets.SheetsExtensionPoint)) { return super.equals(obj); } - com.google.apps.script.type.sheets.SheetsExtensionPoint other = - (com.google.apps.script.type.sheets.SheetsExtensionPoint) obj; + com.google.apps.script.type.sheets.SheetsExtensionPoint other = (com.google.apps.script.type.sheets.SheetsExtensionPoint) obj; - if (!getRunFunction().equals(other.getRunFunction())) return false; + if (!getRunFunction() + .equals(other.getRunFunction())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.apps.script.type.sheets.SheetsExtensionPoint parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.sheets.SheetsExtensionPoint parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.sheets.SheetsExtensionPoint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.sheets.SheetsExtensionPoint parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.sheets.SheetsExtensionPoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.sheets.SheetsExtensionPoint parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.apps.script.type.sheets.SheetsExtensionPoint parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.apps.script.type.sheets.SheetsExtensionPoint parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.sheets.SheetsExtensionPoint parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.apps.script.type.sheets.SheetsExtensionPoint parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.apps.script.type.sheets.SheetsExtensionPoint parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.apps.script.type.sheets.SheetsExtensionPoint parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.sheets.SheetsExtensionPoint parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.sheets.SheetsExtensionPoint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.apps.script.type.sheets.SheetsExtensionPoint prototype) { + public static Builder newBuilder(com.google.apps.script.type.sheets.SheetsExtensionPoint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Common format for declaring a Sheets add-on's triggers.
    * 
* * Protobuf type {@code google.apps.script.type.sheets.SheetsExtensionPoint} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.script.type.sheets.SheetsExtensionPoint) com.google.apps.script.type.sheets.SheetsExtensionPointOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.apps.script.type.sheets.SheetsAddOnManifestProto - .internal_static_google_apps_script_type_sheets_SheetsExtensionPoint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.apps.script.type.sheets.SheetsAddOnManifestProto.internal_static_google_apps_script_type_sheets_SheetsExtensionPoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.sheets.SheetsAddOnManifestProto - .internal_static_google_apps_script_type_sheets_SheetsExtensionPoint_fieldAccessorTable + return com.google.apps.script.type.sheets.SheetsAddOnManifestProto.internal_static_google_apps_script_type_sheets_SheetsExtensionPoint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.sheets.SheetsExtensionPoint.class, - com.google.apps.script.type.sheets.SheetsExtensionPoint.Builder.class); + com.google.apps.script.type.sheets.SheetsExtensionPoint.class, com.google.apps.script.type.sheets.SheetsExtensionPoint.Builder.class); } // Construct using com.google.apps.script.type.sheets.SheetsExtensionPoint.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.apps.script.type.sheets.SheetsAddOnManifestProto - .internal_static_google_apps_script_type_sheets_SheetsExtensionPoint_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.apps.script.type.sheets.SheetsAddOnManifestProto.internal_static_google_apps_script_type_sheets_SheetsExtensionPoint_descriptor; } @java.lang.Override @@ -394,8 +362,7 @@ public com.google.apps.script.type.sheets.SheetsExtensionPoint build() { @java.lang.Override public com.google.apps.script.type.sheets.SheetsExtensionPoint buildPartial() { - com.google.apps.script.type.sheets.SheetsExtensionPoint result = - new com.google.apps.script.type.sheets.SheetsExtensionPoint(this); + com.google.apps.script.type.sheets.SheetsExtensionPoint result = new com.google.apps.script.type.sheets.SheetsExtensionPoint(this); result.runFunction_ = runFunction_; onBuilt(); return result; @@ -405,39 +372,38 @@ public com.google.apps.script.type.sheets.SheetsExtensionPoint buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.script.type.sheets.SheetsExtensionPoint) { - return mergeFrom((com.google.apps.script.type.sheets.SheetsExtensionPoint) other); + return mergeFrom((com.google.apps.script.type.sheets.SheetsExtensionPoint)other); } else { super.mergeFrom(other); return this; @@ -445,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.apps.script.type.sheets.SheetsExtensionPoint other) { - if (other == com.google.apps.script.type.sheets.SheetsExtensionPoint.getDefaultInstance()) - return this; + if (other == com.google.apps.script.type.sheets.SheetsExtensionPoint.getDefaultInstance()) return this; if (!other.getRunFunction().isEmpty()) { runFunction_ = other.runFunction_; onChanged(); @@ -470,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.apps.script.type.sheets.SheetsExtensionPoint) e.getUnfinishedMessage(); + parsedMessage = (com.google.apps.script.type.sheets.SheetsExtensionPoint) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -483,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object runFunction_ = ""; /** - * - * *
      * Required. The endpoint to execute when this extension point is activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The runFunction. */ public java.lang.String getRunFunction() { java.lang.Object ref = runFunction_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); runFunction_ = s; return s; @@ -505,21 +467,20 @@ public java.lang.String getRunFunction() { } } /** - * - * *
      * Required. The endpoint to execute when this extension point is activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for runFunction. */ - public com.google.protobuf.ByteString getRunFunctionBytes() { + public com.google.protobuf.ByteString + getRunFunctionBytes() { java.lang.Object ref = runFunction_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); runFunction_ = b; return b; } else { @@ -527,68 +488,61 @@ public com.google.protobuf.ByteString getRunFunctionBytes() { } } /** - * - * *
      * Required. The endpoint to execute when this extension point is activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The runFunction to set. * @return This builder for chaining. */ - public Builder setRunFunction(java.lang.String value) { + public Builder setRunFunction( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + runFunction_ = value; onChanged(); return this; } /** - * - * *
      * Required. The endpoint to execute when this extension point is activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearRunFunction() { - + runFunction_ = getDefaultInstance().getRunFunction(); onChanged(); return this; } /** - * - * *
      * Required. The endpoint to execute when this extension point is activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for runFunction to set. * @return This builder for chaining. */ - public Builder setRunFunctionBytes(com.google.protobuf.ByteString value) { + public Builder setRunFunctionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + runFunction_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -598,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.apps.script.type.sheets.SheetsExtensionPoint) } // @@protoc_insertion_point(class_scope:google.apps.script.type.sheets.SheetsExtensionPoint) private static final com.google.apps.script.type.sheets.SheetsExtensionPoint DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.apps.script.type.sheets.SheetsExtensionPoint(); } @@ -612,16 +566,16 @@ public static com.google.apps.script.type.sheets.SheetsExtensionPoint getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SheetsExtensionPoint parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SheetsExtensionPoint(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SheetsExtensionPoint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SheetsExtensionPoint(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.sheets.SheetsExtensionPoint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsExtensionPointOrBuilder.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsExtensionPointOrBuilder.java similarity index 53% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsExtensionPointOrBuilder.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsExtensionPointOrBuilder.java index 4d67daa6..902cb929 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsExtensionPointOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsExtensionPointOrBuilder.java @@ -1,50 +1,29 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/sheets/sheets_addon_manifest.proto package com.google.apps.script.type.sheets; -public interface SheetsExtensionPointOrBuilder - extends +public interface SheetsExtensionPointOrBuilder extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.sheets.SheetsExtensionPoint) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The endpoint to execute when this extension point is activated.
    * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The runFunction. */ java.lang.String getRunFunction(); /** - * - * *
    * Required. The endpoint to execute when this extension point is activated.
    * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for runFunction. */ - com.google.protobuf.ByteString getRunFunctionBytes(); + com.google.protobuf.ByteString + getRunFunctionBytes(); } diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesAddOnManifest.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesAddOnManifest.java similarity index 69% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesAddOnManifest.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesAddOnManifest.java index 6ba4c084..7ca87445 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesAddOnManifest.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesAddOnManifest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/slides/slides_addon_manifest.proto package com.google.apps.script.type.slides; /** - * - * *
  * Slides add-on manifest.
  * 
* * Protobuf type {@code google.apps.script.type.slides.SlidesAddOnManifest} */ -public final class SlidesAddOnManifest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SlidesAddOnManifest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.apps.script.type.slides.SlidesAddOnManifest) SlidesAddOnManifestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SlidesAddOnManifest.newBuilder() to construct. private SlidesAddOnManifest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private SlidesAddOnManifest() {} + private SlidesAddOnManifest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SlidesAddOnManifest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SlidesAddOnManifest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,47 +52,39 @@ private SlidesAddOnManifest( case 0: done = true; break; - case 10: - { - com.google.apps.script.type.HomepageExtensionPoint.Builder subBuilder = null; - if (homepageTrigger_ != null) { - subBuilder = homepageTrigger_.toBuilder(); - } - homepageTrigger_ = - input.readMessage( - com.google.apps.script.type.HomepageExtensionPoint.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(homepageTrigger_); - homepageTrigger_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.apps.script.type.HomepageExtensionPoint.Builder subBuilder = null; + if (homepageTrigger_ != null) { + subBuilder = homepageTrigger_.toBuilder(); + } + homepageTrigger_ = input.readMessage(com.google.apps.script.type.HomepageExtensionPoint.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(homepageTrigger_); + homepageTrigger_ = subBuilder.buildPartial(); } - case 18: - { - com.google.apps.script.type.slides.SlidesExtensionPoint.Builder subBuilder = null; - if (onFileScopeGrantedTrigger_ != null) { - subBuilder = onFileScopeGrantedTrigger_.toBuilder(); - } - onFileScopeGrantedTrigger_ = - input.readMessage( - com.google.apps.script.type.slides.SlidesExtensionPoint.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(onFileScopeGrantedTrigger_); - onFileScopeGrantedTrigger_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.apps.script.type.slides.SlidesExtensionPoint.Builder subBuilder = null; + if (onFileScopeGrantedTrigger_ != null) { + subBuilder = onFileScopeGrantedTrigger_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + onFileScopeGrantedTrigger_ = input.readMessage(com.google.apps.script.type.slides.SlidesExtensionPoint.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(onFileScopeGrantedTrigger_); + onFileScopeGrantedTrigger_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -116,40 +92,35 @@ private SlidesAddOnManifest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.apps.script.type.slides.SlidesAddOnManifestProto - .internal_static_google_apps_script_type_slides_SlidesAddOnManifest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.apps.script.type.slides.SlidesAddOnManifestProto.internal_static_google_apps_script_type_slides_SlidesAddOnManifest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.slides.SlidesAddOnManifestProto - .internal_static_google_apps_script_type_slides_SlidesAddOnManifest_fieldAccessorTable + return com.google.apps.script.type.slides.SlidesAddOnManifestProto.internal_static_google_apps_script_type_slides_SlidesAddOnManifest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.slides.SlidesAddOnManifest.class, - com.google.apps.script.type.slides.SlidesAddOnManifest.Builder.class); + com.google.apps.script.type.slides.SlidesAddOnManifest.class, com.google.apps.script.type.slides.SlidesAddOnManifest.Builder.class); } public static final int HOMEPAGE_TRIGGER_FIELD_NUMBER = 1; private com.google.apps.script.type.HomepageExtensionPoint homepageTrigger_; /** - * - * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1; - * * @return Whether the homepageTrigger field is set. */ @java.lang.Override @@ -157,26 +128,19 @@ public boolean hasHomepageTrigger() { return homepageTrigger_ != null; } /** - * - * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1; - * * @return The homepageTrigger. */ @java.lang.Override public com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger() { - return homepageTrigger_ == null - ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() - : homepageTrigger_; + return homepageTrigger_ == null ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_; } /** - * - * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
@@ -192,16 +156,12 @@ public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTr
   public static final int ON_FILE_SCOPE_GRANTED_TRIGGER_FIELD_NUMBER = 2;
   private com.google.apps.script.type.slides.SlidesExtensionPoint onFileScopeGrantedTrigger_;
   /**
-   *
-   *
    * 
    * Endpoint to execute when file scope authorization is granted
    * for this document/user pair.
    * 
* - * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; - * - * + * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; * @return Whether the onFileScopeGrantedTrigger field is set. */ @java.lang.Override @@ -209,43 +169,32 @@ public boolean hasOnFileScopeGrantedTrigger() { return onFileScopeGrantedTrigger_ != null; } /** - * - * *
    * Endpoint to execute when file scope authorization is granted
    * for this document/user pair.
    * 
* - * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; - * - * + * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; * @return The onFileScopeGrantedTrigger. */ @java.lang.Override public com.google.apps.script.type.slides.SlidesExtensionPoint getOnFileScopeGrantedTrigger() { - return onFileScopeGrantedTrigger_ == null - ? com.google.apps.script.type.slides.SlidesExtensionPoint.getDefaultInstance() - : onFileScopeGrantedTrigger_; + return onFileScopeGrantedTrigger_ == null ? com.google.apps.script.type.slides.SlidesExtensionPoint.getDefaultInstance() : onFileScopeGrantedTrigger_; } /** - * - * *
    * Endpoint to execute when file scope authorization is granted
    * for this document/user pair.
    * 
* - * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; - * + * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; */ @java.lang.Override - public com.google.apps.script.type.slides.SlidesExtensionPointOrBuilder - getOnFileScopeGrantedTriggerOrBuilder() { + public com.google.apps.script.type.slides.SlidesExtensionPointOrBuilder getOnFileScopeGrantedTriggerOrBuilder() { return getOnFileScopeGrantedTrigger(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -257,7 +206,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (homepageTrigger_ != null) { output.writeMessage(1, getHomepageTrigger()); } @@ -274,12 +224,12 @@ public int getSerializedSize() { size = 0; if (homepageTrigger_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getHomepageTrigger()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getHomepageTrigger()); } if (onFileScopeGrantedTrigger_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, getOnFileScopeGrantedTrigger()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getOnFileScopeGrantedTrigger()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -289,22 +239,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.slides.SlidesAddOnManifest)) { return super.equals(obj); } - com.google.apps.script.type.slides.SlidesAddOnManifest other = - (com.google.apps.script.type.slides.SlidesAddOnManifest) obj; + com.google.apps.script.type.slides.SlidesAddOnManifest other = (com.google.apps.script.type.slides.SlidesAddOnManifest) obj; if (hasHomepageTrigger() != other.hasHomepageTrigger()) return false; if (hasHomepageTrigger()) { - if (!getHomepageTrigger().equals(other.getHomepageTrigger())) return false; + if (!getHomepageTrigger() + .equals(other.getHomepageTrigger())) return false; } if (hasOnFileScopeGrantedTrigger() != other.hasOnFileScopeGrantedTrigger()) return false; if (hasOnFileScopeGrantedTrigger()) { - if (!getOnFileScopeGrantedTrigger().equals(other.getOnFileScopeGrantedTrigger())) - return false; + if (!getOnFileScopeGrantedTrigger() + .equals(other.getOnFileScopeGrantedTrigger())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -331,127 +281,117 @@ public int hashCode() { } public static com.google.apps.script.type.slides.SlidesAddOnManifest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.slides.SlidesAddOnManifest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.slides.SlidesAddOnManifest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.slides.SlidesAddOnManifest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.slides.SlidesAddOnManifest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.slides.SlidesAddOnManifest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.apps.script.type.slides.SlidesAddOnManifest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.apps.script.type.slides.SlidesAddOnManifest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.slides.SlidesAddOnManifest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.apps.script.type.slides.SlidesAddOnManifest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.apps.script.type.slides.SlidesAddOnManifest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.apps.script.type.slides.SlidesAddOnManifest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.slides.SlidesAddOnManifest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.slides.SlidesAddOnManifest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.apps.script.type.slides.SlidesAddOnManifest prototype) { + public static Builder newBuilder(com.google.apps.script.type.slides.SlidesAddOnManifest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Slides add-on manifest.
    * 
* * Protobuf type {@code google.apps.script.type.slides.SlidesAddOnManifest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.script.type.slides.SlidesAddOnManifest) com.google.apps.script.type.slides.SlidesAddOnManifestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.apps.script.type.slides.SlidesAddOnManifestProto - .internal_static_google_apps_script_type_slides_SlidesAddOnManifest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.apps.script.type.slides.SlidesAddOnManifestProto.internal_static_google_apps_script_type_slides_SlidesAddOnManifest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.slides.SlidesAddOnManifestProto - .internal_static_google_apps_script_type_slides_SlidesAddOnManifest_fieldAccessorTable + return com.google.apps.script.type.slides.SlidesAddOnManifestProto.internal_static_google_apps_script_type_slides_SlidesAddOnManifest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.slides.SlidesAddOnManifest.class, - com.google.apps.script.type.slides.SlidesAddOnManifest.Builder.class); + com.google.apps.script.type.slides.SlidesAddOnManifest.class, com.google.apps.script.type.slides.SlidesAddOnManifest.Builder.class); } // Construct using com.google.apps.script.type.slides.SlidesAddOnManifest.newBuilder() @@ -459,15 +399,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -487,9 +428,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.apps.script.type.slides.SlidesAddOnManifestProto - .internal_static_google_apps_script_type_slides_SlidesAddOnManifest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.apps.script.type.slides.SlidesAddOnManifestProto.internal_static_google_apps_script_type_slides_SlidesAddOnManifest_descriptor; } @java.lang.Override @@ -508,8 +449,7 @@ public com.google.apps.script.type.slides.SlidesAddOnManifest build() { @java.lang.Override public com.google.apps.script.type.slides.SlidesAddOnManifest buildPartial() { - com.google.apps.script.type.slides.SlidesAddOnManifest result = - new com.google.apps.script.type.slides.SlidesAddOnManifest(this); + com.google.apps.script.type.slides.SlidesAddOnManifest result = new com.google.apps.script.type.slides.SlidesAddOnManifest(this); if (homepageTriggerBuilder_ == null) { result.homepageTrigger_ = homepageTrigger_; } else { @@ -528,39 +468,38 @@ public com.google.apps.script.type.slides.SlidesAddOnManifest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.script.type.slides.SlidesAddOnManifest) { - return mergeFrom((com.google.apps.script.type.slides.SlidesAddOnManifest) other); + return mergeFrom((com.google.apps.script.type.slides.SlidesAddOnManifest)other); } else { super.mergeFrom(other); return this; @@ -568,8 +507,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.apps.script.type.slides.SlidesAddOnManifest other) { - if (other == com.google.apps.script.type.slides.SlidesAddOnManifest.getDefaultInstance()) - return this; + if (other == com.google.apps.script.type.slides.SlidesAddOnManifest.getDefaultInstance()) return this; if (other.hasHomepageTrigger()) { mergeHomepageTrigger(other.getHomepageTrigger()); } @@ -595,8 +533,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.apps.script.type.slides.SlidesAddOnManifest) e.getUnfinishedMessage(); + parsedMessage = (com.google.apps.script.type.slides.SlidesAddOnManifest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -608,49 +545,36 @@ public Builder mergeFrom( private com.google.apps.script.type.HomepageExtensionPoint homepageTrigger_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.HomepageExtensionPoint, - com.google.apps.script.type.HomepageExtensionPoint.Builder, - com.google.apps.script.type.HomepageExtensionPointOrBuilder> - homepageTriggerBuilder_; + com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder> homepageTriggerBuilder_; /** - * - * *
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
      * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1; - * * @return Whether the homepageTrigger field is set. */ public boolean hasHomepageTrigger() { return homepageTriggerBuilder_ != null || homepageTrigger_ != null; } /** - * - * *
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
      * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1; - * * @return The homepageTrigger. */ public com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger() { if (homepageTriggerBuilder_ == null) { - return homepageTrigger_ == null - ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() - : homepageTrigger_; + return homepageTrigger_ == null ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_; } else { return homepageTriggerBuilder_.getMessage(); } } /** - * - * *
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -672,8 +596,6 @@ public Builder setHomepageTrigger(com.google.apps.script.type.HomepageExtensionP
       return this;
     }
     /**
-     *
-     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -693,8 +615,6 @@ public Builder setHomepageTrigger(
       return this;
     }
     /**
-     *
-     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -706,9 +626,7 @@ public Builder mergeHomepageTrigger(com.google.apps.script.type.HomepageExtensio
       if (homepageTriggerBuilder_ == null) {
         if (homepageTrigger_ != null) {
           homepageTrigger_ =
-              com.google.apps.script.type.HomepageExtensionPoint.newBuilder(homepageTrigger_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.apps.script.type.HomepageExtensionPoint.newBuilder(homepageTrigger_).mergeFrom(value).buildPartial();
         } else {
           homepageTrigger_ = value;
         }
@@ -720,8 +638,6 @@ public Builder mergeHomepageTrigger(com.google.apps.script.type.HomepageExtensio
       return this;
     }
     /**
-     *
-     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -741,8 +657,6 @@ public Builder clearHomepageTrigger() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -751,13 +665,11 @@ public Builder clearHomepageTrigger() {
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
      */
     public com.google.apps.script.type.HomepageExtensionPoint.Builder getHomepageTriggerBuilder() {
-
+      
       onChanged();
       return getHomepageTriggerFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -765,19 +677,15 @@ public com.google.apps.script.type.HomepageExtensionPoint.Builder getHomepageTri
      *
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
      */
-    public com.google.apps.script.type.HomepageExtensionPointOrBuilder
-        getHomepageTriggerOrBuilder() {
+    public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder() {
       if (homepageTriggerBuilder_ != null) {
         return homepageTriggerBuilder_.getMessageOrBuilder();
       } else {
-        return homepageTrigger_ == null
-            ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance()
-            : homepageTrigger_;
+        return homepageTrigger_ == null ?
+            com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_;
       }
     }
     /**
-     *
-     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -786,17 +694,14 @@ public com.google.apps.script.type.HomepageExtensionPoint.Builder getHomepageTri
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.apps.script.type.HomepageExtensionPoint,
-            com.google.apps.script.type.HomepageExtensionPoint.Builder,
-            com.google.apps.script.type.HomepageExtensionPointOrBuilder>
+        com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder> 
         getHomepageTriggerFieldBuilder() {
       if (homepageTriggerBuilder_ == null) {
-        homepageTriggerBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.apps.script.type.HomepageExtensionPoint,
-                com.google.apps.script.type.HomepageExtensionPoint.Builder,
-                com.google.apps.script.type.HomepageExtensionPointOrBuilder>(
-                getHomepageTrigger(), getParentForChildren(), isClean());
+        homepageTriggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder>(
+                getHomepageTrigger(),
+                getParentForChildren(),
+                isClean());
         homepageTrigger_ = null;
       }
       return homepageTriggerBuilder_;
@@ -804,61 +709,44 @@ public com.google.apps.script.type.HomepageExtensionPoint.Builder getHomepageTri
 
     private com.google.apps.script.type.slides.SlidesExtensionPoint onFileScopeGrantedTrigger_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.apps.script.type.slides.SlidesExtensionPoint,
-            com.google.apps.script.type.slides.SlidesExtensionPoint.Builder,
-            com.google.apps.script.type.slides.SlidesExtensionPointOrBuilder>
-        onFileScopeGrantedTriggerBuilder_;
+        com.google.apps.script.type.slides.SlidesExtensionPoint, com.google.apps.script.type.slides.SlidesExtensionPoint.Builder, com.google.apps.script.type.slides.SlidesExtensionPointOrBuilder> onFileScopeGrantedTriggerBuilder_;
     /**
-     *
-     *
      * 
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; - * - * + * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; * @return Whether the onFileScopeGrantedTrigger field is set. */ public boolean hasOnFileScopeGrantedTrigger() { return onFileScopeGrantedTriggerBuilder_ != null || onFileScopeGrantedTrigger_ != null; } /** - * - * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; - * - * + * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; * @return The onFileScopeGrantedTrigger. */ public com.google.apps.script.type.slides.SlidesExtensionPoint getOnFileScopeGrantedTrigger() { if (onFileScopeGrantedTriggerBuilder_ == null) { - return onFileScopeGrantedTrigger_ == null - ? com.google.apps.script.type.slides.SlidesExtensionPoint.getDefaultInstance() - : onFileScopeGrantedTrigger_; + return onFileScopeGrantedTrigger_ == null ? com.google.apps.script.type.slides.SlidesExtensionPoint.getDefaultInstance() : onFileScopeGrantedTrigger_; } else { return onFileScopeGrantedTriggerBuilder_.getMessage(); } } /** - * - * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; - * + * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; */ - public Builder setOnFileScopeGrantedTrigger( - com.google.apps.script.type.slides.SlidesExtensionPoint value) { + public Builder setOnFileScopeGrantedTrigger(com.google.apps.script.type.slides.SlidesExtensionPoint value) { if (onFileScopeGrantedTriggerBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -872,15 +760,12 @@ public Builder setOnFileScopeGrantedTrigger( return this; } /** - * - * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; - * + * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; */ public Builder setOnFileScopeGrantedTrigger( com.google.apps.script.type.slides.SlidesExtensionPoint.Builder builderForValue) { @@ -894,25 +779,18 @@ public Builder setOnFileScopeGrantedTrigger( return this; } /** - * - * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; - * + * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; */ - public Builder mergeOnFileScopeGrantedTrigger( - com.google.apps.script.type.slides.SlidesExtensionPoint value) { + public Builder mergeOnFileScopeGrantedTrigger(com.google.apps.script.type.slides.SlidesExtensionPoint value) { if (onFileScopeGrantedTriggerBuilder_ == null) { if (onFileScopeGrantedTrigger_ != null) { onFileScopeGrantedTrigger_ = - com.google.apps.script.type.slides.SlidesExtensionPoint.newBuilder( - onFileScopeGrantedTrigger_) - .mergeFrom(value) - .buildPartial(); + com.google.apps.script.type.slides.SlidesExtensionPoint.newBuilder(onFileScopeGrantedTrigger_).mergeFrom(value).buildPartial(); } else { onFileScopeGrantedTrigger_ = value; } @@ -924,15 +802,12 @@ public Builder mergeOnFileScopeGrantedTrigger( return this; } /** - * - * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; - * + * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; */ public Builder clearOnFileScopeGrantedTrigger() { if (onFileScopeGrantedTriggerBuilder_ == null) { @@ -946,73 +821,58 @@ public Builder clearOnFileScopeGrantedTrigger() { return this; } /** - * - * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; - * + * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; */ - public com.google.apps.script.type.slides.SlidesExtensionPoint.Builder - getOnFileScopeGrantedTriggerBuilder() { - + public com.google.apps.script.type.slides.SlidesExtensionPoint.Builder getOnFileScopeGrantedTriggerBuilder() { + onChanged(); return getOnFileScopeGrantedTriggerFieldBuilder().getBuilder(); } /** - * - * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; - * + * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; */ - public com.google.apps.script.type.slides.SlidesExtensionPointOrBuilder - getOnFileScopeGrantedTriggerOrBuilder() { + public com.google.apps.script.type.slides.SlidesExtensionPointOrBuilder getOnFileScopeGrantedTriggerOrBuilder() { if (onFileScopeGrantedTriggerBuilder_ != null) { return onFileScopeGrantedTriggerBuilder_.getMessageOrBuilder(); } else { - return onFileScopeGrantedTrigger_ == null - ? com.google.apps.script.type.slides.SlidesExtensionPoint.getDefaultInstance() - : onFileScopeGrantedTrigger_; + return onFileScopeGrantedTrigger_ == null ? + com.google.apps.script.type.slides.SlidesExtensionPoint.getDefaultInstance() : onFileScopeGrantedTrigger_; } } /** - * - * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; - * + * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.slides.SlidesExtensionPoint, - com.google.apps.script.type.slides.SlidesExtensionPoint.Builder, - com.google.apps.script.type.slides.SlidesExtensionPointOrBuilder> + com.google.apps.script.type.slides.SlidesExtensionPoint, com.google.apps.script.type.slides.SlidesExtensionPoint.Builder, com.google.apps.script.type.slides.SlidesExtensionPointOrBuilder> getOnFileScopeGrantedTriggerFieldBuilder() { if (onFileScopeGrantedTriggerBuilder_ == null) { - onFileScopeGrantedTriggerBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.slides.SlidesExtensionPoint, - com.google.apps.script.type.slides.SlidesExtensionPoint.Builder, - com.google.apps.script.type.slides.SlidesExtensionPointOrBuilder>( - getOnFileScopeGrantedTrigger(), getParentForChildren(), isClean()); + onFileScopeGrantedTriggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.apps.script.type.slides.SlidesExtensionPoint, com.google.apps.script.type.slides.SlidesExtensionPoint.Builder, com.google.apps.script.type.slides.SlidesExtensionPointOrBuilder>( + getOnFileScopeGrantedTrigger(), + getParentForChildren(), + isClean()); onFileScopeGrantedTrigger_ = null; } return onFileScopeGrantedTriggerBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1022,12 +882,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.apps.script.type.slides.SlidesAddOnManifest) } // @@protoc_insertion_point(class_scope:google.apps.script.type.slides.SlidesAddOnManifest) private static final com.google.apps.script.type.slides.SlidesAddOnManifest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.apps.script.type.slides.SlidesAddOnManifest(); } @@ -1036,16 +896,16 @@ public static com.google.apps.script.type.slides.SlidesAddOnManifest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SlidesAddOnManifest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SlidesAddOnManifest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SlidesAddOnManifest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SlidesAddOnManifest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1060,4 +920,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.slides.SlidesAddOnManifest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesAddOnManifestOrBuilder.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesAddOnManifestOrBuilder.java similarity index 70% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesAddOnManifestOrBuilder.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesAddOnManifestOrBuilder.java index 7c5aea6a..a7dcf9c1 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesAddOnManifestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesAddOnManifestOrBuilder.java @@ -1,57 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/slides/slides_addon_manifest.proto package com.google.apps.script.type.slides; -public interface SlidesAddOnManifestOrBuilder - extends +public interface SlidesAddOnManifestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.slides.SlidesAddOnManifest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1; - * * @return Whether the homepageTrigger field is set. */ boolean hasHomepageTrigger(); /** - * - * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1; - * * @return The homepageTrigger. */ com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger(); /** - * - * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
@@ -62,44 +38,32 @@ public interface SlidesAddOnManifestOrBuilder
   com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder();
 
   /**
-   *
-   *
    * 
    * Endpoint to execute when file scope authorization is granted
    * for this document/user pair.
    * 
* - * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; - * - * + * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; * @return Whether the onFileScopeGrantedTrigger field is set. */ boolean hasOnFileScopeGrantedTrigger(); /** - * - * *
    * Endpoint to execute when file scope authorization is granted
    * for this document/user pair.
    * 
* - * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; - * - * + * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; * @return The onFileScopeGrantedTrigger. */ com.google.apps.script.type.slides.SlidesExtensionPoint getOnFileScopeGrantedTrigger(); /** - * - * *
    * Endpoint to execute when file scope authorization is granted
    * for this document/user pair.
    * 
* - * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; - * + * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; */ - com.google.apps.script.type.slides.SlidesExtensionPointOrBuilder - getOnFileScopeGrantedTriggerOrBuilder(); + com.google.apps.script.type.slides.SlidesExtensionPointOrBuilder getOnFileScopeGrantedTriggerOrBuilder(); } diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesAddOnManifestProto.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesAddOnManifestProto.java new file mode 100644 index 00000000..f8892d19 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesAddOnManifestProto.java @@ -0,0 +1,82 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/apps/script/type/slides/slides_addon_manifest.proto + +package com.google.apps.script.type.slides; + +public final class SlidesAddOnManifestProto { + private SlidesAddOnManifestProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_apps_script_type_slides_SlidesAddOnManifest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_apps_script_type_slides_SlidesAddOnManifest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_apps_script_type_slides_SlidesExtensionPoint_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_apps_script_type_slides_SlidesExtensionPoint_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n:google/apps/script/type/slides/slides_" + + "addon_manifest.proto\022\036google.apps.script" + + ".type.slides\032\037google/api/field_behavior." + + "proto\032-google/apps/script/type/extension" + + "_point.proto\"\275\001\n\023SlidesAddOnManifest\022I\n\020" + + "homepage_trigger\030\001 \001(\0132/.google.apps.scr" + + "ipt.type.HomepageExtensionPoint\022[\n\035on_fi" + + "le_scope_granted_trigger\030\002 \001(\01324.google." + + "apps.script.type.slides.SlidesExtensionP" + + "oint\"1\n\024SlidesExtensionPoint\022\031\n\014run_func" + + "tion\030\001 \001(\tB\003\340A\002B\346\001\n\"com.google.apps.scri" + + "pt.type.slidesB\030SlidesAddOnManifestProto" + + "P\001Z=google.golang.org/genproto/googleapi" + + "s/apps/script/type/slides\252\002\036Google.Apps." + + "Script.Type.Slides\312\002\036Google\\Apps\\Script\\" + + "Type\\Slides\352\002\"Google::Apps::Script::Type" + + "::Slidesb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.apps.script.type.ExtensionPoint.getDescriptor(), + }); + internal_static_google_apps_script_type_slides_SlidesAddOnManifest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_apps_script_type_slides_SlidesAddOnManifest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_apps_script_type_slides_SlidesAddOnManifest_descriptor, + new java.lang.String[] { "HomepageTrigger", "OnFileScopeGrantedTrigger", }); + internal_static_google_apps_script_type_slides_SlidesExtensionPoint_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_apps_script_type_slides_SlidesExtensionPoint_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_apps_script_type_slides_SlidesExtensionPoint_descriptor, + new java.lang.String[] { "RunFunction", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.apps.script.type.ExtensionPoint.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesExtensionPoint.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesExtensionPoint.java similarity index 70% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesExtensionPoint.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesExtensionPoint.java index 2615785a..eacfd96b 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesExtensionPoint.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesExtensionPoint.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/slides/slides_addon_manifest.proto package com.google.apps.script.type.slides; /** - * - * *
  * Common format for declaring a Slides add-on's triggers.
  * 
* * Protobuf type {@code google.apps.script.type.slides.SlidesExtensionPoint} */ -public final class SlidesExtensionPoint extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SlidesExtensionPoint extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.apps.script.type.slides.SlidesExtensionPoint) SlidesExtensionPointOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SlidesExtensionPoint.newBuilder() to construct. private SlidesExtensionPoint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SlidesExtensionPoint() { runFunction_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SlidesExtensionPoint(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private SlidesExtensionPoint( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private SlidesExtensionPoint( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - runFunction_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + runFunction_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private SlidesExtensionPoint( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.apps.script.type.slides.SlidesAddOnManifestProto - .internal_static_google_apps_script_type_slides_SlidesExtensionPoint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.apps.script.type.slides.SlidesAddOnManifestProto.internal_static_google_apps_script_type_slides_SlidesExtensionPoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.slides.SlidesAddOnManifestProto - .internal_static_google_apps_script_type_slides_SlidesExtensionPoint_fieldAccessorTable + return com.google.apps.script.type.slides.SlidesAddOnManifestProto.internal_static_google_apps_script_type_slides_SlidesExtensionPoint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.slides.SlidesExtensionPoint.class, - com.google.apps.script.type.slides.SlidesExtensionPoint.Builder.class); + com.google.apps.script.type.slides.SlidesExtensionPoint.class, com.google.apps.script.type.slides.SlidesExtensionPoint.Builder.class); } public static final int RUN_FUNCTION_FIELD_NUMBER = 1; private volatile java.lang.Object runFunction_; /** - * - * *
    * Required. The endpoint to execute when this extension point is activated.
    * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The runFunction. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getRunFunction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); runFunction_ = s; return s; } } /** - * - * *
    * Required. The endpoint to execute when this extension point is activated.
    * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for runFunction. */ @java.lang.Override - public com.google.protobuf.ByteString getRunFunctionBytes() { + public com.google.protobuf.ByteString + getRunFunctionBytes() { java.lang.Object ref = runFunction_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); runFunction_ = b; return b; } else { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getRunFunctionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(runFunction_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, runFunction_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.slides.SlidesExtensionPoint)) { return super.equals(obj); } - com.google.apps.script.type.slides.SlidesExtensionPoint other = - (com.google.apps.script.type.slides.SlidesExtensionPoint) obj; + com.google.apps.script.type.slides.SlidesExtensionPoint other = (com.google.apps.script.type.slides.SlidesExtensionPoint) obj; - if (!getRunFunction().equals(other.getRunFunction())) return false; + if (!getRunFunction() + .equals(other.getRunFunction())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.apps.script.type.slides.SlidesExtensionPoint parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.slides.SlidesExtensionPoint parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.slides.SlidesExtensionPoint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.slides.SlidesExtensionPoint parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.slides.SlidesExtensionPoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.apps.script.type.slides.SlidesExtensionPoint parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.apps.script.type.slides.SlidesExtensionPoint parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.apps.script.type.slides.SlidesExtensionPoint parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.slides.SlidesExtensionPoint parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.apps.script.type.slides.SlidesExtensionPoint parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.apps.script.type.slides.SlidesExtensionPoint parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.apps.script.type.slides.SlidesExtensionPoint parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.slides.SlidesExtensionPoint parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.apps.script.type.slides.SlidesExtensionPoint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.apps.script.type.slides.SlidesExtensionPoint prototype) { + public static Builder newBuilder(com.google.apps.script.type.slides.SlidesExtensionPoint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Common format for declaring a Slides add-on's triggers.
    * 
* * Protobuf type {@code google.apps.script.type.slides.SlidesExtensionPoint} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.apps.script.type.slides.SlidesExtensionPoint) com.google.apps.script.type.slides.SlidesExtensionPointOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.apps.script.type.slides.SlidesAddOnManifestProto - .internal_static_google_apps_script_type_slides_SlidesExtensionPoint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.apps.script.type.slides.SlidesAddOnManifestProto.internal_static_google_apps_script_type_slides_SlidesExtensionPoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.slides.SlidesAddOnManifestProto - .internal_static_google_apps_script_type_slides_SlidesExtensionPoint_fieldAccessorTable + return com.google.apps.script.type.slides.SlidesAddOnManifestProto.internal_static_google_apps_script_type_slides_SlidesExtensionPoint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.slides.SlidesExtensionPoint.class, - com.google.apps.script.type.slides.SlidesExtensionPoint.Builder.class); + com.google.apps.script.type.slides.SlidesExtensionPoint.class, com.google.apps.script.type.slides.SlidesExtensionPoint.Builder.class); } // Construct using com.google.apps.script.type.slides.SlidesExtensionPoint.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.apps.script.type.slides.SlidesAddOnManifestProto - .internal_static_google_apps_script_type_slides_SlidesExtensionPoint_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.apps.script.type.slides.SlidesAddOnManifestProto.internal_static_google_apps_script_type_slides_SlidesExtensionPoint_descriptor; } @java.lang.Override @@ -394,8 +362,7 @@ public com.google.apps.script.type.slides.SlidesExtensionPoint build() { @java.lang.Override public com.google.apps.script.type.slides.SlidesExtensionPoint buildPartial() { - com.google.apps.script.type.slides.SlidesExtensionPoint result = - new com.google.apps.script.type.slides.SlidesExtensionPoint(this); + com.google.apps.script.type.slides.SlidesExtensionPoint result = new com.google.apps.script.type.slides.SlidesExtensionPoint(this); result.runFunction_ = runFunction_; onBuilt(); return result; @@ -405,39 +372,38 @@ public com.google.apps.script.type.slides.SlidesExtensionPoint buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.script.type.slides.SlidesExtensionPoint) { - return mergeFrom((com.google.apps.script.type.slides.SlidesExtensionPoint) other); + return mergeFrom((com.google.apps.script.type.slides.SlidesExtensionPoint)other); } else { super.mergeFrom(other); return this; @@ -445,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.apps.script.type.slides.SlidesExtensionPoint other) { - if (other == com.google.apps.script.type.slides.SlidesExtensionPoint.getDefaultInstance()) - return this; + if (other == com.google.apps.script.type.slides.SlidesExtensionPoint.getDefaultInstance()) return this; if (!other.getRunFunction().isEmpty()) { runFunction_ = other.runFunction_; onChanged(); @@ -470,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.apps.script.type.slides.SlidesExtensionPoint) e.getUnfinishedMessage(); + parsedMessage = (com.google.apps.script.type.slides.SlidesExtensionPoint) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -483,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object runFunction_ = ""; /** - * - * *
      * Required. The endpoint to execute when this extension point is activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The runFunction. */ public java.lang.String getRunFunction() { java.lang.Object ref = runFunction_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); runFunction_ = s; return s; @@ -505,21 +467,20 @@ public java.lang.String getRunFunction() { } } /** - * - * *
      * Required. The endpoint to execute when this extension point is activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for runFunction. */ - public com.google.protobuf.ByteString getRunFunctionBytes() { + public com.google.protobuf.ByteString + getRunFunctionBytes() { java.lang.Object ref = runFunction_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); runFunction_ = b; return b; } else { @@ -527,68 +488,61 @@ public com.google.protobuf.ByteString getRunFunctionBytes() { } } /** - * - * *
      * Required. The endpoint to execute when this extension point is activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The runFunction to set. * @return This builder for chaining. */ - public Builder setRunFunction(java.lang.String value) { + public Builder setRunFunction( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + runFunction_ = value; onChanged(); return this; } /** - * - * *
      * Required. The endpoint to execute when this extension point is activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearRunFunction() { - + runFunction_ = getDefaultInstance().getRunFunction(); onChanged(); return this; } /** - * - * *
      * Required. The endpoint to execute when this extension point is activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for runFunction to set. * @return This builder for chaining. */ - public Builder setRunFunctionBytes(com.google.protobuf.ByteString value) { + public Builder setRunFunctionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + runFunction_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -598,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.apps.script.type.slides.SlidesExtensionPoint) } // @@protoc_insertion_point(class_scope:google.apps.script.type.slides.SlidesExtensionPoint) private static final com.google.apps.script.type.slides.SlidesExtensionPoint DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.apps.script.type.slides.SlidesExtensionPoint(); } @@ -612,16 +566,16 @@ public static com.google.apps.script.type.slides.SlidesExtensionPoint getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SlidesExtensionPoint parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SlidesExtensionPoint(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SlidesExtensionPoint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SlidesExtensionPoint(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.slides.SlidesExtensionPoint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesExtensionPointOrBuilder.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesExtensionPointOrBuilder.java similarity index 53% rename from proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesExtensionPointOrBuilder.java rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesExtensionPointOrBuilder.java index cd4a98fb..ad7e3e5c 100644 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesExtensionPointOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesExtensionPointOrBuilder.java @@ -1,50 +1,29 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/slides/slides_addon_manifest.proto package com.google.apps.script.type.slides; -public interface SlidesExtensionPointOrBuilder - extends +public interface SlidesExtensionPointOrBuilder extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.slides.SlidesExtensionPoint) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The endpoint to execute when this extension point is activated.
    * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The runFunction. */ java.lang.String getRunFunction(); /** - * - * *
    * Required. The endpoint to execute when this extension point is activated.
    * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for runFunction. */ - com.google.protobuf.ByteString getRunFunctionBytes(); + com.google.protobuf.ByteString + getRunFunctionBytes(); } diff --git a/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/addon_widget_set.proto b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/addon_widget_set.proto similarity index 100% rename from proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/addon_widget_set.proto rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/addon_widget_set.proto diff --git a/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/calendar/calendar_addon_manifest.proto b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/calendar/calendar_addon_manifest.proto similarity index 100% rename from proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/calendar/calendar_addon_manifest.proto rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/calendar/calendar_addon_manifest.proto diff --git a/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/docs/docs_addon_manifest.proto b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/docs/docs_addon_manifest.proto similarity index 100% rename from proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/docs/docs_addon_manifest.proto rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/docs/docs_addon_manifest.proto diff --git a/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/drive/drive_addon_manifest.proto b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/drive/drive_addon_manifest.proto similarity index 100% rename from proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/drive/drive_addon_manifest.proto rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/drive/drive_addon_manifest.proto diff --git a/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/extension_point.proto b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/extension_point.proto similarity index 100% rename from proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/extension_point.proto rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/extension_point.proto diff --git a/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/gmail/gmail_addon_manifest.proto b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/gmail/gmail_addon_manifest.proto similarity index 100% rename from proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/gmail/gmail_addon_manifest.proto rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/gmail/gmail_addon_manifest.proto diff --git a/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/script_manifest.proto b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/script_manifest.proto similarity index 100% rename from proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/script_manifest.proto rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/script_manifest.proto diff --git a/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/sheets/sheets_addon_manifest.proto b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/sheets/sheets_addon_manifest.proto similarity index 100% rename from proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/sheets/sheets_addon_manifest.proto rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/sheets/sheets_addon_manifest.proto diff --git a/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/slides/slides_addon_manifest.proto b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/slides/slides_addon_manifest.proto similarity index 100% rename from proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/slides/slides_addon_manifest.proto rename to owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/slides/slides_addon_manifest.proto diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AddOns.java b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AddOns.java similarity index 71% rename from proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AddOns.java rename to owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AddOns.java index fd69395d..9e3f068f 100644 --- a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AddOns.java +++ b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AddOns.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; /** - * - * *
  * A Google Workspace Add-on configuration.
  * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.AddOns} */ -public final class AddOns extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AddOns extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gsuiteaddons.v1.AddOns) AddOnsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AddOns.newBuilder() to construct. private AddOns(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AddOns() {} + private AddOns() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AddOns(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private AddOns( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,147 +52,117 @@ private AddOns( case 0: done = true; break; - case 10: - { - com.google.apps.script.type.CommonAddOnManifest.Builder subBuilder = null; - if (common_ != null) { - subBuilder = common_.toBuilder(); - } - common_ = - input.readMessage( - com.google.apps.script.type.CommonAddOnManifest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(common_); - common_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.apps.script.type.CommonAddOnManifest.Builder subBuilder = null; + if (common_ != null) { + subBuilder = common_.toBuilder(); + } + common_ = input.readMessage(com.google.apps.script.type.CommonAddOnManifest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(common_); + common_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + com.google.apps.script.type.gmail.GmailAddOnManifest.Builder subBuilder = null; + if (gmail_ != null) { + subBuilder = gmail_.toBuilder(); + } + gmail_ = input.readMessage(com.google.apps.script.type.gmail.GmailAddOnManifest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gmail_); + gmail_ = subBuilder.buildPartial(); + } + + break; + } + case 42: { + com.google.apps.script.type.drive.DriveAddOnManifest.Builder subBuilder = null; + if (drive_ != null) { + subBuilder = drive_.toBuilder(); + } + drive_ = input.readMessage(com.google.apps.script.type.drive.DriveAddOnManifest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(drive_); + drive_ = subBuilder.buildPartial(); + } + + break; + } + case 50: { + com.google.apps.script.type.calendar.CalendarAddOnManifest.Builder subBuilder = null; + if (calendar_ != null) { + subBuilder = calendar_.toBuilder(); + } + calendar_ = input.readMessage(com.google.apps.script.type.calendar.CalendarAddOnManifest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(calendar_); + calendar_ = subBuilder.buildPartial(); + } + + break; + } + case 58: { + com.google.apps.script.type.docs.DocsAddOnManifest.Builder subBuilder = null; + if (docs_ != null) { + subBuilder = docs_.toBuilder(); } - case 18: - { - com.google.apps.script.type.gmail.GmailAddOnManifest.Builder subBuilder = null; - if (gmail_ != null) { - subBuilder = gmail_.toBuilder(); - } - gmail_ = - input.readMessage( - com.google.apps.script.type.gmail.GmailAddOnManifest.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(gmail_); - gmail_ = subBuilder.buildPartial(); - } - - break; + docs_ = input.readMessage(com.google.apps.script.type.docs.DocsAddOnManifest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(docs_); + docs_ = subBuilder.buildPartial(); } - case 42: - { - com.google.apps.script.type.drive.DriveAddOnManifest.Builder subBuilder = null; - if (drive_ != null) { - subBuilder = drive_.toBuilder(); - } - drive_ = - input.readMessage( - com.google.apps.script.type.drive.DriveAddOnManifest.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(drive_); - drive_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 66: { + com.google.apps.script.type.sheets.SheetsAddOnManifest.Builder subBuilder = null; + if (sheets_ != null) { + subBuilder = sheets_.toBuilder(); } - case 50: - { - com.google.apps.script.type.calendar.CalendarAddOnManifest.Builder subBuilder = null; - if (calendar_ != null) { - subBuilder = calendar_.toBuilder(); - } - calendar_ = - input.readMessage( - com.google.apps.script.type.calendar.CalendarAddOnManifest.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(calendar_); - calendar_ = subBuilder.buildPartial(); - } - - break; + sheets_ = input.readMessage(com.google.apps.script.type.sheets.SheetsAddOnManifest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(sheets_); + sheets_ = subBuilder.buildPartial(); } - case 58: - { - com.google.apps.script.type.docs.DocsAddOnManifest.Builder subBuilder = null; - if (docs_ != null) { - subBuilder = docs_.toBuilder(); - } - docs_ = - input.readMessage( - com.google.apps.script.type.docs.DocsAddOnManifest.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(docs_); - docs_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 82: { + com.google.apps.script.type.slides.SlidesAddOnManifest.Builder subBuilder = null; + if (slides_ != null) { + subBuilder = slides_.toBuilder(); } - case 66: - { - com.google.apps.script.type.sheets.SheetsAddOnManifest.Builder subBuilder = null; - if (sheets_ != null) { - subBuilder = sheets_.toBuilder(); - } - sheets_ = - input.readMessage( - com.google.apps.script.type.sheets.SheetsAddOnManifest.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sheets_); - sheets_ = subBuilder.buildPartial(); - } - - break; + slides_ = input.readMessage(com.google.apps.script.type.slides.SlidesAddOnManifest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(slides_); + slides_ = subBuilder.buildPartial(); } - case 82: - { - com.google.apps.script.type.slides.SlidesAddOnManifest.Builder subBuilder = null; - if (slides_ != null) { - subBuilder = slides_.toBuilder(); - } - slides_ = - input.readMessage( - com.google.apps.script.type.slides.SlidesAddOnManifest.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(slides_); - slides_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 122: { + com.google.apps.script.type.HttpOptions.Builder subBuilder = null; + if (httpOptions_ != null) { + subBuilder = httpOptions_.toBuilder(); } - case 122: - { - com.google.apps.script.type.HttpOptions.Builder subBuilder = null; - if (httpOptions_ != null) { - subBuilder = httpOptions_.toBuilder(); - } - httpOptions_ = - input.readMessage( - com.google.apps.script.type.HttpOptions.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(httpOptions_); - httpOptions_ = subBuilder.buildPartial(); - } - - break; + httpOptions_ = input.readMessage(com.google.apps.script.type.HttpOptions.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(httpOptions_); + httpOptions_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -216,39 +170,34 @@ private AddOns( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_AddOns_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_AddOns_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_AddOns_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_AddOns_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.AddOns.class, - com.google.cloud.gsuiteaddons.v1.AddOns.Builder.class); + com.google.cloud.gsuiteaddons.v1.AddOns.class, com.google.cloud.gsuiteaddons.v1.AddOns.Builder.class); } public static final int COMMON_FIELD_NUMBER = 1; private com.google.apps.script.type.CommonAddOnManifest common_; /** - * - * *
    * Configuration that is common across all Google Workspace Add-ons.
    * 
* * .google.apps.script.type.CommonAddOnManifest common = 1; - * * @return Whether the common field is set. */ @java.lang.Override @@ -256,25 +205,18 @@ public boolean hasCommon() { return common_ != null; } /** - * - * *
    * Configuration that is common across all Google Workspace Add-ons.
    * 
* * .google.apps.script.type.CommonAddOnManifest common = 1; - * * @return The common. */ @java.lang.Override public com.google.apps.script.type.CommonAddOnManifest getCommon() { - return common_ == null - ? com.google.apps.script.type.CommonAddOnManifest.getDefaultInstance() - : common_; + return common_ == null ? com.google.apps.script.type.CommonAddOnManifest.getDefaultInstance() : common_; } /** - * - * *
    * Configuration that is common across all Google Workspace Add-ons.
    * 
@@ -289,14 +231,11 @@ public com.google.apps.script.type.CommonAddOnManifestOrBuilder getCommonOrBuild public static final int GMAIL_FIELD_NUMBER = 2; private com.google.apps.script.type.gmail.GmailAddOnManifest gmail_; /** - * - * *
    * Gmail add-on configuration.
    * 
* * .google.apps.script.type.gmail.GmailAddOnManifest gmail = 2; - * * @return Whether the gmail field is set. */ @java.lang.Override @@ -304,25 +243,18 @@ public boolean hasGmail() { return gmail_ != null; } /** - * - * *
    * Gmail add-on configuration.
    * 
* * .google.apps.script.type.gmail.GmailAddOnManifest gmail = 2; - * * @return The gmail. */ @java.lang.Override public com.google.apps.script.type.gmail.GmailAddOnManifest getGmail() { - return gmail_ == null - ? com.google.apps.script.type.gmail.GmailAddOnManifest.getDefaultInstance() - : gmail_; + return gmail_ == null ? com.google.apps.script.type.gmail.GmailAddOnManifest.getDefaultInstance() : gmail_; } /** - * - * *
    * Gmail add-on configuration.
    * 
@@ -337,14 +269,11 @@ public com.google.apps.script.type.gmail.GmailAddOnManifestOrBuilder getGmailOrB public static final int DRIVE_FIELD_NUMBER = 5; private com.google.apps.script.type.drive.DriveAddOnManifest drive_; /** - * - * *
    * Drive add-on configuration.
    * 
* * .google.apps.script.type.drive.DriveAddOnManifest drive = 5; - * * @return Whether the drive field is set. */ @java.lang.Override @@ -352,25 +281,18 @@ public boolean hasDrive() { return drive_ != null; } /** - * - * *
    * Drive add-on configuration.
    * 
* * .google.apps.script.type.drive.DriveAddOnManifest drive = 5; - * * @return The drive. */ @java.lang.Override public com.google.apps.script.type.drive.DriveAddOnManifest getDrive() { - return drive_ == null - ? com.google.apps.script.type.drive.DriveAddOnManifest.getDefaultInstance() - : drive_; + return drive_ == null ? com.google.apps.script.type.drive.DriveAddOnManifest.getDefaultInstance() : drive_; } /** - * - * *
    * Drive add-on configuration.
    * 
@@ -385,14 +307,11 @@ public com.google.apps.script.type.drive.DriveAddOnManifestOrBuilder getDriveOrB public static final int CALENDAR_FIELD_NUMBER = 6; private com.google.apps.script.type.calendar.CalendarAddOnManifest calendar_; /** - * - * *
    * Calendar add-on configuration.
    * 
* * .google.apps.script.type.calendar.CalendarAddOnManifest calendar = 6; - * * @return Whether the calendar field is set. */ @java.lang.Override @@ -400,25 +319,18 @@ public boolean hasCalendar() { return calendar_ != null; } /** - * - * *
    * Calendar add-on configuration.
    * 
* * .google.apps.script.type.calendar.CalendarAddOnManifest calendar = 6; - * * @return The calendar. */ @java.lang.Override public com.google.apps.script.type.calendar.CalendarAddOnManifest getCalendar() { - return calendar_ == null - ? com.google.apps.script.type.calendar.CalendarAddOnManifest.getDefaultInstance() - : calendar_; + return calendar_ == null ? com.google.apps.script.type.calendar.CalendarAddOnManifest.getDefaultInstance() : calendar_; } /** - * - * *
    * Calendar add-on configuration.
    * 
@@ -426,22 +338,18 @@ public com.google.apps.script.type.calendar.CalendarAddOnManifest getCalendar() * .google.apps.script.type.calendar.CalendarAddOnManifest calendar = 6; */ @java.lang.Override - public com.google.apps.script.type.calendar.CalendarAddOnManifestOrBuilder - getCalendarOrBuilder() { + public com.google.apps.script.type.calendar.CalendarAddOnManifestOrBuilder getCalendarOrBuilder() { return getCalendar(); } public static final int DOCS_FIELD_NUMBER = 7; private com.google.apps.script.type.docs.DocsAddOnManifest docs_; /** - * - * *
    * Docs add-on configuration.
    * 
* * .google.apps.script.type.docs.DocsAddOnManifest docs = 7; - * * @return Whether the docs field is set. */ @java.lang.Override @@ -449,25 +357,18 @@ public boolean hasDocs() { return docs_ != null; } /** - * - * *
    * Docs add-on configuration.
    * 
* * .google.apps.script.type.docs.DocsAddOnManifest docs = 7; - * * @return The docs. */ @java.lang.Override public com.google.apps.script.type.docs.DocsAddOnManifest getDocs() { - return docs_ == null - ? com.google.apps.script.type.docs.DocsAddOnManifest.getDefaultInstance() - : docs_; + return docs_ == null ? com.google.apps.script.type.docs.DocsAddOnManifest.getDefaultInstance() : docs_; } /** - * - * *
    * Docs add-on configuration.
    * 
@@ -482,14 +383,11 @@ public com.google.apps.script.type.docs.DocsAddOnManifestOrBuilder getDocsOrBuil public static final int SHEETS_FIELD_NUMBER = 8; private com.google.apps.script.type.sheets.SheetsAddOnManifest sheets_; /** - * - * *
    * Sheets add-on configuration.
    * 
* * .google.apps.script.type.sheets.SheetsAddOnManifest sheets = 8; - * * @return Whether the sheets field is set. */ @java.lang.Override @@ -497,25 +395,18 @@ public boolean hasSheets() { return sheets_ != null; } /** - * - * *
    * Sheets add-on configuration.
    * 
* * .google.apps.script.type.sheets.SheetsAddOnManifest sheets = 8; - * * @return The sheets. */ @java.lang.Override public com.google.apps.script.type.sheets.SheetsAddOnManifest getSheets() { - return sheets_ == null - ? com.google.apps.script.type.sheets.SheetsAddOnManifest.getDefaultInstance() - : sheets_; + return sheets_ == null ? com.google.apps.script.type.sheets.SheetsAddOnManifest.getDefaultInstance() : sheets_; } /** - * - * *
    * Sheets add-on configuration.
    * 
@@ -530,14 +421,11 @@ public com.google.apps.script.type.sheets.SheetsAddOnManifestOrBuilder getSheets public static final int SLIDES_FIELD_NUMBER = 10; private com.google.apps.script.type.slides.SlidesAddOnManifest slides_; /** - * - * *
    * Slides add-on configuration.
    * 
* * .google.apps.script.type.slides.SlidesAddOnManifest slides = 10; - * * @return Whether the slides field is set. */ @java.lang.Override @@ -545,25 +433,18 @@ public boolean hasSlides() { return slides_ != null; } /** - * - * *
    * Slides add-on configuration.
    * 
* * .google.apps.script.type.slides.SlidesAddOnManifest slides = 10; - * * @return The slides. */ @java.lang.Override public com.google.apps.script.type.slides.SlidesAddOnManifest getSlides() { - return slides_ == null - ? com.google.apps.script.type.slides.SlidesAddOnManifest.getDefaultInstance() - : slides_; + return slides_ == null ? com.google.apps.script.type.slides.SlidesAddOnManifest.getDefaultInstance() : slides_; } /** - * - * *
    * Slides add-on configuration.
    * 
@@ -578,14 +459,11 @@ public com.google.apps.script.type.slides.SlidesAddOnManifestOrBuilder getSlides public static final int HTTP_OPTIONS_FIELD_NUMBER = 15; private com.google.apps.script.type.HttpOptions httpOptions_; /** - * - * *
    * Options for sending requests to add-on HTTP endpoints
    * 
* * .google.apps.script.type.HttpOptions http_options = 15; - * * @return Whether the httpOptions field is set. */ @java.lang.Override @@ -593,25 +471,18 @@ public boolean hasHttpOptions() { return httpOptions_ != null; } /** - * - * *
    * Options for sending requests to add-on HTTP endpoints
    * 
* * .google.apps.script.type.HttpOptions http_options = 15; - * * @return The httpOptions. */ @java.lang.Override public com.google.apps.script.type.HttpOptions getHttpOptions() { - return httpOptions_ == null - ? com.google.apps.script.type.HttpOptions.getDefaultInstance() - : httpOptions_; + return httpOptions_ == null ? com.google.apps.script.type.HttpOptions.getDefaultInstance() : httpOptions_; } /** - * - * *
    * Options for sending requests to add-on HTTP endpoints
    * 
@@ -624,7 +495,6 @@ public com.google.apps.script.type.HttpOptionsOrBuilder getHttpOptionsOrBuilder( } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -636,7 +506,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (common_ != null) { output.writeMessage(1, getCommon()); } @@ -671,28 +542,36 @@ public int getSerializedSize() { size = 0; if (common_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCommon()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCommon()); } if (gmail_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getGmail()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getGmail()); } if (drive_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDrive()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getDrive()); } if (calendar_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCalendar()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getCalendar()); } if (docs_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getDocs()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getDocs()); } if (sheets_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getSheets()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getSheets()); } if (slides_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getSlides()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getSlides()); } if (httpOptions_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getHttpOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, getHttpOptions()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -702,7 +581,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gsuiteaddons.v1.AddOns)) { return super.equals(obj); @@ -711,35 +590,43 @@ public boolean equals(final java.lang.Object obj) { if (hasCommon() != other.hasCommon()) return false; if (hasCommon()) { - if (!getCommon().equals(other.getCommon())) return false; + if (!getCommon() + .equals(other.getCommon())) return false; } if (hasGmail() != other.hasGmail()) return false; if (hasGmail()) { - if (!getGmail().equals(other.getGmail())) return false; + if (!getGmail() + .equals(other.getGmail())) return false; } if (hasDrive() != other.hasDrive()) return false; if (hasDrive()) { - if (!getDrive().equals(other.getDrive())) return false; + if (!getDrive() + .equals(other.getDrive())) return false; } if (hasCalendar() != other.hasCalendar()) return false; if (hasCalendar()) { - if (!getCalendar().equals(other.getCalendar())) return false; + if (!getCalendar() + .equals(other.getCalendar())) return false; } if (hasDocs() != other.hasDocs()) return false; if (hasDocs()) { - if (!getDocs().equals(other.getDocs())) return false; + if (!getDocs() + .equals(other.getDocs())) return false; } if (hasSheets() != other.hasSheets()) return false; if (hasSheets()) { - if (!getSheets().equals(other.getSheets())) return false; + if (!getSheets() + .equals(other.getSheets())) return false; } if (hasSlides() != other.hasSlides()) return false; if (hasSlides()) { - if (!getSlides().equals(other.getSlides())) return false; + if (!getSlides() + .equals(other.getSlides())) return false; } if (hasHttpOptions() != other.hasHttpOptions()) return false; if (hasHttpOptions()) { - if (!getHttpOptions().equals(other.getHttpOptions())) return false; + if (!getHttpOptions() + .equals(other.getHttpOptions())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -789,127 +676,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.gsuiteaddons.v1.AddOns parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.gsuiteaddons.v1.AddOns parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.AddOns parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.AddOns parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.AddOns parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.AddOns parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.AddOns parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.AddOns parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.AddOns parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.gsuiteaddons.v1.AddOns parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gsuiteaddons.v1.AddOns parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.AddOns parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.AddOns parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.AddOns parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gsuiteaddons.v1.AddOns prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A Google Workspace Add-on configuration.
    * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.AddOns} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gsuiteaddons.v1.AddOns) com.google.cloud.gsuiteaddons.v1.AddOnsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_AddOns_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_AddOns_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_AddOns_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_AddOns_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.AddOns.class, - com.google.cloud.gsuiteaddons.v1.AddOns.Builder.class); + com.google.cloud.gsuiteaddons.v1.AddOns.class, com.google.cloud.gsuiteaddons.v1.AddOns.Builder.class); } // Construct using com.google.cloud.gsuiteaddons.v1.AddOns.newBuilder() @@ -917,15 +795,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -981,9 +860,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_AddOns_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_AddOns_descriptor; } @java.lang.Override @@ -1002,8 +881,7 @@ public com.google.cloud.gsuiteaddons.v1.AddOns build() { @java.lang.Override public com.google.cloud.gsuiteaddons.v1.AddOns buildPartial() { - com.google.cloud.gsuiteaddons.v1.AddOns result = - new com.google.cloud.gsuiteaddons.v1.AddOns(this); + com.google.cloud.gsuiteaddons.v1.AddOns result = new com.google.cloud.gsuiteaddons.v1.AddOns(this); if (commonBuilder_ == null) { result.common_ = common_; } else { @@ -1052,39 +930,38 @@ public com.google.cloud.gsuiteaddons.v1.AddOns buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gsuiteaddons.v1.AddOns) { - return mergeFrom((com.google.cloud.gsuiteaddons.v1.AddOns) other); + return mergeFrom((com.google.cloud.gsuiteaddons.v1.AddOns)other); } else { super.mergeFrom(other); return this; @@ -1148,47 +1025,34 @@ public Builder mergeFrom( private com.google.apps.script.type.CommonAddOnManifest common_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.CommonAddOnManifest, - com.google.apps.script.type.CommonAddOnManifest.Builder, - com.google.apps.script.type.CommonAddOnManifestOrBuilder> - commonBuilder_; + com.google.apps.script.type.CommonAddOnManifest, com.google.apps.script.type.CommonAddOnManifest.Builder, com.google.apps.script.type.CommonAddOnManifestOrBuilder> commonBuilder_; /** - * - * *
      * Configuration that is common across all Google Workspace Add-ons.
      * 
* * .google.apps.script.type.CommonAddOnManifest common = 1; - * * @return Whether the common field is set. */ public boolean hasCommon() { return commonBuilder_ != null || common_ != null; } /** - * - * *
      * Configuration that is common across all Google Workspace Add-ons.
      * 
* * .google.apps.script.type.CommonAddOnManifest common = 1; - * * @return The common. */ public com.google.apps.script.type.CommonAddOnManifest getCommon() { if (commonBuilder_ == null) { - return common_ == null - ? com.google.apps.script.type.CommonAddOnManifest.getDefaultInstance() - : common_; + return common_ == null ? com.google.apps.script.type.CommonAddOnManifest.getDefaultInstance() : common_; } else { return commonBuilder_.getMessage(); } } /** - * - * *
      * Configuration that is common across all Google Workspace Add-ons.
      * 
@@ -1209,8 +1073,6 @@ public Builder setCommon(com.google.apps.script.type.CommonAddOnManifest value) return this; } /** - * - * *
      * Configuration that is common across all Google Workspace Add-ons.
      * 
@@ -1229,8 +1091,6 @@ public Builder setCommon( return this; } /** - * - * *
      * Configuration that is common across all Google Workspace Add-ons.
      * 
@@ -1241,9 +1101,7 @@ public Builder mergeCommon(com.google.apps.script.type.CommonAddOnManifest value if (commonBuilder_ == null) { if (common_ != null) { common_ = - com.google.apps.script.type.CommonAddOnManifest.newBuilder(common_) - .mergeFrom(value) - .buildPartial(); + com.google.apps.script.type.CommonAddOnManifest.newBuilder(common_).mergeFrom(value).buildPartial(); } else { common_ = value; } @@ -1255,8 +1113,6 @@ public Builder mergeCommon(com.google.apps.script.type.CommonAddOnManifest value return this; } /** - * - * *
      * Configuration that is common across all Google Workspace Add-ons.
      * 
@@ -1275,8 +1131,6 @@ public Builder clearCommon() { return this; } /** - * - * *
      * Configuration that is common across all Google Workspace Add-ons.
      * 
@@ -1284,13 +1138,11 @@ public Builder clearCommon() { * .google.apps.script.type.CommonAddOnManifest common = 1; */ public com.google.apps.script.type.CommonAddOnManifest.Builder getCommonBuilder() { - + onChanged(); return getCommonFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration that is common across all Google Workspace Add-ons.
      * 
@@ -1301,14 +1153,11 @@ public com.google.apps.script.type.CommonAddOnManifestOrBuilder getCommonOrBuild if (commonBuilder_ != null) { return commonBuilder_.getMessageOrBuilder(); } else { - return common_ == null - ? com.google.apps.script.type.CommonAddOnManifest.getDefaultInstance() - : common_; + return common_ == null ? + com.google.apps.script.type.CommonAddOnManifest.getDefaultInstance() : common_; } } /** - * - * *
      * Configuration that is common across all Google Workspace Add-ons.
      * 
@@ -1316,17 +1165,14 @@ public com.google.apps.script.type.CommonAddOnManifestOrBuilder getCommonOrBuild * .google.apps.script.type.CommonAddOnManifest common = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.CommonAddOnManifest, - com.google.apps.script.type.CommonAddOnManifest.Builder, - com.google.apps.script.type.CommonAddOnManifestOrBuilder> + com.google.apps.script.type.CommonAddOnManifest, com.google.apps.script.type.CommonAddOnManifest.Builder, com.google.apps.script.type.CommonAddOnManifestOrBuilder> getCommonFieldBuilder() { if (commonBuilder_ == null) { - commonBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.CommonAddOnManifest, - com.google.apps.script.type.CommonAddOnManifest.Builder, - com.google.apps.script.type.CommonAddOnManifestOrBuilder>( - getCommon(), getParentForChildren(), isClean()); + commonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.apps.script.type.CommonAddOnManifest, com.google.apps.script.type.CommonAddOnManifest.Builder, com.google.apps.script.type.CommonAddOnManifestOrBuilder>( + getCommon(), + getParentForChildren(), + isClean()); common_ = null; } return commonBuilder_; @@ -1334,47 +1180,34 @@ public com.google.apps.script.type.CommonAddOnManifestOrBuilder getCommonOrBuild private com.google.apps.script.type.gmail.GmailAddOnManifest gmail_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.gmail.GmailAddOnManifest, - com.google.apps.script.type.gmail.GmailAddOnManifest.Builder, - com.google.apps.script.type.gmail.GmailAddOnManifestOrBuilder> - gmailBuilder_; + com.google.apps.script.type.gmail.GmailAddOnManifest, com.google.apps.script.type.gmail.GmailAddOnManifest.Builder, com.google.apps.script.type.gmail.GmailAddOnManifestOrBuilder> gmailBuilder_; /** - * - * *
      * Gmail add-on configuration.
      * 
* * .google.apps.script.type.gmail.GmailAddOnManifest gmail = 2; - * * @return Whether the gmail field is set. */ public boolean hasGmail() { return gmailBuilder_ != null || gmail_ != null; } /** - * - * *
      * Gmail add-on configuration.
      * 
* * .google.apps.script.type.gmail.GmailAddOnManifest gmail = 2; - * * @return The gmail. */ public com.google.apps.script.type.gmail.GmailAddOnManifest getGmail() { if (gmailBuilder_ == null) { - return gmail_ == null - ? com.google.apps.script.type.gmail.GmailAddOnManifest.getDefaultInstance() - : gmail_; + return gmail_ == null ? com.google.apps.script.type.gmail.GmailAddOnManifest.getDefaultInstance() : gmail_; } else { return gmailBuilder_.getMessage(); } } /** - * - * *
      * Gmail add-on configuration.
      * 
@@ -1395,8 +1228,6 @@ public Builder setGmail(com.google.apps.script.type.gmail.GmailAddOnManifest val return this; } /** - * - * *
      * Gmail add-on configuration.
      * 
@@ -1415,8 +1246,6 @@ public Builder setGmail( return this; } /** - * - * *
      * Gmail add-on configuration.
      * 
@@ -1427,9 +1256,7 @@ public Builder mergeGmail(com.google.apps.script.type.gmail.GmailAddOnManifest v if (gmailBuilder_ == null) { if (gmail_ != null) { gmail_ = - com.google.apps.script.type.gmail.GmailAddOnManifest.newBuilder(gmail_) - .mergeFrom(value) - .buildPartial(); + com.google.apps.script.type.gmail.GmailAddOnManifest.newBuilder(gmail_).mergeFrom(value).buildPartial(); } else { gmail_ = value; } @@ -1441,8 +1268,6 @@ public Builder mergeGmail(com.google.apps.script.type.gmail.GmailAddOnManifest v return this; } /** - * - * *
      * Gmail add-on configuration.
      * 
@@ -1461,8 +1286,6 @@ public Builder clearGmail() { return this; } /** - * - * *
      * Gmail add-on configuration.
      * 
@@ -1470,13 +1293,11 @@ public Builder clearGmail() { * .google.apps.script.type.gmail.GmailAddOnManifest gmail = 2; */ public com.google.apps.script.type.gmail.GmailAddOnManifest.Builder getGmailBuilder() { - + onChanged(); return getGmailFieldBuilder().getBuilder(); } /** - * - * *
      * Gmail add-on configuration.
      * 
@@ -1487,14 +1308,11 @@ public com.google.apps.script.type.gmail.GmailAddOnManifestOrBuilder getGmailOrB if (gmailBuilder_ != null) { return gmailBuilder_.getMessageOrBuilder(); } else { - return gmail_ == null - ? com.google.apps.script.type.gmail.GmailAddOnManifest.getDefaultInstance() - : gmail_; + return gmail_ == null ? + com.google.apps.script.type.gmail.GmailAddOnManifest.getDefaultInstance() : gmail_; } } /** - * - * *
      * Gmail add-on configuration.
      * 
@@ -1502,17 +1320,14 @@ public com.google.apps.script.type.gmail.GmailAddOnManifestOrBuilder getGmailOrB * .google.apps.script.type.gmail.GmailAddOnManifest gmail = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.gmail.GmailAddOnManifest, - com.google.apps.script.type.gmail.GmailAddOnManifest.Builder, - com.google.apps.script.type.gmail.GmailAddOnManifestOrBuilder> + com.google.apps.script.type.gmail.GmailAddOnManifest, com.google.apps.script.type.gmail.GmailAddOnManifest.Builder, com.google.apps.script.type.gmail.GmailAddOnManifestOrBuilder> getGmailFieldBuilder() { if (gmailBuilder_ == null) { - gmailBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.gmail.GmailAddOnManifest, - com.google.apps.script.type.gmail.GmailAddOnManifest.Builder, - com.google.apps.script.type.gmail.GmailAddOnManifestOrBuilder>( - getGmail(), getParentForChildren(), isClean()); + gmailBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.apps.script.type.gmail.GmailAddOnManifest, com.google.apps.script.type.gmail.GmailAddOnManifest.Builder, com.google.apps.script.type.gmail.GmailAddOnManifestOrBuilder>( + getGmail(), + getParentForChildren(), + isClean()); gmail_ = null; } return gmailBuilder_; @@ -1520,47 +1335,34 @@ public com.google.apps.script.type.gmail.GmailAddOnManifestOrBuilder getGmailOrB private com.google.apps.script.type.drive.DriveAddOnManifest drive_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.drive.DriveAddOnManifest, - com.google.apps.script.type.drive.DriveAddOnManifest.Builder, - com.google.apps.script.type.drive.DriveAddOnManifestOrBuilder> - driveBuilder_; + com.google.apps.script.type.drive.DriveAddOnManifest, com.google.apps.script.type.drive.DriveAddOnManifest.Builder, com.google.apps.script.type.drive.DriveAddOnManifestOrBuilder> driveBuilder_; /** - * - * *
      * Drive add-on configuration.
      * 
* * .google.apps.script.type.drive.DriveAddOnManifest drive = 5; - * * @return Whether the drive field is set. */ public boolean hasDrive() { return driveBuilder_ != null || drive_ != null; } /** - * - * *
      * Drive add-on configuration.
      * 
* * .google.apps.script.type.drive.DriveAddOnManifest drive = 5; - * * @return The drive. */ public com.google.apps.script.type.drive.DriveAddOnManifest getDrive() { if (driveBuilder_ == null) { - return drive_ == null - ? com.google.apps.script.type.drive.DriveAddOnManifest.getDefaultInstance() - : drive_; + return drive_ == null ? com.google.apps.script.type.drive.DriveAddOnManifest.getDefaultInstance() : drive_; } else { return driveBuilder_.getMessage(); } } /** - * - * *
      * Drive add-on configuration.
      * 
@@ -1581,8 +1383,6 @@ public Builder setDrive(com.google.apps.script.type.drive.DriveAddOnManifest val return this; } /** - * - * *
      * Drive add-on configuration.
      * 
@@ -1601,8 +1401,6 @@ public Builder setDrive( return this; } /** - * - * *
      * Drive add-on configuration.
      * 
@@ -1613,9 +1411,7 @@ public Builder mergeDrive(com.google.apps.script.type.drive.DriveAddOnManifest v if (driveBuilder_ == null) { if (drive_ != null) { drive_ = - com.google.apps.script.type.drive.DriveAddOnManifest.newBuilder(drive_) - .mergeFrom(value) - .buildPartial(); + com.google.apps.script.type.drive.DriveAddOnManifest.newBuilder(drive_).mergeFrom(value).buildPartial(); } else { drive_ = value; } @@ -1627,8 +1423,6 @@ public Builder mergeDrive(com.google.apps.script.type.drive.DriveAddOnManifest v return this; } /** - * - * *
      * Drive add-on configuration.
      * 
@@ -1647,8 +1441,6 @@ public Builder clearDrive() { return this; } /** - * - * *
      * Drive add-on configuration.
      * 
@@ -1656,13 +1448,11 @@ public Builder clearDrive() { * .google.apps.script.type.drive.DriveAddOnManifest drive = 5; */ public com.google.apps.script.type.drive.DriveAddOnManifest.Builder getDriveBuilder() { - + onChanged(); return getDriveFieldBuilder().getBuilder(); } /** - * - * *
      * Drive add-on configuration.
      * 
@@ -1673,14 +1463,11 @@ public com.google.apps.script.type.drive.DriveAddOnManifestOrBuilder getDriveOrB if (driveBuilder_ != null) { return driveBuilder_.getMessageOrBuilder(); } else { - return drive_ == null - ? com.google.apps.script.type.drive.DriveAddOnManifest.getDefaultInstance() - : drive_; + return drive_ == null ? + com.google.apps.script.type.drive.DriveAddOnManifest.getDefaultInstance() : drive_; } } /** - * - * *
      * Drive add-on configuration.
      * 
@@ -1688,17 +1475,14 @@ public com.google.apps.script.type.drive.DriveAddOnManifestOrBuilder getDriveOrB * .google.apps.script.type.drive.DriveAddOnManifest drive = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.drive.DriveAddOnManifest, - com.google.apps.script.type.drive.DriveAddOnManifest.Builder, - com.google.apps.script.type.drive.DriveAddOnManifestOrBuilder> + com.google.apps.script.type.drive.DriveAddOnManifest, com.google.apps.script.type.drive.DriveAddOnManifest.Builder, com.google.apps.script.type.drive.DriveAddOnManifestOrBuilder> getDriveFieldBuilder() { if (driveBuilder_ == null) { - driveBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.drive.DriveAddOnManifest, - com.google.apps.script.type.drive.DriveAddOnManifest.Builder, - com.google.apps.script.type.drive.DriveAddOnManifestOrBuilder>( - getDrive(), getParentForChildren(), isClean()); + driveBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.apps.script.type.drive.DriveAddOnManifest, com.google.apps.script.type.drive.DriveAddOnManifest.Builder, com.google.apps.script.type.drive.DriveAddOnManifestOrBuilder>( + getDrive(), + getParentForChildren(), + isClean()); drive_ = null; } return driveBuilder_; @@ -1706,47 +1490,34 @@ public com.google.apps.script.type.drive.DriveAddOnManifestOrBuilder getDriveOrB private com.google.apps.script.type.calendar.CalendarAddOnManifest calendar_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.calendar.CalendarAddOnManifest, - com.google.apps.script.type.calendar.CalendarAddOnManifest.Builder, - com.google.apps.script.type.calendar.CalendarAddOnManifestOrBuilder> - calendarBuilder_; + com.google.apps.script.type.calendar.CalendarAddOnManifest, com.google.apps.script.type.calendar.CalendarAddOnManifest.Builder, com.google.apps.script.type.calendar.CalendarAddOnManifestOrBuilder> calendarBuilder_; /** - * - * *
      * Calendar add-on configuration.
      * 
* * .google.apps.script.type.calendar.CalendarAddOnManifest calendar = 6; - * * @return Whether the calendar field is set. */ public boolean hasCalendar() { return calendarBuilder_ != null || calendar_ != null; } /** - * - * *
      * Calendar add-on configuration.
      * 
* * .google.apps.script.type.calendar.CalendarAddOnManifest calendar = 6; - * * @return The calendar. */ public com.google.apps.script.type.calendar.CalendarAddOnManifest getCalendar() { if (calendarBuilder_ == null) { - return calendar_ == null - ? com.google.apps.script.type.calendar.CalendarAddOnManifest.getDefaultInstance() - : calendar_; + return calendar_ == null ? com.google.apps.script.type.calendar.CalendarAddOnManifest.getDefaultInstance() : calendar_; } else { return calendarBuilder_.getMessage(); } } /** - * - * *
      * Calendar add-on configuration.
      * 
@@ -1767,8 +1538,6 @@ public Builder setCalendar(com.google.apps.script.type.calendar.CalendarAddOnMan return this; } /** - * - * *
      * Calendar add-on configuration.
      * 
@@ -1787,8 +1556,6 @@ public Builder setCalendar( return this; } /** - * - * *
      * Calendar add-on configuration.
      * 
@@ -1799,9 +1566,7 @@ public Builder mergeCalendar(com.google.apps.script.type.calendar.CalendarAddOnM if (calendarBuilder_ == null) { if (calendar_ != null) { calendar_ = - com.google.apps.script.type.calendar.CalendarAddOnManifest.newBuilder(calendar_) - .mergeFrom(value) - .buildPartial(); + com.google.apps.script.type.calendar.CalendarAddOnManifest.newBuilder(calendar_).mergeFrom(value).buildPartial(); } else { calendar_ = value; } @@ -1813,8 +1578,6 @@ public Builder mergeCalendar(com.google.apps.script.type.calendar.CalendarAddOnM return this; } /** - * - * *
      * Calendar add-on configuration.
      * 
@@ -1833,8 +1596,6 @@ public Builder clearCalendar() { return this; } /** - * - * *
      * Calendar add-on configuration.
      * 
@@ -1842,32 +1603,26 @@ public Builder clearCalendar() { * .google.apps.script.type.calendar.CalendarAddOnManifest calendar = 6; */ public com.google.apps.script.type.calendar.CalendarAddOnManifest.Builder getCalendarBuilder() { - + onChanged(); return getCalendarFieldBuilder().getBuilder(); } /** - * - * *
      * Calendar add-on configuration.
      * 
* * .google.apps.script.type.calendar.CalendarAddOnManifest calendar = 6; */ - public com.google.apps.script.type.calendar.CalendarAddOnManifestOrBuilder - getCalendarOrBuilder() { + public com.google.apps.script.type.calendar.CalendarAddOnManifestOrBuilder getCalendarOrBuilder() { if (calendarBuilder_ != null) { return calendarBuilder_.getMessageOrBuilder(); } else { - return calendar_ == null - ? com.google.apps.script.type.calendar.CalendarAddOnManifest.getDefaultInstance() - : calendar_; + return calendar_ == null ? + com.google.apps.script.type.calendar.CalendarAddOnManifest.getDefaultInstance() : calendar_; } } /** - * - * *
      * Calendar add-on configuration.
      * 
@@ -1875,17 +1630,14 @@ public com.google.apps.script.type.calendar.CalendarAddOnManifest.Builder getCal * .google.apps.script.type.calendar.CalendarAddOnManifest calendar = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.calendar.CalendarAddOnManifest, - com.google.apps.script.type.calendar.CalendarAddOnManifest.Builder, - com.google.apps.script.type.calendar.CalendarAddOnManifestOrBuilder> + com.google.apps.script.type.calendar.CalendarAddOnManifest, com.google.apps.script.type.calendar.CalendarAddOnManifest.Builder, com.google.apps.script.type.calendar.CalendarAddOnManifestOrBuilder> getCalendarFieldBuilder() { if (calendarBuilder_ == null) { - calendarBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.calendar.CalendarAddOnManifest, - com.google.apps.script.type.calendar.CalendarAddOnManifest.Builder, - com.google.apps.script.type.calendar.CalendarAddOnManifestOrBuilder>( - getCalendar(), getParentForChildren(), isClean()); + calendarBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.apps.script.type.calendar.CalendarAddOnManifest, com.google.apps.script.type.calendar.CalendarAddOnManifest.Builder, com.google.apps.script.type.calendar.CalendarAddOnManifestOrBuilder>( + getCalendar(), + getParentForChildren(), + isClean()); calendar_ = null; } return calendarBuilder_; @@ -1893,47 +1645,34 @@ public com.google.apps.script.type.calendar.CalendarAddOnManifest.Builder getCal private com.google.apps.script.type.docs.DocsAddOnManifest docs_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.docs.DocsAddOnManifest, - com.google.apps.script.type.docs.DocsAddOnManifest.Builder, - com.google.apps.script.type.docs.DocsAddOnManifestOrBuilder> - docsBuilder_; + com.google.apps.script.type.docs.DocsAddOnManifest, com.google.apps.script.type.docs.DocsAddOnManifest.Builder, com.google.apps.script.type.docs.DocsAddOnManifestOrBuilder> docsBuilder_; /** - * - * *
      * Docs add-on configuration.
      * 
* * .google.apps.script.type.docs.DocsAddOnManifest docs = 7; - * * @return Whether the docs field is set. */ public boolean hasDocs() { return docsBuilder_ != null || docs_ != null; } /** - * - * *
      * Docs add-on configuration.
      * 
* * .google.apps.script.type.docs.DocsAddOnManifest docs = 7; - * * @return The docs. */ public com.google.apps.script.type.docs.DocsAddOnManifest getDocs() { if (docsBuilder_ == null) { - return docs_ == null - ? com.google.apps.script.type.docs.DocsAddOnManifest.getDefaultInstance() - : docs_; + return docs_ == null ? com.google.apps.script.type.docs.DocsAddOnManifest.getDefaultInstance() : docs_; } else { return docsBuilder_.getMessage(); } } /** - * - * *
      * Docs add-on configuration.
      * 
@@ -1954,8 +1693,6 @@ public Builder setDocs(com.google.apps.script.type.docs.DocsAddOnManifest value) return this; } /** - * - * *
      * Docs add-on configuration.
      * 
@@ -1974,8 +1711,6 @@ public Builder setDocs( return this; } /** - * - * *
      * Docs add-on configuration.
      * 
@@ -1986,9 +1721,7 @@ public Builder mergeDocs(com.google.apps.script.type.docs.DocsAddOnManifest valu if (docsBuilder_ == null) { if (docs_ != null) { docs_ = - com.google.apps.script.type.docs.DocsAddOnManifest.newBuilder(docs_) - .mergeFrom(value) - .buildPartial(); + com.google.apps.script.type.docs.DocsAddOnManifest.newBuilder(docs_).mergeFrom(value).buildPartial(); } else { docs_ = value; } @@ -2000,8 +1733,6 @@ public Builder mergeDocs(com.google.apps.script.type.docs.DocsAddOnManifest valu return this; } /** - * - * *
      * Docs add-on configuration.
      * 
@@ -2020,8 +1751,6 @@ public Builder clearDocs() { return this; } /** - * - * *
      * Docs add-on configuration.
      * 
@@ -2029,13 +1758,11 @@ public Builder clearDocs() { * .google.apps.script.type.docs.DocsAddOnManifest docs = 7; */ public com.google.apps.script.type.docs.DocsAddOnManifest.Builder getDocsBuilder() { - + onChanged(); return getDocsFieldBuilder().getBuilder(); } /** - * - * *
      * Docs add-on configuration.
      * 
@@ -2046,14 +1773,11 @@ public com.google.apps.script.type.docs.DocsAddOnManifestOrBuilder getDocsOrBuil if (docsBuilder_ != null) { return docsBuilder_.getMessageOrBuilder(); } else { - return docs_ == null - ? com.google.apps.script.type.docs.DocsAddOnManifest.getDefaultInstance() - : docs_; + return docs_ == null ? + com.google.apps.script.type.docs.DocsAddOnManifest.getDefaultInstance() : docs_; } } /** - * - * *
      * Docs add-on configuration.
      * 
@@ -2061,17 +1785,14 @@ public com.google.apps.script.type.docs.DocsAddOnManifestOrBuilder getDocsOrBuil * .google.apps.script.type.docs.DocsAddOnManifest docs = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.docs.DocsAddOnManifest, - com.google.apps.script.type.docs.DocsAddOnManifest.Builder, - com.google.apps.script.type.docs.DocsAddOnManifestOrBuilder> + com.google.apps.script.type.docs.DocsAddOnManifest, com.google.apps.script.type.docs.DocsAddOnManifest.Builder, com.google.apps.script.type.docs.DocsAddOnManifestOrBuilder> getDocsFieldBuilder() { if (docsBuilder_ == null) { - docsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.docs.DocsAddOnManifest, - com.google.apps.script.type.docs.DocsAddOnManifest.Builder, - com.google.apps.script.type.docs.DocsAddOnManifestOrBuilder>( - getDocs(), getParentForChildren(), isClean()); + docsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.apps.script.type.docs.DocsAddOnManifest, com.google.apps.script.type.docs.DocsAddOnManifest.Builder, com.google.apps.script.type.docs.DocsAddOnManifestOrBuilder>( + getDocs(), + getParentForChildren(), + isClean()); docs_ = null; } return docsBuilder_; @@ -2079,47 +1800,34 @@ public com.google.apps.script.type.docs.DocsAddOnManifestOrBuilder getDocsOrBuil private com.google.apps.script.type.sheets.SheetsAddOnManifest sheets_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.sheets.SheetsAddOnManifest, - com.google.apps.script.type.sheets.SheetsAddOnManifest.Builder, - com.google.apps.script.type.sheets.SheetsAddOnManifestOrBuilder> - sheetsBuilder_; + com.google.apps.script.type.sheets.SheetsAddOnManifest, com.google.apps.script.type.sheets.SheetsAddOnManifest.Builder, com.google.apps.script.type.sheets.SheetsAddOnManifestOrBuilder> sheetsBuilder_; /** - * - * *
      * Sheets add-on configuration.
      * 
* * .google.apps.script.type.sheets.SheetsAddOnManifest sheets = 8; - * * @return Whether the sheets field is set. */ public boolean hasSheets() { return sheetsBuilder_ != null || sheets_ != null; } /** - * - * *
      * Sheets add-on configuration.
      * 
* * .google.apps.script.type.sheets.SheetsAddOnManifest sheets = 8; - * * @return The sheets. */ public com.google.apps.script.type.sheets.SheetsAddOnManifest getSheets() { if (sheetsBuilder_ == null) { - return sheets_ == null - ? com.google.apps.script.type.sheets.SheetsAddOnManifest.getDefaultInstance() - : sheets_; + return sheets_ == null ? com.google.apps.script.type.sheets.SheetsAddOnManifest.getDefaultInstance() : sheets_; } else { return sheetsBuilder_.getMessage(); } } /** - * - * *
      * Sheets add-on configuration.
      * 
@@ -2140,8 +1848,6 @@ public Builder setSheets(com.google.apps.script.type.sheets.SheetsAddOnManifest return this; } /** - * - * *
      * Sheets add-on configuration.
      * 
@@ -2160,8 +1866,6 @@ public Builder setSheets( return this; } /** - * - * *
      * Sheets add-on configuration.
      * 
@@ -2172,9 +1876,7 @@ public Builder mergeSheets(com.google.apps.script.type.sheets.SheetsAddOnManifes if (sheetsBuilder_ == null) { if (sheets_ != null) { sheets_ = - com.google.apps.script.type.sheets.SheetsAddOnManifest.newBuilder(sheets_) - .mergeFrom(value) - .buildPartial(); + com.google.apps.script.type.sheets.SheetsAddOnManifest.newBuilder(sheets_).mergeFrom(value).buildPartial(); } else { sheets_ = value; } @@ -2186,8 +1888,6 @@ public Builder mergeSheets(com.google.apps.script.type.sheets.SheetsAddOnManifes return this; } /** - * - * *
      * Sheets add-on configuration.
      * 
@@ -2206,8 +1906,6 @@ public Builder clearSheets() { return this; } /** - * - * *
      * Sheets add-on configuration.
      * 
@@ -2215,13 +1913,11 @@ public Builder clearSheets() { * .google.apps.script.type.sheets.SheetsAddOnManifest sheets = 8; */ public com.google.apps.script.type.sheets.SheetsAddOnManifest.Builder getSheetsBuilder() { - + onChanged(); return getSheetsFieldBuilder().getBuilder(); } /** - * - * *
      * Sheets add-on configuration.
      * 
@@ -2232,14 +1928,11 @@ public com.google.apps.script.type.sheets.SheetsAddOnManifestOrBuilder getSheets if (sheetsBuilder_ != null) { return sheetsBuilder_.getMessageOrBuilder(); } else { - return sheets_ == null - ? com.google.apps.script.type.sheets.SheetsAddOnManifest.getDefaultInstance() - : sheets_; + return sheets_ == null ? + com.google.apps.script.type.sheets.SheetsAddOnManifest.getDefaultInstance() : sheets_; } } /** - * - * *
      * Sheets add-on configuration.
      * 
@@ -2247,17 +1940,14 @@ public com.google.apps.script.type.sheets.SheetsAddOnManifestOrBuilder getSheets * .google.apps.script.type.sheets.SheetsAddOnManifest sheets = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.sheets.SheetsAddOnManifest, - com.google.apps.script.type.sheets.SheetsAddOnManifest.Builder, - com.google.apps.script.type.sheets.SheetsAddOnManifestOrBuilder> + com.google.apps.script.type.sheets.SheetsAddOnManifest, com.google.apps.script.type.sheets.SheetsAddOnManifest.Builder, com.google.apps.script.type.sheets.SheetsAddOnManifestOrBuilder> getSheetsFieldBuilder() { if (sheetsBuilder_ == null) { - sheetsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.sheets.SheetsAddOnManifest, - com.google.apps.script.type.sheets.SheetsAddOnManifest.Builder, - com.google.apps.script.type.sheets.SheetsAddOnManifestOrBuilder>( - getSheets(), getParentForChildren(), isClean()); + sheetsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.apps.script.type.sheets.SheetsAddOnManifest, com.google.apps.script.type.sheets.SheetsAddOnManifest.Builder, com.google.apps.script.type.sheets.SheetsAddOnManifestOrBuilder>( + getSheets(), + getParentForChildren(), + isClean()); sheets_ = null; } return sheetsBuilder_; @@ -2265,47 +1955,34 @@ public com.google.apps.script.type.sheets.SheetsAddOnManifestOrBuilder getSheets private com.google.apps.script.type.slides.SlidesAddOnManifest slides_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.slides.SlidesAddOnManifest, - com.google.apps.script.type.slides.SlidesAddOnManifest.Builder, - com.google.apps.script.type.slides.SlidesAddOnManifestOrBuilder> - slidesBuilder_; + com.google.apps.script.type.slides.SlidesAddOnManifest, com.google.apps.script.type.slides.SlidesAddOnManifest.Builder, com.google.apps.script.type.slides.SlidesAddOnManifestOrBuilder> slidesBuilder_; /** - * - * *
      * Slides add-on configuration.
      * 
* * .google.apps.script.type.slides.SlidesAddOnManifest slides = 10; - * * @return Whether the slides field is set. */ public boolean hasSlides() { return slidesBuilder_ != null || slides_ != null; } /** - * - * *
      * Slides add-on configuration.
      * 
* * .google.apps.script.type.slides.SlidesAddOnManifest slides = 10; - * * @return The slides. */ public com.google.apps.script.type.slides.SlidesAddOnManifest getSlides() { if (slidesBuilder_ == null) { - return slides_ == null - ? com.google.apps.script.type.slides.SlidesAddOnManifest.getDefaultInstance() - : slides_; + return slides_ == null ? com.google.apps.script.type.slides.SlidesAddOnManifest.getDefaultInstance() : slides_; } else { return slidesBuilder_.getMessage(); } } /** - * - * *
      * Slides add-on configuration.
      * 
@@ -2326,8 +2003,6 @@ public Builder setSlides(com.google.apps.script.type.slides.SlidesAddOnManifest return this; } /** - * - * *
      * Slides add-on configuration.
      * 
@@ -2346,8 +2021,6 @@ public Builder setSlides( return this; } /** - * - * *
      * Slides add-on configuration.
      * 
@@ -2358,9 +2031,7 @@ public Builder mergeSlides(com.google.apps.script.type.slides.SlidesAddOnManifes if (slidesBuilder_ == null) { if (slides_ != null) { slides_ = - com.google.apps.script.type.slides.SlidesAddOnManifest.newBuilder(slides_) - .mergeFrom(value) - .buildPartial(); + com.google.apps.script.type.slides.SlidesAddOnManifest.newBuilder(slides_).mergeFrom(value).buildPartial(); } else { slides_ = value; } @@ -2372,8 +2043,6 @@ public Builder mergeSlides(com.google.apps.script.type.slides.SlidesAddOnManifes return this; } /** - * - * *
      * Slides add-on configuration.
      * 
@@ -2392,8 +2061,6 @@ public Builder clearSlides() { return this; } /** - * - * *
      * Slides add-on configuration.
      * 
@@ -2401,13 +2068,11 @@ public Builder clearSlides() { * .google.apps.script.type.slides.SlidesAddOnManifest slides = 10; */ public com.google.apps.script.type.slides.SlidesAddOnManifest.Builder getSlidesBuilder() { - + onChanged(); return getSlidesFieldBuilder().getBuilder(); } /** - * - * *
      * Slides add-on configuration.
      * 
@@ -2418,14 +2083,11 @@ public com.google.apps.script.type.slides.SlidesAddOnManifestOrBuilder getSlides if (slidesBuilder_ != null) { return slidesBuilder_.getMessageOrBuilder(); } else { - return slides_ == null - ? com.google.apps.script.type.slides.SlidesAddOnManifest.getDefaultInstance() - : slides_; + return slides_ == null ? + com.google.apps.script.type.slides.SlidesAddOnManifest.getDefaultInstance() : slides_; } } /** - * - * *
      * Slides add-on configuration.
      * 
@@ -2433,17 +2095,14 @@ public com.google.apps.script.type.slides.SlidesAddOnManifestOrBuilder getSlides * .google.apps.script.type.slides.SlidesAddOnManifest slides = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.slides.SlidesAddOnManifest, - com.google.apps.script.type.slides.SlidesAddOnManifest.Builder, - com.google.apps.script.type.slides.SlidesAddOnManifestOrBuilder> + com.google.apps.script.type.slides.SlidesAddOnManifest, com.google.apps.script.type.slides.SlidesAddOnManifest.Builder, com.google.apps.script.type.slides.SlidesAddOnManifestOrBuilder> getSlidesFieldBuilder() { if (slidesBuilder_ == null) { - slidesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.slides.SlidesAddOnManifest, - com.google.apps.script.type.slides.SlidesAddOnManifest.Builder, - com.google.apps.script.type.slides.SlidesAddOnManifestOrBuilder>( - getSlides(), getParentForChildren(), isClean()); + slidesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.apps.script.type.slides.SlidesAddOnManifest, com.google.apps.script.type.slides.SlidesAddOnManifest.Builder, com.google.apps.script.type.slides.SlidesAddOnManifestOrBuilder>( + getSlides(), + getParentForChildren(), + isClean()); slides_ = null; } return slidesBuilder_; @@ -2451,47 +2110,34 @@ public com.google.apps.script.type.slides.SlidesAddOnManifestOrBuilder getSlides private com.google.apps.script.type.HttpOptions httpOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.HttpOptions, - com.google.apps.script.type.HttpOptions.Builder, - com.google.apps.script.type.HttpOptionsOrBuilder> - httpOptionsBuilder_; + com.google.apps.script.type.HttpOptions, com.google.apps.script.type.HttpOptions.Builder, com.google.apps.script.type.HttpOptionsOrBuilder> httpOptionsBuilder_; /** - * - * *
      * Options for sending requests to add-on HTTP endpoints
      * 
* * .google.apps.script.type.HttpOptions http_options = 15; - * * @return Whether the httpOptions field is set. */ public boolean hasHttpOptions() { return httpOptionsBuilder_ != null || httpOptions_ != null; } /** - * - * *
      * Options for sending requests to add-on HTTP endpoints
      * 
* * .google.apps.script.type.HttpOptions http_options = 15; - * * @return The httpOptions. */ public com.google.apps.script.type.HttpOptions getHttpOptions() { if (httpOptionsBuilder_ == null) { - return httpOptions_ == null - ? com.google.apps.script.type.HttpOptions.getDefaultInstance() - : httpOptions_; + return httpOptions_ == null ? com.google.apps.script.type.HttpOptions.getDefaultInstance() : httpOptions_; } else { return httpOptionsBuilder_.getMessage(); } } /** - * - * *
      * Options for sending requests to add-on HTTP endpoints
      * 
@@ -2512,15 +2158,14 @@ public Builder setHttpOptions(com.google.apps.script.type.HttpOptions value) { return this; } /** - * - * *
      * Options for sending requests to add-on HTTP endpoints
      * 
* * .google.apps.script.type.HttpOptions http_options = 15; */ - public Builder setHttpOptions(com.google.apps.script.type.HttpOptions.Builder builderForValue) { + public Builder setHttpOptions( + com.google.apps.script.type.HttpOptions.Builder builderForValue) { if (httpOptionsBuilder_ == null) { httpOptions_ = builderForValue.build(); onChanged(); @@ -2531,8 +2176,6 @@ public Builder setHttpOptions(com.google.apps.script.type.HttpOptions.Builder bu return this; } /** - * - * *
      * Options for sending requests to add-on HTTP endpoints
      * 
@@ -2543,9 +2186,7 @@ public Builder mergeHttpOptions(com.google.apps.script.type.HttpOptions value) { if (httpOptionsBuilder_ == null) { if (httpOptions_ != null) { httpOptions_ = - com.google.apps.script.type.HttpOptions.newBuilder(httpOptions_) - .mergeFrom(value) - .buildPartial(); + com.google.apps.script.type.HttpOptions.newBuilder(httpOptions_).mergeFrom(value).buildPartial(); } else { httpOptions_ = value; } @@ -2557,8 +2198,6 @@ public Builder mergeHttpOptions(com.google.apps.script.type.HttpOptions value) { return this; } /** - * - * *
      * Options for sending requests to add-on HTTP endpoints
      * 
@@ -2577,8 +2216,6 @@ public Builder clearHttpOptions() { return this; } /** - * - * *
      * Options for sending requests to add-on HTTP endpoints
      * 
@@ -2586,13 +2223,11 @@ public Builder clearHttpOptions() { * .google.apps.script.type.HttpOptions http_options = 15; */ public com.google.apps.script.type.HttpOptions.Builder getHttpOptionsBuilder() { - + onChanged(); return getHttpOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Options for sending requests to add-on HTTP endpoints
      * 
@@ -2603,14 +2238,11 @@ public com.google.apps.script.type.HttpOptionsOrBuilder getHttpOptionsOrBuilder( if (httpOptionsBuilder_ != null) { return httpOptionsBuilder_.getMessageOrBuilder(); } else { - return httpOptions_ == null - ? com.google.apps.script.type.HttpOptions.getDefaultInstance() - : httpOptions_; + return httpOptions_ == null ? + com.google.apps.script.type.HttpOptions.getDefaultInstance() : httpOptions_; } } /** - * - * *
      * Options for sending requests to add-on HTTP endpoints
      * 
@@ -2618,24 +2250,21 @@ public com.google.apps.script.type.HttpOptionsOrBuilder getHttpOptionsOrBuilder( * .google.apps.script.type.HttpOptions http_options = 15; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.HttpOptions, - com.google.apps.script.type.HttpOptions.Builder, - com.google.apps.script.type.HttpOptionsOrBuilder> + com.google.apps.script.type.HttpOptions, com.google.apps.script.type.HttpOptions.Builder, com.google.apps.script.type.HttpOptionsOrBuilder> getHttpOptionsFieldBuilder() { if (httpOptionsBuilder_ == null) { - httpOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.HttpOptions, - com.google.apps.script.type.HttpOptions.Builder, - com.google.apps.script.type.HttpOptionsOrBuilder>( - getHttpOptions(), getParentForChildren(), isClean()); + httpOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.apps.script.type.HttpOptions, com.google.apps.script.type.HttpOptions.Builder, com.google.apps.script.type.HttpOptionsOrBuilder>( + getHttpOptions(), + getParentForChildren(), + isClean()); httpOptions_ = null; } return httpOptionsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2645,12 +2274,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gsuiteaddons.v1.AddOns) } // @@protoc_insertion_point(class_scope:google.cloud.gsuiteaddons.v1.AddOns) private static final com.google.cloud.gsuiteaddons.v1.AddOns DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gsuiteaddons.v1.AddOns(); } @@ -2659,16 +2288,16 @@ public static com.google.cloud.gsuiteaddons.v1.AddOns getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AddOns parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AddOns(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AddOns parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AddOns(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2683,4 +2312,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gsuiteaddons.v1.AddOns getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AddOnsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AddOnsOrBuilder.java similarity index 86% rename from proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AddOnsOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AddOnsOrBuilder.java index ddaff241..8fcc434f 100644 --- a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AddOnsOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AddOnsOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; -public interface AddOnsOrBuilder - extends +public interface AddOnsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.AddOns) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Configuration that is common across all Google Workspace Add-ons.
    * 
* * .google.apps.script.type.CommonAddOnManifest common = 1; - * * @return Whether the common field is set. */ boolean hasCommon(); /** - * - * *
    * Configuration that is common across all Google Workspace Add-ons.
    * 
* * .google.apps.script.type.CommonAddOnManifest common = 1; - * * @return The common. */ com.google.apps.script.type.CommonAddOnManifest getCommon(); /** - * - * *
    * Configuration that is common across all Google Workspace Add-ons.
    * 
@@ -59,32 +35,24 @@ public interface AddOnsOrBuilder com.google.apps.script.type.CommonAddOnManifestOrBuilder getCommonOrBuilder(); /** - * - * *
    * Gmail add-on configuration.
    * 
* * .google.apps.script.type.gmail.GmailAddOnManifest gmail = 2; - * * @return Whether the gmail field is set. */ boolean hasGmail(); /** - * - * *
    * Gmail add-on configuration.
    * 
* * .google.apps.script.type.gmail.GmailAddOnManifest gmail = 2; - * * @return The gmail. */ com.google.apps.script.type.gmail.GmailAddOnManifest getGmail(); /** - * - * *
    * Gmail add-on configuration.
    * 
@@ -94,32 +62,24 @@ public interface AddOnsOrBuilder com.google.apps.script.type.gmail.GmailAddOnManifestOrBuilder getGmailOrBuilder(); /** - * - * *
    * Drive add-on configuration.
    * 
* * .google.apps.script.type.drive.DriveAddOnManifest drive = 5; - * * @return Whether the drive field is set. */ boolean hasDrive(); /** - * - * *
    * Drive add-on configuration.
    * 
* * .google.apps.script.type.drive.DriveAddOnManifest drive = 5; - * * @return The drive. */ com.google.apps.script.type.drive.DriveAddOnManifest getDrive(); /** - * - * *
    * Drive add-on configuration.
    * 
@@ -129,32 +89,24 @@ public interface AddOnsOrBuilder com.google.apps.script.type.drive.DriveAddOnManifestOrBuilder getDriveOrBuilder(); /** - * - * *
    * Calendar add-on configuration.
    * 
* * .google.apps.script.type.calendar.CalendarAddOnManifest calendar = 6; - * * @return Whether the calendar field is set. */ boolean hasCalendar(); /** - * - * *
    * Calendar add-on configuration.
    * 
* * .google.apps.script.type.calendar.CalendarAddOnManifest calendar = 6; - * * @return The calendar. */ com.google.apps.script.type.calendar.CalendarAddOnManifest getCalendar(); /** - * - * *
    * Calendar add-on configuration.
    * 
@@ -164,32 +116,24 @@ public interface AddOnsOrBuilder com.google.apps.script.type.calendar.CalendarAddOnManifestOrBuilder getCalendarOrBuilder(); /** - * - * *
    * Docs add-on configuration.
    * 
* * .google.apps.script.type.docs.DocsAddOnManifest docs = 7; - * * @return Whether the docs field is set. */ boolean hasDocs(); /** - * - * *
    * Docs add-on configuration.
    * 
* * .google.apps.script.type.docs.DocsAddOnManifest docs = 7; - * * @return The docs. */ com.google.apps.script.type.docs.DocsAddOnManifest getDocs(); /** - * - * *
    * Docs add-on configuration.
    * 
@@ -199,32 +143,24 @@ public interface AddOnsOrBuilder com.google.apps.script.type.docs.DocsAddOnManifestOrBuilder getDocsOrBuilder(); /** - * - * *
    * Sheets add-on configuration.
    * 
* * .google.apps.script.type.sheets.SheetsAddOnManifest sheets = 8; - * * @return Whether the sheets field is set. */ boolean hasSheets(); /** - * - * *
    * Sheets add-on configuration.
    * 
* * .google.apps.script.type.sheets.SheetsAddOnManifest sheets = 8; - * * @return The sheets. */ com.google.apps.script.type.sheets.SheetsAddOnManifest getSheets(); /** - * - * *
    * Sheets add-on configuration.
    * 
@@ -234,32 +170,24 @@ public interface AddOnsOrBuilder com.google.apps.script.type.sheets.SheetsAddOnManifestOrBuilder getSheetsOrBuilder(); /** - * - * *
    * Slides add-on configuration.
    * 
* * .google.apps.script.type.slides.SlidesAddOnManifest slides = 10; - * * @return Whether the slides field is set. */ boolean hasSlides(); /** - * - * *
    * Slides add-on configuration.
    * 
* * .google.apps.script.type.slides.SlidesAddOnManifest slides = 10; - * * @return The slides. */ com.google.apps.script.type.slides.SlidesAddOnManifest getSlides(); /** - * - * *
    * Slides add-on configuration.
    * 
@@ -269,32 +197,24 @@ public interface AddOnsOrBuilder com.google.apps.script.type.slides.SlidesAddOnManifestOrBuilder getSlidesOrBuilder(); /** - * - * *
    * Options for sending requests to add-on HTTP endpoints
    * 
* * .google.apps.script.type.HttpOptions http_options = 15; - * * @return Whether the httpOptions field is set. */ boolean hasHttpOptions(); /** - * - * *
    * Options for sending requests to add-on HTTP endpoints
    * 
* * .google.apps.script.type.HttpOptions http_options = 15; - * * @return The httpOptions. */ com.google.apps.script.type.HttpOptions getHttpOptions(); /** - * - * *
    * Options for sending requests to add-on HTTP endpoints
    * 
diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/Authorization.java b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/Authorization.java similarity index 72% rename from proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/Authorization.java rename to owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/Authorization.java index c2616505..0efd4c83 100644 --- a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/Authorization.java +++ b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/Authorization.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; /** - * - * *
  * The authorization information used when invoking deployment endpoints.
  * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.Authorization} */ -public final class Authorization extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Authorization extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gsuiteaddons.v1.Authorization) AuthorizationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Authorization.newBuilder() to construct. private Authorization(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Authorization() { name_ = ""; serviceAccountEmail_ = ""; @@ -45,15 +27,16 @@ private Authorization() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Authorization(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Authorization( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,34 +55,31 @@ private Authorization( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - serviceAccountEmail_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + serviceAccountEmail_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - oauthClientId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + oauthClientId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,40 +87,35 @@ private Authorization( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_Authorization_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_Authorization_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_Authorization_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_Authorization_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.Authorization.class, - com.google.cloud.gsuiteaddons.v1.Authorization.Builder.class); + com.google.cloud.gsuiteaddons.v1.Authorization.class, com.google.cloud.gsuiteaddons.v1.Authorization.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The canonical full name of this resource.
    * Example:  `projects/123/authorization`
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -149,30 +124,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The canonical full name of this resource.
    * Example:  `projects/123/authorization`
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -183,15 +158,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 2; private volatile java.lang.Object serviceAccountEmail_; /** - * - * *
    * The email address of the service account used to authenticate requests to
    * add-on callback endpoints.
    * 
* * string service_account_email = 2; - * * @return The serviceAccountEmail. */ @java.lang.Override @@ -200,30 +172,30 @@ public java.lang.String getServiceAccountEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; } } /** - * - * *
    * The email address of the service account used to authenticate requests to
    * add-on callback endpoints.
    * 
* * string service_account_email = 2; - * * @return The bytes for serviceAccountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString + getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -234,15 +206,12 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { public static final int OAUTH_CLIENT_ID_FIELD_NUMBER = 3; private volatile java.lang.Object oauthClientId_; /** - * - * *
    * The OAuth client ID used to obtain OAuth access tokens for a user on the
    * add-on's behalf.
    * 
* * string oauth_client_id = 3; - * * @return The oauthClientId. */ @java.lang.Override @@ -251,30 +220,30 @@ public java.lang.String getOauthClientId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); oauthClientId_ = s; return s; } } /** - * - * *
    * The OAuth client ID used to obtain OAuth access tokens for a user on the
    * add-on's behalf.
    * 
* * string oauth_client_id = 3; - * * @return The bytes for oauthClientId. */ @java.lang.Override - public com.google.protobuf.ByteString getOauthClientIdBytes() { + public com.google.protobuf.ByteString + getOauthClientIdBytes() { java.lang.Object ref = oauthClientId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); oauthClientId_ = b; return b; } else { @@ -283,7 +252,6 @@ public com.google.protobuf.ByteString getOauthClientIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -295,7 +263,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -331,17 +300,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gsuiteaddons.v1.Authorization)) { return super.equals(obj); } - com.google.cloud.gsuiteaddons.v1.Authorization other = - (com.google.cloud.gsuiteaddons.v1.Authorization) obj; + com.google.cloud.gsuiteaddons.v1.Authorization other = (com.google.cloud.gsuiteaddons.v1.Authorization) obj; - if (!getName().equals(other.getName())) return false; - if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false; - if (!getOauthClientId().equals(other.getOauthClientId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getServiceAccountEmail() + .equals(other.getServiceAccountEmail())) return false; + if (!getOauthClientId() + .equals(other.getOauthClientId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -364,127 +335,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.gsuiteaddons.v1.Authorization parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.gsuiteaddons.v1.Authorization parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.Authorization parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.Authorization parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.Authorization parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.Authorization parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.Authorization parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.Authorization parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.Authorization parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.gsuiteaddons.v1.Authorization parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gsuiteaddons.v1.Authorization parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.Authorization parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.Authorization parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.Authorization parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gsuiteaddons.v1.Authorization prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The authorization information used when invoking deployment endpoints.
    * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.Authorization} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gsuiteaddons.v1.Authorization) com.google.cloud.gsuiteaddons.v1.AuthorizationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_Authorization_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_Authorization_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_Authorization_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_Authorization_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.Authorization.class, - com.google.cloud.gsuiteaddons.v1.Authorization.Builder.class); + com.google.cloud.gsuiteaddons.v1.Authorization.class, com.google.cloud.gsuiteaddons.v1.Authorization.Builder.class); } // Construct using com.google.cloud.gsuiteaddons.v1.Authorization.newBuilder() @@ -492,15 +454,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -514,9 +477,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_Authorization_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_Authorization_descriptor; } @java.lang.Override @@ -535,8 +498,7 @@ public com.google.cloud.gsuiteaddons.v1.Authorization build() { @java.lang.Override public com.google.cloud.gsuiteaddons.v1.Authorization buildPartial() { - com.google.cloud.gsuiteaddons.v1.Authorization result = - new com.google.cloud.gsuiteaddons.v1.Authorization(this); + com.google.cloud.gsuiteaddons.v1.Authorization result = new com.google.cloud.gsuiteaddons.v1.Authorization(this); result.name_ = name_; result.serviceAccountEmail_ = serviceAccountEmail_; result.oauthClientId_ = oauthClientId_; @@ -548,39 +510,38 @@ public com.google.cloud.gsuiteaddons.v1.Authorization buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gsuiteaddons.v1.Authorization) { - return mergeFrom((com.google.cloud.gsuiteaddons.v1.Authorization) other); + return mergeFrom((com.google.cloud.gsuiteaddons.v1.Authorization)other); } else { super.mergeFrom(other); return this; @@ -632,21 +593,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The canonical full name of this resource.
      * Example:  `projects/123/authorization`
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -655,22 +614,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The canonical full name of this resource.
      * Example:  `projects/123/authorization`
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -678,64 +636,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The canonical full name of this resource.
      * Example:  `projects/123/authorization`
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The canonical full name of this resource.
      * Example:  `projects/123/authorization`
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The canonical full name of this resource.
      * Example:  `projects/123/authorization`
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -743,21 +694,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object serviceAccountEmail_ = ""; /** - * - * *
      * The email address of the service account used to authenticate requests to
      * add-on callback endpoints.
      * 
* * string service_account_email = 2; - * * @return The serviceAccountEmail. */ public java.lang.String getServiceAccountEmail() { java.lang.Object ref = serviceAccountEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; @@ -766,22 +715,21 @@ public java.lang.String getServiceAccountEmail() { } } /** - * - * *
      * The email address of the service account used to authenticate requests to
      * add-on callback endpoints.
      * 
* * string service_account_email = 2; - * * @return The bytes for serviceAccountEmail. */ - public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString + getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -789,64 +737,57 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { } } /** - * - * *
      * The email address of the service account used to authenticate requests to
      * add-on callback endpoints.
      * 
* * string service_account_email = 2; - * * @param value The serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmail(java.lang.String value) { + public Builder setServiceAccountEmail( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccountEmail_ = value; onChanged(); return this; } /** - * - * *
      * The email address of the service account used to authenticate requests to
      * add-on callback endpoints.
      * 
* * string service_account_email = 2; - * * @return This builder for chaining. */ public Builder clearServiceAccountEmail() { - + serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail(); onChanged(); return this; } /** - * - * *
      * The email address of the service account used to authenticate requests to
      * add-on callback endpoints.
      * 
* * string service_account_email = 2; - * * @param value The bytes for serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) { + public Builder setServiceAccountEmailBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccountEmail_ = value; onChanged(); return this; @@ -854,21 +795,19 @@ public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) private java.lang.Object oauthClientId_ = ""; /** - * - * *
      * The OAuth client ID used to obtain OAuth access tokens for a user on the
      * add-on's behalf.
      * 
* * string oauth_client_id = 3; - * * @return The oauthClientId. */ public java.lang.String getOauthClientId() { java.lang.Object ref = oauthClientId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); oauthClientId_ = s; return s; @@ -877,22 +816,21 @@ public java.lang.String getOauthClientId() { } } /** - * - * *
      * The OAuth client ID used to obtain OAuth access tokens for a user on the
      * add-on's behalf.
      * 
* * string oauth_client_id = 3; - * * @return The bytes for oauthClientId. */ - public com.google.protobuf.ByteString getOauthClientIdBytes() { + public com.google.protobuf.ByteString + getOauthClientIdBytes() { java.lang.Object ref = oauthClientId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); oauthClientId_ = b; return b; } else { @@ -900,71 +838,64 @@ public com.google.protobuf.ByteString getOauthClientIdBytes() { } } /** - * - * *
      * The OAuth client ID used to obtain OAuth access tokens for a user on the
      * add-on's behalf.
      * 
* * string oauth_client_id = 3; - * * @param value The oauthClientId to set. * @return This builder for chaining. */ - public Builder setOauthClientId(java.lang.String value) { + public Builder setOauthClientId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + oauthClientId_ = value; onChanged(); return this; } /** - * - * *
      * The OAuth client ID used to obtain OAuth access tokens for a user on the
      * add-on's behalf.
      * 
* * string oauth_client_id = 3; - * * @return This builder for chaining. */ public Builder clearOauthClientId() { - + oauthClientId_ = getDefaultInstance().getOauthClientId(); onChanged(); return this; } /** - * - * *
      * The OAuth client ID used to obtain OAuth access tokens for a user on the
      * add-on's behalf.
      * 
* * string oauth_client_id = 3; - * * @param value The bytes for oauthClientId to set. * @return This builder for chaining. */ - public Builder setOauthClientIdBytes(com.google.protobuf.ByteString value) { + public Builder setOauthClientIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + oauthClientId_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -974,12 +905,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gsuiteaddons.v1.Authorization) } // @@protoc_insertion_point(class_scope:google.cloud.gsuiteaddons.v1.Authorization) private static final com.google.cloud.gsuiteaddons.v1.Authorization DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gsuiteaddons.v1.Authorization(); } @@ -988,16 +919,16 @@ public static com.google.cloud.gsuiteaddons.v1.Authorization getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Authorization parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Authorization(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Authorization parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Authorization(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1012,4 +943,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gsuiteaddons.v1.Authorization getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AuthorizationName.java b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AuthorizationName.java similarity index 100% rename from proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AuthorizationName.java rename to owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AuthorizationName.java diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AuthorizationOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AuthorizationOrBuilder.java similarity index 65% rename from proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AuthorizationOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AuthorizationOrBuilder.java index 5a5e314d..ed2a04f9 100644 --- a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AuthorizationOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AuthorizationOrBuilder.java @@ -1,106 +1,75 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; -public interface AuthorizationOrBuilder - extends +public interface AuthorizationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.Authorization) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The canonical full name of this resource.
    * Example:  `projects/123/authorization`
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The canonical full name of this resource.
    * Example:  `projects/123/authorization`
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The email address of the service account used to authenticate requests to
    * add-on callback endpoints.
    * 
* * string service_account_email = 2; - * * @return The serviceAccountEmail. */ java.lang.String getServiceAccountEmail(); /** - * - * *
    * The email address of the service account used to authenticate requests to
    * add-on callback endpoints.
    * 
* * string service_account_email = 2; - * * @return The bytes for serviceAccountEmail. */ - com.google.protobuf.ByteString getServiceAccountEmailBytes(); + com.google.protobuf.ByteString + getServiceAccountEmailBytes(); /** - * - * *
    * The OAuth client ID used to obtain OAuth access tokens for a user on the
    * add-on's behalf.
    * 
* * string oauth_client_id = 3; - * * @return The oauthClientId. */ java.lang.String getOauthClientId(); /** - * - * *
    * The OAuth client ID used to obtain OAuth access tokens for a user on the
    * add-on's behalf.
    * 
* * string oauth_client_id = 3; - * * @return The bytes for oauthClientId. */ - com.google.protobuf.ByteString getOauthClientIdBytes(); + com.google.protobuf.ByteString + getOauthClientIdBytes(); } diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/CreateDeploymentRequest.java b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/CreateDeploymentRequest.java similarity index 65% rename from proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/CreateDeploymentRequest.java rename to owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/CreateDeploymentRequest.java index 1e560c28..38bf77a9 100644 --- a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/CreateDeploymentRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/CreateDeploymentRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; /** - * - * *
  * Request message to create a deployment.
  * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.CreateDeploymentRequest} */ -public final class CreateDeploymentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateDeploymentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gsuiteaddons.v1.CreateDeploymentRequest) CreateDeploymentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateDeploymentRequest.newBuilder() to construct. private CreateDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateDeploymentRequest() { parent_ = ""; deploymentId_ = ""; @@ -44,15 +26,16 @@ private CreateDeploymentRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,43 +54,38 @@ private CreateDeploymentRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - deploymentId_ = s; - break; + deploymentId_ = s; + break; + } + case 26: { + com.google.cloud.gsuiteaddons.v1.Deployment.Builder subBuilder = null; + if (deployment_ != null) { + subBuilder = deployment_.toBuilder(); } - case 26: - { - com.google.cloud.gsuiteaddons.v1.Deployment.Builder subBuilder = null; - if (deployment_ != null) { - subBuilder = deployment_.toBuilder(); - } - deployment_ = - input.readMessage( - com.google.cloud.gsuiteaddons.v1.Deployment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(deployment_); - deployment_ = subBuilder.buildPartial(); - } - - break; + deployment_ = input.readMessage(com.google.cloud.gsuiteaddons.v1.Deployment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(deployment_); + deployment_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,42 +93,35 @@ private CreateDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_CreateDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_CreateDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_CreateDeploymentRequest_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_CreateDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest.class, - com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest.Builder.class); + com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest.class, com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Name of the project in which to create the deployment.
    * Example: `projects/my_project`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -159,32 +130,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Name of the project in which to create the deployment.
    * Example: `projects/my_project`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -195,15 +164,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int DEPLOYMENT_ID_FIELD_NUMBER = 2; private volatile java.lang.Object deploymentId_; /** - * - * *
    * Required. The id to use for this deployment.  The full name of the created
    * resource will be `projects/<project_number>/deployments/<deployment_id>`.
    * 
* * string deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The deploymentId. */ @java.lang.Override @@ -212,30 +178,30 @@ public java.lang.String getDeploymentId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deploymentId_ = s; return s; } } /** - * - * *
    * Required. The id to use for this deployment.  The full name of the created
    * resource will be `projects/<project_number>/deployments/<deployment_id>`.
    * 
* * string deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for deploymentId. */ @java.lang.Override - public com.google.protobuf.ByteString getDeploymentIdBytes() { + public com.google.protobuf.ByteString + getDeploymentIdBytes() { java.lang.Object ref = deploymentId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); deploymentId_ = b; return b; } else { @@ -246,16 +212,11 @@ public com.google.protobuf.ByteString getDeploymentIdBytes() { public static final int DEPLOYMENT_FIELD_NUMBER = 3; private com.google.cloud.gsuiteaddons.v1.Deployment deployment_; /** - * - * *
    * Required. The deployment to create (deployment.name cannot be set).
    * 
* - * - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the deployment field is set. */ @java.lang.Override @@ -263,34 +224,23 @@ public boolean hasDeployment() { return deployment_ != null; } /** - * - * *
    * Required. The deployment to create (deployment.name cannot be set).
    * 
* - * - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The deployment. */ @java.lang.Override public com.google.cloud.gsuiteaddons.v1.Deployment getDeployment() { - return deployment_ == null - ? com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance() - : deployment_; + return deployment_ == null ? com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance() : deployment_; } /** - * - * *
    * Required. The deployment to create (deployment.name cannot be set).
    * 
* - * - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder getDeploymentOrBuilder() { @@ -298,7 +248,6 @@ public com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder getDeploymentOrBuild } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -310,7 +259,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -336,7 +286,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, deploymentId_); } if (deployment_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDeployment()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getDeployment()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -346,19 +297,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest other = - (com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest) obj; + com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest other = (com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getDeploymentId().equals(other.getDeploymentId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getDeploymentId() + .equals(other.getDeploymentId())) return false; if (hasDeployment() != other.hasDeployment()) return false; if (hasDeployment()) { - if (!getDeployment().equals(other.getDeployment())) return false; + if (!getDeployment() + .equals(other.getDeployment())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -385,127 +338,117 @@ public int hashCode() { } public static com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest prototype) { + public static Builder newBuilder(com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message to create a deployment.
    * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.CreateDeploymentRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gsuiteaddons.v1.CreateDeploymentRequest) com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_CreateDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_CreateDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_CreateDeploymentRequest_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_CreateDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest.class, - com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest.Builder.class); + com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest.class, com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest.Builder.class); } // Construct using com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest.newBuilder() @@ -513,15 +456,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -539,9 +483,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_CreateDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_CreateDeploymentRequest_descriptor; } @java.lang.Override @@ -560,8 +504,7 @@ public com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest build() { @java.lang.Override public com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest buildPartial() { - com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest result = - new com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest(this); + com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest result = new com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest(this); result.parent_ = parent_; result.deploymentId_ = deploymentId_; if (deploymentBuilder_ == null) { @@ -577,39 +520,38 @@ public com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest) { - return mergeFrom((com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest) other); + return mergeFrom((com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest)other); } else { super.mergeFrom(other); return this; @@ -617,8 +559,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest other) { - if (other == com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -649,8 +590,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -662,23 +602,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Name of the project in which to create the deployment.
      * Example: `projects/my_project`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -687,24 +623,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Name of the project in which to create the deployment.
      * Example: `projects/my_project`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -712,70 +645,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Name of the project in which to create the deployment.
      * Example: `projects/my_project`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Name of the project in which to create the deployment.
      * Example: `projects/my_project`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Name of the project in which to create the deployment.
      * Example: `projects/my_project`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -783,21 +703,19 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object deploymentId_ = ""; /** - * - * *
      * Required. The id to use for this deployment.  The full name of the created
      * resource will be `projects/<project_number>/deployments/<deployment_id>`.
      * 
* * string deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The deploymentId. */ public java.lang.String getDeploymentId() { java.lang.Object ref = deploymentId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deploymentId_ = s; return s; @@ -806,22 +724,21 @@ public java.lang.String getDeploymentId() { } } /** - * - * *
      * Required. The id to use for this deployment.  The full name of the created
      * resource will be `projects/<project_number>/deployments/<deployment_id>`.
      * 
* * string deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for deploymentId. */ - public com.google.protobuf.ByteString getDeploymentIdBytes() { + public com.google.protobuf.ByteString + getDeploymentIdBytes() { java.lang.Object ref = deploymentId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); deploymentId_ = b; return b; } else { @@ -829,64 +746,57 @@ public com.google.protobuf.ByteString getDeploymentIdBytes() { } } /** - * - * *
      * Required. The id to use for this deployment.  The full name of the created
      * resource will be `projects/<project_number>/deployments/<deployment_id>`.
      * 
* * string deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The deploymentId to set. * @return This builder for chaining. */ - public Builder setDeploymentId(java.lang.String value) { + public Builder setDeploymentId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + deploymentId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The id to use for this deployment.  The full name of the created
      * resource will be `projects/<project_number>/deployments/<deployment_id>`.
      * 
* * string deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDeploymentId() { - + deploymentId_ = getDefaultInstance().getDeploymentId(); onChanged(); return this; } /** - * - * *
      * Required. The id to use for this deployment.  The full name of the created
      * resource will be `projects/<project_number>/deployments/<deployment_id>`.
      * 
* * string deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for deploymentId to set. * @return This builder for chaining. */ - public Builder setDeploymentIdBytes(com.google.protobuf.ByteString value) { + public Builder setDeploymentIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + deploymentId_ = value; onChanged(); return this; @@ -894,58 +804,39 @@ public Builder setDeploymentIdBytes(com.google.protobuf.ByteString value) { private com.google.cloud.gsuiteaddons.v1.Deployment deployment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gsuiteaddons.v1.Deployment, - com.google.cloud.gsuiteaddons.v1.Deployment.Builder, - com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder> - deploymentBuilder_; + com.google.cloud.gsuiteaddons.v1.Deployment, com.google.cloud.gsuiteaddons.v1.Deployment.Builder, com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder> deploymentBuilder_; /** - * - * *
      * Required. The deployment to create (deployment.name cannot be set).
      * 
* - * - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the deployment field is set. */ public boolean hasDeployment() { return deploymentBuilder_ != null || deployment_ != null; } /** - * - * *
      * Required. The deployment to create (deployment.name cannot be set).
      * 
* - * - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The deployment. */ public com.google.cloud.gsuiteaddons.v1.Deployment getDeployment() { if (deploymentBuilder_ == null) { - return deployment_ == null - ? com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance() - : deployment_; + return deployment_ == null ? com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance() : deployment_; } else { return deploymentBuilder_.getMessage(); } } /** - * - * *
      * Required. The deployment to create (deployment.name cannot be set).
      * 
* - * - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDeployment(com.google.cloud.gsuiteaddons.v1.Deployment value) { if (deploymentBuilder_ == null) { @@ -961,15 +852,11 @@ public Builder setDeployment(com.google.cloud.gsuiteaddons.v1.Deployment value) return this; } /** - * - * *
      * Required. The deployment to create (deployment.name cannot be set).
      * 
* - * - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDeployment( com.google.cloud.gsuiteaddons.v1.Deployment.Builder builderForValue) { @@ -983,23 +870,17 @@ public Builder setDeployment( return this; } /** - * - * *
      * Required. The deployment to create (deployment.name cannot be set).
      * 
* - * - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeDeployment(com.google.cloud.gsuiteaddons.v1.Deployment value) { if (deploymentBuilder_ == null) { if (deployment_ != null) { deployment_ = - com.google.cloud.gsuiteaddons.v1.Deployment.newBuilder(deployment_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gsuiteaddons.v1.Deployment.newBuilder(deployment_).mergeFrom(value).buildPartial(); } else { deployment_ = value; } @@ -1011,15 +892,11 @@ public Builder mergeDeployment(com.google.cloud.gsuiteaddons.v1.Deployment value return this; } /** - * - * *
      * Required. The deployment to create (deployment.name cannot be set).
      * 
* - * - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearDeployment() { if (deploymentBuilder_ == null) { @@ -1033,71 +910,55 @@ public Builder clearDeployment() { return this; } /** - * - * *
      * Required. The deployment to create (deployment.name cannot be set).
      * 
* - * - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gsuiteaddons.v1.Deployment.Builder getDeploymentBuilder() { - + onChanged(); return getDeploymentFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The deployment to create (deployment.name cannot be set).
      * 
* - * - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder getDeploymentOrBuilder() { if (deploymentBuilder_ != null) { return deploymentBuilder_.getMessageOrBuilder(); } else { - return deployment_ == null - ? com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance() - : deployment_; + return deployment_ == null ? + com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance() : deployment_; } } /** - * - * *
      * Required. The deployment to create (deployment.name cannot be set).
      * 
* - * - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gsuiteaddons.v1.Deployment, - com.google.cloud.gsuiteaddons.v1.Deployment.Builder, - com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder> + com.google.cloud.gsuiteaddons.v1.Deployment, com.google.cloud.gsuiteaddons.v1.Deployment.Builder, com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder> getDeploymentFieldBuilder() { if (deploymentBuilder_ == null) { - deploymentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gsuiteaddons.v1.Deployment, - com.google.cloud.gsuiteaddons.v1.Deployment.Builder, - com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder>( - getDeployment(), getParentForChildren(), isClean()); + deploymentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gsuiteaddons.v1.Deployment, com.google.cloud.gsuiteaddons.v1.Deployment.Builder, com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder>( + getDeployment(), + getParentForChildren(), + isClean()); deployment_ = null; } return deploymentBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1107,12 +968,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gsuiteaddons.v1.CreateDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gsuiteaddons.v1.CreateDeploymentRequest) private static final com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest(); } @@ -1121,16 +982,16 @@ public static com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1145,4 +1006,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/CreateDeploymentRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/CreateDeploymentRequestOrBuilder.java similarity index 56% rename from proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/CreateDeploymentRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/CreateDeploymentRequestOrBuilder.java index 1a86a642..acd801fa 100644 --- a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/CreateDeploymentRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/CreateDeploymentRequestOrBuilder.java @@ -1,124 +1,80 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; -public interface CreateDeploymentRequestOrBuilder - extends +public interface CreateDeploymentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.CreateDeploymentRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Name of the project in which to create the deployment.
    * Example: `projects/my_project`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Name of the project in which to create the deployment.
    * Example: `projects/my_project`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The id to use for this deployment.  The full name of the created
    * resource will be `projects/<project_number>/deployments/<deployment_id>`.
    * 
* * string deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The deploymentId. */ java.lang.String getDeploymentId(); /** - * - * *
    * Required. The id to use for this deployment.  The full name of the created
    * resource will be `projects/<project_number>/deployments/<deployment_id>`.
    * 
* * string deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for deploymentId. */ - com.google.protobuf.ByteString getDeploymentIdBytes(); + com.google.protobuf.ByteString + getDeploymentIdBytes(); /** - * - * *
    * Required. The deployment to create (deployment.name cannot be set).
    * 
* - * - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the deployment field is set. */ boolean hasDeployment(); /** - * - * *
    * Required. The deployment to create (deployment.name cannot be set).
    * 
* - * - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The deployment. */ com.google.cloud.gsuiteaddons.v1.Deployment getDeployment(); /** - * - * *
    * Required. The deployment to create (deployment.name cannot be set).
    * 
* - * - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder getDeploymentOrBuilder(); } diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeleteDeploymentRequest.java b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeleteDeploymentRequest.java similarity index 67% rename from proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeleteDeploymentRequest.java rename to owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeleteDeploymentRequest.java index b1963cc2..7f093907 100644 --- a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeleteDeploymentRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeleteDeploymentRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; /** - * - * *
  * Request message to delete a deployment.
  * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest} */ -public final class DeleteDeploymentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteDeploymentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest) DeleteDeploymentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteDeploymentRequest.newBuilder() to construct. private DeleteDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteDeploymentRequest() { name_ = ""; etag_ = ""; @@ -44,15 +26,16 @@ private DeleteDeploymentRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private DeleteDeploymentRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - etag_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + etag_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,42 +80,35 @@ private DeleteDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_DeleteDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_DeleteDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_DeleteDeploymentRequest_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_DeleteDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest.class, - com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest.Builder.class); + com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest.class, com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The full resource name of the deployment to delete.
    * Example:  `projects/my_project/deployments/my_deployment`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -143,32 +117,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The full resource name of the deployment to delete.
    * Example:  `projects/my_project/deployments/my_deployment`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -179,15 +151,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ETAG_FIELD_NUMBER = 2; private volatile java.lang.Object etag_; /** - * - * *
    * The etag of the deployment to delete.
    * If this is provided, it must match the server's etag.
    * 
* * string etag = 2; - * * @return The etag. */ @java.lang.Override @@ -196,30 +165,30 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** - * - * *
    * The etag of the deployment to delete.
    * If this is provided, it must match the server's etag.
    * 
* * string etag = 2; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -228,7 +197,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -240,7 +208,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -270,16 +239,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest other = - (com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest) obj; + com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest other = (com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getEtag().equals(other.getEtag())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -301,127 +271,117 @@ public int hashCode() { } public static com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest prototype) { + public static Builder newBuilder(com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message to delete a deployment.
    * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest) com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_DeleteDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_DeleteDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_DeleteDeploymentRequest_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_DeleteDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest.class, - com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest.Builder.class); + com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest.class, com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest.Builder.class); } // Construct using com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest.newBuilder() @@ -429,15 +389,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -449,9 +410,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_DeleteDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_DeleteDeploymentRequest_descriptor; } @java.lang.Override @@ -470,8 +431,7 @@ public com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest build() { @java.lang.Override public com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest buildPartial() { - com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest result = - new com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest(this); + com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest result = new com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest(this); result.name_ = name_; result.etag_ = etag_; onBuilt(); @@ -482,39 +442,38 @@ public com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest) { - return mergeFrom((com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest) other); + return mergeFrom((com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest)other); } else { super.mergeFrom(other); return this; @@ -522,8 +481,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest other) { - if (other == com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -551,8 +509,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -564,23 +521,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The full resource name of the deployment to delete.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -589,24 +542,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The full resource name of the deployment to delete.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -614,70 +564,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The full resource name of the deployment to delete.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The full resource name of the deployment to delete.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The full resource name of the deployment to delete.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -685,21 +622,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object etag_ = ""; /** - * - * *
      * The etag of the deployment to delete.
      * If this is provided, it must match the server's etag.
      * 
* * string etag = 2; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -708,22 +643,21 @@ public java.lang.String getEtag() { } } /** - * - * *
      * The etag of the deployment to delete.
      * If this is provided, it must match the server's etag.
      * 
* * string etag = 2; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -731,71 +665,64 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * The etag of the deployment to delete.
      * If this is provided, it must match the server's etag.
      * 
* * string etag = 2; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { + public Builder setEtag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** - * - * *
      * The etag of the deployment to delete.
      * If this is provided, it must match the server's etag.
      * 
* * string etag = 2; - * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** - * - * *
      * The etag of the deployment to delete.
      * If this is provided, it must match the server's etag.
      * 
* * string etag = 2; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -805,12 +732,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest) private static final com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest(); } @@ -819,16 +746,16 @@ public static com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -843,4 +770,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeleteDeploymentRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeleteDeploymentRequestOrBuilder.java similarity index 52% rename from proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeleteDeploymentRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeleteDeploymentRequestOrBuilder.java index f499c1f3..892d87ec 100644 --- a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeleteDeploymentRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeleteDeploymentRequestOrBuilder.java @@ -1,83 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; -public interface DeleteDeploymentRequestOrBuilder - extends +public interface DeleteDeploymentRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The full resource name of the deployment to delete.
    * Example:  `projects/my_project/deployments/my_deployment`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The full resource name of the deployment to delete.
    * Example:  `projects/my_project/deployments/my_deployment`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The etag of the deployment to delete.
    * If this is provided, it must match the server's etag.
    * 
* * string etag = 2; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * The etag of the deployment to delete.
    * If this is provided, it must match the server's etag.
    * 
* * string etag = 2; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); } diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/Deployment.java b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/Deployment.java similarity index 73% rename from proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/Deployment.java rename to owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/Deployment.java index f33c7917..15133910 100644 --- a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/Deployment.java +++ b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/Deployment.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; /** - * - * *
  * A Google Workspace Add-on deployment
  * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.Deployment} */ -public final class Deployment extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Deployment extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gsuiteaddons.v1.Deployment) DeploymentOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Deployment.newBuilder() to construct. private Deployment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Deployment() { name_ = ""; oauthScopes_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -45,15 +27,16 @@ private Deployment() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Deployment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Deployment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,53 +56,47 @@ private Deployment( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + oauthScopes_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - oauthScopes_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - oauthScopes_.add(s); - break; + oauthScopes_.add(s); + break; + } + case 26: { + com.google.cloud.gsuiteaddons.v1.AddOns.Builder subBuilder = null; + if (addOns_ != null) { + subBuilder = addOns_.toBuilder(); } - case 26: - { - com.google.cloud.gsuiteaddons.v1.AddOns.Builder subBuilder = null; - if (addOns_ != null) { - subBuilder = addOns_.toBuilder(); - } - addOns_ = - input.readMessage( - com.google.cloud.gsuiteaddons.v1.AddOns.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(addOns_); - addOns_ = subBuilder.buildPartial(); - } - - break; + addOns_ = input.readMessage(com.google.cloud.gsuiteaddons.v1.AddOns.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(addOns_); + addOns_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - etag_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + etag_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -127,7 +104,8 @@ private Deployment( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { oauthScopes_ = oauthScopes_.getUnmodifiableView(); @@ -136,34 +114,28 @@ private Deployment( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_Deployment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_Deployment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_Deployment_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_Deployment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.Deployment.class, - com.google.cloud.gsuiteaddons.v1.Deployment.Builder.class); + com.google.cloud.gsuiteaddons.v1.Deployment.class, com.google.cloud.gsuiteaddons.v1.Deployment.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The deployment resource name.
    * Example:  projects/123/deployments/my_deployment.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -172,30 +144,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The deployment resource name.
    * Example:  projects/123/deployments/my_deployment.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -206,45 +178,37 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int OAUTH_SCOPES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList oauthScopes_; /** - * - * *
    * The list of Google OAuth scopes for which to request consent from the end
    * user before executing an add-on endpoint.
    * 
* * repeated string oauth_scopes = 2; - * * @return A list containing the oauthScopes. */ - public com.google.protobuf.ProtocolStringList getOauthScopesList() { + public com.google.protobuf.ProtocolStringList + getOauthScopesList() { return oauthScopes_; } /** - * - * *
    * The list of Google OAuth scopes for which to request consent from the end
    * user before executing an add-on endpoint.
    * 
* * repeated string oauth_scopes = 2; - * * @return The count of oauthScopes. */ public int getOauthScopesCount() { return oauthScopes_.size(); } /** - * - * *
    * The list of Google OAuth scopes for which to request consent from the end
    * user before executing an add-on endpoint.
    * 
* * repeated string oauth_scopes = 2; - * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ @@ -252,33 +216,28 @@ public java.lang.String getOauthScopes(int index) { return oauthScopes_.get(index); } /** - * - * *
    * The list of Google OAuth scopes for which to request consent from the end
    * user before executing an add-on endpoint.
    * 
* * repeated string oauth_scopes = 2; - * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - public com.google.protobuf.ByteString getOauthScopesBytes(int index) { + public com.google.protobuf.ByteString + getOauthScopesBytes(int index) { return oauthScopes_.getByteString(index); } public static final int ADD_ONS_FIELD_NUMBER = 3; private com.google.cloud.gsuiteaddons.v1.AddOns addOns_; /** - * - * *
    * The Google Workspace Add-on configuration.
    * 
* * .google.cloud.gsuiteaddons.v1.AddOns add_ons = 3; - * * @return Whether the addOns field is set. */ @java.lang.Override @@ -286,14 +245,11 @@ public boolean hasAddOns() { return addOns_ != null; } /** - * - * *
    * The Google Workspace Add-on configuration.
    * 
* * .google.cloud.gsuiteaddons.v1.AddOns add_ons = 3; - * * @return The addOns. */ @java.lang.Override @@ -301,8 +257,6 @@ public com.google.cloud.gsuiteaddons.v1.AddOns getAddOns() { return addOns_ == null ? com.google.cloud.gsuiteaddons.v1.AddOns.getDefaultInstance() : addOns_; } /** - * - * *
    * The Google Workspace Add-on configuration.
    * 
@@ -317,8 +271,6 @@ public com.google.cloud.gsuiteaddons.v1.AddOnsOrBuilder getAddOnsOrBuilder() { public static final int ETAG_FIELD_NUMBER = 5; private volatile java.lang.Object etag_; /** - * - * *
    * This value is computed by the server based on the version of the
    * deployment in storage, and may be sent on update and delete requests to
@@ -326,7 +278,6 @@ public com.google.cloud.gsuiteaddons.v1.AddOnsOrBuilder getAddOnsOrBuilder() {
    * 
* * string etag = 5; - * * @return The etag. */ @java.lang.Override @@ -335,15 +286,14 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** - * - * *
    * This value is computed by the server based on the version of the
    * deployment in storage, and may be sent on update and delete requests to
@@ -351,15 +301,16 @@ public java.lang.String getEtag() {
    * 
* * string etag = 5; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -368,7 +319,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -380,7 +330,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -414,7 +365,8 @@ public int getSerializedSize() { size += 1 * getOauthScopesList().size(); } if (addOns_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getAddOns()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getAddOns()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, etag_); @@ -427,21 +379,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gsuiteaddons.v1.Deployment)) { return super.equals(obj); } - com.google.cloud.gsuiteaddons.v1.Deployment other = - (com.google.cloud.gsuiteaddons.v1.Deployment) obj; + com.google.cloud.gsuiteaddons.v1.Deployment other = (com.google.cloud.gsuiteaddons.v1.Deployment) obj; - if (!getName().equals(other.getName())) return false; - if (!getOauthScopesList().equals(other.getOauthScopesList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getOauthScopesList() + .equals(other.getOauthScopesList())) return false; if (hasAddOns() != other.hasAddOns()) return false; if (hasAddOns()) { - if (!getAddOns().equals(other.getAddOns())) return false; + if (!getAddOns() + .equals(other.getAddOns())) return false; } - if (!getEtag().equals(other.getEtag())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -470,127 +425,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.gsuiteaddons.v1.Deployment parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.gsuiteaddons.v1.Deployment parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.Deployment parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.Deployment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.Deployment parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.Deployment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.Deployment parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.Deployment parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.Deployment parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.gsuiteaddons.v1.Deployment parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gsuiteaddons.v1.Deployment parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.Deployment parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.Deployment parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.Deployment parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gsuiteaddons.v1.Deployment prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A Google Workspace Add-on deployment
    * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.Deployment} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gsuiteaddons.v1.Deployment) com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_Deployment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_Deployment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_Deployment_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_Deployment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.Deployment.class, - com.google.cloud.gsuiteaddons.v1.Deployment.Builder.class); + com.google.cloud.gsuiteaddons.v1.Deployment.class, com.google.cloud.gsuiteaddons.v1.Deployment.Builder.class); } // Construct using com.google.cloud.gsuiteaddons.v1.Deployment.newBuilder() @@ -598,15 +544,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -626,9 +573,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_Deployment_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_Deployment_descriptor; } @java.lang.Override @@ -647,8 +594,7 @@ public com.google.cloud.gsuiteaddons.v1.Deployment build() { @java.lang.Override public com.google.cloud.gsuiteaddons.v1.Deployment buildPartial() { - com.google.cloud.gsuiteaddons.v1.Deployment result = - new com.google.cloud.gsuiteaddons.v1.Deployment(this); + com.google.cloud.gsuiteaddons.v1.Deployment result = new com.google.cloud.gsuiteaddons.v1.Deployment(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (((bitField0_ & 0x00000001) != 0)) { @@ -670,39 +616,38 @@ public com.google.cloud.gsuiteaddons.v1.Deployment buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gsuiteaddons.v1.Deployment) { - return mergeFrom((com.google.cloud.gsuiteaddons.v1.Deployment) other); + return mergeFrom((com.google.cloud.gsuiteaddons.v1.Deployment)other); } else { super.mergeFrom(other); return this; @@ -760,26 +705,23 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * The deployment resource name.
      * Example:  projects/123/deployments/my_deployment.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -788,22 +730,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The deployment resource name.
      * Example:  projects/123/deployments/my_deployment.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -811,118 +752,101 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The deployment resource name.
      * Example:  projects/123/deployments/my_deployment.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The deployment resource name.
      * Example:  projects/123/deployments/my_deployment.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The deployment resource name.
      * Example:  projects/123/deployments/my_deployment.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList oauthScopes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList oauthScopes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureOauthScopesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { oauthScopes_ = new com.google.protobuf.LazyStringArrayList(oauthScopes_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * The list of Google OAuth scopes for which to request consent from the end
      * user before executing an add-on endpoint.
      * 
* * repeated string oauth_scopes = 2; - * * @return A list containing the oauthScopes. */ - public com.google.protobuf.ProtocolStringList getOauthScopesList() { + public com.google.protobuf.ProtocolStringList + getOauthScopesList() { return oauthScopes_.getUnmodifiableView(); } /** - * - * *
      * The list of Google OAuth scopes for which to request consent from the end
      * user before executing an add-on endpoint.
      * 
* * repeated string oauth_scopes = 2; - * * @return The count of oauthScopes. */ public int getOauthScopesCount() { return oauthScopes_.size(); } /** - * - * *
      * The list of Google OAuth scopes for which to request consent from the end
      * user before executing an add-on endpoint.
      * 
* * repeated string oauth_scopes = 2; - * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ @@ -930,95 +854,85 @@ public java.lang.String getOauthScopes(int index) { return oauthScopes_.get(index); } /** - * - * *
      * The list of Google OAuth scopes for which to request consent from the end
      * user before executing an add-on endpoint.
      * 
* * repeated string oauth_scopes = 2; - * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - public com.google.protobuf.ByteString getOauthScopesBytes(int index) { + public com.google.protobuf.ByteString + getOauthScopesBytes(int index) { return oauthScopes_.getByteString(index); } /** - * - * *
      * The list of Google OAuth scopes for which to request consent from the end
      * user before executing an add-on endpoint.
      * 
* * repeated string oauth_scopes = 2; - * * @param index The index to set the value at. * @param value The oauthScopes to set. * @return This builder for chaining. */ - public Builder setOauthScopes(int index, java.lang.String value) { + public Builder setOauthScopes( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureOauthScopesIsMutable(); + throw new NullPointerException(); + } + ensureOauthScopesIsMutable(); oauthScopes_.set(index, value); onChanged(); return this; } /** - * - * *
      * The list of Google OAuth scopes for which to request consent from the end
      * user before executing an add-on endpoint.
      * 
* * repeated string oauth_scopes = 2; - * * @param value The oauthScopes to add. * @return This builder for chaining. */ - public Builder addOauthScopes(java.lang.String value) { + public Builder addOauthScopes( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureOauthScopesIsMutable(); + throw new NullPointerException(); + } + ensureOauthScopesIsMutable(); oauthScopes_.add(value); onChanged(); return this; } /** - * - * *
      * The list of Google OAuth scopes for which to request consent from the end
      * user before executing an add-on endpoint.
      * 
* * repeated string oauth_scopes = 2; - * * @param values The oauthScopes to add. * @return This builder for chaining. */ - public Builder addAllOauthScopes(java.lang.Iterable values) { + public Builder addAllOauthScopes( + java.lang.Iterable values) { ensureOauthScopesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, oauthScopes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, oauthScopes_); onChanged(); return this; } /** - * - * *
      * The list of Google OAuth scopes for which to request consent from the end
      * user before executing an add-on endpoint.
      * 
* * repeated string oauth_scopes = 2; - * * @return This builder for chaining. */ public Builder clearOauthScopes() { @@ -1028,23 +942,21 @@ public Builder clearOauthScopes() { return this; } /** - * - * *
      * The list of Google OAuth scopes for which to request consent from the end
      * user before executing an add-on endpoint.
      * 
* * repeated string oauth_scopes = 2; - * * @param value The bytes of the oauthScopes to add. * @return This builder for chaining. */ - public Builder addOauthScopesBytes(com.google.protobuf.ByteString value) { + public Builder addOauthScopesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureOauthScopesIsMutable(); oauthScopes_.add(value); onChanged(); @@ -1053,47 +965,34 @@ public Builder addOauthScopesBytes(com.google.protobuf.ByteString value) { private com.google.cloud.gsuiteaddons.v1.AddOns addOns_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gsuiteaddons.v1.AddOns, - com.google.cloud.gsuiteaddons.v1.AddOns.Builder, - com.google.cloud.gsuiteaddons.v1.AddOnsOrBuilder> - addOnsBuilder_; + com.google.cloud.gsuiteaddons.v1.AddOns, com.google.cloud.gsuiteaddons.v1.AddOns.Builder, com.google.cloud.gsuiteaddons.v1.AddOnsOrBuilder> addOnsBuilder_; /** - * - * *
      * The Google Workspace Add-on configuration.
      * 
* * .google.cloud.gsuiteaddons.v1.AddOns add_ons = 3; - * * @return Whether the addOns field is set. */ public boolean hasAddOns() { return addOnsBuilder_ != null || addOns_ != null; } /** - * - * *
      * The Google Workspace Add-on configuration.
      * 
* * .google.cloud.gsuiteaddons.v1.AddOns add_ons = 3; - * * @return The addOns. */ public com.google.cloud.gsuiteaddons.v1.AddOns getAddOns() { if (addOnsBuilder_ == null) { - return addOns_ == null - ? com.google.cloud.gsuiteaddons.v1.AddOns.getDefaultInstance() - : addOns_; + return addOns_ == null ? com.google.cloud.gsuiteaddons.v1.AddOns.getDefaultInstance() : addOns_; } else { return addOnsBuilder_.getMessage(); } } /** - * - * *
      * The Google Workspace Add-on configuration.
      * 
@@ -1114,15 +1013,14 @@ public Builder setAddOns(com.google.cloud.gsuiteaddons.v1.AddOns value) { return this; } /** - * - * *
      * The Google Workspace Add-on configuration.
      * 
* * .google.cloud.gsuiteaddons.v1.AddOns add_ons = 3; */ - public Builder setAddOns(com.google.cloud.gsuiteaddons.v1.AddOns.Builder builderForValue) { + public Builder setAddOns( + com.google.cloud.gsuiteaddons.v1.AddOns.Builder builderForValue) { if (addOnsBuilder_ == null) { addOns_ = builderForValue.build(); onChanged(); @@ -1133,8 +1031,6 @@ public Builder setAddOns(com.google.cloud.gsuiteaddons.v1.AddOns.Builder builder return this; } /** - * - * *
      * The Google Workspace Add-on configuration.
      * 
@@ -1145,9 +1041,7 @@ public Builder mergeAddOns(com.google.cloud.gsuiteaddons.v1.AddOns value) { if (addOnsBuilder_ == null) { if (addOns_ != null) { addOns_ = - com.google.cloud.gsuiteaddons.v1.AddOns.newBuilder(addOns_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gsuiteaddons.v1.AddOns.newBuilder(addOns_).mergeFrom(value).buildPartial(); } else { addOns_ = value; } @@ -1159,8 +1053,6 @@ public Builder mergeAddOns(com.google.cloud.gsuiteaddons.v1.AddOns value) { return this; } /** - * - * *
      * The Google Workspace Add-on configuration.
      * 
@@ -1179,8 +1071,6 @@ public Builder clearAddOns() { return this; } /** - * - * *
      * The Google Workspace Add-on configuration.
      * 
@@ -1188,13 +1078,11 @@ public Builder clearAddOns() { * .google.cloud.gsuiteaddons.v1.AddOns add_ons = 3; */ public com.google.cloud.gsuiteaddons.v1.AddOns.Builder getAddOnsBuilder() { - + onChanged(); return getAddOnsFieldBuilder().getBuilder(); } /** - * - * *
      * The Google Workspace Add-on configuration.
      * 
@@ -1205,14 +1093,11 @@ public com.google.cloud.gsuiteaddons.v1.AddOnsOrBuilder getAddOnsOrBuilder() { if (addOnsBuilder_ != null) { return addOnsBuilder_.getMessageOrBuilder(); } else { - return addOns_ == null - ? com.google.cloud.gsuiteaddons.v1.AddOns.getDefaultInstance() - : addOns_; + return addOns_ == null ? + com.google.cloud.gsuiteaddons.v1.AddOns.getDefaultInstance() : addOns_; } } /** - * - * *
      * The Google Workspace Add-on configuration.
      * 
@@ -1220,17 +1105,14 @@ public com.google.cloud.gsuiteaddons.v1.AddOnsOrBuilder getAddOnsOrBuilder() { * .google.cloud.gsuiteaddons.v1.AddOns add_ons = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gsuiteaddons.v1.AddOns, - com.google.cloud.gsuiteaddons.v1.AddOns.Builder, - com.google.cloud.gsuiteaddons.v1.AddOnsOrBuilder> + com.google.cloud.gsuiteaddons.v1.AddOns, com.google.cloud.gsuiteaddons.v1.AddOns.Builder, com.google.cloud.gsuiteaddons.v1.AddOnsOrBuilder> getAddOnsFieldBuilder() { if (addOnsBuilder_ == null) { - addOnsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gsuiteaddons.v1.AddOns, - com.google.cloud.gsuiteaddons.v1.AddOns.Builder, - com.google.cloud.gsuiteaddons.v1.AddOnsOrBuilder>( - getAddOns(), getParentForChildren(), isClean()); + addOnsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gsuiteaddons.v1.AddOns, com.google.cloud.gsuiteaddons.v1.AddOns.Builder, com.google.cloud.gsuiteaddons.v1.AddOnsOrBuilder>( + getAddOns(), + getParentForChildren(), + isClean()); addOns_ = null; } return addOnsBuilder_; @@ -1238,8 +1120,6 @@ public com.google.cloud.gsuiteaddons.v1.AddOnsOrBuilder getAddOnsOrBuilder() { private java.lang.Object etag_ = ""; /** - * - * *
      * This value is computed by the server based on the version of the
      * deployment in storage, and may be sent on update and delete requests to
@@ -1247,13 +1127,13 @@ public com.google.cloud.gsuiteaddons.v1.AddOnsOrBuilder getAddOnsOrBuilder() {
      * 
* * string etag = 5; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -1262,8 +1142,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * This value is computed by the server based on the version of the
      * deployment in storage, and may be sent on update and delete requests to
@@ -1271,14 +1149,15 @@ public java.lang.String getEtag() {
      * 
* * string etag = 5; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -1286,8 +1165,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * This value is computed by the server based on the version of the
      * deployment in storage, and may be sent on update and delete requests to
@@ -1295,22 +1172,20 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 5; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { + public Builder setEtag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** - * - * *
      * This value is computed by the server based on the version of the
      * deployment in storage, and may be sent on update and delete requests to
@@ -1318,18 +1193,15 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 5; - * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** - * - * *
      * This value is computed by the server based on the version of the
      * deployment in storage, and may be sent on update and delete requests to
@@ -1337,23 +1209,23 @@ public Builder clearEtag() {
      * 
* * string etag = 5; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1363,12 +1235,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gsuiteaddons.v1.Deployment) } // @@protoc_insertion_point(class_scope:google.cloud.gsuiteaddons.v1.Deployment) private static final com.google.cloud.gsuiteaddons.v1.Deployment DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gsuiteaddons.v1.Deployment(); } @@ -1377,16 +1249,16 @@ public static com.google.cloud.gsuiteaddons.v1.Deployment getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Deployment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Deployment(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Deployment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Deployment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1401,4 +1273,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gsuiteaddons.v1.Deployment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeploymentName.java b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeploymentName.java similarity index 100% rename from proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeploymentName.java rename to owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeploymentName.java diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeploymentOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeploymentOrBuilder.java similarity index 76% rename from proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeploymentOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeploymentOrBuilder.java index 1c4abb97..23a78098 100644 --- a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeploymentOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeploymentOrBuilder.java @@ -1,137 +1,98 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; -public interface DeploymentOrBuilder - extends +public interface DeploymentOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.Deployment) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The deployment resource name.
    * Example:  projects/123/deployments/my_deployment.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The deployment resource name.
    * Example:  projects/123/deployments/my_deployment.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The list of Google OAuth scopes for which to request consent from the end
    * user before executing an add-on endpoint.
    * 
* * repeated string oauth_scopes = 2; - * * @return A list containing the oauthScopes. */ - java.util.List getOauthScopesList(); + java.util.List + getOauthScopesList(); /** - * - * *
    * The list of Google OAuth scopes for which to request consent from the end
    * user before executing an add-on endpoint.
    * 
* * repeated string oauth_scopes = 2; - * * @return The count of oauthScopes. */ int getOauthScopesCount(); /** - * - * *
    * The list of Google OAuth scopes for which to request consent from the end
    * user before executing an add-on endpoint.
    * 
* * repeated string oauth_scopes = 2; - * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ java.lang.String getOauthScopes(int index); /** - * - * *
    * The list of Google OAuth scopes for which to request consent from the end
    * user before executing an add-on endpoint.
    * 
* * repeated string oauth_scopes = 2; - * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - com.google.protobuf.ByteString getOauthScopesBytes(int index); + com.google.protobuf.ByteString + getOauthScopesBytes(int index); /** - * - * *
    * The Google Workspace Add-on configuration.
    * 
* * .google.cloud.gsuiteaddons.v1.AddOns add_ons = 3; - * * @return Whether the addOns field is set. */ boolean hasAddOns(); /** - * - * *
    * The Google Workspace Add-on configuration.
    * 
* * .google.cloud.gsuiteaddons.v1.AddOns add_ons = 3; - * * @return The addOns. */ com.google.cloud.gsuiteaddons.v1.AddOns getAddOns(); /** - * - * *
    * The Google Workspace Add-on configuration.
    * 
@@ -141,8 +102,6 @@ public interface DeploymentOrBuilder com.google.cloud.gsuiteaddons.v1.AddOnsOrBuilder getAddOnsOrBuilder(); /** - * - * *
    * This value is computed by the server based on the version of the
    * deployment in storage, and may be sent on update and delete requests to
@@ -150,13 +109,10 @@ public interface DeploymentOrBuilder
    * 
* * string etag = 5; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * This value is computed by the server based on the version of the
    * deployment in storage, and may be sent on update and delete requests to
@@ -164,8 +120,8 @@ public interface DeploymentOrBuilder
    * 
* * string etag = 5; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsProto.java b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsProto.java new file mode 100644 index 00000000..2a4ab818 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsProto.java @@ -0,0 +1,345 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto + +package com.google.cloud.gsuiteaddons.v1; + +public final class GSuiteAddOnsProto { + private GSuiteAddOnsProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gsuiteaddons_v1_GetAuthorizationRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gsuiteaddons_v1_GetAuthorizationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gsuiteaddons_v1_Authorization_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gsuiteaddons_v1_Authorization_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gsuiteaddons_v1_CreateDeploymentRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gsuiteaddons_v1_CreateDeploymentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gsuiteaddons_v1_ReplaceDeploymentRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gsuiteaddons_v1_ReplaceDeploymentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gsuiteaddons_v1_GetDeploymentRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gsuiteaddons_v1_GetDeploymentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gsuiteaddons_v1_DeleteDeploymentRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gsuiteaddons_v1_DeleteDeploymentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gsuiteaddons_v1_InstallDeploymentRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gsuiteaddons_v1_InstallDeploymentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gsuiteaddons_v1_UninstallDeploymentRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gsuiteaddons_v1_UninstallDeploymentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gsuiteaddons_v1_GetInstallStatusRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gsuiteaddons_v1_GetInstallStatusRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gsuiteaddons_v1_InstallStatus_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gsuiteaddons_v1_InstallStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gsuiteaddons_v1_Deployment_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gsuiteaddons_v1_Deployment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gsuiteaddons_v1_AddOns_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gsuiteaddons_v1_AddOns_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n/google/cloud/gsuiteaddons/v1/gsuiteadd" + + "ons.proto\022\034google.cloud.gsuiteaddons.v1\032" + + "\034google/api/annotations.proto\032\027google/ap" + + "i/client.proto\032\037google/api/field_behavio" + + "r.proto\032\031google/api/resource.proto\032>goog" + + "le/apps/script/type/calendar/calendar_ad" + + "don_manifest.proto\0326google/apps/script/t" + + "ype/docs/docs_addon_manifest.proto\0328goog" + + "le/apps/script/type/drive/drive_addon_ma" + + "nifest.proto\0328google/apps/script/type/gm" + + "ail/gmail_addon_manifest.proto\032-google/a" + + "pps/script/type/script_manifest.proto\032:g" + + "oogle/apps/script/type/sheets/sheets_add" + + "on_manifest.proto\032:google/apps/script/ty" + + "pe/slides/slides_addon_manifest.proto\032\033g" + + "oogle/protobuf/empty.proto\032\036google/proto" + + "buf/wrappers.proto\"Z\n\027GetAuthorizationRe" + + "quest\022?\n\004name\030\002 \001(\tB1\340A\002\372A+\n)gsuiteaddon" + + "s.googleapis.com/Authorization\"\247\001\n\rAutho" + + "rization\022\014\n\004name\030\001 \001(\t\022\035\n\025service_accoun" + + "t_email\030\002 \001(\t\022\027\n\017oauth_client_id\030\003 \001(\t:P" + + "\352AM\n)gsuiteaddons.googleapis.com/Authori" + + "zation\022 projects/{project}/authorization" + + "\"\275\001\n\027CreateDeploymentRequest\022C\n\006parent\030\001" + + " \001(\tB3\340A\002\372A-\n+cloudresourcemanager.googl" + + "eapis.com/Project\022\032\n\rdeployment_id\030\002 \001(\t" + + "B\003\340A\002\022A\n\ndeployment\030\003 \001(\0132(.google.cloud" + + ".gsuiteaddons.v1.DeploymentB\003\340A\002\"]\n\030Repl" + + "aceDeploymentRequest\022A\n\ndeployment\030\002 \001(\013" + + "2(.google.cloud.gsuiteaddons.v1.Deployme" + + "ntB\003\340A\002\"T\n\024GetDeploymentRequest\022<\n\004name\030" + + "\001 \001(\tB.\340A\002\372A(\n&gsuiteaddons.googleapis.c" + + "om/Deployment\"\204\001\n\026ListDeploymentsRequest" + + "\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudresourcem" + + "anager.googleapis.com/Project\022\021\n\tpage_si" + + "ze\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"q\n\027ListDepl" + + "oymentsResponse\022=\n\013deployments\030\001 \003(\0132(.g" + + "oogle.cloud.gsuiteaddons.v1.Deployment\022\027" + + "\n\017next_page_token\030\002 \001(\t\"e\n\027DeleteDeploym" + + "entRequest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&gsuite" + + "addons.googleapis.com/Deployment\022\014\n\004etag" + + "\030\002 \001(\t\"X\n\030InstallDeploymentRequest\022<\n\004na" + + "me\030\001 \001(\tB.\340A\002\372A(\n&gsuiteaddons.googleapi" + + "s.com/Deployment\"Z\n\032UninstallDeploymentR" + + "equest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&gsuiteaddo" + + "ns.googleapis.com/Deployment\"Z\n\027GetInsta" + + "llStatusRequest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)g" + + "suiteaddons.googleapis.com/InstallStatus" + + "\"\267\001\n\rInstallStatus\022\014\n\004name\030\001 \001(\t\022-\n\tinst" + + "alled\030\002 \001(\0132\032.google.protobuf.BoolValue:" + + "i\352Af\n)gsuiteaddons.googleapis.com/Instal" + + "lStatus\0229projects/{project}/deployments/" + + "{deployment}/installStatus\"\317\001\n\nDeploymen" + + "t\022\014\n\004name\030\001 \001(\t\022\024\n\014oauth_scopes\030\002 \003(\t\0225\n" + + "\007add_ons\030\003 \001(\0132$.google.cloud.gsuiteaddo" + + "ns.v1.AddOns\022\014\n\004etag\030\005 \001(\t:X\352AU\n&gsuitea" + + "ddons.googleapis.com/Deployment\022+project" + + "s/{project}/deployments/{deployment}\"\232\004\n" + + "\006AddOns\022<\n\006common\030\001 \001(\0132,.google.apps.sc" + + "ript.type.CommonAddOnManifest\022@\n\005gmail\030\002" + + " \001(\01321.google.apps.script.type.gmail.Gma" + + "ilAddOnManifest\022@\n\005drive\030\005 \001(\01321.google." + + "apps.script.type.drive.DriveAddOnManifes" + + "t\022I\n\010calendar\030\006 \001(\01327.google.apps.script" + + ".type.calendar.CalendarAddOnManifest\022=\n\004" + + "docs\030\007 \001(\0132/.google.apps.script.type.doc" + + "s.DocsAddOnManifest\022C\n\006sheets\030\010 \001(\01323.go" + + "ogle.apps.script.type.sheets.SheetsAddOn" + + "Manifest\022C\n\006slides\030\n \001(\01323.google.apps.s" + + "cript.type.slides.SlidesAddOnManifest\022:\n" + + "\014http_options\030\017 \001(\0132$.google.apps.script" + + ".type.HttpOptions2\244\r\n\014GSuiteAddOns\022\252\001\n\020G" + + "etAuthorization\0225.google.cloud.gsuiteadd" + + "ons.v1.GetAuthorizationRequest\032+.google." + + "cloud.gsuiteaddons.v1.Authorization\"2\202\323\344" + + "\223\002%\022#/v1/{name=projects/*/authorization}" + + "\332A\004name\022\316\001\n\020CreateDeployment\0225.google.cl" + + "oud.gsuiteaddons.v1.CreateDeploymentRequ" + + "est\032(.google.cloud.gsuiteaddons.v1.Deplo" + + "yment\"Y\202\323\344\223\0021\"#/v1/{parent=projects/*}/d" + + "eployments:\ndeployment\332A\037parent,deployme" + + "nt,deployment_id\022\306\001\n\021ReplaceDeployment\0226" + + ".google.cloud.gsuiteaddons.v1.ReplaceDep" + + "loymentRequest\032(.google.cloud.gsuiteaddo" + + "ns.v1.Deployment\"O\202\323\344\223\002<\032./v1/{deploymen" + + "t.name=projects/*/deployments/*}:\ndeploy" + + "ment\332A\ndeployment\022\241\001\n\rGetDeployment\0222.go" + + "ogle.cloud.gsuiteaddons.v1.GetDeployment" + + "Request\032(.google.cloud.gsuiteaddons.v1.D" + + "eployment\"2\202\323\344\223\002%\022#/v1/{name=projects/*/" + + "deployments/*}\332A\004name\022\264\001\n\017ListDeployment" + + "s\0224.google.cloud.gsuiteaddons.v1.ListDep" + + "loymentsRequest\0325.google.cloud.gsuiteadd" + + "ons.v1.ListDeploymentsResponse\"4\202\323\344\223\002%\022#" + + "/v1/{parent=projects/*}/deployments\332A\006pa" + + "rent\022\225\001\n\020DeleteDeployment\0225.google.cloud" + + ".gsuiteaddons.v1.DeleteDeploymentRequest" + + "\032\026.google.protobuf.Empty\"2\202\323\344\223\002%*#/v1/{n" + + "ame=projects/*/deployments/*}\332A\004name\022\242\001\n" + + "\021InstallDeployment\0226.google.cloud.gsuite" + + "addons.v1.InstallDeploymentRequest\032\026.goo" + + "gle.protobuf.Empty\"=\202\323\344\223\0020\"+/v1/{name=pr" + + "ojects/*/deployments/*}:install:\001*\332A\004nam" + + "e\022\250\001\n\023UninstallDeployment\0228.google.cloud" + + ".gsuiteaddons.v1.UninstallDeploymentRequ" + + "est\032\026.google.protobuf.Empty\"?\202\323\344\223\0022\"-/v1" + + "/{name=projects/*/deployments/*}:uninsta" + + "ll:\001*\332A\004name\022\270\001\n\020GetInstallStatus\0225.goog" + + "le.cloud.gsuiteaddons.v1.GetInstallStatu" + + "sRequest\032+.google.cloud.gsuiteaddons.v1." + + "InstallStatus\"@\202\323\344\223\0023\0221/v1/{name=project" + + "s/*/deployments/*/installStatus}\332A\004name\032" + + "O\312A\033gsuiteaddons.googleapis.com\322A.https:" + + "//www.googleapis.com/auth/cloud-platform" + + "B\341\001\n com.google.cloud.gsuiteaddons.v1B\021G" + + "SuiteAddOnsProtoP\001ZHgoogle.golang.org/ge" + + "nproto/googleapis/cloud/gsuiteaddons/v1;" + + "gsuiteaddons\252\002\034Google.Cloud.GSuiteAddOns" + + ".V1\312\002\034Google\\Cloud\\GSuiteAddOns\\V1\352\002\037Goo" + + "gle::Cloud::GSuiteAddOns::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.apps.script.type.calendar.CalendarAddOnManifestProto.getDescriptor(), + com.google.apps.script.type.docs.DocsAddOnManifestProto.getDescriptor(), + com.google.apps.script.type.drive.DriveAddOnManifestProto.getDescriptor(), + com.google.apps.script.type.gmail.GmailAddOnManifestProto.getDescriptor(), + com.google.apps.script.type.ScriptManifest.getDescriptor(), + com.google.apps.script.type.sheets.SheetsAddOnManifestProto.getDescriptor(), + com.google.apps.script.type.slides.SlidesAddOnManifestProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.WrappersProto.getDescriptor(), + }); + internal_static_google_cloud_gsuiteaddons_v1_GetAuthorizationRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_gsuiteaddons_v1_GetAuthorizationRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gsuiteaddons_v1_GetAuthorizationRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_gsuiteaddons_v1_Authorization_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_gsuiteaddons_v1_Authorization_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gsuiteaddons_v1_Authorization_descriptor, + new java.lang.String[] { "Name", "ServiceAccountEmail", "OauthClientId", }); + internal_static_google_cloud_gsuiteaddons_v1_CreateDeploymentRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_gsuiteaddons_v1_CreateDeploymentRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gsuiteaddons_v1_CreateDeploymentRequest_descriptor, + new java.lang.String[] { "Parent", "DeploymentId", "Deployment", }); + internal_static_google_cloud_gsuiteaddons_v1_ReplaceDeploymentRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_gsuiteaddons_v1_ReplaceDeploymentRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gsuiteaddons_v1_ReplaceDeploymentRequest_descriptor, + new java.lang.String[] { "Deployment", }); + internal_static_google_cloud_gsuiteaddons_v1_GetDeploymentRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_gsuiteaddons_v1_GetDeploymentRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gsuiteaddons_v1_GetDeploymentRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsResponse_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsResponse_descriptor, + new java.lang.String[] { "Deployments", "NextPageToken", }); + internal_static_google_cloud_gsuiteaddons_v1_DeleteDeploymentRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_gsuiteaddons_v1_DeleteDeploymentRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gsuiteaddons_v1_DeleteDeploymentRequest_descriptor, + new java.lang.String[] { "Name", "Etag", }); + internal_static_google_cloud_gsuiteaddons_v1_InstallDeploymentRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_gsuiteaddons_v1_InstallDeploymentRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gsuiteaddons_v1_InstallDeploymentRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_gsuiteaddons_v1_UninstallDeploymentRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_gsuiteaddons_v1_UninstallDeploymentRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gsuiteaddons_v1_UninstallDeploymentRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_gsuiteaddons_v1_GetInstallStatusRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_gsuiteaddons_v1_GetInstallStatusRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gsuiteaddons_v1_GetInstallStatusRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_gsuiteaddons_v1_InstallStatus_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_gsuiteaddons_v1_InstallStatus_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gsuiteaddons_v1_InstallStatus_descriptor, + new java.lang.String[] { "Name", "Installed", }); + internal_static_google_cloud_gsuiteaddons_v1_Deployment_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_gsuiteaddons_v1_Deployment_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gsuiteaddons_v1_Deployment_descriptor, + new java.lang.String[] { "Name", "OauthScopes", "AddOns", "Etag", }); + internal_static_google_cloud_gsuiteaddons_v1_AddOns_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_gsuiteaddons_v1_AddOns_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gsuiteaddons_v1_AddOns_descriptor, + new java.lang.String[] { "Common", "Gmail", "Drive", "Calendar", "Docs", "Sheets", "Slides", "HttpOptions", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.apps.script.type.calendar.CalendarAddOnManifestProto.getDescriptor(); + com.google.apps.script.type.docs.DocsAddOnManifestProto.getDescriptor(); + com.google.apps.script.type.drive.DriveAddOnManifestProto.getDescriptor(); + com.google.apps.script.type.gmail.GmailAddOnManifestProto.getDescriptor(); + com.google.apps.script.type.ScriptManifest.getDescriptor(); + com.google.apps.script.type.sheets.SheetsAddOnManifestProto.getDescriptor(); + com.google.apps.script.type.slides.SlidesAddOnManifestProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.WrappersProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetAuthorizationRequest.java b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetAuthorizationRequest.java similarity index 65% rename from proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetAuthorizationRequest.java rename to owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetAuthorizationRequest.java index afa8d8b1..1385003a 100644 --- a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetAuthorizationRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetAuthorizationRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; /** - * - * *
  * Request message to get Google Workspace Add-ons authorization information.
  * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.GetAuthorizationRequest} */ -public final class GetAuthorizationRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetAuthorizationRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gsuiteaddons.v1.GetAuthorizationRequest) GetAuthorizationRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetAuthorizationRequest.newBuilder() to construct. private GetAuthorizationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetAuthorizationRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetAuthorizationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetAuthorizationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetAuthorizationRequest( case 0: done = true; break; - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,43 +73,36 @@ private GetAuthorizationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_GetAuthorizationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_GetAuthorizationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_GetAuthorizationRequest_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_GetAuthorizationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest.class, - com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest.Builder.class); + com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest.class, com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** - * - * *
    * Required. Name of the project for which to get the Google Workspace Add-ons
    * authorization information.
    * Example: `projects/my_project/authorization`.
    * 
* - * - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -136,33 +111,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Name of the project for which to get the Google Workspace Add-ons
    * authorization information.
    * Example: `projects/my_project/authorization`.
    * 
* - * - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -171,7 +144,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,7 +155,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); } @@ -207,15 +180,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest)) { return super.equals(obj); } - com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest other = - (com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest) obj; + com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest other = (com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -235,127 +208,117 @@ public int hashCode() { } public static com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest prototype) { + public static Builder newBuilder(com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message to get Google Workspace Add-ons authorization information.
    * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.GetAuthorizationRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gsuiteaddons.v1.GetAuthorizationRequest) com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_GetAuthorizationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_GetAuthorizationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_GetAuthorizationRequest_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_GetAuthorizationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest.class, - com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest.Builder.class); + com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest.class, com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest.Builder.class); } // Construct using com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest.newBuilder() @@ -363,15 +326,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -381,9 +345,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_GetAuthorizationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_GetAuthorizationRequest_descriptor; } @java.lang.Override @@ -402,8 +366,7 @@ public com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest build() { @java.lang.Override public com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest buildPartial() { - com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest result = - new com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest(this); + com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest result = new com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest(this); result.name_ = name_; onBuilt(); return result; @@ -413,39 +376,38 @@ public com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest) { - return mergeFrom((com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest) other); + return mergeFrom((com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest)other); } else { super.mergeFrom(other); return this; @@ -453,8 +415,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest other) { - if (other == com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -478,8 +439,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -491,24 +451,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. Name of the project for which to get the Google Workspace Add-ons
      * authorization information.
      * Example: `projects/my_project/authorization`.
      * 
* - * - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -517,25 +473,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Name of the project for which to get the Google Workspace Add-ons
      * authorization information.
      * Example: `projects/my_project/authorization`.
      * 
* - * - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -543,80 +496,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the project for which to get the Google Workspace Add-ons
      * authorization information.
      * Example: `projects/my_project/authorization`.
      * 
* - * - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Name of the project for which to get the Google Workspace Add-ons
      * authorization information.
      * Example: `projects/my_project/authorization`.
      * 
* - * - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. Name of the project for which to get the Google Workspace Add-ons
      * authorization information.
      * Example: `projects/my_project/authorization`.
      * 
* - * - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -626,12 +566,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gsuiteaddons.v1.GetAuthorizationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gsuiteaddons.v1.GetAuthorizationRequest) private static final com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest(); } @@ -640,16 +580,16 @@ public static com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAuthorizationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetAuthorizationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAuthorizationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetAuthorizationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -664,4 +604,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetAuthorizationRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetAuthorizationRequestOrBuilder.java new file mode 100644 index 00000000..bd17d159 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetAuthorizationRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto + +package com.google.cloud.gsuiteaddons.v1; + +public interface GetAuthorizationRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.GetAuthorizationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Name of the project for which to get the Google Workspace Add-ons
+   * authorization information.
+   * Example: `projects/my_project/authorization`.
+   * 
+ * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Name of the project for which to get the Google Workspace Add-ons
+   * authorization information.
+   * Example: `projects/my_project/authorization`.
+   * 
+ * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetDeploymentRequest.java b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetDeploymentRequest.java similarity index 65% rename from proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetDeploymentRequest.java rename to owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetDeploymentRequest.java index fca02956..97f9c73e 100644 --- a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetDeploymentRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetDeploymentRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; /** - * - * *
  * Request message to get a deployment.
  * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.GetDeploymentRequest} */ -public final class GetDeploymentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetDeploymentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gsuiteaddons.v1.GetDeploymentRequest) GetDeploymentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetDeploymentRequest.newBuilder() to construct. private GetDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetDeploymentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetDeploymentRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private GetDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_GetDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_GetDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_GetDeploymentRequest_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_GetDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest.class, - com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest.Builder.class); + com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest.class, com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The full resource name of the deployment to get.
    * Example:  `projects/my_project/deployments/my_deployment`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The full resource name of the deployment to get.
    * Example:  `projects/my_project/deployments/my_deployment`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest other = - (com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest) obj; + com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest other = (com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ public int hashCode() { } public static com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest prototype) { + public static Builder newBuilder(com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message to get a deployment.
    * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.GetDeploymentRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gsuiteaddons.v1.GetDeploymentRequest) com.google.cloud.gsuiteaddons.v1.GetDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_GetDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_GetDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_GetDeploymentRequest_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_GetDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest.class, - com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest.Builder.class); + com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest.class, com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest.Builder.class); } // Construct using com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest.newBuilder() @@ -361,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_GetDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_GetDeploymentRequest_descriptor; } @java.lang.Override @@ -400,8 +364,7 @@ public com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest build() { @java.lang.Override public com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest buildPartial() { - com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest result = - new com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest(this); + com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest result = new com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest(this); result.name_ = name_; onBuilt(); return result; @@ -411,39 +374,38 @@ public com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest) { - return mergeFrom((com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest) other); + return mergeFrom((com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest)other); } else { super.mergeFrom(other); return this; @@ -451,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest other) { - if (other == com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The full resource name of the deployment to get.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -514,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The full resource name of the deployment to get.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -539,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The full resource name of the deployment to get.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The full resource name of the deployment to get.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The full resource name of the deployment to get.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -619,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gsuiteaddons.v1.GetDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gsuiteaddons.v1.GetDeploymentRequest) private static final com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest(); } @@ -633,16 +573,16 @@ public static com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetDeploymentRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetDeploymentRequestOrBuilder.java new file mode 100644 index 00000000..138deae5 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetDeploymentRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto + +package com.google.cloud.gsuiteaddons.v1; + +public interface GetDeploymentRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.GetDeploymentRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The full resource name of the deployment to get.
+   * Example:  `projects/my_project/deployments/my_deployment`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The full resource name of the deployment to get.
+   * Example:  `projects/my_project/deployments/my_deployment`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetInstallStatusRequest.java b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetInstallStatusRequest.java similarity index 65% rename from proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetInstallStatusRequest.java rename to owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetInstallStatusRequest.java index 3bb34965..e69ee5ad 100644 --- a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetInstallStatusRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetInstallStatusRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; /** - * - * *
  * Request message to get the install status of a developer mode deployment.
  * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.GetInstallStatusRequest} */ -public final class GetInstallStatusRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetInstallStatusRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gsuiteaddons.v1.GetInstallStatusRequest) GetInstallStatusRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetInstallStatusRequest.newBuilder() to construct. private GetInstallStatusRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetInstallStatusRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetInstallStatusRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetInstallStatusRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetInstallStatusRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private GetInstallStatusRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_GetInstallStatusRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_GetInstallStatusRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_GetInstallStatusRequest_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_GetInstallStatusRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest.class, - com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest.Builder.class); + com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest.class, com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The full resource name of the deployment.
    * Example:  `projects/my_project/deployments/my_deployment/installStatus`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The full resource name of the deployment.
    * Example:  `projects/my_project/deployments/my_deployment/installStatus`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest)) { return super.equals(obj); } - com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest other = - (com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest) obj; + com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest other = (com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ public int hashCode() { } public static com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest prototype) { + public static Builder newBuilder(com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message to get the install status of a developer mode deployment.
    * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.GetInstallStatusRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gsuiteaddons.v1.GetInstallStatusRequest) com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_GetInstallStatusRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_GetInstallStatusRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_GetInstallStatusRequest_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_GetInstallStatusRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest.class, - com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest.Builder.class); + com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest.class, com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest.Builder.class); } // Construct using com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest.newBuilder() @@ -361,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_GetInstallStatusRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_GetInstallStatusRequest_descriptor; } @java.lang.Override @@ -400,8 +364,7 @@ public com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest build() { @java.lang.Override public com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest buildPartial() { - com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest result = - new com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest(this); + com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest result = new com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest(this); result.name_ = name_; onBuilt(); return result; @@ -411,39 +374,38 @@ public com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest) { - return mergeFrom((com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest) other); + return mergeFrom((com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest)other); } else { super.mergeFrom(other); return this; @@ -451,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest other) { - if (other == com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The full resource name of the deployment.
      * Example:  `projects/my_project/deployments/my_deployment/installStatus`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -514,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The full resource name of the deployment.
      * Example:  `projects/my_project/deployments/my_deployment/installStatus`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -539,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The full resource name of the deployment.
      * Example:  `projects/my_project/deployments/my_deployment/installStatus`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The full resource name of the deployment.
      * Example:  `projects/my_project/deployments/my_deployment/installStatus`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The full resource name of the deployment.
      * Example:  `projects/my_project/deployments/my_deployment/installStatus`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -619,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gsuiteaddons.v1.GetInstallStatusRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gsuiteaddons.v1.GetInstallStatusRequest) private static final com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest(); } @@ -633,16 +573,16 @@ public static com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetInstallStatusRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetInstallStatusRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetInstallStatusRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetInstallStatusRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetInstallStatusRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetInstallStatusRequestOrBuilder.java new file mode 100644 index 00000000..ab33fda1 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetInstallStatusRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto + +package com.google.cloud.gsuiteaddons.v1; + +public interface GetInstallStatusRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.GetInstallStatusRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The full resource name of the deployment.
+   * Example:  `projects/my_project/deployments/my_deployment/installStatus`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The full resource name of the deployment.
+   * Example:  `projects/my_project/deployments/my_deployment/installStatus`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallDeploymentRequest.java b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallDeploymentRequest.java similarity index 65% rename from proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallDeploymentRequest.java rename to owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallDeploymentRequest.java index 18c4f57c..eff102ac 100644 --- a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallDeploymentRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallDeploymentRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; /** - * - * *
  * Request message to install a developer mode deployment.
  * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.InstallDeploymentRequest} */ -public final class InstallDeploymentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class InstallDeploymentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gsuiteaddons.v1.InstallDeploymentRequest) InstallDeploymentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use InstallDeploymentRequest.newBuilder() to construct. private InstallDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InstallDeploymentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new InstallDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private InstallDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private InstallDeploymentRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private InstallDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_InstallDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_InstallDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_InstallDeploymentRequest_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_InstallDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest.class, - com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest.Builder.class); + com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest.class, com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The full resource name of the deployment to install.
    * Example:  `projects/my_project/deployments/my_deployment`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The full resource name of the deployment to install.
    * Example:  `projects/my_project/deployments/my_deployment`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest other = - (com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest) obj; + com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest other = (com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ public int hashCode() { } public static com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest prototype) { + public static Builder newBuilder(com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message to install a developer mode deployment.
    * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.InstallDeploymentRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gsuiteaddons.v1.InstallDeploymentRequest) com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_InstallDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_InstallDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_InstallDeploymentRequest_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_InstallDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest.class, - com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest.Builder.class); + com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest.class, com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest.Builder.class); } // Construct using com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest.newBuilder() @@ -361,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_InstallDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_InstallDeploymentRequest_descriptor; } @java.lang.Override @@ -400,8 +364,7 @@ public com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest build() { @java.lang.Override public com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest buildPartial() { - com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest result = - new com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest(this); + com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest result = new com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest(this); result.name_ = name_; onBuilt(); return result; @@ -411,39 +374,38 @@ public com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest) { - return mergeFrom((com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest) other); + return mergeFrom((com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest)other); } else { super.mergeFrom(other); return this; @@ -451,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest other) { - if (other == com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The full resource name of the deployment to install.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -514,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The full resource name of the deployment to install.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -539,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The full resource name of the deployment to install.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The full resource name of the deployment to install.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The full resource name of the deployment to install.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -619,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gsuiteaddons.v1.InstallDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gsuiteaddons.v1.InstallDeploymentRequest) private static final com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest(); } @@ -633,16 +573,16 @@ public static com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InstallDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InstallDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstallDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InstallDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallDeploymentRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallDeploymentRequestOrBuilder.java new file mode 100644 index 00000000..f513e897 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallDeploymentRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto + +package com.google.cloud.gsuiteaddons.v1; + +public interface InstallDeploymentRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.InstallDeploymentRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The full resource name of the deployment to install.
+   * Example:  `projects/my_project/deployments/my_deployment`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The full resource name of the deployment to install.
+   * Example:  `projects/my_project/deployments/my_deployment`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallStatus.java b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallStatus.java similarity index 71% rename from proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallStatus.java rename to owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallStatus.java index 84375bc1..ba9b09e1 100644 --- a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallStatus.java +++ b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallStatus.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; /** - * - * *
  * Developer mode install status of a deployment
  * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.InstallStatus} */ -public final class InstallStatus extends com.google.protobuf.GeneratedMessageV3 - implements +public final class InstallStatus extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gsuiteaddons.v1.InstallStatus) InstallStatusOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use InstallStatus.newBuilder() to construct. private InstallStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InstallStatus() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new InstallStatus(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private InstallStatus( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,35 +53,32 @@ private InstallStatus( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.protobuf.BoolValue.Builder subBuilder = null; + if (installed_ != null) { + subBuilder = installed_.toBuilder(); } - case 18: - { - com.google.protobuf.BoolValue.Builder subBuilder = null; - if (installed_ != null) { - subBuilder = installed_.toBuilder(); - } - installed_ = - input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(installed_); - installed_ = subBuilder.buildPartial(); - } - - break; + installed_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(installed_); + installed_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,40 +86,35 @@ private InstallStatus( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_InstallStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_InstallStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_InstallStatus_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_InstallStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.InstallStatus.class, - com.google.cloud.gsuiteaddons.v1.InstallStatus.Builder.class); + com.google.cloud.gsuiteaddons.v1.InstallStatus.class, com.google.cloud.gsuiteaddons.v1.InstallStatus.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The canonical full resource name of the deployment install status.
    * Example:  `projects/123/deployments/my_deployment/installStatus`.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -148,30 +123,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The canonical full resource name of the deployment install status.
    * Example:  `projects/123/deployments/my_deployment/installStatus`.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -182,14 +157,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int INSTALLED_FIELD_NUMBER = 2; private com.google.protobuf.BoolValue installed_; /** - * - * *
    * True if the deployment is installed for the user
    * 
* * .google.protobuf.BoolValue installed = 2; - * * @return Whether the installed field is set. */ @java.lang.Override @@ -197,14 +169,11 @@ public boolean hasInstalled() { return installed_ != null; } /** - * - * *
    * True if the deployment is installed for the user
    * 
* * .google.protobuf.BoolValue installed = 2; - * * @return The installed. */ @java.lang.Override @@ -212,8 +181,6 @@ public com.google.protobuf.BoolValue getInstalled() { return installed_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : installed_; } /** - * - * *
    * True if the deployment is installed for the user
    * 
@@ -226,7 +193,6 @@ public com.google.protobuf.BoolValueOrBuilder getInstalledOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -238,7 +204,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -258,7 +225,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (installed_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getInstalled()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getInstalled()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -268,18 +236,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gsuiteaddons.v1.InstallStatus)) { return super.equals(obj); } - com.google.cloud.gsuiteaddons.v1.InstallStatus other = - (com.google.cloud.gsuiteaddons.v1.InstallStatus) obj; + com.google.cloud.gsuiteaddons.v1.InstallStatus other = (com.google.cloud.gsuiteaddons.v1.InstallStatus) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasInstalled() != other.hasInstalled()) return false; if (hasInstalled()) { - if (!getInstalled().equals(other.getInstalled())) return false; + if (!getInstalled() + .equals(other.getInstalled())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -303,127 +272,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.gsuiteaddons.v1.InstallStatus parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.gsuiteaddons.v1.InstallStatus parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.InstallStatus parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.InstallStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.InstallStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.InstallStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.InstallStatus parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.InstallStatus parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.InstallStatus parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.gsuiteaddons.v1.InstallStatus parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gsuiteaddons.v1.InstallStatus parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.InstallStatus parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.InstallStatus parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.InstallStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gsuiteaddons.v1.InstallStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Developer mode install status of a deployment
    * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.InstallStatus} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gsuiteaddons.v1.InstallStatus) com.google.cloud.gsuiteaddons.v1.InstallStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_InstallStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_InstallStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_InstallStatus_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_InstallStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.InstallStatus.class, - com.google.cloud.gsuiteaddons.v1.InstallStatus.Builder.class); + com.google.cloud.gsuiteaddons.v1.InstallStatus.class, com.google.cloud.gsuiteaddons.v1.InstallStatus.Builder.class); } // Construct using com.google.cloud.gsuiteaddons.v1.InstallStatus.newBuilder() @@ -431,15 +391,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -455,9 +416,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_InstallStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_InstallStatus_descriptor; } @java.lang.Override @@ -476,8 +437,7 @@ public com.google.cloud.gsuiteaddons.v1.InstallStatus build() { @java.lang.Override public com.google.cloud.gsuiteaddons.v1.InstallStatus buildPartial() { - com.google.cloud.gsuiteaddons.v1.InstallStatus result = - new com.google.cloud.gsuiteaddons.v1.InstallStatus(this); + com.google.cloud.gsuiteaddons.v1.InstallStatus result = new com.google.cloud.gsuiteaddons.v1.InstallStatus(this); result.name_ = name_; if (installedBuilder_ == null) { result.installed_ = installed_; @@ -492,39 +452,38 @@ public com.google.cloud.gsuiteaddons.v1.InstallStatus buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gsuiteaddons.v1.InstallStatus) { - return mergeFrom((com.google.cloud.gsuiteaddons.v1.InstallStatus) other); + return mergeFrom((com.google.cloud.gsuiteaddons.v1.InstallStatus)other); } else { super.mergeFrom(other); return this; @@ -571,21 +530,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The canonical full resource name of the deployment install status.
      * Example:  `projects/123/deployments/my_deployment/installStatus`.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -594,22 +551,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The canonical full resource name of the deployment install status.
      * Example:  `projects/123/deployments/my_deployment/installStatus`.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -617,64 +573,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The canonical full resource name of the deployment install status.
      * Example:  `projects/123/deployments/my_deployment/installStatus`.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The canonical full resource name of the deployment install status.
      * Example:  `projects/123/deployments/my_deployment/installStatus`.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The canonical full resource name of the deployment install status.
      * Example:  `projects/123/deployments/my_deployment/installStatus`.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -682,33 +631,24 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.BoolValue installed_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, - com.google.protobuf.BoolValue.Builder, - com.google.protobuf.BoolValueOrBuilder> - installedBuilder_; + com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> installedBuilder_; /** - * - * *
      * True if the deployment is installed for the user
      * 
* * .google.protobuf.BoolValue installed = 2; - * * @return Whether the installed field is set. */ public boolean hasInstalled() { return installedBuilder_ != null || installed_ != null; } /** - * - * *
      * True if the deployment is installed for the user
      * 
* * .google.protobuf.BoolValue installed = 2; - * * @return The installed. */ public com.google.protobuf.BoolValue getInstalled() { @@ -719,8 +659,6 @@ public com.google.protobuf.BoolValue getInstalled() { } } /** - * - * *
      * True if the deployment is installed for the user
      * 
@@ -741,15 +679,14 @@ public Builder setInstalled(com.google.protobuf.BoolValue value) { return this; } /** - * - * *
      * True if the deployment is installed for the user
      * 
* * .google.protobuf.BoolValue installed = 2; */ - public Builder setInstalled(com.google.protobuf.BoolValue.Builder builderForValue) { + public Builder setInstalled( + com.google.protobuf.BoolValue.Builder builderForValue) { if (installedBuilder_ == null) { installed_ = builderForValue.build(); onChanged(); @@ -760,8 +697,6 @@ public Builder setInstalled(com.google.protobuf.BoolValue.Builder builderForValu return this; } /** - * - * *
      * True if the deployment is installed for the user
      * 
@@ -772,7 +707,7 @@ public Builder mergeInstalled(com.google.protobuf.BoolValue value) { if (installedBuilder_ == null) { if (installed_ != null) { installed_ = - com.google.protobuf.BoolValue.newBuilder(installed_).mergeFrom(value).buildPartial(); + com.google.protobuf.BoolValue.newBuilder(installed_).mergeFrom(value).buildPartial(); } else { installed_ = value; } @@ -784,8 +719,6 @@ public Builder mergeInstalled(com.google.protobuf.BoolValue value) { return this; } /** - * - * *
      * True if the deployment is installed for the user
      * 
@@ -804,8 +737,6 @@ public Builder clearInstalled() { return this; } /** - * - * *
      * True if the deployment is installed for the user
      * 
@@ -813,13 +744,11 @@ public Builder clearInstalled() { * .google.protobuf.BoolValue installed = 2; */ public com.google.protobuf.BoolValue.Builder getInstalledBuilder() { - + onChanged(); return getInstalledFieldBuilder().getBuilder(); } /** - * - * *
      * True if the deployment is installed for the user
      * 
@@ -830,12 +759,11 @@ public com.google.protobuf.BoolValueOrBuilder getInstalledOrBuilder() { if (installedBuilder_ != null) { return installedBuilder_.getMessageOrBuilder(); } else { - return installed_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : installed_; + return installed_ == null ? + com.google.protobuf.BoolValue.getDefaultInstance() : installed_; } } /** - * - * *
      * True if the deployment is installed for the user
      * 
@@ -843,24 +771,21 @@ public com.google.protobuf.BoolValueOrBuilder getInstalledOrBuilder() { * .google.protobuf.BoolValue installed = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, - com.google.protobuf.BoolValue.Builder, - com.google.protobuf.BoolValueOrBuilder> + com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> getInstalledFieldBuilder() { if (installedBuilder_ == null) { - installedBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, - com.google.protobuf.BoolValue.Builder, - com.google.protobuf.BoolValueOrBuilder>( - getInstalled(), getParentForChildren(), isClean()); + installedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>( + getInstalled(), + getParentForChildren(), + isClean()); installed_ = null; } return installedBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -870,12 +795,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gsuiteaddons.v1.InstallStatus) } // @@protoc_insertion_point(class_scope:google.cloud.gsuiteaddons.v1.InstallStatus) private static final com.google.cloud.gsuiteaddons.v1.InstallStatus DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gsuiteaddons.v1.InstallStatus(); } @@ -884,16 +809,16 @@ public static com.google.cloud.gsuiteaddons.v1.InstallStatus getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InstallStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InstallStatus(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstallStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InstallStatus(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -908,4 +833,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gsuiteaddons.v1.InstallStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallStatusName.java b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallStatusName.java similarity index 100% rename from proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallStatusName.java rename to owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallStatusName.java diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallStatusOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallStatusOrBuilder.java similarity index 66% rename from proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallStatusOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallStatusOrBuilder.java index adc31ff7..bf1f67e4 100644 --- a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallStatusOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallStatusOrBuilder.java @@ -1,82 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; -public interface InstallStatusOrBuilder - extends +public interface InstallStatusOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.InstallStatus) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The canonical full resource name of the deployment install status.
    * Example:  `projects/123/deployments/my_deployment/installStatus`.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The canonical full resource name of the deployment install status.
    * Example:  `projects/123/deployments/my_deployment/installStatus`.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * True if the deployment is installed for the user
    * 
* * .google.protobuf.BoolValue installed = 2; - * * @return Whether the installed field is set. */ boolean hasInstalled(); /** - * - * *
    * True if the deployment is installed for the user
    * 
* * .google.protobuf.BoolValue installed = 2; - * * @return The installed. */ com.google.protobuf.BoolValue getInstalled(); /** - * - * *
    * True if the deployment is installed for the user
    * 
diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsRequest.java b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsRequest.java similarity index 69% rename from proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsRequest.java index 7a1f3bf3..a3e820b8 100644 --- a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; /** - * - * *
  * Request message to list deployments for a project.
  * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.ListDeploymentsRequest} */ -public final class ListDeploymentsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDeploymentsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gsuiteaddons.v1.ListDeploymentsRequest) ListDeploymentsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDeploymentsRequest.newBuilder() to construct. private ListDeploymentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDeploymentsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListDeploymentsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDeploymentsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListDeploymentsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private ListDeploymentsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,42 +85,35 @@ private ListDeploymentsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsRequest_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest.class, - com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest.Builder.class); + com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest.class, com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. Name of the project in which to create the deployment.
    * Example: `projects/my_project`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -148,32 +122,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. Name of the project in which to create the deployment.
    * Example: `projects/my_project`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -184,8 +156,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of deployments to return. The service may return fewer
    * than this value.
@@ -194,7 +164,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -205,8 +174,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A page token, received from a previous `ListDeployments` call.
    * Provide this to retrieve the subsequent page.
@@ -215,7 +182,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -224,15 +190,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * A page token, received from a previous `ListDeployments` call.
    * Provide this to retrieve the subsequent page.
@@ -241,15 +206,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -258,7 +224,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -270,7 +235,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -293,7 +259,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -306,17 +273,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest)) { return super.equals(obj); } - com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest other = - (com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest) obj; + com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest other = (com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -340,127 +309,117 @@ public int hashCode() { } public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest prototype) { + public static Builder newBuilder(com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message to list deployments for a project.
    * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.ListDeploymentsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gsuiteaddons.v1.ListDeploymentsRequest) com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsRequest_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest.class, - com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest.Builder.class); + com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest.class, com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest.Builder.class); } // Construct using com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest.newBuilder() @@ -468,15 +427,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -490,9 +450,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsRequest_descriptor; } @java.lang.Override @@ -511,8 +471,7 @@ public com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest build() { @java.lang.Override public com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest buildPartial() { - com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest result = - new com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest(this); + com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest result = new com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -524,39 +483,38 @@ public com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest) { - return mergeFrom((com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest) other); + return mergeFrom((com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest)other); } else { super.mergeFrom(other); return this; @@ -564,8 +522,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest other) { - if (other == com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -596,8 +553,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -609,23 +565,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. Name of the project in which to create the deployment.
      * Example: `projects/my_project`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -634,24 +586,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Name of the project in which to create the deployment.
      * Example: `projects/my_project`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -659,79 +608,64 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Name of the project in which to create the deployment.
      * Example: `projects/my_project`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. Name of the project in which to create the deployment.
      * Example: `projects/my_project`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. Name of the project in which to create the deployment.
      * Example: `projects/my_project`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of deployments to return. The service may return fewer
      * than this value.
@@ -740,7 +674,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -748,8 +681,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of deployments to return. The service may return fewer
      * than this value.
@@ -758,19 +689,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of deployments to return. The service may return fewer
      * than this value.
@@ -779,11 +707,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -791,8 +718,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListDeployments` call.
      * Provide this to retrieve the subsequent page.
@@ -801,13 +726,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -816,8 +741,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListDeployments` call.
      * Provide this to retrieve the subsequent page.
@@ -826,14 +749,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -841,8 +765,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListDeployments` call.
      * Provide this to retrieve the subsequent page.
@@ -851,22 +773,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListDeployments` call.
      * Provide this to retrieve the subsequent page.
@@ -875,18 +795,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListDeployments` call.
      * Provide this to retrieve the subsequent page.
@@ -895,23 +812,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -921,12 +838,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gsuiteaddons.v1.ListDeploymentsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gsuiteaddons.v1.ListDeploymentsRequest) private static final com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest(); } @@ -935,16 +852,16 @@ public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDeploymentsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDeploymentsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDeploymentsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListDeploymentsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -959,4 +876,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsRequestOrBuilder.java similarity index 62% rename from proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsRequestOrBuilder.java index c924f869..aeee16ad 100644 --- a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; -public interface ListDeploymentsRequestOrBuilder - extends +public interface ListDeploymentsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.ListDeploymentsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Name of the project in which to create the deployment.
    * Example: `projects/my_project`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. Name of the project in which to create the deployment.
    * Example: `projects/my_project`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of deployments to return. The service may return fewer
    * than this value.
@@ -65,14 +38,11 @@ public interface ListDeploymentsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListDeployments` call.
    * Provide this to retrieve the subsequent page.
@@ -81,13 +51,10 @@ public interface ListDeploymentsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListDeployments` call.
    * Provide this to retrieve the subsequent page.
@@ -96,8 +63,8 @@ public interface ListDeploymentsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsResponse.java b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsResponse.java similarity index 74% rename from proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsResponse.java index 8a3bf5a1..471216c9 100644 --- a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; /** - * - * *
  * Response message to list deployments.
  * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.ListDeploymentsResponse} */ -public final class ListDeploymentsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDeploymentsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gsuiteaddons.v1.ListDeploymentsResponse) ListDeploymentsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDeploymentsResponse.newBuilder() to construct. private ListDeploymentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDeploymentsResponse() { deployments_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListDeploymentsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDeploymentsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListDeploymentsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +55,28 @@ private ListDeploymentsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - deployments_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - deployments_.add( - input.readMessage( - com.google.cloud.gsuiteaddons.v1.Deployment.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + deployments_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + deployments_.add( + input.readMessage(com.google.cloud.gsuiteaddons.v1.Deployment.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,7 +84,8 @@ private ListDeploymentsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { deployments_ = java.util.Collections.unmodifiableList(deployments_); @@ -114,27 +94,22 @@ private ListDeploymentsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsResponse_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse.class, - com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse.Builder.class); + com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse.class, com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse.Builder.class); } public static final int DEPLOYMENTS_FIELD_NUMBER = 1; private java.util.List deployments_; /** - * - * *
    * The list of deployments for the given project.
    * 
@@ -146,8 +121,6 @@ public java.util.List getDeployment return deployments_; } /** - * - * *
    * The list of deployments for the given project.
    * 
@@ -155,13 +128,11 @@ public java.util.List getDeployment * repeated .google.cloud.gsuiteaddons.v1.Deployment deployments = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDeploymentsOrBuilderList() { return deployments_; } /** - * - * *
    * The list of deployments for the given project.
    * 
@@ -173,8 +144,6 @@ public int getDeploymentsCount() { return deployments_.size(); } /** - * - * *
    * The list of deployments for the given project.
    * 
@@ -186,8 +155,6 @@ public com.google.cloud.gsuiteaddons.v1.Deployment getDeployments(int index) { return deployments_.get(index); } /** - * - * *
    * The list of deployments for the given project.
    * 
@@ -195,22 +162,20 @@ public com.google.cloud.gsuiteaddons.v1.Deployment getDeployments(int index) { * repeated .google.cloud.gsuiteaddons.v1.Deployment deployments = 1; */ @java.lang.Override - public com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder getDeploymentsOrBuilder(int index) { + public com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder getDeploymentsOrBuilder( + int index) { return deployments_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -219,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -251,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < deployments_.size(); i++) { output.writeMessage(1, deployments_.get(i)); } @@ -280,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < deployments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, deployments_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, deployments_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -293,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse)) { return super.equals(obj); } - com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse other = - (com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse) obj; + com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse other = (com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse) obj; - if (!getDeploymentsList().equals(other.getDeploymentsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getDeploymentsList() + .equals(other.getDeploymentsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -326,127 +293,117 @@ public int hashCode() { } public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse prototype) { + public static Builder newBuilder(com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message to list deployments.
    * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.ListDeploymentsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gsuiteaddons.v1.ListDeploymentsResponse) com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsResponse_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse.class, - com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse.Builder.class); + com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse.class, com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse.Builder.class); } // Construct using com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse.newBuilder() @@ -454,17 +411,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getDeploymentsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -480,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsResponse_descriptor; } @java.lang.Override @@ -501,8 +458,7 @@ public com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse build() { @java.lang.Override public com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse buildPartial() { - com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse result = - new com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse(this); + com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse result = new com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse(this); int from_bitField0_ = bitField0_; if (deploymentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -522,39 +478,38 @@ public com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse) { - return mergeFrom((com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse) other); + return mergeFrom((com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse)other); } else { super.mergeFrom(other); return this; @@ -562,8 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse other) { - if (other == com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse.getDefaultInstance()) return this; if (deploymentsBuilder_ == null) { if (!other.deployments_.isEmpty()) { if (deployments_.isEmpty()) { @@ -582,10 +536,9 @@ public Builder mergeFrom(com.google.cloud.gsuiteaddons.v1.ListDeploymentsRespons deploymentsBuilder_ = null; deployments_ = other.deployments_; bitField0_ = (bitField0_ & ~0x00000001); - deploymentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDeploymentsFieldBuilder() - : null; + deploymentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDeploymentsFieldBuilder() : null; } else { deploymentsBuilder_.addAllMessages(other.deployments_); } @@ -614,8 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -624,29 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List deployments_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDeploymentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - deployments_ = - new java.util.ArrayList(deployments_); + deployments_ = new java.util.ArrayList(deployments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gsuiteaddons.v1.Deployment, - com.google.cloud.gsuiteaddons.v1.Deployment.Builder, - com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder> - deploymentsBuilder_; + com.google.cloud.gsuiteaddons.v1.Deployment, com.google.cloud.gsuiteaddons.v1.Deployment.Builder, com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder> deploymentsBuilder_; /** - * - * *
      * The list of deployments for the given project.
      * 
@@ -661,8 +605,6 @@ public java.util.List getDeployment } } /** - * - * *
      * The list of deployments for the given project.
      * 
@@ -677,8 +619,6 @@ public int getDeploymentsCount() { } } /** - * - * *
      * The list of deployments for the given project.
      * 
@@ -693,15 +633,14 @@ public com.google.cloud.gsuiteaddons.v1.Deployment getDeployments(int index) { } } /** - * - * *
      * The list of deployments for the given project.
      * 
* * repeated .google.cloud.gsuiteaddons.v1.Deployment deployments = 1; */ - public Builder setDeployments(int index, com.google.cloud.gsuiteaddons.v1.Deployment value) { + public Builder setDeployments( + int index, com.google.cloud.gsuiteaddons.v1.Deployment value) { if (deploymentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -715,8 +654,6 @@ public Builder setDeployments(int index, com.google.cloud.gsuiteaddons.v1.Deploy return this; } /** - * - * *
      * The list of deployments for the given project.
      * 
@@ -735,8 +672,6 @@ public Builder setDeployments( return this; } /** - * - * *
      * The list of deployments for the given project.
      * 
@@ -757,15 +692,14 @@ public Builder addDeployments(com.google.cloud.gsuiteaddons.v1.Deployment value) return this; } /** - * - * *
      * The list of deployments for the given project.
      * 
* * repeated .google.cloud.gsuiteaddons.v1.Deployment deployments = 1; */ - public Builder addDeployments(int index, com.google.cloud.gsuiteaddons.v1.Deployment value) { + public Builder addDeployments( + int index, com.google.cloud.gsuiteaddons.v1.Deployment value) { if (deploymentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -779,8 +713,6 @@ public Builder addDeployments(int index, com.google.cloud.gsuiteaddons.v1.Deploy return this; } /** - * - * *
      * The list of deployments for the given project.
      * 
@@ -799,8 +731,6 @@ public Builder addDeployments( return this; } /** - * - * *
      * The list of deployments for the given project.
      * 
@@ -819,8 +749,6 @@ public Builder addDeployments( return this; } /** - * - * *
      * The list of deployments for the given project.
      * 
@@ -831,7 +759,8 @@ public Builder addAllDeployments( java.lang.Iterable values) { if (deploymentsBuilder_ == null) { ensureDeploymentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, deployments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, deployments_); onChanged(); } else { deploymentsBuilder_.addAllMessages(values); @@ -839,8 +768,6 @@ public Builder addAllDeployments( return this; } /** - * - * *
      * The list of deployments for the given project.
      * 
@@ -858,8 +785,6 @@ public Builder clearDeployments() { return this; } /** - * - * *
      * The list of deployments for the given project.
      * 
@@ -877,44 +802,39 @@ public Builder removeDeployments(int index) { return this; } /** - * - * *
      * The list of deployments for the given project.
      * 
* * repeated .google.cloud.gsuiteaddons.v1.Deployment deployments = 1; */ - public com.google.cloud.gsuiteaddons.v1.Deployment.Builder getDeploymentsBuilder(int index) { + public com.google.cloud.gsuiteaddons.v1.Deployment.Builder getDeploymentsBuilder( + int index) { return getDeploymentsFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of deployments for the given project.
      * 
* * repeated .google.cloud.gsuiteaddons.v1.Deployment deployments = 1; */ - public com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder getDeploymentsOrBuilder(int index) { + public com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder getDeploymentsOrBuilder( + int index) { if (deploymentsBuilder_ == null) { - return deployments_.get(index); - } else { + return deployments_.get(index); } else { return deploymentsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of deployments for the given project.
      * 
* * repeated .google.cloud.gsuiteaddons.v1.Deployment deployments = 1; */ - public java.util.List - getDeploymentsOrBuilderList() { + public java.util.List + getDeploymentsOrBuilderList() { if (deploymentsBuilder_ != null) { return deploymentsBuilder_.getMessageOrBuilderList(); } else { @@ -922,8 +842,6 @@ public com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder getDeploymentsOrBuil } } /** - * - * *
      * The list of deployments for the given project.
      * 
@@ -931,48 +849,42 @@ public com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder getDeploymentsOrBuil * repeated .google.cloud.gsuiteaddons.v1.Deployment deployments = 1; */ public com.google.cloud.gsuiteaddons.v1.Deployment.Builder addDeploymentsBuilder() { - return getDeploymentsFieldBuilder() - .addBuilder(com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance()); + return getDeploymentsFieldBuilder().addBuilder( + com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance()); } /** - * - * *
      * The list of deployments for the given project.
      * 
* * repeated .google.cloud.gsuiteaddons.v1.Deployment deployments = 1; */ - public com.google.cloud.gsuiteaddons.v1.Deployment.Builder addDeploymentsBuilder(int index) { - return getDeploymentsFieldBuilder() - .addBuilder(index, com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance()); + public com.google.cloud.gsuiteaddons.v1.Deployment.Builder addDeploymentsBuilder( + int index) { + return getDeploymentsFieldBuilder().addBuilder( + index, com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance()); } /** - * - * *
      * The list of deployments for the given project.
      * 
* * repeated .google.cloud.gsuiteaddons.v1.Deployment deployments = 1; */ - public java.util.List - getDeploymentsBuilderList() { + public java.util.List + getDeploymentsBuilderList() { return getDeploymentsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gsuiteaddons.v1.Deployment, - com.google.cloud.gsuiteaddons.v1.Deployment.Builder, - com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder> + com.google.cloud.gsuiteaddons.v1.Deployment, com.google.cloud.gsuiteaddons.v1.Deployment.Builder, com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder> getDeploymentsFieldBuilder() { if (deploymentsBuilder_ == null) { - deploymentsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gsuiteaddons.v1.Deployment, - com.google.cloud.gsuiteaddons.v1.Deployment.Builder, - com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder>( - deployments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + deploymentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gsuiteaddons.v1.Deployment, com.google.cloud.gsuiteaddons.v1.Deployment.Builder, com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder>( + deployments_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); deployments_ = null; } return deploymentsBuilder_; @@ -980,21 +892,19 @@ public com.google.cloud.gsuiteaddons.v1.Deployment.Builder addDeploymentsBuilder private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1003,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1026,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1100,12 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gsuiteaddons.v1.ListDeploymentsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.gsuiteaddons.v1.ListDeploymentsResponse) private static final com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse(); } @@ -1114,16 +1016,16 @@ public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDeploymentsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDeploymentsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDeploymentsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListDeploymentsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1138,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsResponseOrBuilder.java similarity index 68% rename from proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsResponseOrBuilder.java index f6b89e48..00ca8670 100644 --- a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; -public interface ListDeploymentsResponseOrBuilder - extends +public interface ListDeploymentsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.ListDeploymentsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of deployments for the given project.
    * 
* * repeated .google.cloud.gsuiteaddons.v1.Deployment deployments = 1; */ - java.util.List getDeploymentsList(); + java.util.List + getDeploymentsList(); /** - * - * *
    * The list of deployments for the given project.
    * 
@@ -44,8 +25,6 @@ public interface ListDeploymentsResponseOrBuilder */ com.google.cloud.gsuiteaddons.v1.Deployment getDeployments(int index); /** - * - * *
    * The list of deployments for the given project.
    * 
@@ -54,51 +33,43 @@ public interface ListDeploymentsResponseOrBuilder */ int getDeploymentsCount(); /** - * - * *
    * The list of deployments for the given project.
    * 
* * repeated .google.cloud.gsuiteaddons.v1.Deployment deployments = 1; */ - java.util.List + java.util.List getDeploymentsOrBuilderList(); /** - * - * *
    * The list of deployments for the given project.
    * 
* * repeated .google.cloud.gsuiteaddons.v1.Deployment deployments = 1; */ - com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder getDeploymentsOrBuilder(int index); + com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder getDeploymentsOrBuilder( + int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ProjectName.java b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ProjectName.java similarity index 100% rename from proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ProjectName.java rename to owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ProjectName.java diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ReplaceDeploymentRequest.java b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ReplaceDeploymentRequest.java similarity index 62% rename from proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ReplaceDeploymentRequest.java rename to owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ReplaceDeploymentRequest.java index bd8176c2..ade017c5 100644 --- a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ReplaceDeploymentRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ReplaceDeploymentRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; /** - * - * *
  * Request message to create or replace a deployment.
  * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest} */ -public final class ReplaceDeploymentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ReplaceDeploymentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest) ReplaceDeploymentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ReplaceDeploymentRequest.newBuilder() to construct. private ReplaceDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ReplaceDeploymentRequest() {} + private ReplaceDeploymentRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReplaceDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ReplaceDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,29 +52,26 @@ private ReplaceDeploymentRequest( case 0: done = true; break; - case 18: - { - com.google.cloud.gsuiteaddons.v1.Deployment.Builder subBuilder = null; - if (deployment_ != null) { - subBuilder = deployment_.toBuilder(); - } - deployment_ = - input.readMessage( - com.google.cloud.gsuiteaddons.v1.Deployment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(deployment_); - deployment_ = subBuilder.buildPartial(); - } - - break; + case 18: { + com.google.cloud.gsuiteaddons.v1.Deployment.Builder subBuilder = null; + if (deployment_ != null) { + subBuilder = deployment_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + deployment_ = input.readMessage(com.google.cloud.gsuiteaddons.v1.Deployment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(deployment_); + deployment_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -98,41 +79,34 @@ private ReplaceDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_ReplaceDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_ReplaceDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_ReplaceDeploymentRequest_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_ReplaceDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest.class, - com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest.Builder.class); + com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest.class, com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest.Builder.class); } public static final int DEPLOYMENT_FIELD_NUMBER = 2; private com.google.cloud.gsuiteaddons.v1.Deployment deployment_; /** - * - * *
    * Required. The deployment to create or replace.
    * 
* - * - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the deployment field is set. */ @java.lang.Override @@ -140,34 +114,23 @@ public boolean hasDeployment() { return deployment_ != null; } /** - * - * *
    * Required. The deployment to create or replace.
    * 
* - * - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The deployment. */ @java.lang.Override public com.google.cloud.gsuiteaddons.v1.Deployment getDeployment() { - return deployment_ == null - ? com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance() - : deployment_; + return deployment_ == null ? com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance() : deployment_; } /** - * - * *
    * Required. The deployment to create or replace.
    * 
* - * - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder getDeploymentOrBuilder() { @@ -175,7 +138,6 @@ public com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder getDeploymentOrBuild } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -187,7 +149,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (deployment_ != null) { output.writeMessage(2, getDeployment()); } @@ -201,7 +164,8 @@ public int getSerializedSize() { size = 0; if (deployment_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDeployment()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getDeployment()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -211,17 +175,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest other = - (com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest) obj; + com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest other = (com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest) obj; if (hasDeployment() != other.hasDeployment()) return false; if (hasDeployment()) { - if (!getDeployment().equals(other.getDeployment())) return false; + if (!getDeployment() + .equals(other.getDeployment())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -244,127 +208,117 @@ public int hashCode() { } public static com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest prototype) { + public static Builder newBuilder(com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message to create or replace a deployment.
    * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest) com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_ReplaceDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_ReplaceDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_ReplaceDeploymentRequest_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_ReplaceDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest.class, - com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest.Builder.class); + com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest.class, com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest.Builder.class); } // Construct using com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest.newBuilder() @@ -372,15 +326,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -394,9 +349,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_ReplaceDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_ReplaceDeploymentRequest_descriptor; } @java.lang.Override @@ -415,8 +370,7 @@ public com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest build() { @java.lang.Override public com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest buildPartial() { - com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest result = - new com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest(this); + com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest result = new com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest(this); if (deploymentBuilder_ == null) { result.deployment_ = deployment_; } else { @@ -430,39 +384,38 @@ public com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest) { - return mergeFrom((com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest) other); + return mergeFrom((com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest)other); } else { super.mergeFrom(other); return this; @@ -470,8 +423,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest other) { - if (other == com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest.getDefaultInstance()) return this; if (other.hasDeployment()) { mergeDeployment(other.getDeployment()); } @@ -494,8 +446,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -507,58 +458,39 @@ public Builder mergeFrom( private com.google.cloud.gsuiteaddons.v1.Deployment deployment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gsuiteaddons.v1.Deployment, - com.google.cloud.gsuiteaddons.v1.Deployment.Builder, - com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder> - deploymentBuilder_; + com.google.cloud.gsuiteaddons.v1.Deployment, com.google.cloud.gsuiteaddons.v1.Deployment.Builder, com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder> deploymentBuilder_; /** - * - * *
      * Required. The deployment to create or replace.
      * 
* - * - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the deployment field is set. */ public boolean hasDeployment() { return deploymentBuilder_ != null || deployment_ != null; } /** - * - * *
      * Required. The deployment to create or replace.
      * 
* - * - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The deployment. */ public com.google.cloud.gsuiteaddons.v1.Deployment getDeployment() { if (deploymentBuilder_ == null) { - return deployment_ == null - ? com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance() - : deployment_; + return deployment_ == null ? com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance() : deployment_; } else { return deploymentBuilder_.getMessage(); } } /** - * - * *
      * Required. The deployment to create or replace.
      * 
* - * - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDeployment(com.google.cloud.gsuiteaddons.v1.Deployment value) { if (deploymentBuilder_ == null) { @@ -574,15 +506,11 @@ public Builder setDeployment(com.google.cloud.gsuiteaddons.v1.Deployment value) return this; } /** - * - * *
      * Required. The deployment to create or replace.
      * 
* - * - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setDeployment( com.google.cloud.gsuiteaddons.v1.Deployment.Builder builderForValue) { @@ -596,23 +524,17 @@ public Builder setDeployment( return this; } /** - * - * *
      * Required. The deployment to create or replace.
      * 
* - * - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeDeployment(com.google.cloud.gsuiteaddons.v1.Deployment value) { if (deploymentBuilder_ == null) { if (deployment_ != null) { deployment_ = - com.google.cloud.gsuiteaddons.v1.Deployment.newBuilder(deployment_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.gsuiteaddons.v1.Deployment.newBuilder(deployment_).mergeFrom(value).buildPartial(); } else { deployment_ = value; } @@ -624,15 +546,11 @@ public Builder mergeDeployment(com.google.cloud.gsuiteaddons.v1.Deployment value return this; } /** - * - * *
      * Required. The deployment to create or replace.
      * 
* - * - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearDeployment() { if (deploymentBuilder_ == null) { @@ -646,71 +564,55 @@ public Builder clearDeployment() { return this; } /** - * - * *
      * Required. The deployment to create or replace.
      * 
* - * - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gsuiteaddons.v1.Deployment.Builder getDeploymentBuilder() { - + onChanged(); return getDeploymentFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The deployment to create or replace.
      * 
* - * - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder getDeploymentOrBuilder() { if (deploymentBuilder_ != null) { return deploymentBuilder_.getMessageOrBuilder(); } else { - return deployment_ == null - ? com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance() - : deployment_; + return deployment_ == null ? + com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance() : deployment_; } } /** - * - * *
      * Required. The deployment to create or replace.
      * 
* - * - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gsuiteaddons.v1.Deployment, - com.google.cloud.gsuiteaddons.v1.Deployment.Builder, - com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder> + com.google.cloud.gsuiteaddons.v1.Deployment, com.google.cloud.gsuiteaddons.v1.Deployment.Builder, com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder> getDeploymentFieldBuilder() { if (deploymentBuilder_ == null) { - deploymentBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gsuiteaddons.v1.Deployment, - com.google.cloud.gsuiteaddons.v1.Deployment.Builder, - com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder>( - getDeployment(), getParentForChildren(), isClean()); + deploymentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gsuiteaddons.v1.Deployment, com.google.cloud.gsuiteaddons.v1.Deployment.Builder, com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder>( + getDeployment(), + getParentForChildren(), + isClean()); deployment_ = null; } return deploymentBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -720,12 +622,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest) private static final com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest(); } @@ -734,16 +636,16 @@ public static com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReplaceDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ReplaceDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReplaceDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReplaceDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -758,4 +660,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ReplaceDeploymentRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ReplaceDeploymentRequestOrBuilder.java new file mode 100644 index 00000000..24333e53 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ReplaceDeploymentRequestOrBuilder.java @@ -0,0 +1,36 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto + +package com.google.cloud.gsuiteaddons.v1; + +public interface ReplaceDeploymentRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The deployment to create or replace.
+   * 
+ * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the deployment field is set. + */ + boolean hasDeployment(); + /** + *
+   * Required. The deployment to create or replace.
+   * 
+ * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The deployment. + */ + com.google.cloud.gsuiteaddons.v1.Deployment getDeployment(); + /** + *
+   * Required. The deployment to create or replace.
+   * 
+ * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder getDeploymentOrBuilder(); +} diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/UninstallDeploymentRequest.java b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/UninstallDeploymentRequest.java similarity index 65% rename from proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/UninstallDeploymentRequest.java rename to owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/UninstallDeploymentRequest.java index 43cb2c27..59598fa6 100644 --- a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/UninstallDeploymentRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/UninstallDeploymentRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; /** - * - * *
  * Request message to uninstall a developer mode deployment.
  * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest} */ -public final class UninstallDeploymentRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UninstallDeploymentRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest) UninstallDeploymentRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UninstallDeploymentRequest.newBuilder() to construct. private UninstallDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UninstallDeploymentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UninstallDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UninstallDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private UninstallDeploymentRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private UninstallDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_UninstallDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_UninstallDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_UninstallDeploymentRequest_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_UninstallDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest.class, - com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest.Builder.class); + com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest.class, com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The full resource name of the deployment to install.
    * Example:  `projects/my_project/deployments/my_deployment`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The full resource name of the deployment to install.
    * Example:  `projects/my_project/deployments/my_deployment`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest other = - (com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest) obj; + com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest other = (com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ public int hashCode() { } public static com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest prototype) { + public static Builder newBuilder(com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message to uninstall a developer mode deployment.
    * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest) com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_UninstallDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_UninstallDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_UninstallDeploymentRequest_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_UninstallDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest.class, - com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest.Builder.class); + com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest.class, com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest.Builder.class); } // Construct using com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest.newBuilder() @@ -361,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,9 +343,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto - .internal_static_google_cloud_gsuiteaddons_v1_UninstallDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_UninstallDeploymentRequest_descriptor; } @java.lang.Override @@ -400,8 +364,7 @@ public com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest build() { @java.lang.Override public com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest buildPartial() { - com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest result = - new com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest(this); + com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest result = new com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest(this); result.name_ = name_; onBuilt(); return result; @@ -411,39 +374,38 @@ public com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest) { - return mergeFrom((com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest) other); + return mergeFrom((com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest)other); } else { super.mergeFrom(other); return this; @@ -451,8 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest other) { - if (other == com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,23 +449,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The full resource name of the deployment to install.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -514,24 +470,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The full resource name of the deployment to install.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -539,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The full resource name of the deployment to install.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The full resource name of the deployment to install.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The full resource name of the deployment to install.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -619,12 +559,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest) private static final com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest(); } @@ -633,16 +573,16 @@ public static com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UninstallDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UninstallDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UninstallDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UninstallDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/UninstallDeploymentRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/UninstallDeploymentRequestOrBuilder.java new file mode 100644 index 00000000..aee93383 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/UninstallDeploymentRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto + +package com.google.cloud.gsuiteaddons.v1; + +public interface UninstallDeploymentRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The full resource name of the deployment to install.
+   * Example:  `projects/my_project/deployments/my_deployment`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The full resource name of the deployment to install.
+   * Example:  `projects/my_project/deployments/my_deployment`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/proto/google/cloud/gsuiteaddons/v1/gsuiteaddons.proto b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/proto/google/cloud/gsuiteaddons/v1/gsuiteaddons.proto similarity index 100% rename from proto-google-cloud-gsuite-addons-v1/src/main/proto/google/cloud/gsuiteaddons/v1/gsuiteaddons.proto rename to owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/proto/google/cloud/gsuiteaddons/v1/gsuiteaddons.proto diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/create/SyncCreateSetCredentialsProvider.java new file mode 100644 index 00000000..243da093 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/create/SyncCreateSetCredentialsProvider.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_create_setcredentialsprovider_sync] +import com.google.api.gax.core.FixedCredentialsProvider; +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsSettings; +import com.google.cloud.gsuiteaddons.v1.myCredentials; + +public class SyncCreateSetCredentialsProvider { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider(); + } + + public static void syncCreateSetCredentialsProvider() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + GSuiteAddOnsSettings gSuiteAddOnsSettings = + GSuiteAddOnsSettings.newBuilder() + .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) + .build(); + GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create(gSuiteAddOnsSettings); + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_create_setcredentialsprovider_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/create/SyncCreateSetCredentialsProvider1.java new file mode 100644 index 00000000..07d250f8 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/create/SyncCreateSetCredentialsProvider1.java @@ -0,0 +1,40 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_create_setcredentialsprovider1_sync] +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsSettings; + +public class SyncCreateSetCredentialsProvider1 { + + public static void main(String[] args) throws Exception { + syncCreateSetCredentialsProvider1(); + } + + public static void syncCreateSetCredentialsProvider1() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + GSuiteAddOnsSettings gSuiteAddOnsSettings = + GSuiteAddOnsSettings.newBuilder() + .setTransportChannelProvider( + GSuiteAddOnsSettings.defaultHttpJsonTransportProviderBuilder().build()) + .build(); + GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create(gSuiteAddOnsSettings); + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_create_setcredentialsprovider1_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/create/SyncCreateSetEndpoint.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/create/SyncCreateSetEndpoint.java new file mode 100644 index 00000000..40033316 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/create/SyncCreateSetEndpoint.java @@ -0,0 +1,38 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_create_setendpoint_sync] +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsSettings; +import com.google.cloud.gsuiteaddons.v1.myEndpoint; + +public class SyncCreateSetEndpoint { + + public static void main(String[] args) throws Exception { + syncCreateSetEndpoint(); + } + + public static void syncCreateSetEndpoint() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + GSuiteAddOnsSettings gSuiteAddOnsSettings = + GSuiteAddOnsSettings.newBuilder().setEndpoint(myEndpoint).build(); + GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create(gSuiteAddOnsSettings); + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_create_setendpoint_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/createdeployment/AsyncCreateDeployment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/createdeployment/AsyncCreateDeployment.java new file mode 100644 index 00000000..888cb5d4 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/createdeployment/AsyncCreateDeployment.java @@ -0,0 +1,49 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_createdeployment_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest; +import com.google.cloud.gsuiteaddons.v1.Deployment; +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; +import com.google.cloud.gsuiteaddons.v1.ProjectName; + +public class AsyncCreateDeployment { + + public static void main(String[] args) throws Exception { + asyncCreateDeployment(); + } + + public static void asyncCreateDeployment() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create()) { + CreateDeploymentRequest request = + CreateDeploymentRequest.newBuilder() + .setParent(ProjectName.of("[PROJECT]").toString()) + .setDeploymentId("deploymentId-136894784") + .setDeployment(Deployment.newBuilder().build()) + .build(); + ApiFuture future = + gSuiteAddOnsClient.createDeploymentCallable().futureCall(request); + // Do something. + Deployment response = future.get(); + } + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_createdeployment_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/createdeployment/SyncCreateDeployment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/createdeployment/SyncCreateDeployment.java new file mode 100644 index 00000000..9fb78992 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/createdeployment/SyncCreateDeployment.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_createdeployment_sync] +import com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest; +import com.google.cloud.gsuiteaddons.v1.Deployment; +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; +import com.google.cloud.gsuiteaddons.v1.ProjectName; + +public class SyncCreateDeployment { + + public static void main(String[] args) throws Exception { + syncCreateDeployment(); + } + + public static void syncCreateDeployment() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create()) { + CreateDeploymentRequest request = + CreateDeploymentRequest.newBuilder() + .setParent(ProjectName.of("[PROJECT]").toString()) + .setDeploymentId("deploymentId-136894784") + .setDeployment(Deployment.newBuilder().build()) + .build(); + Deployment response = gSuiteAddOnsClient.createDeployment(request); + } + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_createdeployment_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/createdeployment/SyncCreateDeploymentProjectnameDeploymentString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/createdeployment/SyncCreateDeploymentProjectnameDeploymentString.java new file mode 100644 index 00000000..dcc5a37b --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/createdeployment/SyncCreateDeploymentProjectnameDeploymentString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_createdeployment_projectnamedeploymentstring_sync] +import com.google.cloud.gsuiteaddons.v1.Deployment; +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; +import com.google.cloud.gsuiteaddons.v1.ProjectName; + +public class SyncCreateDeploymentProjectnameDeploymentString { + + public static void main(String[] args) throws Exception { + syncCreateDeploymentProjectnameDeploymentString(); + } + + public static void syncCreateDeploymentProjectnameDeploymentString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create()) { + ProjectName parent = ProjectName.of("[PROJECT]"); + Deployment deployment = Deployment.newBuilder().build(); + String deploymentId = "deploymentId-136894784"; + Deployment response = gSuiteAddOnsClient.createDeployment(parent, deployment, deploymentId); + } + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_createdeployment_projectnamedeploymentstring_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/createdeployment/SyncCreateDeploymentStringDeploymentString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/createdeployment/SyncCreateDeploymentStringDeploymentString.java new file mode 100644 index 00000000..2526906a --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/createdeployment/SyncCreateDeploymentStringDeploymentString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_createdeployment_stringdeploymentstring_sync] +import com.google.cloud.gsuiteaddons.v1.Deployment; +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; +import com.google.cloud.gsuiteaddons.v1.ProjectName; + +public class SyncCreateDeploymentStringDeploymentString { + + public static void main(String[] args) throws Exception { + syncCreateDeploymentStringDeploymentString(); + } + + public static void syncCreateDeploymentStringDeploymentString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create()) { + String parent = ProjectName.of("[PROJECT]").toString(); + Deployment deployment = Deployment.newBuilder().build(); + String deploymentId = "deploymentId-136894784"; + Deployment response = gSuiteAddOnsClient.createDeployment(parent, deployment, deploymentId); + } + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_createdeployment_stringdeploymentstring_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/AsyncDeleteDeployment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/AsyncDeleteDeployment.java new file mode 100644 index 00000000..fdf318bd --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/AsyncDeleteDeployment.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_deletedeployment_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest; +import com.google.cloud.gsuiteaddons.v1.DeploymentName; +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; +import com.google.protobuf.Empty; + +public class AsyncDeleteDeployment { + + public static void main(String[] args) throws Exception { + asyncDeleteDeployment(); + } + + public static void asyncDeleteDeployment() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create()) { + DeleteDeploymentRequest request = + DeleteDeploymentRequest.newBuilder() + .setName(DeploymentName.of("[PROJECT]", "[DEPLOYMENT]").toString()) + .setEtag("etag3123477") + .build(); + ApiFuture future = gSuiteAddOnsClient.deleteDeploymentCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_deletedeployment_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/SyncDeleteDeployment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/SyncDeleteDeployment.java new file mode 100644 index 00000000..59539555 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/SyncDeleteDeployment.java @@ -0,0 +1,44 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_deletedeployment_sync] +import com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest; +import com.google.cloud.gsuiteaddons.v1.DeploymentName; +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; +import com.google.protobuf.Empty; + +public class SyncDeleteDeployment { + + public static void main(String[] args) throws Exception { + syncDeleteDeployment(); + } + + public static void syncDeleteDeployment() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create()) { + DeleteDeploymentRequest request = + DeleteDeploymentRequest.newBuilder() + .setName(DeploymentName.of("[PROJECT]", "[DEPLOYMENT]").toString()) + .setEtag("etag3123477") + .build(); + gSuiteAddOnsClient.deleteDeployment(request); + } + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_deletedeployment_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/SyncDeleteDeploymentDeploymentname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/SyncDeleteDeploymentDeploymentname.java new file mode 100644 index 00000000..fb509918 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/SyncDeleteDeploymentDeploymentname.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_deletedeployment_deploymentname_sync] +import com.google.cloud.gsuiteaddons.v1.DeploymentName; +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; +import com.google.protobuf.Empty; + +public class SyncDeleteDeploymentDeploymentname { + + public static void main(String[] args) throws Exception { + syncDeleteDeploymentDeploymentname(); + } + + public static void syncDeleteDeploymentDeploymentname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create()) { + DeploymentName name = DeploymentName.of("[PROJECT]", "[DEPLOYMENT]"); + gSuiteAddOnsClient.deleteDeployment(name); + } + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_deletedeployment_deploymentname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/SyncDeleteDeploymentString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/SyncDeleteDeploymentString.java new file mode 100644 index 00000000..53d920ed --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/SyncDeleteDeploymentString.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_deletedeployment_string_sync] +import com.google.cloud.gsuiteaddons.v1.DeploymentName; +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; +import com.google.protobuf.Empty; + +public class SyncDeleteDeploymentString { + + public static void main(String[] args) throws Exception { + syncDeleteDeploymentString(); + } + + public static void syncDeleteDeploymentString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create()) { + String name = DeploymentName.of("[PROJECT]", "[DEPLOYMENT]").toString(); + gSuiteAddOnsClient.deleteDeployment(name); + } + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_deletedeployment_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getauthorization/AsyncGetAuthorization.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getauthorization/AsyncGetAuthorization.java new file mode 100644 index 00000000..68dbea5a --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getauthorization/AsyncGetAuthorization.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_getauthorization_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.gsuiteaddons.v1.Authorization; +import com.google.cloud.gsuiteaddons.v1.AuthorizationName; +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; +import com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest; + +public class AsyncGetAuthorization { + + public static void main(String[] args) throws Exception { + asyncGetAuthorization(); + } + + public static void asyncGetAuthorization() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create()) { + GetAuthorizationRequest request = + GetAuthorizationRequest.newBuilder() + .setName(AuthorizationName.of("[PROJECT]").toString()) + .build(); + ApiFuture future = + gSuiteAddOnsClient.getAuthorizationCallable().futureCall(request); + // Do something. + Authorization response = future.get(); + } + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_getauthorization_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getauthorization/SyncGetAuthorization.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getauthorization/SyncGetAuthorization.java new file mode 100644 index 00000000..6d6898e7 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getauthorization/SyncGetAuthorization.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_getauthorization_sync] +import com.google.cloud.gsuiteaddons.v1.Authorization; +import com.google.cloud.gsuiteaddons.v1.AuthorizationName; +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; +import com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest; + +public class SyncGetAuthorization { + + public static void main(String[] args) throws Exception { + syncGetAuthorization(); + } + + public static void syncGetAuthorization() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create()) { + GetAuthorizationRequest request = + GetAuthorizationRequest.newBuilder() + .setName(AuthorizationName.of("[PROJECT]").toString()) + .build(); + Authorization response = gSuiteAddOnsClient.getAuthorization(request); + } + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_getauthorization_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getauthorization/SyncGetAuthorizationAuthorizationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getauthorization/SyncGetAuthorizationAuthorizationname.java new file mode 100644 index 00000000..c37c4d99 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getauthorization/SyncGetAuthorizationAuthorizationname.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_getauthorization_authorizationname_sync] +import com.google.cloud.gsuiteaddons.v1.Authorization; +import com.google.cloud.gsuiteaddons.v1.AuthorizationName; +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; + +public class SyncGetAuthorizationAuthorizationname { + + public static void main(String[] args) throws Exception { + syncGetAuthorizationAuthorizationname(); + } + + public static void syncGetAuthorizationAuthorizationname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create()) { + AuthorizationName name = AuthorizationName.of("[PROJECT]"); + Authorization response = gSuiteAddOnsClient.getAuthorization(name); + } + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_getauthorization_authorizationname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getauthorization/SyncGetAuthorizationString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getauthorization/SyncGetAuthorizationString.java new file mode 100644 index 00000000..55f7c2b4 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getauthorization/SyncGetAuthorizationString.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_getauthorization_string_sync] +import com.google.cloud.gsuiteaddons.v1.Authorization; +import com.google.cloud.gsuiteaddons.v1.AuthorizationName; +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; + +public class SyncGetAuthorizationString { + + public static void main(String[] args) throws Exception { + syncGetAuthorizationString(); + } + + public static void syncGetAuthorizationString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create()) { + String name = AuthorizationName.of("[PROJECT]").toString(); + Authorization response = gSuiteAddOnsClient.getAuthorization(name); + } + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_getauthorization_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getdeployment/AsyncGetDeployment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getdeployment/AsyncGetDeployment.java new file mode 100644 index 00000000..2bd54de3 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getdeployment/AsyncGetDeployment.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_getdeployment_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.gsuiteaddons.v1.Deployment; +import com.google.cloud.gsuiteaddons.v1.DeploymentName; +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; +import com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest; + +public class AsyncGetDeployment { + + public static void main(String[] args) throws Exception { + asyncGetDeployment(); + } + + public static void asyncGetDeployment() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create()) { + GetDeploymentRequest request = + GetDeploymentRequest.newBuilder() + .setName(DeploymentName.of("[PROJECT]", "[DEPLOYMENT]").toString()) + .build(); + ApiFuture future = gSuiteAddOnsClient.getDeploymentCallable().futureCall(request); + // Do something. + Deployment response = future.get(); + } + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_getdeployment_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getdeployment/SyncGetDeployment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getdeployment/SyncGetDeployment.java new file mode 100644 index 00000000..4c999733 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getdeployment/SyncGetDeployment.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_getdeployment_sync] +import com.google.cloud.gsuiteaddons.v1.Deployment; +import com.google.cloud.gsuiteaddons.v1.DeploymentName; +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; +import com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest; + +public class SyncGetDeployment { + + public static void main(String[] args) throws Exception { + syncGetDeployment(); + } + + public static void syncGetDeployment() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create()) { + GetDeploymentRequest request = + GetDeploymentRequest.newBuilder() + .setName(DeploymentName.of("[PROJECT]", "[DEPLOYMENT]").toString()) + .build(); + Deployment response = gSuiteAddOnsClient.getDeployment(request); + } + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_getdeployment_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getdeployment/SyncGetDeploymentDeploymentname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getdeployment/SyncGetDeploymentDeploymentname.java new file mode 100644 index 00000000..8c22d3ea --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getdeployment/SyncGetDeploymentDeploymentname.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_getdeployment_deploymentname_sync] +import com.google.cloud.gsuiteaddons.v1.Deployment; +import com.google.cloud.gsuiteaddons.v1.DeploymentName; +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; + +public class SyncGetDeploymentDeploymentname { + + public static void main(String[] args) throws Exception { + syncGetDeploymentDeploymentname(); + } + + public static void syncGetDeploymentDeploymentname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create()) { + DeploymentName name = DeploymentName.of("[PROJECT]", "[DEPLOYMENT]"); + Deployment response = gSuiteAddOnsClient.getDeployment(name); + } + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_getdeployment_deploymentname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getdeployment/SyncGetDeploymentString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getdeployment/SyncGetDeploymentString.java new file mode 100644 index 00000000..01ae501e --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getdeployment/SyncGetDeploymentString.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_getdeployment_string_sync] +import com.google.cloud.gsuiteaddons.v1.Deployment; +import com.google.cloud.gsuiteaddons.v1.DeploymentName; +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; + +public class SyncGetDeploymentString { + + public static void main(String[] args) throws Exception { + syncGetDeploymentString(); + } + + public static void syncGetDeploymentString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create()) { + String name = DeploymentName.of("[PROJECT]", "[DEPLOYMENT]").toString(); + Deployment response = gSuiteAddOnsClient.getDeployment(name); + } + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_getdeployment_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getinstallstatus/AsyncGetInstallStatus.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getinstallstatus/AsyncGetInstallStatus.java new file mode 100644 index 00000000..b547d57b --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getinstallstatus/AsyncGetInstallStatus.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_getinstallstatus_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; +import com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest; +import com.google.cloud.gsuiteaddons.v1.InstallStatus; +import com.google.cloud.gsuiteaddons.v1.InstallStatusName; + +public class AsyncGetInstallStatus { + + public static void main(String[] args) throws Exception { + asyncGetInstallStatus(); + } + + public static void asyncGetInstallStatus() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create()) { + GetInstallStatusRequest request = + GetInstallStatusRequest.newBuilder() + .setName(InstallStatusName.of("[PROJECT]", "[DEPLOYMENT]").toString()) + .build(); + ApiFuture future = + gSuiteAddOnsClient.getInstallStatusCallable().futureCall(request); + // Do something. + InstallStatus response = future.get(); + } + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_getinstallstatus_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getinstallstatus/SyncGetInstallStatus.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getinstallstatus/SyncGetInstallStatus.java new file mode 100644 index 00000000..795e0455 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getinstallstatus/SyncGetInstallStatus.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_getinstallstatus_sync] +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; +import com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest; +import com.google.cloud.gsuiteaddons.v1.InstallStatus; +import com.google.cloud.gsuiteaddons.v1.InstallStatusName; + +public class SyncGetInstallStatus { + + public static void main(String[] args) throws Exception { + syncGetInstallStatus(); + } + + public static void syncGetInstallStatus() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create()) { + GetInstallStatusRequest request = + GetInstallStatusRequest.newBuilder() + .setName(InstallStatusName.of("[PROJECT]", "[DEPLOYMENT]").toString()) + .build(); + InstallStatus response = gSuiteAddOnsClient.getInstallStatus(request); + } + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_getinstallstatus_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getinstallstatus/SyncGetInstallStatusInstallstatusname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getinstallstatus/SyncGetInstallStatusInstallstatusname.java new file mode 100644 index 00000000..3607dbe6 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getinstallstatus/SyncGetInstallStatusInstallstatusname.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_getinstallstatus_installstatusname_sync] +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; +import com.google.cloud.gsuiteaddons.v1.InstallStatus; +import com.google.cloud.gsuiteaddons.v1.InstallStatusName; + +public class SyncGetInstallStatusInstallstatusname { + + public static void main(String[] args) throws Exception { + syncGetInstallStatusInstallstatusname(); + } + + public static void syncGetInstallStatusInstallstatusname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create()) { + InstallStatusName name = InstallStatusName.of("[PROJECT]", "[DEPLOYMENT]"); + InstallStatus response = gSuiteAddOnsClient.getInstallStatus(name); + } + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_getinstallstatus_installstatusname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getinstallstatus/SyncGetInstallStatusString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getinstallstatus/SyncGetInstallStatusString.java new file mode 100644 index 00000000..bf2d086e --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getinstallstatus/SyncGetInstallStatusString.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_getinstallstatus_string_sync] +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; +import com.google.cloud.gsuiteaddons.v1.InstallStatus; +import com.google.cloud.gsuiteaddons.v1.InstallStatusName; + +public class SyncGetInstallStatusString { + + public static void main(String[] args) throws Exception { + syncGetInstallStatusString(); + } + + public static void syncGetInstallStatusString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create()) { + String name = InstallStatusName.of("[PROJECT]", "[DEPLOYMENT]").toString(); + InstallStatus response = gSuiteAddOnsClient.getInstallStatus(name); + } + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_getinstallstatus_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/AsyncInstallDeployment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/AsyncInstallDeployment.java new file mode 100644 index 00000000..6c4d8d00 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/AsyncInstallDeployment.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_installdeployment_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.gsuiteaddons.v1.DeploymentName; +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; +import com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest; +import com.google.protobuf.Empty; + +public class AsyncInstallDeployment { + + public static void main(String[] args) throws Exception { + asyncInstallDeployment(); + } + + public static void asyncInstallDeployment() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create()) { + InstallDeploymentRequest request = + InstallDeploymentRequest.newBuilder() + .setName(DeploymentName.of("[PROJECT]", "[DEPLOYMENT]").toString()) + .build(); + ApiFuture future = gSuiteAddOnsClient.installDeploymentCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_installdeployment_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/SyncInstallDeployment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/SyncInstallDeployment.java new file mode 100644 index 00000000..170c8609 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/SyncInstallDeployment.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_installdeployment_sync] +import com.google.cloud.gsuiteaddons.v1.DeploymentName; +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; +import com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest; +import com.google.protobuf.Empty; + +public class SyncInstallDeployment { + + public static void main(String[] args) throws Exception { + syncInstallDeployment(); + } + + public static void syncInstallDeployment() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create()) { + InstallDeploymentRequest request = + InstallDeploymentRequest.newBuilder() + .setName(DeploymentName.of("[PROJECT]", "[DEPLOYMENT]").toString()) + .build(); + gSuiteAddOnsClient.installDeployment(request); + } + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_installdeployment_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/SyncInstallDeploymentDeploymentname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/SyncInstallDeploymentDeploymentname.java new file mode 100644 index 00000000..5348e617 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/SyncInstallDeploymentDeploymentname.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_installdeployment_deploymentname_sync] +import com.google.cloud.gsuiteaddons.v1.DeploymentName; +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; +import com.google.protobuf.Empty; + +public class SyncInstallDeploymentDeploymentname { + + public static void main(String[] args) throws Exception { + syncInstallDeploymentDeploymentname(); + } + + public static void syncInstallDeploymentDeploymentname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create()) { + DeploymentName name = DeploymentName.of("[PROJECT]", "[DEPLOYMENT]"); + gSuiteAddOnsClient.installDeployment(name); + } + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_installdeployment_deploymentname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/SyncInstallDeploymentString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/SyncInstallDeploymentString.java new file mode 100644 index 00000000..474c4c14 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/SyncInstallDeploymentString.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_installdeployment_string_sync] +import com.google.cloud.gsuiteaddons.v1.DeploymentName; +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; +import com.google.protobuf.Empty; + +public class SyncInstallDeploymentString { + + public static void main(String[] args) throws Exception { + syncInstallDeploymentString(); + } + + public static void syncInstallDeploymentString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create()) { + String name = DeploymentName.of("[PROJECT]", "[DEPLOYMENT]").toString(); + gSuiteAddOnsClient.installDeployment(name); + } + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_installdeployment_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/AsyncListDeployments.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/AsyncListDeployments.java new file mode 100644 index 00000000..0424eaeb --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/AsyncListDeployments.java @@ -0,0 +1,51 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_listdeployments_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.gsuiteaddons.v1.Deployment; +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; +import com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest; +import com.google.cloud.gsuiteaddons.v1.ProjectName; + +public class AsyncListDeployments { + + public static void main(String[] args) throws Exception { + asyncListDeployments(); + } + + public static void asyncListDeployments() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create()) { + ListDeploymentsRequest request = + ListDeploymentsRequest.newBuilder() + .setParent(ProjectName.of("[PROJECT]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + ApiFuture future = + gSuiteAddOnsClient.listDeploymentsPagedCallable().futureCall(request); + // Do something. + for (Deployment element : future.get().iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_listdeployments_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/AsyncListDeploymentsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/AsyncListDeploymentsPaged.java new file mode 100644 index 00000000..82ebf7ee --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/AsyncListDeploymentsPaged.java @@ -0,0 +1,59 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_listdeployments_paged_async] +import com.google.cloud.gsuiteaddons.v1.Deployment; +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; +import com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest; +import com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse; +import com.google.cloud.gsuiteaddons.v1.ProjectName; +import com.google.common.base.Strings; + +public class AsyncListDeploymentsPaged { + + public static void main(String[] args) throws Exception { + asyncListDeploymentsPaged(); + } + + public static void asyncListDeploymentsPaged() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create()) { + ListDeploymentsRequest request = + ListDeploymentsRequest.newBuilder() + .setParent(ProjectName.of("[PROJECT]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + while (true) { + ListDeploymentsResponse response = + gSuiteAddOnsClient.listDeploymentsCallable().call(request); + for (Deployment element : response.getDeploymentsList()) { + // doThingsWith(element); + } + String nextPageToken = response.getNextPageToken(); + if (!Strings.isNullOrEmpty(nextPageToken)) { + request = request.toBuilder().setPageToken(nextPageToken).build(); + } else { + break; + } + } + } + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_listdeployments_paged_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/SyncListDeployments.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/SyncListDeployments.java new file mode 100644 index 00000000..870da8b2 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/SyncListDeployments.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_listdeployments_sync] +import com.google.cloud.gsuiteaddons.v1.Deployment; +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; +import com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest; +import com.google.cloud.gsuiteaddons.v1.ProjectName; + +public class SyncListDeployments { + + public static void main(String[] args) throws Exception { + syncListDeployments(); + } + + public static void syncListDeployments() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create()) { + ListDeploymentsRequest request = + ListDeploymentsRequest.newBuilder() + .setParent(ProjectName.of("[PROJECT]").toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + for (Deployment element : gSuiteAddOnsClient.listDeployments(request).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_listdeployments_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/SyncListDeploymentsProjectname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/SyncListDeploymentsProjectname.java new file mode 100644 index 00000000..9cb6f726 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/SyncListDeploymentsProjectname.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_listdeployments_projectname_sync] +import com.google.cloud.gsuiteaddons.v1.Deployment; +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; +import com.google.cloud.gsuiteaddons.v1.ProjectName; + +public class SyncListDeploymentsProjectname { + + public static void main(String[] args) throws Exception { + syncListDeploymentsProjectname(); + } + + public static void syncListDeploymentsProjectname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create()) { + ProjectName parent = ProjectName.of("[PROJECT]"); + for (Deployment element : gSuiteAddOnsClient.listDeployments(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_listdeployments_projectname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/SyncListDeploymentsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/SyncListDeploymentsString.java new file mode 100644 index 00000000..df890369 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/SyncListDeploymentsString.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_listdeployments_string_sync] +import com.google.cloud.gsuiteaddons.v1.Deployment; +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; +import com.google.cloud.gsuiteaddons.v1.ProjectName; + +public class SyncListDeploymentsString { + + public static void main(String[] args) throws Exception { + syncListDeploymentsString(); + } + + public static void syncListDeploymentsString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create()) { + String parent = ProjectName.of("[PROJECT]").toString(); + for (Deployment element : gSuiteAddOnsClient.listDeployments(parent).iterateAll()) { + // doThingsWith(element); + } + } + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_listdeployments_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/replacedeployment/AsyncReplaceDeployment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/replacedeployment/AsyncReplaceDeployment.java new file mode 100644 index 00000000..b48b948d --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/replacedeployment/AsyncReplaceDeployment.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_replacedeployment_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.gsuiteaddons.v1.Deployment; +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; +import com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest; + +public class AsyncReplaceDeployment { + + public static void main(String[] args) throws Exception { + asyncReplaceDeployment(); + } + + public static void asyncReplaceDeployment() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create()) { + ReplaceDeploymentRequest request = + ReplaceDeploymentRequest.newBuilder() + .setDeployment(Deployment.newBuilder().build()) + .build(); + ApiFuture future = + gSuiteAddOnsClient.replaceDeploymentCallable().futureCall(request); + // Do something. + Deployment response = future.get(); + } + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_replacedeployment_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/replacedeployment/SyncReplaceDeployment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/replacedeployment/SyncReplaceDeployment.java new file mode 100644 index 00000000..b8e310c9 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/replacedeployment/SyncReplaceDeployment.java @@ -0,0 +1,42 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_replacedeployment_sync] +import com.google.cloud.gsuiteaddons.v1.Deployment; +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; +import com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest; + +public class SyncReplaceDeployment { + + public static void main(String[] args) throws Exception { + syncReplaceDeployment(); + } + + public static void syncReplaceDeployment() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create()) { + ReplaceDeploymentRequest request = + ReplaceDeploymentRequest.newBuilder() + .setDeployment(Deployment.newBuilder().build()) + .build(); + Deployment response = gSuiteAddOnsClient.replaceDeployment(request); + } + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_replacedeployment_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/replacedeployment/SyncReplaceDeploymentDeployment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/replacedeployment/SyncReplaceDeploymentDeployment.java new file mode 100644 index 00000000..1afd474e --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/replacedeployment/SyncReplaceDeploymentDeployment.java @@ -0,0 +1,38 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_replacedeployment_deployment_sync] +import com.google.cloud.gsuiteaddons.v1.Deployment; +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; + +public class SyncReplaceDeploymentDeployment { + + public static void main(String[] args) throws Exception { + syncReplaceDeploymentDeployment(); + } + + public static void syncReplaceDeploymentDeployment() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create()) { + Deployment deployment = Deployment.newBuilder().build(); + Deployment response = gSuiteAddOnsClient.replaceDeployment(deployment); + } + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_replacedeployment_deployment_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/AsyncUninstallDeployment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/AsyncUninstallDeployment.java new file mode 100644 index 00000000..a9f662ac --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/AsyncUninstallDeployment.java @@ -0,0 +1,47 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_uninstalldeployment_async] +import com.google.api.core.ApiFuture; +import com.google.cloud.gsuiteaddons.v1.DeploymentName; +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; +import com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest; +import com.google.protobuf.Empty; + +public class AsyncUninstallDeployment { + + public static void main(String[] args) throws Exception { + asyncUninstallDeployment(); + } + + public static void asyncUninstallDeployment() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create()) { + UninstallDeploymentRequest request = + UninstallDeploymentRequest.newBuilder() + .setName(DeploymentName.of("[PROJECT]", "[DEPLOYMENT]").toString()) + .build(); + ApiFuture future = + gSuiteAddOnsClient.uninstallDeploymentCallable().futureCall(request); + // Do something. + future.get(); + } + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_uninstalldeployment_async] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/SyncUninstallDeployment.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/SyncUninstallDeployment.java new file mode 100644 index 00000000..30921336 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/SyncUninstallDeployment.java @@ -0,0 +1,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_uninstalldeployment_sync] +import com.google.cloud.gsuiteaddons.v1.DeploymentName; +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; +import com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest; +import com.google.protobuf.Empty; + +public class SyncUninstallDeployment { + + public static void main(String[] args) throws Exception { + syncUninstallDeployment(); + } + + public static void syncUninstallDeployment() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create()) { + UninstallDeploymentRequest request = + UninstallDeploymentRequest.newBuilder() + .setName(DeploymentName.of("[PROJECT]", "[DEPLOYMENT]").toString()) + .build(); + gSuiteAddOnsClient.uninstallDeployment(request); + } + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_uninstalldeployment_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/SyncUninstallDeploymentDeploymentname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/SyncUninstallDeploymentDeploymentname.java new file mode 100644 index 00000000..ed27582e --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/SyncUninstallDeploymentDeploymentname.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_uninstalldeployment_deploymentname_sync] +import com.google.cloud.gsuiteaddons.v1.DeploymentName; +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; +import com.google.protobuf.Empty; + +public class SyncUninstallDeploymentDeploymentname { + + public static void main(String[] args) throws Exception { + syncUninstallDeploymentDeploymentname(); + } + + public static void syncUninstallDeploymentDeploymentname() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create()) { + DeploymentName name = DeploymentName.of("[PROJECT]", "[DEPLOYMENT]"); + gSuiteAddOnsClient.uninstallDeployment(name); + } + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_uninstalldeployment_deploymentname_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/SyncUninstallDeploymentString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/SyncUninstallDeploymentString.java new file mode 100644 index 00000000..4b003784 --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/SyncUninstallDeploymentString.java @@ -0,0 +1,39 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_uninstalldeployment_string_sync] +import com.google.cloud.gsuiteaddons.v1.DeploymentName; +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; +import com.google.protobuf.Empty; + +public class SyncUninstallDeploymentString { + + public static void main(String[] args) throws Exception { + syncUninstallDeploymentString(); + } + + public static void syncUninstallDeploymentString() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + try (GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.create()) { + String name = DeploymentName.of("[PROJECT]", "[DEPLOYMENT]").toString(); + gSuiteAddOnsClient.uninstallDeployment(name); + } + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_uninstalldeployment_string_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonssettings/getauthorization/SyncGetAuthorization.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonssettings/getauthorization/SyncGetAuthorization.java new file mode 100644 index 00000000..1a27ab5f --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonssettings/getauthorization/SyncGetAuthorization.java @@ -0,0 +1,45 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonssettings_getauthorization_sync] +import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsSettings; +import java.time.Duration; + +public class SyncGetAuthorization { + + public static void main(String[] args) throws Exception { + syncGetAuthorization(); + } + + public static void syncGetAuthorization() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + GSuiteAddOnsSettings.Builder gSuiteAddOnsSettingsBuilder = GSuiteAddOnsSettings.newBuilder(); + gSuiteAddOnsSettingsBuilder + .getAuthorizationSettings() + .setRetrySettings( + gSuiteAddOnsSettingsBuilder + .getAuthorizationSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + GSuiteAddOnsSettings gSuiteAddOnsSettings = gSuiteAddOnsSettingsBuilder.build(); + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonssettings_getauthorization_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/stub/gsuiteaddonsstubsettings/getauthorization/SyncGetAuthorization.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/stub/gsuiteaddonsstubsettings/getauthorization/SyncGetAuthorization.java new file mode 100644 index 00000000..848e0cab --- /dev/null +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/stub/gsuiteaddonsstubsettings/getauthorization/SyncGetAuthorization.java @@ -0,0 +1,46 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.gsuiteaddons.v1.stub.samples; + +// [START gsuiteaddons_v1_generated_gsuiteaddonsstubsettings_getauthorization_sync] +import com.google.cloud.gsuiteaddons.v1.stub.GSuiteAddOnsStubSettings; +import java.time.Duration; + +public class SyncGetAuthorization { + + public static void main(String[] args) throws Exception { + syncGetAuthorization(); + } + + public static void syncGetAuthorization() throws Exception { + // This snippet has been automatically generated for illustrative purposes only. + // It may require modifications to work in your environment. + GSuiteAddOnsStubSettings.Builder gSuiteAddOnsSettingsBuilder = + GSuiteAddOnsStubSettings.newBuilder(); + gSuiteAddOnsSettingsBuilder + .getAuthorizationSettings() + .setRetrySettings( + gSuiteAddOnsSettingsBuilder + .getAuthorizationSettings() + .getRetrySettings() + .toBuilder() + .setTotalTimeout(Duration.ofSeconds(30)) + .build()); + GSuiteAddOnsStubSettings gSuiteAddOnsSettings = gSuiteAddOnsSettingsBuilder.build(); + } +} +// [END gsuiteaddons_v1_generated_gsuiteaddonsstubsettings_getauthorization_sync] diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSetProto.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSetProto.java deleted file mode 100644 index 873586a6..00000000 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSetProto.java +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/apps/script/type/addon_widget_set.proto - -package com.google.apps.script.type; - -public final class AddOnWidgetSetProto { - private AddOnWidgetSetProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_apps_script_type_AddOnWidgetSet_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_apps_script_type_AddOnWidgetSet_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n.google/apps/script/type/addon_widget_s" - + "et.proto\022\027google.apps.script.type\"\244\002\n\016Ad" - + "dOnWidgetSet\022H\n\014used_widgets\030\001 \003(\01622.goo" - + "gle.apps.script.type.AddOnWidgetSet.Widg" - + "etType\"\307\001\n\nWidgetType\022\033\n\027WIDGET_TYPE_UNS" - + "PECIFIED\020\000\022\017\n\013DATE_PICKER\020\001\022\022\n\016STYLED_BU" - + "TTONS\020\002\022\024\n\020PERSISTENT_FORMS\020\003\022\020\n\014FIXED_F" - + "OOTER\020\004\022!\n\035UPDATE_SUBJECT_AND_RECIPIENTS" - + "\020\005\022\017\n\013GRID_WIDGET\020\006\022\033\n\027ADDON_COMPOSE_UI_" - + "ACTION\020\007B\275\001\n\033com.google.apps.script.type" - + "B\023AddOnWidgetSetProtoP\001Z6google.golang.o" - + "rg/genproto/googleapis/apps/script/type\252" - + "\002\027Google.Apps.Script.Type\312\002\027Google\\Apps\\" - + "Script\\Type\352\002\032Google::Apps::Script::Type" - + "b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_apps_script_type_AddOnWidgetSet_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_apps_script_type_AddOnWidgetSet_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_apps_script_type_AddOnWidgetSet_descriptor, - new java.lang.String[] { - "UsedWidgets", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/ExtensionPoint.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/ExtensionPoint.java deleted file mode 100644 index f564bb75..00000000 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/ExtensionPoint.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/apps/script/type/extension_point.proto - -package com.google.apps.script.type; - -public final class ExtensionPoint { - private ExtensionPoint() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_apps_script_type_MenuItemExtensionPoint_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_apps_script_type_MenuItemExtensionPoint_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_apps_script_type_HomepageExtensionPoint_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_apps_script_type_HomepageExtensionPoint_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_apps_script_type_UniversalActionExtensionPoint_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_apps_script_type_UniversalActionExtensionPoint_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n-google/apps/script/type/extension_poin" - + "t.proto\022\027google.apps.script.type\032\036google" - + "/protobuf/wrappers.proto\"O\n\026MenuItemExte" - + "nsionPoint\022\024\n\014run_function\030\001 \001(\t\022\r\n\005labe" - + "l\030\002 \001(\t\022\020\n\010logo_url\030\003 \001(\t\"[\n\026HomepageExt" - + "ensionPoint\022\024\n\014run_function\030\001 \001(\t\022+\n\007ena" - + "bled\030\002 \001(\0132\032.google.protobuf.BoolValue\"j" - + "\n\035UniversalActionExtensionPoint\022\r\n\005label" - + "\030\001 \001(\t\022\023\n\topen_link\030\002 \001(\tH\000\022\026\n\014run_funct" - + "ion\030\003 \001(\tH\000B\r\n\013action_typeB\250\001\n\033com.googl" - + "e.apps.script.typeP\001Z6google.golang.org/" - + "genproto/googleapis/apps/script/type\252\002\027G" - + "oogle.Apps.Script.Type\312\002\027Google\\Apps\\Scr" - + "ipt\\Type\352\002\032Google::Apps::Script::Typeb\006p" - + "roto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.WrappersProto.getDescriptor(), - }); - internal_static_google_apps_script_type_MenuItemExtensionPoint_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_apps_script_type_MenuItemExtensionPoint_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_apps_script_type_MenuItemExtensionPoint_descriptor, - new java.lang.String[] { - "RunFunction", "Label", "LogoUrl", - }); - internal_static_google_apps_script_type_HomepageExtensionPoint_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_apps_script_type_HomepageExtensionPoint_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_apps_script_type_HomepageExtensionPoint_descriptor, - new java.lang.String[] { - "RunFunction", "Enabled", - }); - internal_static_google_apps_script_type_UniversalActionExtensionPoint_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_apps_script_type_UniversalActionExtensionPoint_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_apps_script_type_UniversalActionExtensionPoint_descriptor, - new java.lang.String[] { - "Label", "OpenLink", "RunFunction", "ActionType", - }); - com.google.protobuf.WrappersProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/ScriptManifest.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/ScriptManifest.java deleted file mode 100644 index 05553f41..00000000 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/ScriptManifest.java +++ /dev/null @@ -1,125 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/apps/script/type/script_manifest.proto - -package com.google.apps.script.type; - -public final class ScriptManifest { - private ScriptManifest() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_apps_script_type_CommonAddOnManifest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_apps_script_type_CommonAddOnManifest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_apps_script_type_LayoutProperties_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_apps_script_type_LayoutProperties_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_apps_script_type_HttpOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_apps_script_type_HttpOptions_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n-google/apps/script/type/script_manifes" - + "t.proto\022\027google.apps.script.type\032.google" - + "/apps/script/type/addon_widget_set.proto" - + "\032-google/apps/script/type/extension_poin" - + "t.proto\032\034google/protobuf/struct.proto\"\266\003" - + "\n\023CommonAddOnManifest\022\014\n\004name\030\001 \001(\t\022\020\n\010l" - + "ogo_url\030\002 \001(\t\022D\n\021layout_properties\030\003 \001(\013" - + "2).google.apps.script.type.LayoutPropert" - + "ies\022B\n\021add_on_widget_set\030\004 \001(\0132\'.google." - + "apps.script.type.AddOnWidgetSet\022\033\n\023use_l" - + "ocale_from_app\030\005 \001(\010\022I\n\020homepage_trigger" - + "\030\006 \001(\0132/.google.apps.script.type.Homepag" - + "eExtensionPoint\022Q\n\021universal_actions\030\007 \003" - + "(\01326.google.apps.script.type.UniversalAc" - + "tionExtensionPoint\022:\n\026open_link_url_pref" - + "ixes\030\010 \001(\0132\032.google.protobuf.ListValue\"B" - + "\n\020LayoutProperties\022\025\n\rprimary_color\030\001 \001(" - + "\t\022\027\n\017secondary_color\030\002 \001(\t\"]\n\013HttpOption" - + "s\022N\n\024authorization_header\030\001 \001(\01620.google" - + ".apps.script.type.HttpAuthorizationHeade" - + "r*v\n\027HttpAuthorizationHeader\022)\n%HTTP_AUT" - + "HORIZATION_HEADER_UNSPECIFIED\020\000\022\023\n\017SYSTE" - + "M_ID_TOKEN\020\001\022\021\n\rUSER_ID_TOKEN\020\002\022\010\n\004NONE\020" - + "\003B\250\001\n\033com.google.apps.script.typeP\001Z6goo" - + "gle.golang.org/genproto/googleapis/apps/" - + "script/type\252\002\027Google.Apps.Script.Type\312\002\027" - + "Google\\Apps\\Script\\Type\352\002\032Google::Apps::" - + "Script::Typeb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.apps.script.type.AddOnWidgetSetProto.getDescriptor(), - com.google.apps.script.type.ExtensionPoint.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - }); - internal_static_google_apps_script_type_CommonAddOnManifest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_apps_script_type_CommonAddOnManifest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_apps_script_type_CommonAddOnManifest_descriptor, - new java.lang.String[] { - "Name", - "LogoUrl", - "LayoutProperties", - "AddOnWidgetSet", - "UseLocaleFromApp", - "HomepageTrigger", - "UniversalActions", - "OpenLinkUrlPrefixes", - }); - internal_static_google_apps_script_type_LayoutProperties_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_apps_script_type_LayoutProperties_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_apps_script_type_LayoutProperties_descriptor, - new java.lang.String[] { - "PrimaryColor", "SecondaryColor", - }); - internal_static_google_apps_script_type_HttpOptions_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_apps_script_type_HttpOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_apps_script_type_HttpOptions_descriptor, - new java.lang.String[] { - "AuthorizationHeader", - }); - com.google.apps.script.type.AddOnWidgetSetProto.getDescriptor(); - com.google.apps.script.type.ExtensionPoint.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifestProto.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifestProto.java deleted file mode 100644 index 51a2d2c6..00000000 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifestProto.java +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/apps/script/type/calendar/calendar_addon_manifest.proto - -package com.google.apps.script.type.calendar; - -public final class CalendarAddOnManifestProto { - private CalendarAddOnManifestProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_apps_script_type_calendar_ConferenceSolution_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_apps_script_type_calendar_ConferenceSolution_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n>google/apps/script/type/calendar/calen" - + "dar_addon_manifest.proto\022 google.apps.sc" - + "ript.type.calendar\032\037google/api/field_beh" - + "avior.proto\032-google/apps/script/type/ext" - + "ension_point.proto\"\277\004\n\025CalendarAddOnMani" - + "fest\022I\n\020homepage_trigger\030\006 \001(\0132/.google." - + "apps.script.type.HomepageExtensionPoint\022" - + "Q\n\023conference_solution\030\003 \003(\01324.google.ap" - + "ps.script.type.calendar.ConferenceSoluti" - + "on\022$\n\034create_settings_url_function\030\005 \001(\t" - + "\022T\n\022event_open_trigger\030\n \001(\01328.google.ap" - + "ps.script.type.calendar.CalendarExtensio" - + "nPoint\022V\n\024event_update_trigger\030\013 \001(\01328.g" - + "oogle.apps.script.type.calendar.Calendar" - + "ExtensionPoint\022a\n\024current_event_access\030\014" - + " \001(\0162C.google.apps.script.type.calendar." - + "CalendarAddOnManifest.EventAccess\"Q\n\013Eve" - + "ntAccess\022\017\n\013UNSPECIFIED\020\000\022\014\n\010METADATA\020\001\022" - + "\010\n\004READ\020\003\022\t\n\005WRITE\020\004\022\016\n\nREAD_WRITE\020\005\"p\n\022" - + "ConferenceSolution\022\037\n\022on_create_function" - + "\030\001 \001(\tB\003\340A\002\022\017\n\002id\030\004 \001(\tB\003\340A\002\022\021\n\004name\030\005 \001" - + "(\tB\003\340A\002\022\025\n\010logo_url\030\006 \001(\tB\003\340A\002\"3\n\026Calend" - + "arExtensionPoint\022\031\n\014run_function\030\001 \001(\tB\003" - + "\340A\002B\362\001\n$com.google.apps.script.type.cale" - + "ndarB\032CalendarAddOnManifestProtoP\001Z?goog" - + "le.golang.org/genproto/googleapis/apps/s" - + "cript/type/calendar\252\002 Google.Apps.Script" - + ".Type.Calendar\312\002 Google\\Apps\\Script\\Type" - + "\\Calendar\352\002$Google::Apps::Script::Type::" - + "Calendarb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.apps.script.type.ExtensionPoint.getDescriptor(), - }); - internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_descriptor, - new java.lang.String[] { - "HomepageTrigger", - "ConferenceSolution", - "CreateSettingsUrlFunction", - "EventOpenTrigger", - "EventUpdateTrigger", - "CurrentEventAccess", - }); - internal_static_google_apps_script_type_calendar_ConferenceSolution_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_apps_script_type_calendar_ConferenceSolution_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_apps_script_type_calendar_ConferenceSolution_descriptor, - new java.lang.String[] { - "OnCreateFunction", "Id", "Name", "LogoUrl", - }); - internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_descriptor, - new java.lang.String[] { - "RunFunction", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.apps.script.type.ExtensionPoint.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifestProto.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifestProto.java deleted file mode 100644 index fc6bacfc..00000000 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifestProto.java +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/apps/script/type/docs/docs_addon_manifest.proto - -package com.google.apps.script.type.docs; - -public final class DocsAddOnManifestProto { - private DocsAddOnManifestProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_apps_script_type_docs_DocsAddOnManifest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_apps_script_type_docs_DocsAddOnManifest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_apps_script_type_docs_DocsExtensionPoint_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_apps_script_type_docs_DocsExtensionPoint_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n6google/apps/script/type/docs/docs_addo" - + "n_manifest.proto\022\034google.apps.script.typ" - + "e.docs\032\037google/api/field_behavior.proto\032" - + "-google/apps/script/type/extension_point" - + ".proto\"\267\001\n\021DocsAddOnManifest\022I\n\020homepage" - + "_trigger\030\001 \001(\0132/.google.apps.script.type" - + ".HomepageExtensionPoint\022W\n\035on_file_scope" - + "_granted_trigger\030\002 \001(\01320.google.apps.scr" - + "ipt.type.docs.DocsExtensionPoint\"/\n\022Docs" - + "ExtensionPoint\022\031\n\014run_function\030\001 \001(\tB\003\340A" - + "\002B\332\001\n com.google.apps.script.type.docsB\026" - + "DocsAddOnManifestProtoP\001Z;google.golang." - + "org/genproto/googleapis/apps/script/type" - + "/docs\252\002\034Google.Apps.Script.Type.Docs\312\002\034G" - + "oogle\\Apps\\Script\\Type\\Docs\352\002 Google::Ap" - + "ps::Script::Type::Docsb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.apps.script.type.ExtensionPoint.getDescriptor(), - }); - internal_static_google_apps_script_type_docs_DocsAddOnManifest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_apps_script_type_docs_DocsAddOnManifest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_apps_script_type_docs_DocsAddOnManifest_descriptor, - new java.lang.String[] { - "HomepageTrigger", "OnFileScopeGrantedTrigger", - }); - internal_static_google_apps_script_type_docs_DocsExtensionPoint_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_apps_script_type_docs_DocsExtensionPoint_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_apps_script_type_docs_DocsExtensionPoint_descriptor, - new java.lang.String[] { - "RunFunction", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.apps.script.type.ExtensionPoint.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifestProto.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifestProto.java deleted file mode 100644 index b94c0377..00000000 --- a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifestProto.java +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/apps/script/type/drive/drive_addon_manifest.proto - -package com.google.apps.script.type.drive; - -public final class DriveAddOnManifestProto { - private DriveAddOnManifestProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_apps_script_type_drive_DriveAddOnManifest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_apps_script_type_drive_DriveAddOnManifest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_apps_script_type_drive_DriveExtensionPoint_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_apps_script_type_drive_DriveExtensionPoint_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n8google/apps/script/type/drive/drive_ad" - + "don_manifest.proto\022\035google.apps.script.t" - + "ype.drive\032-google/apps/script/type/exten" - + "sion_point.proto\"\266\001\n\022DriveAddOnManifest\022" - + "I\n\020homepage_trigger\030\001 \001(\0132/.google.apps." - + "script.type.HomepageExtensionPoint\022U\n\031on" - + "_items_selected_trigger\030\002 \001(\01322.google.a" - + "pps.script.type.drive.DriveExtensionPoin" - + "t\"+\n\023DriveExtensionPoint\022\024\n\014run_function" - + "\030\001 \001(\tB\340\001\n!com.google.apps.script.type.d" - + "riveB\027DriveAddOnManifestProtoP\001Zgoog" - + "le/apps/script/type/calendar/calendar_ad" - + "don_manifest.proto\0326google/apps/script/t" - + "ype/docs/docs_addon_manifest.proto\0328goog" - + "le/apps/script/type/drive/drive_addon_ma" - + "nifest.proto\0328google/apps/script/type/gm" - + "ail/gmail_addon_manifest.proto\032-google/a" - + "pps/script/type/script_manifest.proto\032:g" - + "oogle/apps/script/type/sheets/sheets_add" - + "on_manifest.proto\032:google/apps/script/ty" - + "pe/slides/slides_addon_manifest.proto\032\033g" - + "oogle/protobuf/empty.proto\032\036google/proto" - + "buf/wrappers.proto\"Z\n\027GetAuthorizationRe" - + "quest\022?\n\004name\030\002 \001(\tB1\340A\002\372A+\n)gsuiteaddon" - + "s.googleapis.com/Authorization\"\247\001\n\rAutho" - + "rization\022\014\n\004name\030\001 \001(\t\022\035\n\025service_accoun" - + "t_email\030\002 \001(\t\022\027\n\017oauth_client_id\030\003 \001(\t:P" - + "\352AM\n)gsuiteaddons.googleapis.com/Authori" - + "zation\022 projects/{project}/authorization" - + "\"\275\001\n\027CreateDeploymentRequest\022C\n\006parent\030\001" - + " \001(\tB3\340A\002\372A-\n+cloudresourcemanager.googl" - + "eapis.com/Project\022\032\n\rdeployment_id\030\002 \001(\t" - + "B\003\340A\002\022A\n\ndeployment\030\003 \001(\0132(.google.cloud" - + ".gsuiteaddons.v1.DeploymentB\003\340A\002\"]\n\030Repl" - + "aceDeploymentRequest\022A\n\ndeployment\030\002 \001(\013" - + "2(.google.cloud.gsuiteaddons.v1.Deployme" - + "ntB\003\340A\002\"T\n\024GetDeploymentRequest\022<\n\004name\030" - + "\001 \001(\tB.\340A\002\372A(\n&gsuiteaddons.googleapis.c" - + "om/Deployment\"\204\001\n\026ListDeploymentsRequest" - + "\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudresourcem" - + "anager.googleapis.com/Project\022\021\n\tpage_si" - + "ze\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"q\n\027ListDepl" - + "oymentsResponse\022=\n\013deployments\030\001 \003(\0132(.g" - + "oogle.cloud.gsuiteaddons.v1.Deployment\022\027" - + "\n\017next_page_token\030\002 \001(\t\"e\n\027DeleteDeploym" - + "entRequest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&gsuite" - + "addons.googleapis.com/Deployment\022\014\n\004etag" - + "\030\002 \001(\t\"X\n\030InstallDeploymentRequest\022<\n\004na" - + "me\030\001 \001(\tB.\340A\002\372A(\n&gsuiteaddons.googleapi" - + "s.com/Deployment\"Z\n\032UninstallDeploymentR" - + "equest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&gsuiteaddo" - + "ns.googleapis.com/Deployment\"Z\n\027GetInsta" - + "llStatusRequest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)g" - + "suiteaddons.googleapis.com/InstallStatus" - + "\"\267\001\n\rInstallStatus\022\014\n\004name\030\001 \001(\t\022-\n\tinst" - + "alled\030\002 \001(\0132\032.google.protobuf.BoolValue:" - + "i\352Af\n)gsuiteaddons.googleapis.com/Instal" - + "lStatus\0229projects/{project}/deployments/" - + "{deployment}/installStatus\"\317\001\n\nDeploymen" - + "t\022\014\n\004name\030\001 \001(\t\022\024\n\014oauth_scopes\030\002 \003(\t\0225\n" - + "\007add_ons\030\003 \001(\0132$.google.cloud.gsuiteaddo" - + "ns.v1.AddOns\022\014\n\004etag\030\005 \001(\t:X\352AU\n&gsuitea" - + "ddons.googleapis.com/Deployment\022+project" - + "s/{project}/deployments/{deployment}\"\232\004\n" - + "\006AddOns\022<\n\006common\030\001 \001(\0132,.google.apps.sc" - + "ript.type.CommonAddOnManifest\022@\n\005gmail\030\002" - + " \001(\01321.google.apps.script.type.gmail.Gma" - + "ilAddOnManifest\022@\n\005drive\030\005 \001(\01321.google." - + "apps.script.type.drive.DriveAddOnManifes" - + "t\022I\n\010calendar\030\006 \001(\01327.google.apps.script" - + ".type.calendar.CalendarAddOnManifest\022=\n\004" - + "docs\030\007 \001(\0132/.google.apps.script.type.doc" - + "s.DocsAddOnManifest\022C\n\006sheets\030\010 \001(\01323.go" - + "ogle.apps.script.type.sheets.SheetsAddOn" - + "Manifest\022C\n\006slides\030\n \001(\01323.google.apps.s" - + "cript.type.slides.SlidesAddOnManifest\022:\n" - + "\014http_options\030\017 \001(\0132$.google.apps.script" - + ".type.HttpOptions2\244\r\n\014GSuiteAddOns\022\252\001\n\020G" - + "etAuthorization\0225.google.cloud.gsuiteadd" - + "ons.v1.GetAuthorizationRequest\032+.google." - + "cloud.gsuiteaddons.v1.Authorization\"2\202\323\344" - + "\223\002%\022#/v1/{name=projects/*/authorization}" - + "\332A\004name\022\316\001\n\020CreateDeployment\0225.google.cl" - + "oud.gsuiteaddons.v1.CreateDeploymentRequ" - + "est\032(.google.cloud.gsuiteaddons.v1.Deplo" - + "yment\"Y\202\323\344\223\0021\"#/v1/{parent=projects/*}/d" - + "eployments:\ndeployment\332A\037parent,deployme" - + "nt,deployment_id\022\306\001\n\021ReplaceDeployment\0226" - + ".google.cloud.gsuiteaddons.v1.ReplaceDep" - + "loymentRequest\032(.google.cloud.gsuiteaddo" - + "ns.v1.Deployment\"O\202\323\344\223\002<\032./v1/{deploymen" - + "t.name=projects/*/deployments/*}:\ndeploy" - + "ment\332A\ndeployment\022\241\001\n\rGetDeployment\0222.go" - + "ogle.cloud.gsuiteaddons.v1.GetDeployment" - + "Request\032(.google.cloud.gsuiteaddons.v1.D" - + "eployment\"2\202\323\344\223\002%\022#/v1/{name=projects/*/" - + "deployments/*}\332A\004name\022\264\001\n\017ListDeployment" - + "s\0224.google.cloud.gsuiteaddons.v1.ListDep" - + "loymentsRequest\0325.google.cloud.gsuiteadd" - + "ons.v1.ListDeploymentsResponse\"4\202\323\344\223\002%\022#" - + "/v1/{parent=projects/*}/deployments\332A\006pa" - + "rent\022\225\001\n\020DeleteDeployment\0225.google.cloud" - + ".gsuiteaddons.v1.DeleteDeploymentRequest" - + "\032\026.google.protobuf.Empty\"2\202\323\344\223\002%*#/v1/{n" - + "ame=projects/*/deployments/*}\332A\004name\022\242\001\n" - + "\021InstallDeployment\0226.google.cloud.gsuite" - + "addons.v1.InstallDeploymentRequest\032\026.goo" - + "gle.protobuf.Empty\"=\202\323\344\223\0020\"+/v1/{name=pr" - + "ojects/*/deployments/*}:install:\001*\332A\004nam" - + "e\022\250\001\n\023UninstallDeployment\0228.google.cloud" - + ".gsuiteaddons.v1.UninstallDeploymentRequ" - + "est\032\026.google.protobuf.Empty\"?\202\323\344\223\0022\"-/v1" - + "/{name=projects/*/deployments/*}:uninsta" - + "ll:\001*\332A\004name\022\270\001\n\020GetInstallStatus\0225.goog" - + "le.cloud.gsuiteaddons.v1.GetInstallStatu" - + "sRequest\032+.google.cloud.gsuiteaddons.v1." - + "InstallStatus\"@\202\323\344\223\0023\0221/v1/{name=project" - + "s/*/deployments/*/installStatus}\332A\004name\032" - + "O\312A\033gsuiteaddons.googleapis.com\322A.https:" - + "//www.googleapis.com/auth/cloud-platform" - + "B\341\001\n com.google.cloud.gsuiteaddons.v1B\021G" - + "SuiteAddOnsProtoP\001ZHgoogle.golang.org/ge" - + "nproto/googleapis/cloud/gsuiteaddons/v1;" - + "gsuiteaddons\252\002\034Google.Cloud.GSuiteAddOns" - + ".V1\312\002\034Google\\Cloud\\GSuiteAddOns\\V1\352\002\037Goo" - + "gle::Cloud::GSuiteAddOns::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.apps.script.type.calendar.CalendarAddOnManifestProto.getDescriptor(), - com.google.apps.script.type.docs.DocsAddOnManifestProto.getDescriptor(), - com.google.apps.script.type.drive.DriveAddOnManifestProto.getDescriptor(), - com.google.apps.script.type.gmail.GmailAddOnManifestProto.getDescriptor(), - com.google.apps.script.type.ScriptManifest.getDescriptor(), - com.google.apps.script.type.sheets.SheetsAddOnManifestProto.getDescriptor(), - com.google.apps.script.type.slides.SlidesAddOnManifestProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.WrappersProto.getDescriptor(), - }); - internal_static_google_cloud_gsuiteaddons_v1_GetAuthorizationRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_gsuiteaddons_v1_GetAuthorizationRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gsuiteaddons_v1_GetAuthorizationRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_gsuiteaddons_v1_Authorization_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_gsuiteaddons_v1_Authorization_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gsuiteaddons_v1_Authorization_descriptor, - new java.lang.String[] { - "Name", "ServiceAccountEmail", "OauthClientId", - }); - internal_static_google_cloud_gsuiteaddons_v1_CreateDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_gsuiteaddons_v1_CreateDeploymentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gsuiteaddons_v1_CreateDeploymentRequest_descriptor, - new java.lang.String[] { - "Parent", "DeploymentId", "Deployment", - }); - internal_static_google_cloud_gsuiteaddons_v1_ReplaceDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_gsuiteaddons_v1_ReplaceDeploymentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gsuiteaddons_v1_ReplaceDeploymentRequest_descriptor, - new java.lang.String[] { - "Deployment", - }); - internal_static_google_cloud_gsuiteaddons_v1_GetDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_gsuiteaddons_v1_GetDeploymentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gsuiteaddons_v1_GetDeploymentRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsResponse_descriptor, - new java.lang.String[] { - "Deployments", "NextPageToken", - }); - internal_static_google_cloud_gsuiteaddons_v1_DeleteDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_gsuiteaddons_v1_DeleteDeploymentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gsuiteaddons_v1_DeleteDeploymentRequest_descriptor, - new java.lang.String[] { - "Name", "Etag", - }); - internal_static_google_cloud_gsuiteaddons_v1_InstallDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_gsuiteaddons_v1_InstallDeploymentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gsuiteaddons_v1_InstallDeploymentRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_gsuiteaddons_v1_UninstallDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_gsuiteaddons_v1_UninstallDeploymentRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gsuiteaddons_v1_UninstallDeploymentRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_gsuiteaddons_v1_GetInstallStatusRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_gsuiteaddons_v1_GetInstallStatusRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gsuiteaddons_v1_GetInstallStatusRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_gsuiteaddons_v1_InstallStatus_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_gsuiteaddons_v1_InstallStatus_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gsuiteaddons_v1_InstallStatus_descriptor, - new java.lang.String[] { - "Name", "Installed", - }); - internal_static_google_cloud_gsuiteaddons_v1_Deployment_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_gsuiteaddons_v1_Deployment_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gsuiteaddons_v1_Deployment_descriptor, - new java.lang.String[] { - "Name", "OauthScopes", "AddOns", "Etag", - }); - internal_static_google_cloud_gsuiteaddons_v1_AddOns_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_gsuiteaddons_v1_AddOns_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gsuiteaddons_v1_AddOns_descriptor, - new java.lang.String[] { - "Common", "Gmail", "Drive", "Calendar", "Docs", "Sheets", "Slides", "HttpOptions", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.apps.script.type.calendar.CalendarAddOnManifestProto.getDescriptor(); - com.google.apps.script.type.docs.DocsAddOnManifestProto.getDescriptor(); - com.google.apps.script.type.drive.DriveAddOnManifestProto.getDescriptor(); - com.google.apps.script.type.gmail.GmailAddOnManifestProto.getDescriptor(); - com.google.apps.script.type.ScriptManifest.getDescriptor(); - com.google.apps.script.type.sheets.SheetsAddOnManifestProto.getDescriptor(); - com.google.apps.script.type.slides.SlidesAddOnManifestProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.WrappersProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetAuthorizationRequestOrBuilder.java b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetAuthorizationRequestOrBuilder.java deleted file mode 100644 index 508139f8..00000000 --- a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetAuthorizationRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto - -package com.google.cloud.gsuiteaddons.v1; - -public interface GetAuthorizationRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.GetAuthorizationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Name of the project for which to get the Google Workspace Add-ons
-   * authorization information.
-   * Example: `projects/my_project/authorization`.
-   * 
- * - * - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Name of the project for which to get the Google Workspace Add-ons
-   * authorization information.
-   * Example: `projects/my_project/authorization`.
-   * 
- * - * - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetDeploymentRequestOrBuilder.java b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetDeploymentRequestOrBuilder.java deleted file mode 100644 index 3fbc2105..00000000 --- a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetDeploymentRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto - -package com.google.cloud.gsuiteaddons.v1; - -public interface GetDeploymentRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.GetDeploymentRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The full resource name of the deployment to get.
-   * Example:  `projects/my_project/deployments/my_deployment`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The full resource name of the deployment to get.
-   * Example:  `projects/my_project/deployments/my_deployment`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetInstallStatusRequestOrBuilder.java b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetInstallStatusRequestOrBuilder.java deleted file mode 100644 index 1f187ea5..00000000 --- a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetInstallStatusRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto - -package com.google.cloud.gsuiteaddons.v1; - -public interface GetInstallStatusRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.GetInstallStatusRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The full resource name of the deployment.
-   * Example:  `projects/my_project/deployments/my_deployment/installStatus`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The full resource name of the deployment.
-   * Example:  `projects/my_project/deployments/my_deployment/installStatus`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallDeploymentRequestOrBuilder.java b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallDeploymentRequestOrBuilder.java deleted file mode 100644 index def6f56e..00000000 --- a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallDeploymentRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto - -package com.google.cloud.gsuiteaddons.v1; - -public interface InstallDeploymentRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.InstallDeploymentRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The full resource name of the deployment to install.
-   * Example:  `projects/my_project/deployments/my_deployment`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The full resource name of the deployment to install.
-   * Example:  `projects/my_project/deployments/my_deployment`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ReplaceDeploymentRequestOrBuilder.java b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ReplaceDeploymentRequestOrBuilder.java deleted file mode 100644 index 7ab6578d..00000000 --- a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ReplaceDeploymentRequestOrBuilder.java +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto - -package com.google.cloud.gsuiteaddons.v1; - -public interface ReplaceDeploymentRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The deployment to create or replace.
-   * 
- * - * - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the deployment field is set. - */ - boolean hasDeployment(); - /** - * - * - *
-   * Required. The deployment to create or replace.
-   * 
- * - * - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The deployment. - */ - com.google.cloud.gsuiteaddons.v1.Deployment getDeployment(); - /** - * - * - *
-   * Required. The deployment to create or replace.
-   * 
- * - * - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder getDeploymentOrBuilder(); -} diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/UninstallDeploymentRequestOrBuilder.java b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/UninstallDeploymentRequestOrBuilder.java deleted file mode 100644 index 8f3dd959..00000000 --- a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/UninstallDeploymentRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto - -package com.google.cloud.gsuiteaddons.v1; - -public interface UninstallDeploymentRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The full resource name of the deployment to install.
-   * Example:  `projects/my_project/deployments/my_deployment`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The full resource name of the deployment to install.
-   * Example:  `projects/my_project/deployments/my_deployment`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} From 45476747b74500ece0ee8f4f1f177a3ea31dd262 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 23 Jun 2022 02:30:31 +0000 Subject: [PATCH 2/4] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .../gsuiteaddons/v1/GSuiteAddOnsClient.java | 16 +- .../gsuiteaddons/v1/GSuiteAddOnsSettings.java | 7 +- .../cloud/gsuiteaddons/v1/gapic_metadata.json | 0 .../cloud/gsuiteaddons/v1/package-info.java | 0 .../v1/stub/GSuiteAddOnsStub.java | 0 .../v1/stub/GSuiteAddOnsStubSettings.java | 6 +- .../stub/GrpcGSuiteAddOnsCallableFactory.java | 0 .../v1/stub/GrpcGSuiteAddOnsStub.java | 1 - .../HttpJsonGSuiteAddOnsCallableFactory.java | 0 .../v1/stub/HttpJsonGSuiteAddOnsStub.java | 0 .../v1/GSuiteAddOnsClientHttpJsonTest.java | 0 .../v1/GSuiteAddOnsClientTest.java | 0 .../gsuiteaddons/v1/MockGSuiteAddOns.java | 0 .../gsuiteaddons/v1/MockGSuiteAddOnsImpl.java | 0 .../gsuiteaddons/v1/GSuiteAddOnsGrpc.java | 990 +++++++++----- .../apps/script/type/AddOnWidgetSetProto.java | 60 - .../apps/script/type/ExtensionPoint.java | 84 -- .../apps/script/type/ScriptManifest.java | 101 -- .../calendar/CalendarAddOnManifestProto.java | 106 -- .../type/docs/DocsAddOnManifestProto.java | 81 -- .../type/drive/DriveAddOnManifestProto.java | 74 -- .../type/gmail/GmailAddOnManifestProto.java | 128 -- .../gmail/UnconditionalTriggerOrBuilder.java | 9 - .../type/sheets/SheetsAddOnManifestProto.java | 82 -- .../type/slides/SlidesAddOnManifestProto.java | 82 -- .../gsuiteaddons/v1/GSuiteAddOnsProto.java | 345 ----- .../v1/GetAuthorizationRequestOrBuilder.java | 33 - .../v1/GetDeploymentRequestOrBuilder.java | 31 - .../v1/GetInstallStatusRequestOrBuilder.java | 31 - .../v1/InstallDeploymentRequestOrBuilder.java | 31 - .../v1/ReplaceDeploymentRequestOrBuilder.java | 36 - .../UninstallDeploymentRequestOrBuilder.java | 31 - .../apps/script/type/AddOnWidgetSet.java | 464 ++++--- .../script/type/AddOnWidgetSetOrBuilder.java | 36 +- .../apps/script/type/AddOnWidgetSetProto.java | 73 ++ .../apps/script/type/CommonAddOnManifest.java | 1069 +++++++++------ .../type/CommonAddOnManifestOrBuilder.java | 100 +- .../apps/script/type/ExtensionPoint.java | 101 ++ .../script/type/HomepageExtensionPoint.java | 399 +++--- .../type/HomepageExtensionPointOrBuilder.java | 35 +- .../script/type/HttpAuthorizationHeader.java | 84 +- .../google/apps/script/type/HttpOptions.java | 294 +++-- .../script/type/HttpOptionsOrBuilder.java | 24 +- .../apps/script/type/LayoutProperties.java | 380 +++--- .../type/LayoutPropertiesOrBuilder.java | 36 +- .../script/type/MenuItemExtensionPoint.java | 469 ++++--- .../type/MenuItemExtensionPointOrBuilder.java | 45 +- .../apps/script/type/ScriptManifest.java | 125 ++ .../type/UniversalActionExtensionPoint.java | 546 ++++---- ...niversalActionExtensionPointOrBuilder.java | 54 +- .../type/calendar/CalendarAddOnManifest.java | 1158 +++++++++++------ .../CalendarAddOnManifestOrBuilder.java | 109 +- .../calendar/CalendarAddOnManifestProto.java | 128 ++ .../type/calendar/CalendarExtensionPoint.java | 314 +++-- .../CalendarExtensionPointOrBuilder.java | 27 +- .../type/calendar/ConferenceSolution.java | 553 ++++---- .../calendar/ConferenceSolutionOrBuilder.java | 54 +- .../script/type/docs/DocsAddOnManifest.java | 493 ++++--- .../type/docs/DocsAddOnManifestOrBuilder.java | 46 +- .../type/docs/DocsAddOnManifestProto.java | 97 ++ .../script/type/docs/DocsExtensionPoint.java | 311 +++-- .../docs/DocsExtensionPointOrBuilder.java | 27 +- .../script/type/drive/DriveAddOnManifest.java | 482 ++++--- .../drive/DriveAddOnManifestOrBuilder.java | 37 +- .../type/drive/DriveAddOnManifestProto.java | 90 ++ .../type/drive/DriveExtensionPoint.java | 314 +++-- .../drive/DriveExtensionPointOrBuilder.java | 27 +- .../script/type/gmail/ComposeTrigger.java | 512 +++++--- .../type/gmail/ComposeTriggerOrBuilder.java | 42 +- .../script/type/gmail/ContextualTrigger.java | 471 ++++--- .../gmail/ContextualTriggerOrBuilder.java | 35 +- .../script/type/gmail/GmailAddOnManifest.java | 860 ++++++++---- .../gmail/GmailAddOnManifestOrBuilder.java | 73 +- .../type/gmail/GmailAddOnManifestProto.java | 149 +++ .../type/gmail/UnconditionalTrigger.java | 238 ++-- .../gmail/UnconditionalTriggerOrBuilder.java | 24 + .../script/type/gmail/UniversalAction.java | 543 ++++---- .../type/gmail/UniversalActionOrBuilder.java | 51 +- .../type/sheets/SheetsAddOnManifest.java | 496 ++++--- .../sheets/SheetsAddOnManifestOrBuilder.java | 46 +- .../type/sheets/SheetsAddOnManifestProto.java | 98 ++ .../type/sheets/SheetsExtensionPoint.java | 314 +++-- .../sheets/SheetsExtensionPointOrBuilder.java | 27 +- .../type/slides/SlidesAddOnManifest.java | 496 ++++--- .../slides/SlidesAddOnManifestOrBuilder.java | 46 +- .../type/slides/SlidesAddOnManifestProto.java | 98 ++ .../type/slides/SlidesExtensionPoint.java | 314 +++-- .../slides/SlidesExtensionPointOrBuilder.java | 27 +- .../apps/script/type/addon_widget_set.proto | 0 .../calendar/calendar_addon_manifest.proto | 0 .../type/docs/docs_addon_manifest.proto | 0 .../type/drive/drive_addon_manifest.proto | 0 .../apps/script/type/extension_point.proto | 0 .../type/gmail/gmail_addon_manifest.proto | 0 .../apps/script/type/script_manifest.proto | 0 .../type/sheets/sheets_addon_manifest.proto | 0 .../type/slides/slides_addon_manifest.proto | 0 .../google/cloud/gsuiteaddons/v1/AddOns.java | 1037 ++++++++++----- .../gsuiteaddons/v1/AddOnsOrBuilder.java | 82 +- .../cloud/gsuiteaddons/v1/Authorization.java | 459 ++++--- .../gsuiteaddons/v1/AuthorizationName.java | 0 .../v1/AuthorizationOrBuilder.java | 45 +- .../v1/CreateDeploymentRequest.java | 567 +++++--- .../v1/CreateDeploymentRequestOrBuilder.java | 64 +- .../v1/DeleteDeploymentRequest.java | 421 +++--- .../v1/DeleteDeploymentRequestOrBuilder.java | 44 +- .../cloud/gsuiteaddons/v1/Deployment.java | 588 +++++---- .../cloud/gsuiteaddons/v1/DeploymentName.java | 0 .../gsuiteaddons/v1/DeploymentOrBuilder.java | 62 +- .../gsuiteaddons/v1/GSuiteAddOnsProto.java | 373 ++++++ .../v1/GetAuthorizationRequest.java | 342 +++-- .../v1/GetAuthorizationRequestOrBuilder.java | 58 + .../gsuiteaddons/v1/GetDeploymentRequest.java | 342 +++-- .../v1/GetDeploymentRequestOrBuilder.java | 56 + .../v1/GetInstallStatusRequest.java | 342 +++-- .../v1/GetInstallStatusRequestOrBuilder.java | 56 + .../v1/InstallDeploymentRequest.java | 342 +++-- .../v1/InstallDeploymentRequestOrBuilder.java | 56 + .../cloud/gsuiteaddons/v1/InstallStatus.java | 389 +++--- .../gsuiteaddons/v1/InstallStatusName.java | 0 .../v1/InstallStatusOrBuilder.java | 35 +- .../v1/ListDeploymentsRequest.java | 455 ++++--- .../v1/ListDeploymentsRequestOrBuilder.java | 47 +- .../v1/ListDeploymentsResponse.java | 464 ++++--- .../v1/ListDeploymentsResponseOrBuilder.java | 45 +- .../cloud/gsuiteaddons/v1/ProjectName.java | 0 .../v1/ReplaceDeploymentRequest.java | 386 +++--- .../v1/ReplaceDeploymentRequestOrBuilder.java | 66 + .../v1/UninstallDeploymentRequest.java | 342 +++-- .../UninstallDeploymentRequestOrBuilder.java | 56 + .../cloud/gsuiteaddons/v1/gsuiteaddons.proto | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateDeployment.java | 0 .../SyncCreateDeployment.java | 0 ...DeploymentProjectnameDeploymentString.java | 6 +- ...reateDeploymentStringDeploymentString.java | 0 .../AsyncDeleteDeployment.java | 0 .../SyncDeleteDeployment.java | 1 - .../SyncDeleteDeploymentDeploymentname.java | 1 - .../SyncDeleteDeploymentString.java | 1 - .../AsyncGetAuthorization.java | 0 .../SyncGetAuthorization.java | 0 ...SyncGetAuthorizationAuthorizationname.java | 0 .../SyncGetAuthorizationString.java | 0 .../getdeployment/AsyncGetDeployment.java | 0 .../getdeployment/SyncGetDeployment.java | 0 .../SyncGetDeploymentDeploymentname.java | 0 .../SyncGetDeploymentString.java | 0 .../AsyncGetInstallStatus.java | 0 .../SyncGetInstallStatus.java | 0 ...SyncGetInstallStatusInstallstatusname.java | 0 .../SyncGetInstallStatusString.java | 0 .../AsyncInstallDeployment.java | 0 .../SyncInstallDeployment.java | 1 - .../SyncInstallDeploymentDeploymentname.java | 1 - .../SyncInstallDeploymentString.java | 1 - .../listdeployments/AsyncListDeployments.java | 0 .../AsyncListDeploymentsPaged.java | 0 .../listdeployments/SyncListDeployments.java | 0 .../SyncListDeploymentsProjectname.java | 0 .../SyncListDeploymentsString.java | 0 .../AsyncReplaceDeployment.java | 0 .../SyncReplaceDeployment.java | 0 .../SyncReplaceDeploymentDeployment.java | 0 .../AsyncUninstallDeployment.java | 0 .../SyncUninstallDeployment.java | 1 - ...SyncUninstallDeploymentDeploymentname.java | 1 - .../SyncUninstallDeploymentString.java | 1 - .../SyncGetAuthorization.java | 0 .../SyncGetAuthorization.java | 0 172 files changed, 14706 insertions(+), 8856 deletions(-) rename {owl-bot-staging/v1/google-cloud-gsuite-addons => google-cloud-gsuite-addons}/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsClient.java (98%) rename {owl-bot-staging/v1/google-cloud-gsuite-addons => google-cloud-gsuite-addons}/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsSettings.java (97%) rename {owl-bot-staging/v1/google-cloud-gsuite-addons => google-cloud-gsuite-addons}/src/main/java/com/google/cloud/gsuiteaddons/v1/gapic_metadata.json (100%) rename {owl-bot-staging/v1/google-cloud-gsuite-addons => google-cloud-gsuite-addons}/src/main/java/com/google/cloud/gsuiteaddons/v1/package-info.java (100%) rename {owl-bot-staging/v1/google-cloud-gsuite-addons => google-cloud-gsuite-addons}/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GSuiteAddOnsStub.java (100%) rename {owl-bot-staging/v1/google-cloud-gsuite-addons => google-cloud-gsuite-addons}/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GSuiteAddOnsStubSettings.java (98%) rename {owl-bot-staging/v1/google-cloud-gsuite-addons => google-cloud-gsuite-addons}/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GrpcGSuiteAddOnsCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-gsuite-addons => google-cloud-gsuite-addons}/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GrpcGSuiteAddOnsStub.java (99%) rename {owl-bot-staging/v1/google-cloud-gsuite-addons => google-cloud-gsuite-addons}/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/HttpJsonGSuiteAddOnsCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-gsuite-addons => google-cloud-gsuite-addons}/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/HttpJsonGSuiteAddOnsStub.java (100%) rename {owl-bot-staging/v1/google-cloud-gsuite-addons => google-cloud-gsuite-addons}/src/test/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1/google-cloud-gsuite-addons => google-cloud-gsuite-addons}/src/test/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsClientTest.java (100%) rename {owl-bot-staging/v1/google-cloud-gsuite-addons => google-cloud-gsuite-addons}/src/test/java/com/google/cloud/gsuiteaddons/v1/MockGSuiteAddOns.java (100%) rename {owl-bot-staging/v1/google-cloud-gsuite-addons => google-cloud-gsuite-addons}/src/test/java/com/google/cloud/gsuiteaddons/v1/MockGSuiteAddOnsImpl.java (100%) rename {owl-bot-staging/v1/grpc-google-cloud-gsuite-addons-v1 => grpc-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsGrpc.java (50%) delete mode 100644 owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSetProto.java delete mode 100644 owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/ExtensionPoint.java delete mode 100644 owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/ScriptManifest.java delete mode 100644 owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifestProto.java delete mode 100644 owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifestProto.java delete mode 100644 owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifestProto.java delete mode 100644 owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/GmailAddOnManifestProto.java delete mode 100644 owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/UnconditionalTriggerOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsAddOnManifestProto.java delete mode 100644 owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesAddOnManifestProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetAuthorizationRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetDeploymentRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetInstallStatusRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallDeploymentRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ReplaceDeploymentRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/UninstallDeploymentRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/AddOnWidgetSet.java (74%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/AddOnWidgetSetOrBuilder.java (70%) create mode 100644 proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSetProto.java rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/CommonAddOnManifest.java (75%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/CommonAddOnManifestOrBuilder.java (86%) create mode 100644 proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/ExtensionPoint.java rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/HomepageExtensionPoint.java (72%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/HomepageExtensionPointOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/HttpAuthorizationHeader.java (71%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/HttpOptions.java (67%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/HttpOptionsOrBuilder.java (57%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/LayoutProperties.java (73%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/LayoutPropertiesOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/MenuItemExtensionPoint.java (71%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/MenuItemExtensionPointOrBuilder.java (65%) create mode 100644 proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/ScriptManifest.java rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/UniversalActionExtensionPoint.java (71%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/UniversalActionExtensionPointOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifest.java (71%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifestOrBuilder.java (78%) create mode 100644 proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifestProto.java rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/calendar/CalendarExtensionPoint.java (70%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/calendar/CalendarExtensionPointOrBuilder.java (53%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/calendar/ConferenceSolution.java (74%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/calendar/ConferenceSolutionOrBuilder.java (74%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifest.java (69%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifestOrBuilder.java (68%) create mode 100644 proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifestProto.java rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/docs/DocsExtensionPoint.java (70%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/docs/DocsExtensionPointOrBuilder.java (52%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifest.java (70%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifestOrBuilder.java (75%) create mode 100644 proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifestProto.java rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/drive/DriveExtensionPoint.java (69%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/drive/DriveExtensionPointOrBuilder.java (50%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/gmail/ComposeTrigger.java (75%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/gmail/ComposeTriggerOrBuilder.java (75%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/gmail/ContextualTrigger.java (71%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/gmail/ContextualTriggerOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/gmail/GmailAddOnManifest.java (78%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/gmail/GmailAddOnManifestOrBuilder.java (88%) create mode 100644 proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/GmailAddOnManifestProto.java rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/gmail/UnconditionalTrigger.java (67%) create mode 100644 proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/UnconditionalTriggerOrBuilder.java rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/gmail/UniversalAction.java (73%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/gmail/UniversalActionOrBuilder.java (72%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/sheets/SheetsAddOnManifest.java (69%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/sheets/SheetsAddOnManifestOrBuilder.java (70%) create mode 100644 proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsAddOnManifestProto.java rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/sheets/SheetsExtensionPoint.java (70%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/sheets/SheetsExtensionPointOrBuilder.java (53%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/slides/SlidesAddOnManifest.java (69%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/slides/SlidesAddOnManifestOrBuilder.java (70%) create mode 100644 proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesAddOnManifestProto.java rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/slides/SlidesExtensionPoint.java (70%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/java/com/google/apps/script/type/slides/SlidesExtensionPointOrBuilder.java (53%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/proto/google/apps/script/type/addon_widget_set.proto (100%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/proto/google/apps/script/type/calendar/calendar_addon_manifest.proto (100%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/proto/google/apps/script/type/docs/docs_addon_manifest.proto (100%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/proto/google/apps/script/type/drive/drive_addon_manifest.proto (100%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/proto/google/apps/script/type/extension_point.proto (100%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/proto/google/apps/script/type/gmail/gmail_addon_manifest.proto (100%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/proto/google/apps/script/type/script_manifest.proto (100%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/proto/google/apps/script/type/sheets/sheets_addon_manifest.proto (100%) rename {owl-bot-staging/v1/proto-google-apps-script-type-protos => proto-google-apps-script-type-protos}/src/main/proto/google/apps/script/type/slides/slides_addon_manifest.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1 => proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/AddOns.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1 => proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/AddOnsOrBuilder.java (86%) rename {owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1 => proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/Authorization.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1 => proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/AuthorizationName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1 => proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/AuthorizationOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1 => proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/CreateDeploymentRequest.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1 => proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/CreateDeploymentRequestOrBuilder.java (56%) rename {owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1 => proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/DeleteDeploymentRequest.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1 => proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/DeleteDeploymentRequestOrBuilder.java (52%) rename {owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1 => proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/Deployment.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1 => proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/DeploymentName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1 => proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/DeploymentOrBuilder.java (76%) create mode 100644 proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsProto.java rename {owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1 => proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/GetAuthorizationRequest.java (65%) create mode 100644 proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetAuthorizationRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1 => proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/GetDeploymentRequest.java (65%) create mode 100644 proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetDeploymentRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1 => proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/GetInstallStatusRequest.java (65%) create mode 100644 proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetInstallStatusRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1 => proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallDeploymentRequest.java (65%) create mode 100644 proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallDeploymentRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1 => proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallStatus.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1 => proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallStatusName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1 => proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallStatusOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1 => proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1 => proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsRequestOrBuilder.java (62%) rename {owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1 => proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsResponse.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1 => proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsResponseOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1 => proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/ProjectName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1 => proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/ReplaceDeploymentRequest.java (62%) create mode 100644 proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ReplaceDeploymentRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1 => proto-google-cloud-gsuite-addons-v1}/src/main/java/com/google/cloud/gsuiteaddons/v1/UninstallDeploymentRequest.java (65%) create mode 100644 proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/UninstallDeploymentRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1 => proto-google-cloud-gsuite-addons-v1}/src/main/proto/google/cloud/gsuiteaddons/v1/gsuiteaddons.proto (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/createdeployment/AsyncCreateDeployment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/createdeployment/SyncCreateDeployment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/createdeployment/SyncCreateDeploymentProjectnameDeploymentString.java (88%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/createdeployment/SyncCreateDeploymentStringDeploymentString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/AsyncDeleteDeployment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/SyncDeleteDeployment.java (98%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/SyncDeleteDeploymentDeploymentname.java (97%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/SyncDeleteDeploymentString.java (97%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getauthorization/AsyncGetAuthorization.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getauthorization/SyncGetAuthorization.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getauthorization/SyncGetAuthorizationAuthorizationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getauthorization/SyncGetAuthorizationString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getdeployment/AsyncGetDeployment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getdeployment/SyncGetDeployment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getdeployment/SyncGetDeploymentDeploymentname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getdeployment/SyncGetDeploymentString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getinstallstatus/AsyncGetInstallStatus.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getinstallstatus/SyncGetInstallStatus.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getinstallstatus/SyncGetInstallStatusInstallstatusname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getinstallstatus/SyncGetInstallStatusString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/AsyncInstallDeployment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/SyncInstallDeployment.java (98%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/SyncInstallDeploymentDeploymentname.java (97%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/SyncInstallDeploymentString.java (97%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/AsyncListDeployments.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/AsyncListDeploymentsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/SyncListDeployments.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/SyncListDeploymentsProjectname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/SyncListDeploymentsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/replacedeployment/AsyncReplaceDeployment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/replacedeployment/SyncReplaceDeployment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/replacedeployment/SyncReplaceDeploymentDeployment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/AsyncUninstallDeployment.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/SyncUninstallDeployment.java (98%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/SyncUninstallDeploymentDeploymentname.java (97%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/SyncUninstallDeploymentString.java (97%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonssettings/getauthorization/SyncGetAuthorization.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/gsuiteaddons/v1/stub/gsuiteaddonsstubsettings/getauthorization/SyncGetAuthorization.java (100%) diff --git a/owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsClient.java b/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsClient.java similarity index 98% rename from owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsClient.java rename to google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsClient.java index 93646cb5..6871b907 100644 --- a/owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsClient.java +++ b/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsClient.java @@ -77,13 +77,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -1172,7 +1172,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListDeploymentsPagedResponse extends AbstractPagedListResponse< - ListDeploymentsRequest, ListDeploymentsResponse, Deployment, ListDeploymentsPage, + ListDeploymentsRequest, + ListDeploymentsResponse, + Deployment, + ListDeploymentsPage, ListDeploymentsFixedSizeCollection> { public static ApiFuture createAsync( @@ -1222,7 +1225,10 @@ public ApiFuture createPageAsync( public static class ListDeploymentsFixedSizeCollection extends AbstractFixedSizeCollection< - ListDeploymentsRequest, ListDeploymentsResponse, Deployment, ListDeploymentsPage, + ListDeploymentsRequest, + ListDeploymentsResponse, + Deployment, + ListDeploymentsPage, ListDeploymentsFixedSizeCollection> { private ListDeploymentsFixedSizeCollection( diff --git a/owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsSettings.java b/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsSettings.java similarity index 97% rename from owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsSettings.java rename to google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsSettings.java index 00be2779..f594d82e 100644 --- a/owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsSettings.java +++ b/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsSettings.java @@ -28,7 +28,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.gsuiteaddons.v1.stub.GSuiteAddOnsStubSettings; @@ -44,9 +43,9 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (gsuiteaddons.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (gsuiteaddons.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/gapic_metadata.json b/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/gapic_metadata.json rename to google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/gapic_metadata.json diff --git a/owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/package-info.java b/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/package-info.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/package-info.java rename to google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/package-info.java diff --git a/owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GSuiteAddOnsStub.java b/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GSuiteAddOnsStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GSuiteAddOnsStub.java rename to google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GSuiteAddOnsStub.java diff --git a/owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GSuiteAddOnsStubSettings.java b/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GSuiteAddOnsStubSettings.java similarity index 98% rename from owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GSuiteAddOnsStubSettings.java rename to google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GSuiteAddOnsStubSettings.java index 8c6716bd..923be86f 100644 --- a/owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GSuiteAddOnsStubSettings.java +++ b/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GSuiteAddOnsStubSettings.java @@ -73,9 +73,9 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (gsuiteaddons.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (gsuiteaddons.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GrpcGSuiteAddOnsCallableFactory.java b/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GrpcGSuiteAddOnsCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GrpcGSuiteAddOnsCallableFactory.java rename to google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GrpcGSuiteAddOnsCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GrpcGSuiteAddOnsStub.java b/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GrpcGSuiteAddOnsStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GrpcGSuiteAddOnsStub.java rename to google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GrpcGSuiteAddOnsStub.java index 2a309cbf..cd7d18b2 100644 --- a/owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GrpcGSuiteAddOnsStub.java +++ b/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/GrpcGSuiteAddOnsStub.java @@ -43,7 +43,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/HttpJsonGSuiteAddOnsCallableFactory.java b/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/HttpJsonGSuiteAddOnsCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/HttpJsonGSuiteAddOnsCallableFactory.java rename to google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/HttpJsonGSuiteAddOnsCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/HttpJsonGSuiteAddOnsStub.java b/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/HttpJsonGSuiteAddOnsStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/HttpJsonGSuiteAddOnsStub.java rename to google-cloud-gsuite-addons/src/main/java/com/google/cloud/gsuiteaddons/v1/stub/HttpJsonGSuiteAddOnsStub.java diff --git a/owl-bot-staging/v1/google-cloud-gsuite-addons/src/test/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsClientHttpJsonTest.java b/google-cloud-gsuite-addons/src/test/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-gsuite-addons/src/test/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsClientHttpJsonTest.java rename to google-cloud-gsuite-addons/src/test/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsClientHttpJsonTest.java diff --git a/owl-bot-staging/v1/google-cloud-gsuite-addons/src/test/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsClientTest.java b/google-cloud-gsuite-addons/src/test/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsClientTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-gsuite-addons/src/test/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsClientTest.java rename to google-cloud-gsuite-addons/src/test/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsClientTest.java diff --git a/owl-bot-staging/v1/google-cloud-gsuite-addons/src/test/java/com/google/cloud/gsuiteaddons/v1/MockGSuiteAddOns.java b/google-cloud-gsuite-addons/src/test/java/com/google/cloud/gsuiteaddons/v1/MockGSuiteAddOns.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-gsuite-addons/src/test/java/com/google/cloud/gsuiteaddons/v1/MockGSuiteAddOns.java rename to google-cloud-gsuite-addons/src/test/java/com/google/cloud/gsuiteaddons/v1/MockGSuiteAddOns.java diff --git a/owl-bot-staging/v1/google-cloud-gsuite-addons/src/test/java/com/google/cloud/gsuiteaddons/v1/MockGSuiteAddOnsImpl.java b/google-cloud-gsuite-addons/src/test/java/com/google/cloud/gsuiteaddons/v1/MockGSuiteAddOnsImpl.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-gsuite-addons/src/test/java/com/google/cloud/gsuiteaddons/v1/MockGSuiteAddOnsImpl.java rename to google-cloud-gsuite-addons/src/test/java/com/google/cloud/gsuiteaddons/v1/MockGSuiteAddOnsImpl.java diff --git a/owl-bot-staging/v1/grpc-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsGrpc.java b/grpc-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsGrpc.java similarity index 50% rename from owl-bot-staging/v1/grpc-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsGrpc.java rename to grpc-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsGrpc.java index 4466891a..956698a4 100644 --- a/owl-bot-staging/v1/grpc-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsGrpc.java +++ b/grpc-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsGrpc.java @@ -1,8 +1,25 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.google.cloud.gsuiteaddons.v1; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *

  * A service for managing Google Workspace Add-ons deployments.
  * A Google Workspace Add-on is a third-party embedded component that can be
@@ -41,330 +58,458 @@ private GSuiteAddOnsGrpc() {}
   public static final String SERVICE_NAME = "google.cloud.gsuiteaddons.v1.GSuiteAddOns";
 
   // Static method descriptors that strictly reflect the proto.
-  private static volatile io.grpc.MethodDescriptor getGetAuthorizationMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest,
+          com.google.cloud.gsuiteaddons.v1.Authorization>
+      getGetAuthorizationMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetAuthorization",
       requestType = com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest.class,
       responseType = com.google.cloud.gsuiteaddons.v1.Authorization.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetAuthorizationMethod() {
-    io.grpc.MethodDescriptor getGetAuthorizationMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest,
+          com.google.cloud.gsuiteaddons.v1.Authorization>
+      getGetAuthorizationMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest,
+            com.google.cloud.gsuiteaddons.v1.Authorization>
+        getGetAuthorizationMethod;
     if ((getGetAuthorizationMethod = GSuiteAddOnsGrpc.getGetAuthorizationMethod) == null) {
       synchronized (GSuiteAddOnsGrpc.class) {
         if ((getGetAuthorizationMethod = GSuiteAddOnsGrpc.getGetAuthorizationMethod) == null) {
-          GSuiteAddOnsGrpc.getGetAuthorizationMethod = getGetAuthorizationMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAuthorization"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.gsuiteaddons.v1.Authorization.getDefaultInstance()))
-              .setSchemaDescriptor(new GSuiteAddOnsMethodDescriptorSupplier("GetAuthorization"))
-              .build();
+          GSuiteAddOnsGrpc.getGetAuthorizationMethod =
+              getGetAuthorizationMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAuthorization"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.gsuiteaddons.v1.Authorization.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new GSuiteAddOnsMethodDescriptorSupplier("GetAuthorization"))
+                      .build();
         }
       }
     }
     return getGetAuthorizationMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getCreateDeploymentMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest,
+          com.google.cloud.gsuiteaddons.v1.Deployment>
+      getCreateDeploymentMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "CreateDeployment",
       requestType = com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest.class,
       responseType = com.google.cloud.gsuiteaddons.v1.Deployment.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getCreateDeploymentMethod() {
-    io.grpc.MethodDescriptor getCreateDeploymentMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest,
+          com.google.cloud.gsuiteaddons.v1.Deployment>
+      getCreateDeploymentMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest,
+            com.google.cloud.gsuiteaddons.v1.Deployment>
+        getCreateDeploymentMethod;
     if ((getCreateDeploymentMethod = GSuiteAddOnsGrpc.getCreateDeploymentMethod) == null) {
       synchronized (GSuiteAddOnsGrpc.class) {
         if ((getCreateDeploymentMethod = GSuiteAddOnsGrpc.getCreateDeploymentMethod) == null) {
-          GSuiteAddOnsGrpc.getCreateDeploymentMethod = getCreateDeploymentMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDeployment"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance()))
-              .setSchemaDescriptor(new GSuiteAddOnsMethodDescriptorSupplier("CreateDeployment"))
-              .build();
+          GSuiteAddOnsGrpc.getCreateDeploymentMethod =
+              getCreateDeploymentMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDeployment"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new GSuiteAddOnsMethodDescriptorSupplier("CreateDeployment"))
+                      .build();
         }
       }
     }
     return getCreateDeploymentMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getReplaceDeploymentMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest,
+          com.google.cloud.gsuiteaddons.v1.Deployment>
+      getReplaceDeploymentMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ReplaceDeployment",
       requestType = com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest.class,
       responseType = com.google.cloud.gsuiteaddons.v1.Deployment.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getReplaceDeploymentMethod() {
-    io.grpc.MethodDescriptor getReplaceDeploymentMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest,
+          com.google.cloud.gsuiteaddons.v1.Deployment>
+      getReplaceDeploymentMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest,
+            com.google.cloud.gsuiteaddons.v1.Deployment>
+        getReplaceDeploymentMethod;
     if ((getReplaceDeploymentMethod = GSuiteAddOnsGrpc.getReplaceDeploymentMethod) == null) {
       synchronized (GSuiteAddOnsGrpc.class) {
         if ((getReplaceDeploymentMethod = GSuiteAddOnsGrpc.getReplaceDeploymentMethod) == null) {
-          GSuiteAddOnsGrpc.getReplaceDeploymentMethod = getReplaceDeploymentMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReplaceDeployment"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance()))
-              .setSchemaDescriptor(new GSuiteAddOnsMethodDescriptorSupplier("ReplaceDeployment"))
-              .build();
+          GSuiteAddOnsGrpc.getReplaceDeploymentMethod =
+              getReplaceDeploymentMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReplaceDeployment"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new GSuiteAddOnsMethodDescriptorSupplier("ReplaceDeployment"))
+                      .build();
         }
       }
     }
     return getReplaceDeploymentMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetDeploymentMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest,
+          com.google.cloud.gsuiteaddons.v1.Deployment>
+      getGetDeploymentMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetDeployment",
       requestType = com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest.class,
       responseType = com.google.cloud.gsuiteaddons.v1.Deployment.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetDeploymentMethod() {
-    io.grpc.MethodDescriptor getGetDeploymentMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest,
+          com.google.cloud.gsuiteaddons.v1.Deployment>
+      getGetDeploymentMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest,
+            com.google.cloud.gsuiteaddons.v1.Deployment>
+        getGetDeploymentMethod;
     if ((getGetDeploymentMethod = GSuiteAddOnsGrpc.getGetDeploymentMethod) == null) {
       synchronized (GSuiteAddOnsGrpc.class) {
         if ((getGetDeploymentMethod = GSuiteAddOnsGrpc.getGetDeploymentMethod) == null) {
-          GSuiteAddOnsGrpc.getGetDeploymentMethod = getGetDeploymentMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDeployment"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance()))
-              .setSchemaDescriptor(new GSuiteAddOnsMethodDescriptorSupplier("GetDeployment"))
-              .build();
+          GSuiteAddOnsGrpc.getGetDeploymentMethod =
+              getGetDeploymentMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDeployment"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new GSuiteAddOnsMethodDescriptorSupplier("GetDeployment"))
+                      .build();
         }
       }
     }
     return getGetDeploymentMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getListDeploymentsMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest,
+          com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse>
+      getListDeploymentsMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "ListDeployments",
       requestType = com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest.class,
       responseType = com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getListDeploymentsMethod() {
-    io.grpc.MethodDescriptor getListDeploymentsMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest,
+          com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse>
+      getListDeploymentsMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest,
+            com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse>
+        getListDeploymentsMethod;
     if ((getListDeploymentsMethod = GSuiteAddOnsGrpc.getListDeploymentsMethod) == null) {
       synchronized (GSuiteAddOnsGrpc.class) {
         if ((getListDeploymentsMethod = GSuiteAddOnsGrpc.getListDeploymentsMethod) == null) {
-          GSuiteAddOnsGrpc.getListDeploymentsMethod = getListDeploymentsMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDeployments"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse.getDefaultInstance()))
-              .setSchemaDescriptor(new GSuiteAddOnsMethodDescriptorSupplier("ListDeployments"))
-              .build();
+          GSuiteAddOnsGrpc.getListDeploymentsMethod =
+              getListDeploymentsMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDeployments"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse
+                                  .getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new GSuiteAddOnsMethodDescriptorSupplier("ListDeployments"))
+                      .build();
         }
       }
     }
     return getListDeploymentsMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getDeleteDeploymentMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest, com.google.protobuf.Empty>
+      getDeleteDeploymentMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "DeleteDeployment",
       requestType = com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getDeleteDeploymentMethod() {
-    io.grpc.MethodDescriptor getDeleteDeploymentMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest, com.google.protobuf.Empty>
+      getDeleteDeploymentMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest, com.google.protobuf.Empty>
+        getDeleteDeploymentMethod;
     if ((getDeleteDeploymentMethod = GSuiteAddOnsGrpc.getDeleteDeploymentMethod) == null) {
       synchronized (GSuiteAddOnsGrpc.class) {
         if ((getDeleteDeploymentMethod = GSuiteAddOnsGrpc.getDeleteDeploymentMethod) == null) {
-          GSuiteAddOnsGrpc.getDeleteDeploymentMethod = getDeleteDeploymentMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDeployment"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new GSuiteAddOnsMethodDescriptorSupplier("DeleteDeployment"))
-              .build();
+          GSuiteAddOnsGrpc.getDeleteDeploymentMethod =
+              getDeleteDeploymentMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDeployment"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new GSuiteAddOnsMethodDescriptorSupplier("DeleteDeployment"))
+                      .build();
         }
       }
     }
     return getDeleteDeploymentMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getInstallDeploymentMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest, com.google.protobuf.Empty>
+      getInstallDeploymentMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "InstallDeployment",
       requestType = com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getInstallDeploymentMethod() {
-    io.grpc.MethodDescriptor getInstallDeploymentMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest, com.google.protobuf.Empty>
+      getInstallDeploymentMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest, com.google.protobuf.Empty>
+        getInstallDeploymentMethod;
     if ((getInstallDeploymentMethod = GSuiteAddOnsGrpc.getInstallDeploymentMethod) == null) {
       synchronized (GSuiteAddOnsGrpc.class) {
         if ((getInstallDeploymentMethod = GSuiteAddOnsGrpc.getInstallDeploymentMethod) == null) {
-          GSuiteAddOnsGrpc.getInstallDeploymentMethod = getInstallDeploymentMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "InstallDeployment"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new GSuiteAddOnsMethodDescriptorSupplier("InstallDeployment"))
-              .build();
+          GSuiteAddOnsGrpc.getInstallDeploymentMethod =
+              getInstallDeploymentMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "InstallDeployment"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new GSuiteAddOnsMethodDescriptorSupplier("InstallDeployment"))
+                      .build();
         }
       }
     }
     return getInstallDeploymentMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getUninstallDeploymentMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest, com.google.protobuf.Empty>
+      getUninstallDeploymentMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "UninstallDeployment",
       requestType = com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest.class,
       responseType = com.google.protobuf.Empty.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getUninstallDeploymentMethod() {
-    io.grpc.MethodDescriptor getUninstallDeploymentMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest, com.google.protobuf.Empty>
+      getUninstallDeploymentMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest, com.google.protobuf.Empty>
+        getUninstallDeploymentMethod;
     if ((getUninstallDeploymentMethod = GSuiteAddOnsGrpc.getUninstallDeploymentMethod) == null) {
       synchronized (GSuiteAddOnsGrpc.class) {
-        if ((getUninstallDeploymentMethod = GSuiteAddOnsGrpc.getUninstallDeploymentMethod) == null) {
-          GSuiteAddOnsGrpc.getUninstallDeploymentMethod = getUninstallDeploymentMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UninstallDeployment"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.protobuf.Empty.getDefaultInstance()))
-              .setSchemaDescriptor(new GSuiteAddOnsMethodDescriptorSupplier("UninstallDeployment"))
-              .build();
+        if ((getUninstallDeploymentMethod = GSuiteAddOnsGrpc.getUninstallDeploymentMethod)
+            == null) {
+          GSuiteAddOnsGrpc.getUninstallDeploymentMethod =
+              getUninstallDeploymentMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(
+                          generateFullMethodName(SERVICE_NAME, "UninstallDeployment"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.protobuf.Empty.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new GSuiteAddOnsMethodDescriptorSupplier("UninstallDeployment"))
+                      .build();
         }
       }
     }
     return getUninstallDeploymentMethod;
   }
 
-  private static volatile io.grpc.MethodDescriptor getGetInstallStatusMethod;
+  private static volatile io.grpc.MethodDescriptor<
+          com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest,
+          com.google.cloud.gsuiteaddons.v1.InstallStatus>
+      getGetInstallStatusMethod;
 
   @io.grpc.stub.annotations.RpcMethod(
       fullMethodName = SERVICE_NAME + '/' + "GetInstallStatus",
       requestType = com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest.class,
       responseType = com.google.cloud.gsuiteaddons.v1.InstallStatus.class,
       methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
-  public static io.grpc.MethodDescriptor getGetInstallStatusMethod() {
-    io.grpc.MethodDescriptor getGetInstallStatusMethod;
+  public static io.grpc.MethodDescriptor<
+          com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest,
+          com.google.cloud.gsuiteaddons.v1.InstallStatus>
+      getGetInstallStatusMethod() {
+    io.grpc.MethodDescriptor<
+            com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest,
+            com.google.cloud.gsuiteaddons.v1.InstallStatus>
+        getGetInstallStatusMethod;
     if ((getGetInstallStatusMethod = GSuiteAddOnsGrpc.getGetInstallStatusMethod) == null) {
       synchronized (GSuiteAddOnsGrpc.class) {
         if ((getGetInstallStatusMethod = GSuiteAddOnsGrpc.getGetInstallStatusMethod) == null) {
-          GSuiteAddOnsGrpc.getGetInstallStatusMethod = getGetInstallStatusMethod =
-              io.grpc.MethodDescriptor.newBuilder()
-              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInstallStatus"))
-              .setSampledToLocalTracing(true)
-              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest.getDefaultInstance()))
-              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
-                  com.google.cloud.gsuiteaddons.v1.InstallStatus.getDefaultInstance()))
-              .setSchemaDescriptor(new GSuiteAddOnsMethodDescriptorSupplier("GetInstallStatus"))
-              .build();
+          GSuiteAddOnsGrpc.getGetInstallStatusMethod =
+              getGetInstallStatusMethod =
+                  io.grpc.MethodDescriptor
+                      .
+                          newBuilder()
+                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
+                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInstallStatus"))
+                      .setSampledToLocalTracing(true)
+                      .setRequestMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest
+                                  .getDefaultInstance()))
+                      .setResponseMarshaller(
+                          io.grpc.protobuf.ProtoUtils.marshaller(
+                              com.google.cloud.gsuiteaddons.v1.InstallStatus.getDefaultInstance()))
+                      .setSchemaDescriptor(
+                          new GSuiteAddOnsMethodDescriptorSupplier("GetInstallStatus"))
+                      .build();
         }
       }
     }
     return getGetInstallStatusMethod;
   }
 
-  /**
-   * Creates a new async stub that supports all call types for the service
-   */
+  /** Creates a new async stub that supports all call types for the service */
   public static GSuiteAddOnsStub newStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public GSuiteAddOnsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new GSuiteAddOnsStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public GSuiteAddOnsStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new GSuiteAddOnsStub(channel, callOptions);
+          }
+        };
     return GSuiteAddOnsStub.newStub(factory, channel);
   }
 
   /**
    * Creates a new blocking-style stub that supports unary and streaming output calls on the service
    */
-  public static GSuiteAddOnsBlockingStub newBlockingStub(
-      io.grpc.Channel channel) {
+  public static GSuiteAddOnsBlockingStub newBlockingStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public GSuiteAddOnsBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new GSuiteAddOnsBlockingStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public GSuiteAddOnsBlockingStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new GSuiteAddOnsBlockingStub(channel, callOptions);
+          }
+        };
     return GSuiteAddOnsBlockingStub.newStub(factory, channel);
   }
 
-  /**
-   * Creates a new ListenableFuture-style stub that supports unary calls on the service
-   */
-  public static GSuiteAddOnsFutureStub newFutureStub(
-      io.grpc.Channel channel) {
+  /** Creates a new ListenableFuture-style stub that supports unary calls on the service */
+  public static GSuiteAddOnsFutureStub newFutureStub(io.grpc.Channel channel) {
     io.grpc.stub.AbstractStub.StubFactory factory =
-      new io.grpc.stub.AbstractStub.StubFactory() {
-        @java.lang.Override
-        public GSuiteAddOnsFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
-          return new GSuiteAddOnsFutureStub(channel, callOptions);
-        }
-      };
+        new io.grpc.stub.AbstractStub.StubFactory() {
+          @java.lang.Override
+          public GSuiteAddOnsFutureStub newStub(
+              io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
+            return new GSuiteAddOnsFutureStub(channel, callOptions);
+          }
+        };
     return GSuiteAddOnsFutureStub.newStub(factory, channel);
   }
 
   /**
+   *
+   *
    * 
    * A service for managing Google Workspace Add-ons deployments.
    * A Google Workspace Add-on is a third-party embedded component that can be
@@ -392,172 +537,210 @@ public GSuiteAddOnsFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptio
    * for details.
    * 
*/ - public static abstract class GSuiteAddOnsImplBase implements io.grpc.BindableService { + public abstract static class GSuiteAddOnsImplBase implements io.grpc.BindableService { /** + * + * *
      * Gets the authorization information for deployments in a given project.
      * 
*/ - public void getAuthorization(com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAuthorizationMethod(), responseObserver); + public void getAuthorization( + com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetAuthorizationMethod(), responseObserver); } /** + * + * *
      * Creates a deployment with the specified name and configuration.
      * 
*/ - public void createDeployment(com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest request, + public void createDeployment( + com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDeploymentMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateDeploymentMethod(), responseObserver); } /** + * + * *
      * Creates or replaces a deployment with the specified name.
      * 
*/ - public void replaceDeployment(com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest request, + public void replaceDeployment( + com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReplaceDeploymentMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getReplaceDeploymentMethod(), responseObserver); } /** + * + * *
      * Gets the deployment with the specified name.
      * 
*/ - public void getDeployment(com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest request, + public void getDeployment( + com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDeploymentMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetDeploymentMethod(), responseObserver); } /** + * + * *
      * Lists all deployments in a particular project.
      * 
*/ - public void listDeployments(com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDeploymentsMethod(), responseObserver); + public void listDeployments( + com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListDeploymentsMethod(), responseObserver); } /** + * + * *
      * Deletes the deployment with the given name.
      * 
*/ - public void deleteDeployment(com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest request, + public void deleteDeployment( + com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteDeploymentMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteDeploymentMethod(), responseObserver); } /** + * + * *
      * Installs a deployment in developer mode.
      * See:
      * https://developers.google.com/gsuite/add-ons/how-tos/testing-gsuite-addons.
      * 
*/ - public void installDeployment(com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest request, + public void installDeployment( + com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getInstallDeploymentMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getInstallDeploymentMethod(), responseObserver); } /** + * + * *
      * Uninstalls a developer mode deployment.
      * See:
      * https://developers.google.com/gsuite/add-ons/how-tos/testing-gsuite-addons.
      * 
*/ - public void uninstallDeployment(com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest request, + public void uninstallDeployment( + com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest request, io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUninstallDeploymentMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUninstallDeploymentMethod(), responseObserver); } /** + * + * *
      * Fetches the install status of a developer mode deployment.
      * 
*/ - public void getInstallStatus(com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInstallStatusMethod(), responseObserver); + public void getInstallStatus( + com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetInstallStatusMethod(), responseObserver); } - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getGetAuthorizationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest, - com.google.cloud.gsuiteaddons.v1.Authorization>( - this, METHODID_GET_AUTHORIZATION))) + getGetAuthorizationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest, + com.google.cloud.gsuiteaddons.v1.Authorization>( + this, METHODID_GET_AUTHORIZATION))) .addMethod( - getCreateDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest, - com.google.cloud.gsuiteaddons.v1.Deployment>( - this, METHODID_CREATE_DEPLOYMENT))) + getCreateDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest, + com.google.cloud.gsuiteaddons.v1.Deployment>( + this, METHODID_CREATE_DEPLOYMENT))) .addMethod( - getReplaceDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest, - com.google.cloud.gsuiteaddons.v1.Deployment>( - this, METHODID_REPLACE_DEPLOYMENT))) + getReplaceDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest, + com.google.cloud.gsuiteaddons.v1.Deployment>( + this, METHODID_REPLACE_DEPLOYMENT))) .addMethod( - getGetDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest, - com.google.cloud.gsuiteaddons.v1.Deployment>( - this, METHODID_GET_DEPLOYMENT))) + getGetDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest, + com.google.cloud.gsuiteaddons.v1.Deployment>(this, METHODID_GET_DEPLOYMENT))) .addMethod( - getListDeploymentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest, - com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse>( - this, METHODID_LIST_DEPLOYMENTS))) + getListDeploymentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest, + com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse>( + this, METHODID_LIST_DEPLOYMENTS))) .addMethod( - getDeleteDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_DEPLOYMENT))) + getDeleteDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_DEPLOYMENT))) .addMethod( - getInstallDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest, - com.google.protobuf.Empty>( - this, METHODID_INSTALL_DEPLOYMENT))) + getInstallDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest, + com.google.protobuf.Empty>(this, METHODID_INSTALL_DEPLOYMENT))) .addMethod( - getUninstallDeploymentMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest, - com.google.protobuf.Empty>( - this, METHODID_UNINSTALL_DEPLOYMENT))) + getUninstallDeploymentMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest, + com.google.protobuf.Empty>(this, METHODID_UNINSTALL_DEPLOYMENT))) .addMethod( - getGetInstallStatusMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest, - com.google.cloud.gsuiteaddons.v1.InstallStatus>( - this, METHODID_GET_INSTALL_STATUS))) + getGetInstallStatusMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest, + com.google.cloud.gsuiteaddons.v1.InstallStatus>( + this, METHODID_GET_INSTALL_STATUS))) .build(); } } /** + * + * *
    * A service for managing Google Workspace Add-ons deployments.
    * A Google Workspace Add-on is a third-party embedded component that can be
@@ -585,123 +768,172 @@ public void getInstallStatus(com.google.cloud.gsuiteaddons.v1.GetInstallStatusRe
    * for details.
    * 
*/ - public static final class GSuiteAddOnsStub extends io.grpc.stub.AbstractAsyncStub { - private GSuiteAddOnsStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class GSuiteAddOnsStub + extends io.grpc.stub.AbstractAsyncStub { + private GSuiteAddOnsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected GSuiteAddOnsStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected GSuiteAddOnsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new GSuiteAddOnsStub(channel, callOptions); } /** + * + * *
      * Gets the authorization information for deployments in a given project.
      * 
*/ - public void getAuthorization(com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void getAuthorization( + com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAuthorizationMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getGetAuthorizationMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Creates a deployment with the specified name and configuration.
      * 
*/ - public void createDeployment(com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest request, + public void createDeployment( + com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateDeploymentMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getCreateDeploymentMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Creates or replaces a deployment with the specified name.
      * 
*/ - public void replaceDeployment(com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest request, + public void replaceDeployment( + com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getReplaceDeploymentMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getReplaceDeploymentMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Gets the deployment with the specified name.
      * 
*/ - public void getDeployment(com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest request, + public void getDeployment( + com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDeploymentMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getGetDeploymentMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Lists all deployments in a particular project.
      * 
*/ - public void listDeployments(com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void listDeployments( + com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDeploymentsMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getListDeploymentsMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Deletes the deployment with the given name.
      * 
*/ - public void deleteDeployment(com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest request, + public void deleteDeployment( + com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteDeploymentMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getDeleteDeploymentMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Installs a deployment in developer mode.
      * See:
      * https://developers.google.com/gsuite/add-ons/how-tos/testing-gsuite-addons.
      * 
*/ - public void installDeployment(com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest request, + public void installDeployment( + com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getInstallDeploymentMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getInstallDeploymentMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Uninstalls a developer mode deployment.
      * See:
      * https://developers.google.com/gsuite/add-ons/how-tos/testing-gsuite-addons.
      * 
*/ - public void uninstallDeployment(com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest request, + public void uninstallDeployment( + com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUninstallDeploymentMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getUninstallDeploymentMethod(), getCallOptions()), + request, + responseObserver); } /** + * + * *
      * Fetches the install status of a developer mode deployment.
      * 
*/ - public void getInstallStatus(com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest request, - io.grpc.stub.StreamObserver responseObserver) { + public void getInstallStatus( + com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetInstallStatusMethod(), getCallOptions()), request, responseObserver); + getChannel().newCall(getGetInstallStatusMethod(), getCallOptions()), + request, + responseObserver); } } /** + * + * *
    * A service for managing Google Workspace Add-ons deployments.
    * A Google Workspace Add-on is a third-party embedded component that can be
@@ -729,9 +961,9 @@ public void getInstallStatus(com.google.cloud.gsuiteaddons.v1.GetInstallStatusRe
    * for details.
    * 
*/ - public static final class GSuiteAddOnsBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private GSuiteAddOnsBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class GSuiteAddOnsBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private GSuiteAddOnsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -742,101 +974,130 @@ protected GSuiteAddOnsBlockingStub build( } /** + * + * *
      * Gets the authorization information for deployments in a given project.
      * 
*/ - public com.google.cloud.gsuiteaddons.v1.Authorization getAuthorization(com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest request) { + public com.google.cloud.gsuiteaddons.v1.Authorization getAuthorization( + com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetAuthorizationMethod(), getCallOptions(), request); } /** + * + * *
      * Creates a deployment with the specified name and configuration.
      * 
*/ - public com.google.cloud.gsuiteaddons.v1.Deployment createDeployment(com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest request) { + public com.google.cloud.gsuiteaddons.v1.Deployment createDeployment( + com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateDeploymentMethod(), getCallOptions(), request); } /** + * + * *
      * Creates or replaces a deployment with the specified name.
      * 
*/ - public com.google.cloud.gsuiteaddons.v1.Deployment replaceDeployment(com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest request) { + public com.google.cloud.gsuiteaddons.v1.Deployment replaceDeployment( + com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getReplaceDeploymentMethod(), getCallOptions(), request); } /** + * + * *
      * Gets the deployment with the specified name.
      * 
*/ - public com.google.cloud.gsuiteaddons.v1.Deployment getDeployment(com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest request) { + public com.google.cloud.gsuiteaddons.v1.Deployment getDeployment( + com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetDeploymentMethod(), getCallOptions(), request); } /** + * + * *
      * Lists all deployments in a particular project.
      * 
*/ - public com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse listDeployments(com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest request) { + public com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse listDeployments( + com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListDeploymentsMethod(), getCallOptions(), request); } /** + * + * *
      * Deletes the deployment with the given name.
      * 
*/ - public com.google.protobuf.Empty deleteDeployment(com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest request) { + public com.google.protobuf.Empty deleteDeployment( + com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteDeploymentMethod(), getCallOptions(), request); } /** + * + * *
      * Installs a deployment in developer mode.
      * See:
      * https://developers.google.com/gsuite/add-ons/how-tos/testing-gsuite-addons.
      * 
*/ - public com.google.protobuf.Empty installDeployment(com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest request) { + public com.google.protobuf.Empty installDeployment( + com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getInstallDeploymentMethod(), getCallOptions(), request); } /** + * + * *
      * Uninstalls a developer mode deployment.
      * See:
      * https://developers.google.com/gsuite/add-ons/how-tos/testing-gsuite-addons.
      * 
*/ - public com.google.protobuf.Empty uninstallDeployment(com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest request) { + public com.google.protobuf.Empty uninstallDeployment( + com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUninstallDeploymentMethod(), getCallOptions(), request); } /** + * + * *
      * Fetches the install status of a developer mode deployment.
      * 
*/ - public com.google.cloud.gsuiteaddons.v1.InstallStatus getInstallStatus(com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest request) { + public com.google.cloud.gsuiteaddons.v1.InstallStatus getInstallStatus( + com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetInstallStatusMethod(), getCallOptions(), request); } } /** + * + * *
    * A service for managing Google Workspace Add-ons deployments.
    * A Google Workspace Add-on is a third-party embedded component that can be
@@ -864,9 +1125,9 @@ public com.google.cloud.gsuiteaddons.v1.InstallStatus getInstallStatus(com.googl
    * for details.
    * 
*/ - public static final class GSuiteAddOnsFutureStub extends io.grpc.stub.AbstractFutureStub { - private GSuiteAddOnsFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + public static final class GSuiteAddOnsFutureStub + extends io.grpc.stub.AbstractFutureStub { + private GSuiteAddOnsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -877,104 +1138,128 @@ protected GSuiteAddOnsFutureStub build( } /** + * + * *
      * Gets the authorization information for deployments in a given project.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getAuthorization( - com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.gsuiteaddons.v1.Authorization> + getAuthorization(com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetAuthorizationMethod(), getCallOptions()), request); } /** + * + * *
      * Creates a deployment with the specified name and configuration.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture createDeployment( - com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.gsuiteaddons.v1.Deployment> + createDeployment(com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateDeploymentMethod(), getCallOptions()), request); } /** + * + * *
      * Creates or replaces a deployment with the specified name.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture replaceDeployment( - com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.gsuiteaddons.v1.Deployment> + replaceDeployment(com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getReplaceDeploymentMethod(), getCallOptions()), request); } /** + * + * *
      * Gets the deployment with the specified name.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getDeployment( - com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.gsuiteaddons.v1.Deployment> + getDeployment(com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetDeploymentMethod(), getCallOptions()), request); } /** + * + * *
      * Lists all deployments in a particular project.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture listDeployments( - com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse> + listDeployments(com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListDeploymentsMethod(), getCallOptions()), request); } /** + * + * *
      * Deletes the deployment with the given name.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture deleteDeployment( - com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest request) { + public com.google.common.util.concurrent.ListenableFuture + deleteDeployment(com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteDeploymentMethod(), getCallOptions()), request); } /** + * + * *
      * Installs a deployment in developer mode.
      * See:
      * https://developers.google.com/gsuite/add-ons/how-tos/testing-gsuite-addons.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture installDeployment( - com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest request) { + public com.google.common.util.concurrent.ListenableFuture + installDeployment(com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getInstallDeploymentMethod(), getCallOptions()), request); } /** + * + * *
      * Uninstalls a developer mode deployment.
      * See:
      * https://developers.google.com/gsuite/add-ons/how-tos/testing-gsuite-addons.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture uninstallDeployment( - com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest request) { + public com.google.common.util.concurrent.ListenableFuture + uninstallDeployment(com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUninstallDeploymentMethod(), getCallOptions()), request); } /** + * + * *
      * Fetches the install status of a developer mode deployment.
      * 
*/ - public com.google.common.util.concurrent.ListenableFuture getInstallStatus( - com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.gsuiteaddons.v1.InstallStatus> + getInstallStatus(com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetInstallStatusMethod(), getCallOptions()), request); } @@ -990,11 +1275,11 @@ public com.google.common.util.concurrent.ListenableFuture implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final GSuiteAddOnsImplBase serviceImpl; private final int methodId; @@ -1008,40 +1293,56 @@ private static final class MethodHandlers implements public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_GET_AUTHORIZATION: - serviceImpl.getAuthorization((com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.getAuthorization( + (com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_CREATE_DEPLOYMENT: - serviceImpl.createDeployment((com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.createDeployment( + (com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_REPLACE_DEPLOYMENT: - serviceImpl.replaceDeployment((com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.replaceDeployment( + (com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_GET_DEPLOYMENT: - serviceImpl.getDeployment((com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.getDeployment( + (com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; case METHODID_LIST_DEPLOYMENTS: - serviceImpl.listDeployments((com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.listDeployments( + (com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse>) + responseObserver); break; case METHODID_DELETE_DEPLOYMENT: - serviceImpl.deleteDeployment((com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest) request, + serviceImpl.deleteDeployment( + (com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_INSTALL_DEPLOYMENT: - serviceImpl.installDeployment((com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest) request, + serviceImpl.installDeployment( + (com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UNINSTALL_DEPLOYMENT: - serviceImpl.uninstallDeployment((com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest) request, + serviceImpl.uninstallDeployment( + (com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_INSTALL_STATUS: - serviceImpl.getInstallStatus((com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); + serviceImpl.getInstallStatus( + (com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); break; default: throw new AssertionError(); @@ -1059,8 +1360,9 @@ public io.grpc.stub.StreamObserver invoke( } } - private static abstract class GSuiteAddOnsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private abstract static class GSuiteAddOnsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { GSuiteAddOnsBaseDescriptorSupplier() {} @java.lang.Override @@ -1102,18 +1404,20 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (GSuiteAddOnsGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new GSuiteAddOnsFileDescriptorSupplier()) - .addMethod(getGetAuthorizationMethod()) - .addMethod(getCreateDeploymentMethod()) - .addMethod(getReplaceDeploymentMethod()) - .addMethod(getGetDeploymentMethod()) - .addMethod(getListDeploymentsMethod()) - .addMethod(getDeleteDeploymentMethod()) - .addMethod(getInstallDeploymentMethod()) - .addMethod(getUninstallDeploymentMethod()) - .addMethod(getGetInstallStatusMethod()) - .build(); + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new GSuiteAddOnsFileDescriptorSupplier()) + .addMethod(getGetAuthorizationMethod()) + .addMethod(getCreateDeploymentMethod()) + .addMethod(getReplaceDeploymentMethod()) + .addMethod(getGetDeploymentMethod()) + .addMethod(getListDeploymentsMethod()) + .addMethod(getDeleteDeploymentMethod()) + .addMethod(getInstallDeploymentMethod()) + .addMethod(getUninstallDeploymentMethod()) + .addMethod(getGetInstallStatusMethod()) + .build(); } } } diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSetProto.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSetProto.java deleted file mode 100644 index 39a02283..00000000 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSetProto.java +++ /dev/null @@ -1,60 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/apps/script/type/addon_widget_set.proto - -package com.google.apps.script.type; - -public final class AddOnWidgetSetProto { - private AddOnWidgetSetProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_apps_script_type_AddOnWidgetSet_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_apps_script_type_AddOnWidgetSet_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n.google/apps/script/type/addon_widget_s" + - "et.proto\022\027google.apps.script.type\"\244\002\n\016Ad" + - "dOnWidgetSet\022H\n\014used_widgets\030\001 \003(\01622.goo" + - "gle.apps.script.type.AddOnWidgetSet.Widg" + - "etType\"\307\001\n\nWidgetType\022\033\n\027WIDGET_TYPE_UNS" + - "PECIFIED\020\000\022\017\n\013DATE_PICKER\020\001\022\022\n\016STYLED_BU" + - "TTONS\020\002\022\024\n\020PERSISTENT_FORMS\020\003\022\020\n\014FIXED_F" + - "OOTER\020\004\022!\n\035UPDATE_SUBJECT_AND_RECIPIENTS" + - "\020\005\022\017\n\013GRID_WIDGET\020\006\022\033\n\027ADDON_COMPOSE_UI_" + - "ACTION\020\007B\275\001\n\033com.google.apps.script.type" + - "B\023AddOnWidgetSetProtoP\001Z6google.golang.o" + - "rg/genproto/googleapis/apps/script/type\252" + - "\002\027Google.Apps.Script.Type\312\002\027Google\\Apps\\" + - "Script\\Type\352\002\032Google::Apps::Script::Type" + - "b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - internal_static_google_apps_script_type_AddOnWidgetSet_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_apps_script_type_AddOnWidgetSet_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_apps_script_type_AddOnWidgetSet_descriptor, - new java.lang.String[] { "UsedWidgets", }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/ExtensionPoint.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/ExtensionPoint.java deleted file mode 100644 index bbd767ba..00000000 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/ExtensionPoint.java +++ /dev/null @@ -1,84 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/apps/script/type/extension_point.proto - -package com.google.apps.script.type; - -public final class ExtensionPoint { - private ExtensionPoint() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_apps_script_type_MenuItemExtensionPoint_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_apps_script_type_MenuItemExtensionPoint_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_apps_script_type_HomepageExtensionPoint_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_apps_script_type_HomepageExtensionPoint_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_apps_script_type_UniversalActionExtensionPoint_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_apps_script_type_UniversalActionExtensionPoint_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n-google/apps/script/type/extension_poin" + - "t.proto\022\027google.apps.script.type\032\036google" + - "/protobuf/wrappers.proto\"O\n\026MenuItemExte" + - "nsionPoint\022\024\n\014run_function\030\001 \001(\t\022\r\n\005labe" + - "l\030\002 \001(\t\022\020\n\010logo_url\030\003 \001(\t\"[\n\026HomepageExt" + - "ensionPoint\022\024\n\014run_function\030\001 \001(\t\022+\n\007ena" + - "bled\030\002 \001(\0132\032.google.protobuf.BoolValue\"j" + - "\n\035UniversalActionExtensionPoint\022\r\n\005label" + - "\030\001 \001(\t\022\023\n\topen_link\030\002 \001(\tH\000\022\026\n\014run_funct" + - "ion\030\003 \001(\tH\000B\r\n\013action_typeB\250\001\n\033com.googl" + - "e.apps.script.typeP\001Z6google.golang.org/" + - "genproto/googleapis/apps/script/type\252\002\027G" + - "oogle.Apps.Script.Type\312\002\027Google\\Apps\\Scr" + - "ipt\\Type\352\002\032Google::Apps::Script::Typeb\006p" + - "roto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.WrappersProto.getDescriptor(), - }); - internal_static_google_apps_script_type_MenuItemExtensionPoint_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_apps_script_type_MenuItemExtensionPoint_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_apps_script_type_MenuItemExtensionPoint_descriptor, - new java.lang.String[] { "RunFunction", "Label", "LogoUrl", }); - internal_static_google_apps_script_type_HomepageExtensionPoint_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_apps_script_type_HomepageExtensionPoint_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_apps_script_type_HomepageExtensionPoint_descriptor, - new java.lang.String[] { "RunFunction", "Enabled", }); - internal_static_google_apps_script_type_UniversalActionExtensionPoint_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_apps_script_type_UniversalActionExtensionPoint_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_apps_script_type_UniversalActionExtensionPoint_descriptor, - new java.lang.String[] { "Label", "OpenLink", "RunFunction", "ActionType", }); - com.google.protobuf.WrappersProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/ScriptManifest.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/ScriptManifest.java deleted file mode 100644 index ade0927e..00000000 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/ScriptManifest.java +++ /dev/null @@ -1,101 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/apps/script/type/script_manifest.proto - -package com.google.apps.script.type; - -public final class ScriptManifest { - private ScriptManifest() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_apps_script_type_CommonAddOnManifest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_apps_script_type_CommonAddOnManifest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_apps_script_type_LayoutProperties_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_apps_script_type_LayoutProperties_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_apps_script_type_HttpOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_apps_script_type_HttpOptions_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n-google/apps/script/type/script_manifes" + - "t.proto\022\027google.apps.script.type\032.google" + - "/apps/script/type/addon_widget_set.proto" + - "\032-google/apps/script/type/extension_poin" + - "t.proto\032\034google/protobuf/struct.proto\"\266\003" + - "\n\023CommonAddOnManifest\022\014\n\004name\030\001 \001(\t\022\020\n\010l" + - "ogo_url\030\002 \001(\t\022D\n\021layout_properties\030\003 \001(\013" + - "2).google.apps.script.type.LayoutPropert" + - "ies\022B\n\021add_on_widget_set\030\004 \001(\0132\'.google." + - "apps.script.type.AddOnWidgetSet\022\033\n\023use_l" + - "ocale_from_app\030\005 \001(\010\022I\n\020homepage_trigger" + - "\030\006 \001(\0132/.google.apps.script.type.Homepag" + - "eExtensionPoint\022Q\n\021universal_actions\030\007 \003" + - "(\01326.google.apps.script.type.UniversalAc" + - "tionExtensionPoint\022:\n\026open_link_url_pref" + - "ixes\030\010 \001(\0132\032.google.protobuf.ListValue\"B" + - "\n\020LayoutProperties\022\025\n\rprimary_color\030\001 \001(" + - "\t\022\027\n\017secondary_color\030\002 \001(\t\"]\n\013HttpOption" + - "s\022N\n\024authorization_header\030\001 \001(\01620.google" + - ".apps.script.type.HttpAuthorizationHeade" + - "r*v\n\027HttpAuthorizationHeader\022)\n%HTTP_AUT" + - "HORIZATION_HEADER_UNSPECIFIED\020\000\022\023\n\017SYSTE" + - "M_ID_TOKEN\020\001\022\021\n\rUSER_ID_TOKEN\020\002\022\010\n\004NONE\020" + - "\003B\250\001\n\033com.google.apps.script.typeP\001Z6goo" + - "gle.golang.org/genproto/googleapis/apps/" + - "script/type\252\002\027Google.Apps.Script.Type\312\002\027" + - "Google\\Apps\\Script\\Type\352\002\032Google::Apps::" + - "Script::Typeb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.apps.script.type.AddOnWidgetSetProto.getDescriptor(), - com.google.apps.script.type.ExtensionPoint.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - }); - internal_static_google_apps_script_type_CommonAddOnManifest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_apps_script_type_CommonAddOnManifest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_apps_script_type_CommonAddOnManifest_descriptor, - new java.lang.String[] { "Name", "LogoUrl", "LayoutProperties", "AddOnWidgetSet", "UseLocaleFromApp", "HomepageTrigger", "UniversalActions", "OpenLinkUrlPrefixes", }); - internal_static_google_apps_script_type_LayoutProperties_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_apps_script_type_LayoutProperties_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_apps_script_type_LayoutProperties_descriptor, - new java.lang.String[] { "PrimaryColor", "SecondaryColor", }); - internal_static_google_apps_script_type_HttpOptions_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_apps_script_type_HttpOptions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_apps_script_type_HttpOptions_descriptor, - new java.lang.String[] { "AuthorizationHeader", }); - com.google.apps.script.type.AddOnWidgetSetProto.getDescriptor(); - com.google.apps.script.type.ExtensionPoint.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifestProto.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifestProto.java deleted file mode 100644 index 1ac3290c..00000000 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifestProto.java +++ /dev/null @@ -1,106 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/apps/script/type/calendar/calendar_addon_manifest.proto - -package com.google.apps.script.type.calendar; - -public final class CalendarAddOnManifestProto { - private CalendarAddOnManifestProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_apps_script_type_calendar_ConferenceSolution_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_apps_script_type_calendar_ConferenceSolution_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n>google/apps/script/type/calendar/calen" + - "dar_addon_manifest.proto\022 google.apps.sc" + - "ript.type.calendar\032\037google/api/field_beh" + - "avior.proto\032-google/apps/script/type/ext" + - "ension_point.proto\"\277\004\n\025CalendarAddOnMani" + - "fest\022I\n\020homepage_trigger\030\006 \001(\0132/.google." + - "apps.script.type.HomepageExtensionPoint\022" + - "Q\n\023conference_solution\030\003 \003(\01324.google.ap" + - "ps.script.type.calendar.ConferenceSoluti" + - "on\022$\n\034create_settings_url_function\030\005 \001(\t" + - "\022T\n\022event_open_trigger\030\n \001(\01328.google.ap" + - "ps.script.type.calendar.CalendarExtensio" + - "nPoint\022V\n\024event_update_trigger\030\013 \001(\01328.g" + - "oogle.apps.script.type.calendar.Calendar" + - "ExtensionPoint\022a\n\024current_event_access\030\014" + - " \001(\0162C.google.apps.script.type.calendar." + - "CalendarAddOnManifest.EventAccess\"Q\n\013Eve" + - "ntAccess\022\017\n\013UNSPECIFIED\020\000\022\014\n\010METADATA\020\001\022" + - "\010\n\004READ\020\003\022\t\n\005WRITE\020\004\022\016\n\nREAD_WRITE\020\005\"p\n\022" + - "ConferenceSolution\022\037\n\022on_create_function" + - "\030\001 \001(\tB\003\340A\002\022\017\n\002id\030\004 \001(\tB\003\340A\002\022\021\n\004name\030\005 \001" + - "(\tB\003\340A\002\022\025\n\010logo_url\030\006 \001(\tB\003\340A\002\"3\n\026Calend" + - "arExtensionPoint\022\031\n\014run_function\030\001 \001(\tB\003" + - "\340A\002B\362\001\n$com.google.apps.script.type.cale" + - "ndarB\032CalendarAddOnManifestProtoP\001Z?goog" + - "le.golang.org/genproto/googleapis/apps/s" + - "cript/type/calendar\252\002 Google.Apps.Script" + - ".Type.Calendar\312\002 Google\\Apps\\Script\\Type" + - "\\Calendar\352\002$Google::Apps::Script::Type::" + - "Calendarb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.apps.script.type.ExtensionPoint.getDescriptor(), - }); - internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_descriptor, - new java.lang.String[] { "HomepageTrigger", "ConferenceSolution", "CreateSettingsUrlFunction", "EventOpenTrigger", "EventUpdateTrigger", "CurrentEventAccess", }); - internal_static_google_apps_script_type_calendar_ConferenceSolution_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_apps_script_type_calendar_ConferenceSolution_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_apps_script_type_calendar_ConferenceSolution_descriptor, - new java.lang.String[] { "OnCreateFunction", "Id", "Name", "LogoUrl", }); - internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_descriptor, - new java.lang.String[] { "RunFunction", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.apps.script.type.ExtensionPoint.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifestProto.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifestProto.java deleted file mode 100644 index f561fe8f..00000000 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifestProto.java +++ /dev/null @@ -1,81 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/apps/script/type/docs/docs_addon_manifest.proto - -package com.google.apps.script.type.docs; - -public final class DocsAddOnManifestProto { - private DocsAddOnManifestProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_apps_script_type_docs_DocsAddOnManifest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_apps_script_type_docs_DocsAddOnManifest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_apps_script_type_docs_DocsExtensionPoint_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_apps_script_type_docs_DocsExtensionPoint_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n6google/apps/script/type/docs/docs_addo" + - "n_manifest.proto\022\034google.apps.script.typ" + - "e.docs\032\037google/api/field_behavior.proto\032" + - "-google/apps/script/type/extension_point" + - ".proto\"\267\001\n\021DocsAddOnManifest\022I\n\020homepage" + - "_trigger\030\001 \001(\0132/.google.apps.script.type" + - ".HomepageExtensionPoint\022W\n\035on_file_scope" + - "_granted_trigger\030\002 \001(\01320.google.apps.scr" + - "ipt.type.docs.DocsExtensionPoint\"/\n\022Docs" + - "ExtensionPoint\022\031\n\014run_function\030\001 \001(\tB\003\340A" + - "\002B\332\001\n com.google.apps.script.type.docsB\026" + - "DocsAddOnManifestProtoP\001Z;google.golang." + - "org/genproto/googleapis/apps/script/type" + - "/docs\252\002\034Google.Apps.Script.Type.Docs\312\002\034G" + - "oogle\\Apps\\Script\\Type\\Docs\352\002 Google::Ap" + - "ps::Script::Type::Docsb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.apps.script.type.ExtensionPoint.getDescriptor(), - }); - internal_static_google_apps_script_type_docs_DocsAddOnManifest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_apps_script_type_docs_DocsAddOnManifest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_apps_script_type_docs_DocsAddOnManifest_descriptor, - new java.lang.String[] { "HomepageTrigger", "OnFileScopeGrantedTrigger", }); - internal_static_google_apps_script_type_docs_DocsExtensionPoint_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_apps_script_type_docs_DocsExtensionPoint_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_apps_script_type_docs_DocsExtensionPoint_descriptor, - new java.lang.String[] { "RunFunction", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.apps.script.type.ExtensionPoint.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifestProto.java b/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifestProto.java deleted file mode 100644 index 419e267e..00000000 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifestProto.java +++ /dev/null @@ -1,74 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/apps/script/type/drive/drive_addon_manifest.proto - -package com.google.apps.script.type.drive; - -public final class DriveAddOnManifestProto { - private DriveAddOnManifestProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_apps_script_type_drive_DriveAddOnManifest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_apps_script_type_drive_DriveAddOnManifest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_apps_script_type_drive_DriveExtensionPoint_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_apps_script_type_drive_DriveExtensionPoint_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n8google/apps/script/type/drive/drive_ad" + - "don_manifest.proto\022\035google.apps.script.t" + - "ype.drive\032-google/apps/script/type/exten" + - "sion_point.proto\"\266\001\n\022DriveAddOnManifest\022" + - "I\n\020homepage_trigger\030\001 \001(\0132/.google.apps." + - "script.type.HomepageExtensionPoint\022U\n\031on" + - "_items_selected_trigger\030\002 \001(\01322.google.a" + - "pps.script.type.drive.DriveExtensionPoin" + - "t\"+\n\023DriveExtensionPoint\022\024\n\014run_function" + - "\030\001 \001(\tB\340\001\n!com.google.apps.script.type.d" + - "riveB\027DriveAddOnManifestProtoP\001Zgoog" + - "le/apps/script/type/calendar/calendar_ad" + - "don_manifest.proto\0326google/apps/script/t" + - "ype/docs/docs_addon_manifest.proto\0328goog" + - "le/apps/script/type/drive/drive_addon_ma" + - "nifest.proto\0328google/apps/script/type/gm" + - "ail/gmail_addon_manifest.proto\032-google/a" + - "pps/script/type/script_manifest.proto\032:g" + - "oogle/apps/script/type/sheets/sheets_add" + - "on_manifest.proto\032:google/apps/script/ty" + - "pe/slides/slides_addon_manifest.proto\032\033g" + - "oogle/protobuf/empty.proto\032\036google/proto" + - "buf/wrappers.proto\"Z\n\027GetAuthorizationRe" + - "quest\022?\n\004name\030\002 \001(\tB1\340A\002\372A+\n)gsuiteaddon" + - "s.googleapis.com/Authorization\"\247\001\n\rAutho" + - "rization\022\014\n\004name\030\001 \001(\t\022\035\n\025service_accoun" + - "t_email\030\002 \001(\t\022\027\n\017oauth_client_id\030\003 \001(\t:P" + - "\352AM\n)gsuiteaddons.googleapis.com/Authori" + - "zation\022 projects/{project}/authorization" + - "\"\275\001\n\027CreateDeploymentRequest\022C\n\006parent\030\001" + - " \001(\tB3\340A\002\372A-\n+cloudresourcemanager.googl" + - "eapis.com/Project\022\032\n\rdeployment_id\030\002 \001(\t" + - "B\003\340A\002\022A\n\ndeployment\030\003 \001(\0132(.google.cloud" + - ".gsuiteaddons.v1.DeploymentB\003\340A\002\"]\n\030Repl" + - "aceDeploymentRequest\022A\n\ndeployment\030\002 \001(\013" + - "2(.google.cloud.gsuiteaddons.v1.Deployme" + - "ntB\003\340A\002\"T\n\024GetDeploymentRequest\022<\n\004name\030" + - "\001 \001(\tB.\340A\002\372A(\n&gsuiteaddons.googleapis.c" + - "om/Deployment\"\204\001\n\026ListDeploymentsRequest" + - "\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudresourcem" + - "anager.googleapis.com/Project\022\021\n\tpage_si" + - "ze\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"q\n\027ListDepl" + - "oymentsResponse\022=\n\013deployments\030\001 \003(\0132(.g" + - "oogle.cloud.gsuiteaddons.v1.Deployment\022\027" + - "\n\017next_page_token\030\002 \001(\t\"e\n\027DeleteDeploym" + - "entRequest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&gsuite" + - "addons.googleapis.com/Deployment\022\014\n\004etag" + - "\030\002 \001(\t\"X\n\030InstallDeploymentRequest\022<\n\004na" + - "me\030\001 \001(\tB.\340A\002\372A(\n&gsuiteaddons.googleapi" + - "s.com/Deployment\"Z\n\032UninstallDeploymentR" + - "equest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&gsuiteaddo" + - "ns.googleapis.com/Deployment\"Z\n\027GetInsta" + - "llStatusRequest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)g" + - "suiteaddons.googleapis.com/InstallStatus" + - "\"\267\001\n\rInstallStatus\022\014\n\004name\030\001 \001(\t\022-\n\tinst" + - "alled\030\002 \001(\0132\032.google.protobuf.BoolValue:" + - "i\352Af\n)gsuiteaddons.googleapis.com/Instal" + - "lStatus\0229projects/{project}/deployments/" + - "{deployment}/installStatus\"\317\001\n\nDeploymen" + - "t\022\014\n\004name\030\001 \001(\t\022\024\n\014oauth_scopes\030\002 \003(\t\0225\n" + - "\007add_ons\030\003 \001(\0132$.google.cloud.gsuiteaddo" + - "ns.v1.AddOns\022\014\n\004etag\030\005 \001(\t:X\352AU\n&gsuitea" + - "ddons.googleapis.com/Deployment\022+project" + - "s/{project}/deployments/{deployment}\"\232\004\n" + - "\006AddOns\022<\n\006common\030\001 \001(\0132,.google.apps.sc" + - "ript.type.CommonAddOnManifest\022@\n\005gmail\030\002" + - " \001(\01321.google.apps.script.type.gmail.Gma" + - "ilAddOnManifest\022@\n\005drive\030\005 \001(\01321.google." + - "apps.script.type.drive.DriveAddOnManifes" + - "t\022I\n\010calendar\030\006 \001(\01327.google.apps.script" + - ".type.calendar.CalendarAddOnManifest\022=\n\004" + - "docs\030\007 \001(\0132/.google.apps.script.type.doc" + - "s.DocsAddOnManifest\022C\n\006sheets\030\010 \001(\01323.go" + - "ogle.apps.script.type.sheets.SheetsAddOn" + - "Manifest\022C\n\006slides\030\n \001(\01323.google.apps.s" + - "cript.type.slides.SlidesAddOnManifest\022:\n" + - "\014http_options\030\017 \001(\0132$.google.apps.script" + - ".type.HttpOptions2\244\r\n\014GSuiteAddOns\022\252\001\n\020G" + - "etAuthorization\0225.google.cloud.gsuiteadd" + - "ons.v1.GetAuthorizationRequest\032+.google." + - "cloud.gsuiteaddons.v1.Authorization\"2\202\323\344" + - "\223\002%\022#/v1/{name=projects/*/authorization}" + - "\332A\004name\022\316\001\n\020CreateDeployment\0225.google.cl" + - "oud.gsuiteaddons.v1.CreateDeploymentRequ" + - "est\032(.google.cloud.gsuiteaddons.v1.Deplo" + - "yment\"Y\202\323\344\223\0021\"#/v1/{parent=projects/*}/d" + - "eployments:\ndeployment\332A\037parent,deployme" + - "nt,deployment_id\022\306\001\n\021ReplaceDeployment\0226" + - ".google.cloud.gsuiteaddons.v1.ReplaceDep" + - "loymentRequest\032(.google.cloud.gsuiteaddo" + - "ns.v1.Deployment\"O\202\323\344\223\002<\032./v1/{deploymen" + - "t.name=projects/*/deployments/*}:\ndeploy" + - "ment\332A\ndeployment\022\241\001\n\rGetDeployment\0222.go" + - "ogle.cloud.gsuiteaddons.v1.GetDeployment" + - "Request\032(.google.cloud.gsuiteaddons.v1.D" + - "eployment\"2\202\323\344\223\002%\022#/v1/{name=projects/*/" + - "deployments/*}\332A\004name\022\264\001\n\017ListDeployment" + - "s\0224.google.cloud.gsuiteaddons.v1.ListDep" + - "loymentsRequest\0325.google.cloud.gsuiteadd" + - "ons.v1.ListDeploymentsResponse\"4\202\323\344\223\002%\022#" + - "/v1/{parent=projects/*}/deployments\332A\006pa" + - "rent\022\225\001\n\020DeleteDeployment\0225.google.cloud" + - ".gsuiteaddons.v1.DeleteDeploymentRequest" + - "\032\026.google.protobuf.Empty\"2\202\323\344\223\002%*#/v1/{n" + - "ame=projects/*/deployments/*}\332A\004name\022\242\001\n" + - "\021InstallDeployment\0226.google.cloud.gsuite" + - "addons.v1.InstallDeploymentRequest\032\026.goo" + - "gle.protobuf.Empty\"=\202\323\344\223\0020\"+/v1/{name=pr" + - "ojects/*/deployments/*}:install:\001*\332A\004nam" + - "e\022\250\001\n\023UninstallDeployment\0228.google.cloud" + - ".gsuiteaddons.v1.UninstallDeploymentRequ" + - "est\032\026.google.protobuf.Empty\"?\202\323\344\223\0022\"-/v1" + - "/{name=projects/*/deployments/*}:uninsta" + - "ll:\001*\332A\004name\022\270\001\n\020GetInstallStatus\0225.goog" + - "le.cloud.gsuiteaddons.v1.GetInstallStatu" + - "sRequest\032+.google.cloud.gsuiteaddons.v1." + - "InstallStatus\"@\202\323\344\223\0023\0221/v1/{name=project" + - "s/*/deployments/*/installStatus}\332A\004name\032" + - "O\312A\033gsuiteaddons.googleapis.com\322A.https:" + - "//www.googleapis.com/auth/cloud-platform" + - "B\341\001\n com.google.cloud.gsuiteaddons.v1B\021G" + - "SuiteAddOnsProtoP\001ZHgoogle.golang.org/ge" + - "nproto/googleapis/cloud/gsuiteaddons/v1;" + - "gsuiteaddons\252\002\034Google.Cloud.GSuiteAddOns" + - ".V1\312\002\034Google\\Cloud\\GSuiteAddOns\\V1\352\002\037Goo" + - "gle::Cloud::GSuiteAddOns::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.apps.script.type.calendar.CalendarAddOnManifestProto.getDescriptor(), - com.google.apps.script.type.docs.DocsAddOnManifestProto.getDescriptor(), - com.google.apps.script.type.drive.DriveAddOnManifestProto.getDescriptor(), - com.google.apps.script.type.gmail.GmailAddOnManifestProto.getDescriptor(), - com.google.apps.script.type.ScriptManifest.getDescriptor(), - com.google.apps.script.type.sheets.SheetsAddOnManifestProto.getDescriptor(), - com.google.apps.script.type.slides.SlidesAddOnManifestProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.WrappersProto.getDescriptor(), - }); - internal_static_google_cloud_gsuiteaddons_v1_GetAuthorizationRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_gsuiteaddons_v1_GetAuthorizationRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gsuiteaddons_v1_GetAuthorizationRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_gsuiteaddons_v1_Authorization_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_gsuiteaddons_v1_Authorization_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gsuiteaddons_v1_Authorization_descriptor, - new java.lang.String[] { "Name", "ServiceAccountEmail", "OauthClientId", }); - internal_static_google_cloud_gsuiteaddons_v1_CreateDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_gsuiteaddons_v1_CreateDeploymentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gsuiteaddons_v1_CreateDeploymentRequest_descriptor, - new java.lang.String[] { "Parent", "DeploymentId", "Deployment", }); - internal_static_google_cloud_gsuiteaddons_v1_ReplaceDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_gsuiteaddons_v1_ReplaceDeploymentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gsuiteaddons_v1_ReplaceDeploymentRequest_descriptor, - new java.lang.String[] { "Deployment", }); - internal_static_google_cloud_gsuiteaddons_v1_GetDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_gsuiteaddons_v1_GetDeploymentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gsuiteaddons_v1_GetDeploymentRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsResponse_descriptor, - new java.lang.String[] { "Deployments", "NextPageToken", }); - internal_static_google_cloud_gsuiteaddons_v1_DeleteDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_gsuiteaddons_v1_DeleteDeploymentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gsuiteaddons_v1_DeleteDeploymentRequest_descriptor, - new java.lang.String[] { "Name", "Etag", }); - internal_static_google_cloud_gsuiteaddons_v1_InstallDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_gsuiteaddons_v1_InstallDeploymentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gsuiteaddons_v1_InstallDeploymentRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_gsuiteaddons_v1_UninstallDeploymentRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_gsuiteaddons_v1_UninstallDeploymentRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gsuiteaddons_v1_UninstallDeploymentRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_gsuiteaddons_v1_GetInstallStatusRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_gsuiteaddons_v1_GetInstallStatusRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gsuiteaddons_v1_GetInstallStatusRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_gsuiteaddons_v1_InstallStatus_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_gsuiteaddons_v1_InstallStatus_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gsuiteaddons_v1_InstallStatus_descriptor, - new java.lang.String[] { "Name", "Installed", }); - internal_static_google_cloud_gsuiteaddons_v1_Deployment_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_gsuiteaddons_v1_Deployment_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gsuiteaddons_v1_Deployment_descriptor, - new java.lang.String[] { "Name", "OauthScopes", "AddOns", "Etag", }); - internal_static_google_cloud_gsuiteaddons_v1_AddOns_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_gsuiteaddons_v1_AddOns_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_gsuiteaddons_v1_AddOns_descriptor, - new java.lang.String[] { "Common", "Gmail", "Drive", "Calendar", "Docs", "Sheets", "Slides", "HttpOptions", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.apps.script.type.calendar.CalendarAddOnManifestProto.getDescriptor(); - com.google.apps.script.type.docs.DocsAddOnManifestProto.getDescriptor(); - com.google.apps.script.type.drive.DriveAddOnManifestProto.getDescriptor(); - com.google.apps.script.type.gmail.GmailAddOnManifestProto.getDescriptor(); - com.google.apps.script.type.ScriptManifest.getDescriptor(); - com.google.apps.script.type.sheets.SheetsAddOnManifestProto.getDescriptor(); - com.google.apps.script.type.slides.SlidesAddOnManifestProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.WrappersProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetAuthorizationRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetAuthorizationRequestOrBuilder.java deleted file mode 100644 index bd17d159..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetAuthorizationRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto - -package com.google.cloud.gsuiteaddons.v1; - -public interface GetAuthorizationRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.GetAuthorizationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Name of the project for which to get the Google Workspace Add-ons
-   * authorization information.
-   * Example: `projects/my_project/authorization`.
-   * 
- * - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Name of the project for which to get the Google Workspace Add-ons
-   * authorization information.
-   * Example: `projects/my_project/authorization`.
-   * 
- * - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetDeploymentRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetDeploymentRequestOrBuilder.java deleted file mode 100644 index 138deae5..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetDeploymentRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto - -package com.google.cloud.gsuiteaddons.v1; - -public interface GetDeploymentRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.GetDeploymentRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The full resource name of the deployment to get.
-   * Example:  `projects/my_project/deployments/my_deployment`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The full resource name of the deployment to get.
-   * Example:  `projects/my_project/deployments/my_deployment`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetInstallStatusRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetInstallStatusRequestOrBuilder.java deleted file mode 100644 index ab33fda1..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetInstallStatusRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto - -package com.google.cloud.gsuiteaddons.v1; - -public interface GetInstallStatusRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.GetInstallStatusRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The full resource name of the deployment.
-   * Example:  `projects/my_project/deployments/my_deployment/installStatus`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The full resource name of the deployment.
-   * Example:  `projects/my_project/deployments/my_deployment/installStatus`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallDeploymentRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallDeploymentRequestOrBuilder.java deleted file mode 100644 index f513e897..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallDeploymentRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto - -package com.google.cloud.gsuiteaddons.v1; - -public interface InstallDeploymentRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.InstallDeploymentRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The full resource name of the deployment to install.
-   * Example:  `projects/my_project/deployments/my_deployment`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The full resource name of the deployment to install.
-   * Example:  `projects/my_project/deployments/my_deployment`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ReplaceDeploymentRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ReplaceDeploymentRequestOrBuilder.java deleted file mode 100644 index 24333e53..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ReplaceDeploymentRequestOrBuilder.java +++ /dev/null @@ -1,36 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto - -package com.google.cloud.gsuiteaddons.v1; - -public interface ReplaceDeploymentRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The deployment to create or replace.
-   * 
- * - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the deployment field is set. - */ - boolean hasDeployment(); - /** - *
-   * Required. The deployment to create or replace.
-   * 
- * - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The deployment. - */ - com.google.cloud.gsuiteaddons.v1.Deployment getDeployment(); - /** - *
-   * Required. The deployment to create or replace.
-   * 
- * - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder getDeploymentOrBuilder(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/UninstallDeploymentRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/UninstallDeploymentRequestOrBuilder.java deleted file mode 100644 index aee93383..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/UninstallDeploymentRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto - -package com.google.cloud.gsuiteaddons.v1; - -public interface UninstallDeploymentRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The full resource name of the deployment to install.
-   * Example:  `projects/my_project/deployments/my_deployment`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The full resource name of the deployment to install.
-   * Example:  `projects/my_project/deployments/my_deployment`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSet.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSet.java similarity index 74% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSet.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSet.java index 7a42c6af..ced49064 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSet.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSet.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/addon_widget_set.proto package com.google.apps.script.type; /** + * + * *
  * The widget subset used by an add-on.
  * 
* * Protobuf type {@code google.apps.script.type.AddOnWidgetSet} */ -public final class AddOnWidgetSet extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AddOnWidgetSet extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.apps.script.type.AddOnWidgetSet) AddOnWidgetSetOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AddOnWidgetSet.newBuilder() to construct. private AddOnWidgetSet(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AddOnWidgetSet() { usedWidgets_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AddOnWidgetSet(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AddOnWidgetSet( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,36 +71,38 @@ private AddOnWidgetSet( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - usedWidgets_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - usedWidgets_.add(rawValue); - break; - } - case 10: { - int length = input.readRawVarint32(); - int oldLimit = input.pushLimit(length); - while(input.getBytesUntilLimit() > 0) { + case 8: + { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { usedWidgets_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } usedWidgets_.add(rawValue); + break; } - input.popLimit(oldLimit); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 10: + { + int length = input.readRawVarint32(); + int oldLimit = input.pushLimit(length); + while (input.getBytesUntilLimit() > 0) { + int rawValue = input.readEnum(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + usedWidgets_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + usedWidgets_.add(rawValue); + } + input.popLimit(oldLimit); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,8 +110,7 @@ private AddOnWidgetSet( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { usedWidgets_ = java.util.Collections.unmodifiableList(usedWidgets_); @@ -101,29 +119,35 @@ private AddOnWidgetSet( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.apps.script.type.AddOnWidgetSetProto.internal_static_google_apps_script_type_AddOnWidgetSet_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.script.type.AddOnWidgetSetProto + .internal_static_google_apps_script_type_AddOnWidgetSet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.AddOnWidgetSetProto.internal_static_google_apps_script_type_AddOnWidgetSet_fieldAccessorTable + return com.google.apps.script.type.AddOnWidgetSetProto + .internal_static_google_apps_script_type_AddOnWidgetSet_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.AddOnWidgetSet.class, com.google.apps.script.type.AddOnWidgetSet.Builder.class); + com.google.apps.script.type.AddOnWidgetSet.class, + com.google.apps.script.type.AddOnWidgetSet.Builder.class); } /** + * + * *
    * The Widget type. DEFAULT is the basic widget set.
    * 
* * Protobuf enum {@code google.apps.script.type.AddOnWidgetSet.WidgetType} */ - public enum WidgetType - implements com.google.protobuf.ProtocolMessageEnum { + public enum WidgetType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The default widget set.
      * 
@@ -132,6 +156,8 @@ public enum WidgetType */ WIDGET_TYPE_UNSPECIFIED(0), /** + * + * *
      * The date picker.
      * 
@@ -140,6 +166,8 @@ public enum WidgetType */ DATE_PICKER(1), /** + * + * *
      * Styled buttons include filled buttons and disabled buttons.
      * 
@@ -148,6 +176,8 @@ public enum WidgetType */ STYLED_BUTTONS(2), /** + * + * *
      * Persistent forms allow persisting form values during actions.
      * 
@@ -156,6 +186,8 @@ public enum WidgetType */ PERSISTENT_FORMS(3), /** + * + * *
      * Fixed footer in card.
      * 
@@ -164,6 +196,8 @@ public enum WidgetType */ FIXED_FOOTER(4), /** + * + * *
      * Update the subject and recipients of a draft.
      * 
@@ -172,6 +206,8 @@ public enum WidgetType */ UPDATE_SUBJECT_AND_RECIPIENTS(5), /** + * + * *
      * The grid widget.
      * 
@@ -180,6 +216,8 @@ public enum WidgetType */ GRID_WIDGET(6), /** + * + * *
      * A Gmail add-on action that applies to the addon compose UI.
      * 
@@ -191,6 +229,8 @@ public enum WidgetType ; /** + * + * *
      * The default widget set.
      * 
@@ -199,6 +239,8 @@ public enum WidgetType */ public static final int WIDGET_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The date picker.
      * 
@@ -207,6 +249,8 @@ public enum WidgetType */ public static final int DATE_PICKER_VALUE = 1; /** + * + * *
      * Styled buttons include filled buttons and disabled buttons.
      * 
@@ -215,6 +259,8 @@ public enum WidgetType */ public static final int STYLED_BUTTONS_VALUE = 2; /** + * + * *
      * Persistent forms allow persisting form values during actions.
      * 
@@ -223,6 +269,8 @@ public enum WidgetType */ public static final int PERSISTENT_FORMS_VALUE = 3; /** + * + * *
      * Fixed footer in card.
      * 
@@ -231,6 +279,8 @@ public enum WidgetType */ public static final int FIXED_FOOTER_VALUE = 4; /** + * + * *
      * Update the subject and recipients of a draft.
      * 
@@ -239,6 +289,8 @@ public enum WidgetType */ public static final int UPDATE_SUBJECT_AND_RECIPIENTS_VALUE = 5; /** + * + * *
      * The grid widget.
      * 
@@ -247,6 +299,8 @@ public enum WidgetType */ public static final int GRID_WIDGET_VALUE = 6; /** + * + * *
      * A Gmail add-on action that applies to the addon compose UI.
      * 
@@ -255,7 +309,6 @@ public enum WidgetType */ public static final int ADDON_COMPOSE_UI_ACTION_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -280,54 +333,59 @@ public static WidgetType valueOf(int value) { */ public static WidgetType forNumber(int value) { switch (value) { - case 0: return WIDGET_TYPE_UNSPECIFIED; - case 1: return DATE_PICKER; - case 2: return STYLED_BUTTONS; - case 3: return PERSISTENT_FORMS; - case 4: return FIXED_FOOTER; - case 5: return UPDATE_SUBJECT_AND_RECIPIENTS; - case 6: return GRID_WIDGET; - case 7: return ADDON_COMPOSE_UI_ACTION; - default: return null; + case 0: + return WIDGET_TYPE_UNSPECIFIED; + case 1: + return DATE_PICKER; + case 2: + return STYLED_BUTTONS; + case 3: + return PERSISTENT_FORMS; + case 4: + return FIXED_FOOTER; + case 5: + return UPDATE_SUBJECT_AND_RECIPIENTS; + case 6: + return GRID_WIDGET; + case 7: + return ADDON_COMPOSE_UI_ACTION; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - WidgetType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public WidgetType findValueByNumber(int number) { - return WidgetType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public WidgetType findValueByNumber(int number) { + return WidgetType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.apps.script.type.AddOnWidgetSet.getDescriptor().getEnumTypes().get(0); } private static final WidgetType[] VALUES = values(); - public static WidgetType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static WidgetType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -347,34 +405,47 @@ private WidgetType(int value) { public static final int USED_WIDGETS_FIELD_NUMBER = 1; private java.util.List usedWidgets_; private static final com.google.protobuf.Internal.ListAdapter.Converter< - java.lang.Integer, com.google.apps.script.type.AddOnWidgetSet.WidgetType> usedWidgets_converter_ = + java.lang.Integer, com.google.apps.script.type.AddOnWidgetSet.WidgetType> + usedWidgets_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.google.apps.script.type.AddOnWidgetSet.WidgetType>() { - public com.google.apps.script.type.AddOnWidgetSet.WidgetType convert(java.lang.Integer from) { + public com.google.apps.script.type.AddOnWidgetSet.WidgetType convert( + java.lang.Integer from) { @SuppressWarnings("deprecation") - com.google.apps.script.type.AddOnWidgetSet.WidgetType result = com.google.apps.script.type.AddOnWidgetSet.WidgetType.valueOf(from); - return result == null ? com.google.apps.script.type.AddOnWidgetSet.WidgetType.UNRECOGNIZED : result; + com.google.apps.script.type.AddOnWidgetSet.WidgetType result = + com.google.apps.script.type.AddOnWidgetSet.WidgetType.valueOf(from); + return result == null + ? com.google.apps.script.type.AddOnWidgetSet.WidgetType.UNRECOGNIZED + : result; } }; /** + * + * *
    * The list of widgets used in an add-on.
    * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; + * * @return A list containing the usedWidgets. */ @java.lang.Override - public java.util.List getUsedWidgetsList() { + public java.util.List + getUsedWidgetsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.apps.script.type.AddOnWidgetSet.WidgetType>(usedWidgets_, usedWidgets_converter_); + java.lang.Integer, com.google.apps.script.type.AddOnWidgetSet.WidgetType>( + usedWidgets_, usedWidgets_converter_); } /** + * + * *
    * The list of widgets used in an add-on.
    * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; + * * @return The count of usedWidgets. */ @java.lang.Override @@ -382,11 +453,14 @@ public int getUsedWidgetsCount() { return usedWidgets_.size(); } /** + * + * *
    * The list of widgets used in an add-on.
    * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; + * * @param index The index of the element to return. * @return The usedWidgets at the given index. */ @@ -395,24 +469,29 @@ public com.google.apps.script.type.AddOnWidgetSet.WidgetType getUsedWidgets(int return usedWidgets_converter_.convert(usedWidgets_.get(index)); } /** + * + * *
    * The list of widgets used in an add-on.
    * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; + * * @return A list containing the enum numeric values on the wire for usedWidgets. */ @java.lang.Override - public java.util.List - getUsedWidgetsValueList() { + public java.util.List getUsedWidgetsValueList() { return usedWidgets_; } /** + * + * *
    * The list of widgets used in an add-on.
    * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of usedWidgets at the given index. */ @@ -420,9 +499,11 @@ public com.google.apps.script.type.AddOnWidgetSet.WidgetType getUsedWidgets(int public int getUsedWidgetsValue(int index) { return usedWidgets_.get(index); } + private int usedWidgetsMemoizedSerializedSize; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -434,8 +515,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (getUsedWidgetsList().size() > 0) { output.writeUInt32NoTag(10); @@ -456,14 +536,14 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < usedWidgets_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeEnumSizeNoTag(usedWidgets_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(usedWidgets_.get(i)); } size += dataSize; - if (!getUsedWidgetsList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(dataSize); - }usedWidgetsMemoizedSerializedSize = dataSize; + if (!getUsedWidgetsList().isEmpty()) { + size += 1; + size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize); + } + usedWidgetsMemoizedSerializedSize = dataSize; } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -473,12 +553,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.AddOnWidgetSet)) { return super.equals(obj); } - com.google.apps.script.type.AddOnWidgetSet other = (com.google.apps.script.type.AddOnWidgetSet) obj; + com.google.apps.script.type.AddOnWidgetSet other = + (com.google.apps.script.type.AddOnWidgetSet) obj; if (!usedWidgets_.equals(other.usedWidgets_)) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -501,118 +582,127 @@ public int hashCode() { return hash; } - public static com.google.apps.script.type.AddOnWidgetSet parseFrom( - java.nio.ByteBuffer data) + public static com.google.apps.script.type.AddOnWidgetSet parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.AddOnWidgetSet parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.AddOnWidgetSet parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.AddOnWidgetSet parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.AddOnWidgetSet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.AddOnWidgetSet parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.AddOnWidgetSet parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.AddOnWidgetSet parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.AddOnWidgetSet parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.apps.script.type.AddOnWidgetSet parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.apps.script.type.AddOnWidgetSet parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.apps.script.type.AddOnWidgetSet parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.AddOnWidgetSet parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.apps.script.type.AddOnWidgetSet prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The widget subset used by an add-on.
    * 
* * Protobuf type {@code google.apps.script.type.AddOnWidgetSet} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.apps.script.type.AddOnWidgetSet) com.google.apps.script.type.AddOnWidgetSetOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.apps.script.type.AddOnWidgetSetProto.internal_static_google_apps_script_type_AddOnWidgetSet_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.script.type.AddOnWidgetSetProto + .internal_static_google_apps_script_type_AddOnWidgetSet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.AddOnWidgetSetProto.internal_static_google_apps_script_type_AddOnWidgetSet_fieldAccessorTable + return com.google.apps.script.type.AddOnWidgetSetProto + .internal_static_google_apps_script_type_AddOnWidgetSet_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.AddOnWidgetSet.class, com.google.apps.script.type.AddOnWidgetSet.Builder.class); + com.google.apps.script.type.AddOnWidgetSet.class, + com.google.apps.script.type.AddOnWidgetSet.Builder.class); } // Construct using com.google.apps.script.type.AddOnWidgetSet.newBuilder() @@ -620,16 +710,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -639,9 +728,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.apps.script.type.AddOnWidgetSetProto.internal_static_google_apps_script_type_AddOnWidgetSet_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.apps.script.type.AddOnWidgetSetProto + .internal_static_google_apps_script_type_AddOnWidgetSet_descriptor; } @java.lang.Override @@ -660,7 +749,8 @@ public com.google.apps.script.type.AddOnWidgetSet build() { @java.lang.Override public com.google.apps.script.type.AddOnWidgetSet buildPartial() { - com.google.apps.script.type.AddOnWidgetSet result = new com.google.apps.script.type.AddOnWidgetSet(this); + com.google.apps.script.type.AddOnWidgetSet result = + new com.google.apps.script.type.AddOnWidgetSet(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { usedWidgets_ = java.util.Collections.unmodifiableList(usedWidgets_); @@ -675,38 +765,39 @@ public com.google.apps.script.type.AddOnWidgetSet buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.script.type.AddOnWidgetSet) { - return mergeFrom((com.google.apps.script.type.AddOnWidgetSet)other); + return mergeFrom((com.google.apps.script.type.AddOnWidgetSet) other); } else { super.mergeFrom(other); return this; @@ -753,10 +844,11 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List usedWidgets_ = - java.util.Collections.emptyList(); + private java.util.List usedWidgets_ = java.util.Collections.emptyList(); + private void ensureUsedWidgetsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { usedWidgets_ = new java.util.ArrayList(usedWidgets_); @@ -764,34 +856,45 @@ private void ensureUsedWidgetsIsMutable() { } } /** + * + * *
      * The list of widgets used in an add-on.
      * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; + * * @return A list containing the usedWidgets. */ - public java.util.List getUsedWidgetsList() { + public java.util.List + getUsedWidgetsList() { return new com.google.protobuf.Internal.ListAdapter< - java.lang.Integer, com.google.apps.script.type.AddOnWidgetSet.WidgetType>(usedWidgets_, usedWidgets_converter_); + java.lang.Integer, com.google.apps.script.type.AddOnWidgetSet.WidgetType>( + usedWidgets_, usedWidgets_converter_); } /** + * + * *
      * The list of widgets used in an add-on.
      * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; + * * @return The count of usedWidgets. */ public int getUsedWidgetsCount() { return usedWidgets_.size(); } /** + * + * *
      * The list of widgets used in an add-on.
      * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; + * * @param index The index of the element to return. * @return The usedWidgets at the given index. */ @@ -799,11 +902,14 @@ public com.google.apps.script.type.AddOnWidgetSet.WidgetType getUsedWidgets(int return usedWidgets_converter_.convert(usedWidgets_.get(index)); } /** + * + * *
      * The list of widgets used in an add-on.
      * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; + * * @param index The index to set the value at. * @param value The usedWidgets to set. * @return This builder for chaining. @@ -819,11 +925,14 @@ public Builder setUsedWidgets( return this; } /** + * + * *
      * The list of widgets used in an add-on.
      * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; + * * @param value The usedWidgets to add. * @return This builder for chaining. */ @@ -837,16 +946,20 @@ public Builder addUsedWidgets(com.google.apps.script.type.AddOnWidgetSet.WidgetT return this; } /** + * + * *
      * The list of widgets used in an add-on.
      * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; + * * @param values The usedWidgets to add. * @return This builder for chaining. */ public Builder addAllUsedWidgets( - java.lang.Iterable values) { + java.lang.Iterable + values) { ensureUsedWidgetsIsMutable(); for (com.google.apps.script.type.AddOnWidgetSet.WidgetType value : values) { usedWidgets_.add(value.getNumber()); @@ -855,11 +968,14 @@ public Builder addAllUsedWidgets( return this; } /** + * + * *
      * The list of widgets used in an add-on.
      * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; + * * @return This builder for chaining. */ public Builder clearUsedWidgets() { @@ -869,23 +985,28 @@ public Builder clearUsedWidgets() { return this; } /** + * + * *
      * The list of widgets used in an add-on.
      * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; + * * @return A list containing the enum numeric values on the wire for usedWidgets. */ - public java.util.List - getUsedWidgetsValueList() { + public java.util.List getUsedWidgetsValueList() { return java.util.Collections.unmodifiableList(usedWidgets_); } /** + * + * *
      * The list of widgets used in an add-on.
      * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of usedWidgets at the given index. */ @@ -893,28 +1014,33 @@ public int getUsedWidgetsValue(int index) { return usedWidgets_.get(index); } /** + * + * *
      * The list of widgets used in an add-on.
      * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of usedWidgets at the given index. * @return This builder for chaining. */ - public Builder setUsedWidgetsValue( - int index, int value) { + public Builder setUsedWidgetsValue(int index, int value) { ensureUsedWidgetsIsMutable(); usedWidgets_.set(index, value); onChanged(); return this; } /** + * + * *
      * The list of widgets used in an add-on.
      * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; + * * @param value The enum numeric value on the wire for usedWidgets to add. * @return This builder for chaining. */ @@ -925,16 +1051,18 @@ public Builder addUsedWidgetsValue(int value) { return this; } /** + * + * *
      * The list of widgets used in an add-on.
      * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; + * * @param values The enum numeric values on the wire for usedWidgets to add. * @return This builder for chaining. */ - public Builder addAllUsedWidgetsValue( - java.lang.Iterable values) { + public Builder addAllUsedWidgetsValue(java.lang.Iterable values) { ensureUsedWidgetsIsMutable(); for (int value : values) { usedWidgets_.add(value); @@ -942,9 +1070,9 @@ public Builder addAllUsedWidgetsValue( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -954,12 +1082,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.apps.script.type.AddOnWidgetSet) } // @@protoc_insertion_point(class_scope:google.apps.script.type.AddOnWidgetSet) private static final com.google.apps.script.type.AddOnWidgetSet DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.apps.script.type.AddOnWidgetSet(); } @@ -968,16 +1096,16 @@ public static com.google.apps.script.type.AddOnWidgetSet getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AddOnWidgetSet parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AddOnWidgetSet(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AddOnWidgetSet parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AddOnWidgetSet(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -992,6 +1120,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.AddOnWidgetSet getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSetOrBuilder.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSetOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSetOrBuilder.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSetOrBuilder.java index 186eee74..31e0617f 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSetOrBuilder.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSetOrBuilder.java @@ -1,56 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/addon_widget_set.proto package com.google.apps.script.type; -public interface AddOnWidgetSetOrBuilder extends +public interface AddOnWidgetSetOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.AddOnWidgetSet) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of widgets used in an add-on.
    * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; + * * @return A list containing the usedWidgets. */ java.util.List getUsedWidgetsList(); /** + * + * *
    * The list of widgets used in an add-on.
    * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; + * * @return The count of usedWidgets. */ int getUsedWidgetsCount(); /** + * + * *
    * The list of widgets used in an add-on.
    * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; + * * @param index The index of the element to return. * @return The usedWidgets at the given index. */ com.google.apps.script.type.AddOnWidgetSet.WidgetType getUsedWidgets(int index); /** + * + * *
    * The list of widgets used in an add-on.
    * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; + * * @return A list containing the enum numeric values on the wire for usedWidgets. */ - java.util.List - getUsedWidgetsValueList(); + java.util.List getUsedWidgetsValueList(); /** + * + * *
    * The list of widgets used in an add-on.
    * 
* * repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1; + * * @param index The index of the value to return. * @return The enum numeric value on the wire of usedWidgets at the given index. */ diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSetProto.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSetProto.java new file mode 100644 index 00000000..873586a6 --- /dev/null +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/AddOnWidgetSetProto.java @@ -0,0 +1,73 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/apps/script/type/addon_widget_set.proto + +package com.google.apps.script.type; + +public final class AddOnWidgetSetProto { + private AddOnWidgetSetProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_apps_script_type_AddOnWidgetSet_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_apps_script_type_AddOnWidgetSet_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n.google/apps/script/type/addon_widget_s" + + "et.proto\022\027google.apps.script.type\"\244\002\n\016Ad" + + "dOnWidgetSet\022H\n\014used_widgets\030\001 \003(\01622.goo" + + "gle.apps.script.type.AddOnWidgetSet.Widg" + + "etType\"\307\001\n\nWidgetType\022\033\n\027WIDGET_TYPE_UNS" + + "PECIFIED\020\000\022\017\n\013DATE_PICKER\020\001\022\022\n\016STYLED_BU" + + "TTONS\020\002\022\024\n\020PERSISTENT_FORMS\020\003\022\020\n\014FIXED_F" + + "OOTER\020\004\022!\n\035UPDATE_SUBJECT_AND_RECIPIENTS" + + "\020\005\022\017\n\013GRID_WIDGET\020\006\022\033\n\027ADDON_COMPOSE_UI_" + + "ACTION\020\007B\275\001\n\033com.google.apps.script.type" + + "B\023AddOnWidgetSetProtoP\001Z6google.golang.o" + + "rg/genproto/googleapis/apps/script/type\252" + + "\002\027Google.Apps.Script.Type\312\002\027Google\\Apps\\" + + "Script\\Type\352\002\032Google::Apps::Script::Type" + + "b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + internal_static_google_apps_script_type_AddOnWidgetSet_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_apps_script_type_AddOnWidgetSet_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_apps_script_type_AddOnWidgetSet_descriptor, + new java.lang.String[] { + "UsedWidgets", + }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/CommonAddOnManifest.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/CommonAddOnManifest.java similarity index 75% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/CommonAddOnManifest.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/CommonAddOnManifest.java index 749a16ea..20c8651a 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/CommonAddOnManifest.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/CommonAddOnManifest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/script_manifest.proto package com.google.apps.script.type; /** + * + * *
  * Add-on configuration that is shared across all add-on host applications.
  * 
* * Protobuf type {@code google.apps.script.type.CommonAddOnManifest} */ -public final class CommonAddOnManifest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CommonAddOnManifest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.apps.script.type.CommonAddOnManifest) CommonAddOnManifestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CommonAddOnManifest.newBuilder() to construct. private CommonAddOnManifest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CommonAddOnManifest() { name_ = ""; logoUrl_ = ""; @@ -27,16 +45,15 @@ private CommonAddOnManifest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CommonAddOnManifest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CommonAddOnManifest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,91 +73,110 @@ private CommonAddOnManifest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - logoUrl_ = s; - break; - } - case 26: { - com.google.apps.script.type.LayoutProperties.Builder subBuilder = null; - if (layoutProperties_ != null) { - subBuilder = layoutProperties_.toBuilder(); - } - layoutProperties_ = input.readMessage(com.google.apps.script.type.LayoutProperties.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(layoutProperties_); - layoutProperties_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 34: { - com.google.apps.script.type.AddOnWidgetSet.Builder subBuilder = null; - if (addOnWidgetSet_ != null) { - subBuilder = addOnWidgetSet_.toBuilder(); + logoUrl_ = s; + break; } - addOnWidgetSet_ = input.readMessage(com.google.apps.script.type.AddOnWidgetSet.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(addOnWidgetSet_); - addOnWidgetSet_ = subBuilder.buildPartial(); + case 26: + { + com.google.apps.script.type.LayoutProperties.Builder subBuilder = null; + if (layoutProperties_ != null) { + subBuilder = layoutProperties_.toBuilder(); + } + layoutProperties_ = + input.readMessage( + com.google.apps.script.type.LayoutProperties.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(layoutProperties_); + layoutProperties_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 40: { - - useLocaleFromApp_ = input.readBool(); - break; - } - case 50: { - com.google.apps.script.type.HomepageExtensionPoint.Builder subBuilder = null; - if (homepageTrigger_ != null) { - subBuilder = homepageTrigger_.toBuilder(); + case 34: + { + com.google.apps.script.type.AddOnWidgetSet.Builder subBuilder = null; + if (addOnWidgetSet_ != null) { + subBuilder = addOnWidgetSet_.toBuilder(); + } + addOnWidgetSet_ = + input.readMessage( + com.google.apps.script.type.AddOnWidgetSet.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(addOnWidgetSet_); + addOnWidgetSet_ = subBuilder.buildPartial(); + } + + break; } - homepageTrigger_ = input.readMessage(com.google.apps.script.type.HomepageExtensionPoint.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(homepageTrigger_); - homepageTrigger_ = subBuilder.buildPartial(); + case 40: + { + useLocaleFromApp_ = input.readBool(); + break; } - - break; - } - case 58: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - universalActions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 50: + { + com.google.apps.script.type.HomepageExtensionPoint.Builder subBuilder = null; + if (homepageTrigger_ != null) { + subBuilder = homepageTrigger_.toBuilder(); + } + homepageTrigger_ = + input.readMessage( + com.google.apps.script.type.HomepageExtensionPoint.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(homepageTrigger_); + homepageTrigger_ = subBuilder.buildPartial(); + } + + break; } - universalActions_.add( - input.readMessage(com.google.apps.script.type.UniversalActionExtensionPoint.parser(), extensionRegistry)); - break; - } - case 66: { - com.google.protobuf.ListValue.Builder subBuilder = null; - if (openLinkUrlPrefixes_ != null) { - subBuilder = openLinkUrlPrefixes_.toBuilder(); + case 58: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + universalActions_ = + new java.util.ArrayList< + com.google.apps.script.type.UniversalActionExtensionPoint>(); + mutable_bitField0_ |= 0x00000001; + } + universalActions_.add( + input.readMessage( + com.google.apps.script.type.UniversalActionExtensionPoint.parser(), + extensionRegistry)); + break; } - openLinkUrlPrefixes_ = input.readMessage(com.google.protobuf.ListValue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(openLinkUrlPrefixes_); - openLinkUrlPrefixes_ = subBuilder.buildPartial(); + case 66: + { + com.google.protobuf.ListValue.Builder subBuilder = null; + if (openLinkUrlPrefixes_ != null) { + subBuilder = openLinkUrlPrefixes_.toBuilder(); + } + openLinkUrlPrefixes_ = + input.readMessage(com.google.protobuf.ListValue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(openLinkUrlPrefixes_); + openLinkUrlPrefixes_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -148,8 +184,7 @@ private CommonAddOnManifest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { universalActions_ = java.util.Collections.unmodifiableList(universalActions_); @@ -158,27 +193,33 @@ private CommonAddOnManifest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.apps.script.type.ScriptManifest.internal_static_google_apps_script_type_CommonAddOnManifest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.script.type.ScriptManifest + .internal_static_google_apps_script_type_CommonAddOnManifest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.ScriptManifest.internal_static_google_apps_script_type_CommonAddOnManifest_fieldAccessorTable + return com.google.apps.script.type.ScriptManifest + .internal_static_google_apps_script_type_CommonAddOnManifest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.CommonAddOnManifest.class, com.google.apps.script.type.CommonAddOnManifest.Builder.class); + com.google.apps.script.type.CommonAddOnManifest.class, + com.google.apps.script.type.CommonAddOnManifest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The display name of the add-on.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -187,29 +228,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The display name of the add-on.
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -220,11 +261,14 @@ public java.lang.String getName() { public static final int LOGO_URL_FIELD_NUMBER = 2; private volatile java.lang.Object logoUrl_; /** + * + * *
    * Required. The URL for the logo image shown in the add-on toolbar.
    * 
* * string logo_url = 2; + * * @return The logoUrl. */ @java.lang.Override @@ -233,29 +277,29 @@ public java.lang.String getLogoUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); logoUrl_ = s; return s; } } /** + * + * *
    * Required. The URL for the logo image shown in the add-on toolbar.
    * 
* * string logo_url = 2; + * * @return The bytes for logoUrl. */ @java.lang.Override - public com.google.protobuf.ByteString - getLogoUrlBytes() { + public com.google.protobuf.ByteString getLogoUrlBytes() { java.lang.Object ref = logoUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); logoUrl_ = b; return b; } else { @@ -266,11 +310,14 @@ public java.lang.String getLogoUrl() { public static final int LAYOUT_PROPERTIES_FIELD_NUMBER = 3; private com.google.apps.script.type.LayoutProperties layoutProperties_; /** + * + * *
    * Common layout properties for the add-on cards.
    * 
* * .google.apps.script.type.LayoutProperties layout_properties = 3; + * * @return Whether the layoutProperties field is set. */ @java.lang.Override @@ -278,18 +325,25 @@ public boolean hasLayoutProperties() { return layoutProperties_ != null; } /** + * + * *
    * Common layout properties for the add-on cards.
    * 
* * .google.apps.script.type.LayoutProperties layout_properties = 3; + * * @return The layoutProperties. */ @java.lang.Override public com.google.apps.script.type.LayoutProperties getLayoutProperties() { - return layoutProperties_ == null ? com.google.apps.script.type.LayoutProperties.getDefaultInstance() : layoutProperties_; + return layoutProperties_ == null + ? com.google.apps.script.type.LayoutProperties.getDefaultInstance() + : layoutProperties_; } /** + * + * *
    * Common layout properties for the add-on cards.
    * 
@@ -304,12 +358,15 @@ public com.google.apps.script.type.LayoutPropertiesOrBuilder getLayoutProperties public static final int ADD_ON_WIDGET_SET_FIELD_NUMBER = 4; private com.google.apps.script.type.AddOnWidgetSet addOnWidgetSet_; /** + * + * *
    * The widgets used in the add-on. If this field is not specified,
    * it indicates that default set is used.
    * 
* * .google.apps.script.type.AddOnWidgetSet add_on_widget_set = 4; + * * @return Whether the addOnWidgetSet field is set. */ @java.lang.Override @@ -317,19 +374,26 @@ public boolean hasAddOnWidgetSet() { return addOnWidgetSet_ != null; } /** + * + * *
    * The widgets used in the add-on. If this field is not specified,
    * it indicates that default set is used.
    * 
* * .google.apps.script.type.AddOnWidgetSet add_on_widget_set = 4; + * * @return The addOnWidgetSet. */ @java.lang.Override public com.google.apps.script.type.AddOnWidgetSet getAddOnWidgetSet() { - return addOnWidgetSet_ == null ? com.google.apps.script.type.AddOnWidgetSet.getDefaultInstance() : addOnWidgetSet_; + return addOnWidgetSet_ == null + ? com.google.apps.script.type.AddOnWidgetSet.getDefaultInstance() + : addOnWidgetSet_; } /** + * + * *
    * The widgets used in the add-on. If this field is not specified,
    * it indicates that default set is used.
@@ -345,11 +409,14 @@ public com.google.apps.script.type.AddOnWidgetSetOrBuilder getAddOnWidgetSetOrBu
   public static final int USE_LOCALE_FROM_APP_FIELD_NUMBER = 5;
   private boolean useLocaleFromApp_;
   /**
+   *
+   *
    * 
    * Whether to pass locale information from host app.
    * 
* * bool use_locale_from_app = 5; + * * @return The useLocaleFromApp. */ @java.lang.Override @@ -360,6 +427,8 @@ public boolean getUseLocaleFromApp() { public static final int HOMEPAGE_TRIGGER_FIELD_NUMBER = 6; private com.google.apps.script.type.HomepageExtensionPoint homepageTrigger_; /** + * + * *
    * Defines an endpoint that will be executed in any context, in
    * any host. Any cards generated by this function will always be available to
@@ -368,6 +437,7 @@ public boolean getUseLocaleFromApp() {
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6; + * * @return Whether the homepageTrigger field is set. */ @java.lang.Override @@ -375,6 +445,8 @@ public boolean hasHomepageTrigger() { return homepageTrigger_ != null; } /** + * + * *
    * Defines an endpoint that will be executed in any context, in
    * any host. Any cards generated by this function will always be available to
@@ -383,13 +455,18 @@ public boolean hasHomepageTrigger() {
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6; + * * @return The homepageTrigger. */ @java.lang.Override public com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger() { - return homepageTrigger_ == null ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_; + return homepageTrigger_ == null + ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() + : homepageTrigger_; } /** + * + * *
    * Defines an endpoint that will be executed in any context, in
    * any host. Any cards generated by this function will always be available to
@@ -405,8 +482,11 @@ public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTr
   }
 
   public static final int UNIVERSAL_ACTIONS_FIELD_NUMBER = 7;
-  private java.util.List universalActions_;
+  private java.util.List
+      universalActions_;
   /**
+   *
+   *
    * 
    * Defines a list of extension points in the universal action menu which
    * serves as a setting menu for the add-on. The extension point can be
@@ -414,13 +494,17 @@ public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTr
    * submission.
    * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * */ @java.lang.Override - public java.util.List getUniversalActionsList() { + public java.util.List + getUniversalActionsList() { return universalActions_; } /** + * + * *
    * Defines a list of extension points in the universal action menu which
    * serves as a setting menu for the add-on. The extension point can be
@@ -428,14 +512,18 @@ public java.util.List
    * submission.
    * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.apps.script.type.UniversalActionExtensionPointOrBuilder> getUniversalActionsOrBuilderList() { return universalActions_; } /** + * + * *
    * Defines a list of extension points in the universal action menu which
    * serves as a setting menu for the add-on. The extension point can be
@@ -443,13 +531,16 @@ public java.util.List
    * submission.
    * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * */ @java.lang.Override public int getUniversalActionsCount() { return universalActions_.size(); } /** + * + * *
    * Defines a list of extension points in the universal action menu which
    * serves as a setting menu for the add-on. The extension point can be
@@ -457,13 +548,16 @@ public int getUniversalActionsCount() {
    * submission.
    * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * */ @java.lang.Override public com.google.apps.script.type.UniversalActionExtensionPoint getUniversalActions(int index) { return universalActions_.get(index); } /** + * + * *
    * Defines a list of extension points in the universal action menu which
    * serves as a setting menu for the add-on. The extension point can be
@@ -471,17 +565,20 @@ public com.google.apps.script.type.UniversalActionExtensionPoint getUniversalAct
    * submission.
    * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * */ @java.lang.Override - public com.google.apps.script.type.UniversalActionExtensionPointOrBuilder getUniversalActionsOrBuilder( - int index) { + public com.google.apps.script.type.UniversalActionExtensionPointOrBuilder + getUniversalActionsOrBuilder(int index) { return universalActions_.get(index); } public static final int OPEN_LINK_URL_PREFIXES_FIELD_NUMBER = 8; private com.google.protobuf.ListValue openLinkUrlPrefixes_; /** + * + * *
    * An OpenLink action
    * can only use a URL with an HTTPS, MAILTO or TEL scheme.  For HTTPS links,
@@ -493,6 +590,7 @@ public com.google.apps.script.type.UniversalActionExtensionPointOrBuilder getUni
    * 
* * .google.protobuf.ListValue open_link_url_prefixes = 8; + * * @return Whether the openLinkUrlPrefixes field is set. */ @java.lang.Override @@ -500,6 +598,8 @@ public boolean hasOpenLinkUrlPrefixes() { return openLinkUrlPrefixes_ != null; } /** + * + * *
    * An OpenLink action
    * can only use a URL with an HTTPS, MAILTO or TEL scheme.  For HTTPS links,
@@ -511,13 +611,18 @@ public boolean hasOpenLinkUrlPrefixes() {
    * 
* * .google.protobuf.ListValue open_link_url_prefixes = 8; + * * @return The openLinkUrlPrefixes. */ @java.lang.Override public com.google.protobuf.ListValue getOpenLinkUrlPrefixes() { - return openLinkUrlPrefixes_ == null ? com.google.protobuf.ListValue.getDefaultInstance() : openLinkUrlPrefixes_; + return openLinkUrlPrefixes_ == null + ? com.google.protobuf.ListValue.getDefaultInstance() + : openLinkUrlPrefixes_; } /** + * + * *
    * An OpenLink action
    * can only use a URL with an HTTPS, MAILTO or TEL scheme.  For HTTPS links,
@@ -536,6 +641,7 @@ public com.google.protobuf.ListValueOrBuilder getOpenLinkUrlPrefixesOrBuilder()
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -547,8 +653,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -589,28 +694,22 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, logoUrl_);
     }
     if (layoutProperties_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getLayoutProperties());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getLayoutProperties());
     }
     if (addOnWidgetSet_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getAddOnWidgetSet());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getAddOnWidgetSet());
     }
     if (useLocaleFromApp_ != false) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(5, useLocaleFromApp_);
+      size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, useLocaleFromApp_);
     }
     if (homepageTrigger_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getHomepageTrigger());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getHomepageTrigger());
     }
     for (int i = 0; i < universalActions_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, universalActions_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, universalActions_.get(i));
     }
     if (openLinkUrlPrefixes_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(8, getOpenLinkUrlPrefixes());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getOpenLinkUrlPrefixes());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -620,40 +719,33 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.apps.script.type.CommonAddOnManifest)) {
       return super.equals(obj);
     }
-    com.google.apps.script.type.CommonAddOnManifest other = (com.google.apps.script.type.CommonAddOnManifest) obj;
+    com.google.apps.script.type.CommonAddOnManifest other =
+        (com.google.apps.script.type.CommonAddOnManifest) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!getLogoUrl()
-        .equals(other.getLogoUrl())) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (!getLogoUrl().equals(other.getLogoUrl())) return false;
     if (hasLayoutProperties() != other.hasLayoutProperties()) return false;
     if (hasLayoutProperties()) {
-      if (!getLayoutProperties()
-          .equals(other.getLayoutProperties())) return false;
+      if (!getLayoutProperties().equals(other.getLayoutProperties())) return false;
     }
     if (hasAddOnWidgetSet() != other.hasAddOnWidgetSet()) return false;
     if (hasAddOnWidgetSet()) {
-      if (!getAddOnWidgetSet()
-          .equals(other.getAddOnWidgetSet())) return false;
+      if (!getAddOnWidgetSet().equals(other.getAddOnWidgetSet())) return false;
     }
-    if (getUseLocaleFromApp()
-        != other.getUseLocaleFromApp()) return false;
+    if (getUseLocaleFromApp() != other.getUseLocaleFromApp()) return false;
     if (hasHomepageTrigger() != other.hasHomepageTrigger()) return false;
     if (hasHomepageTrigger()) {
-      if (!getHomepageTrigger()
-          .equals(other.getHomepageTrigger())) return false;
+      if (!getHomepageTrigger().equals(other.getHomepageTrigger())) return false;
     }
-    if (!getUniversalActionsList()
-        .equals(other.getUniversalActionsList())) return false;
+    if (!getUniversalActionsList().equals(other.getUniversalActionsList())) return false;
     if (hasOpenLinkUrlPrefixes() != other.hasOpenLinkUrlPrefixes()) return false;
     if (hasOpenLinkUrlPrefixes()) {
-      if (!getOpenLinkUrlPrefixes()
-          .equals(other.getOpenLinkUrlPrefixes())) return false;
+      if (!getOpenLinkUrlPrefixes().equals(other.getOpenLinkUrlPrefixes())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -679,8 +771,7 @@ public int hashCode() {
       hash = (53 * hash) + getAddOnWidgetSet().hashCode();
     }
     hash = (37 * hash) + USE_LOCALE_FROM_APP_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-        getUseLocaleFromApp());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseLocaleFromApp());
     if (hasHomepageTrigger()) {
       hash = (37 * hash) + HOMEPAGE_TRIGGER_FIELD_NUMBER;
       hash = (53 * hash) + getHomepageTrigger().hashCode();
@@ -698,118 +789,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.apps.script.type.CommonAddOnManifest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.apps.script.type.CommonAddOnManifest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.apps.script.type.CommonAddOnManifest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.apps.script.type.CommonAddOnManifest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.apps.script.type.CommonAddOnManifest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.apps.script.type.CommonAddOnManifest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.apps.script.type.CommonAddOnManifest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.apps.script.type.CommonAddOnManifest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.apps.script.type.CommonAddOnManifest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.apps.script.type.CommonAddOnManifest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.apps.script.type.CommonAddOnManifest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.apps.script.type.CommonAddOnManifest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.apps.script.type.CommonAddOnManifest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.apps.script.type.CommonAddOnManifest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.apps.script.type.CommonAddOnManifest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Add-on configuration that is shared across all add-on host applications.
    * 
* * Protobuf type {@code google.apps.script.type.CommonAddOnManifest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.apps.script.type.CommonAddOnManifest) com.google.apps.script.type.CommonAddOnManifestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.apps.script.type.ScriptManifest.internal_static_google_apps_script_type_CommonAddOnManifest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.script.type.ScriptManifest + .internal_static_google_apps_script_type_CommonAddOnManifest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.ScriptManifest.internal_static_google_apps_script_type_CommonAddOnManifest_fieldAccessorTable + return com.google.apps.script.type.ScriptManifest + .internal_static_google_apps_script_type_CommonAddOnManifest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.CommonAddOnManifest.class, com.google.apps.script.type.CommonAddOnManifest.Builder.class); + com.google.apps.script.type.CommonAddOnManifest.class, + com.google.apps.script.type.CommonAddOnManifest.Builder.class); } // Construct using com.google.apps.script.type.CommonAddOnManifest.newBuilder() @@ -817,17 +917,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getUniversalActionsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -871,9 +971,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.apps.script.type.ScriptManifest.internal_static_google_apps_script_type_CommonAddOnManifest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.apps.script.type.ScriptManifest + .internal_static_google_apps_script_type_CommonAddOnManifest_descriptor; } @java.lang.Override @@ -892,7 +992,8 @@ public com.google.apps.script.type.CommonAddOnManifest build() { @java.lang.Override public com.google.apps.script.type.CommonAddOnManifest buildPartial() { - com.google.apps.script.type.CommonAddOnManifest result = new com.google.apps.script.type.CommonAddOnManifest(this); + com.google.apps.script.type.CommonAddOnManifest result = + new com.google.apps.script.type.CommonAddOnManifest(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.logoUrl_ = logoUrl_; @@ -934,38 +1035,39 @@ public com.google.apps.script.type.CommonAddOnManifest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.script.type.CommonAddOnManifest) { - return mergeFrom((com.google.apps.script.type.CommonAddOnManifest)other); + return mergeFrom((com.google.apps.script.type.CommonAddOnManifest) other); } else { super.mergeFrom(other); return this; @@ -973,7 +1075,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.apps.script.type.CommonAddOnManifest other) { - if (other == com.google.apps.script.type.CommonAddOnManifest.getDefaultInstance()) return this; + if (other == com.google.apps.script.type.CommonAddOnManifest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -1012,9 +1115,10 @@ public Builder mergeFrom(com.google.apps.script.type.CommonAddOnManifest other) universalActionsBuilder_ = null; universalActions_ = other.universalActions_; bitField0_ = (bitField0_ & ~0x00000001); - universalActionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getUniversalActionsFieldBuilder() : null; + universalActionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getUniversalActionsFieldBuilder() + : null; } else { universalActionsBuilder_.addAllMessages(other.universalActions_); } @@ -1051,22 +1155,25 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The display name of the add-on.
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1075,20 +1182,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The display name of the add-on.
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1096,54 +1204,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The display name of the add-on.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The display name of the add-on.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The display name of the add-on.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1151,18 +1266,20 @@ public Builder setNameBytes( private java.lang.Object logoUrl_ = ""; /** + * + * *
      * Required. The URL for the logo image shown in the add-on toolbar.
      * 
* * string logo_url = 2; + * * @return The logoUrl. */ public java.lang.String getLogoUrl() { java.lang.Object ref = logoUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); logoUrl_ = s; return s; @@ -1171,20 +1288,21 @@ public java.lang.String getLogoUrl() { } } /** + * + * *
      * Required. The URL for the logo image shown in the add-on toolbar.
      * 
* * string logo_url = 2; + * * @return The bytes for logoUrl. */ - public com.google.protobuf.ByteString - getLogoUrlBytes() { + public com.google.protobuf.ByteString getLogoUrlBytes() { java.lang.Object ref = logoUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); logoUrl_ = b; return b; } else { @@ -1192,54 +1310,61 @@ public java.lang.String getLogoUrl() { } } /** + * + * *
      * Required. The URL for the logo image shown in the add-on toolbar.
      * 
* * string logo_url = 2; + * * @param value The logoUrl to set. * @return This builder for chaining. */ - public Builder setLogoUrl( - java.lang.String value) { + public Builder setLogoUrl(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + logoUrl_ = value; onChanged(); return this; } /** + * + * *
      * Required. The URL for the logo image shown in the add-on toolbar.
      * 
* * string logo_url = 2; + * * @return This builder for chaining. */ public Builder clearLogoUrl() { - + logoUrl_ = getDefaultInstance().getLogoUrl(); onChanged(); return this; } /** + * + * *
      * Required. The URL for the logo image shown in the add-on toolbar.
      * 
* * string logo_url = 2; + * * @param value The bytes for logoUrl to set. * @return This builder for chaining. */ - public Builder setLogoUrlBytes( - com.google.protobuf.ByteString value) { + public Builder setLogoUrlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + logoUrl_ = value; onChanged(); return this; @@ -1247,34 +1372,47 @@ public Builder setLogoUrlBytes( private com.google.apps.script.type.LayoutProperties layoutProperties_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.LayoutProperties, com.google.apps.script.type.LayoutProperties.Builder, com.google.apps.script.type.LayoutPropertiesOrBuilder> layoutPropertiesBuilder_; + com.google.apps.script.type.LayoutProperties, + com.google.apps.script.type.LayoutProperties.Builder, + com.google.apps.script.type.LayoutPropertiesOrBuilder> + layoutPropertiesBuilder_; /** + * + * *
      * Common layout properties for the add-on cards.
      * 
* * .google.apps.script.type.LayoutProperties layout_properties = 3; + * * @return Whether the layoutProperties field is set. */ public boolean hasLayoutProperties() { return layoutPropertiesBuilder_ != null || layoutProperties_ != null; } /** + * + * *
      * Common layout properties for the add-on cards.
      * 
* * .google.apps.script.type.LayoutProperties layout_properties = 3; + * * @return The layoutProperties. */ public com.google.apps.script.type.LayoutProperties getLayoutProperties() { if (layoutPropertiesBuilder_ == null) { - return layoutProperties_ == null ? com.google.apps.script.type.LayoutProperties.getDefaultInstance() : layoutProperties_; + return layoutProperties_ == null + ? com.google.apps.script.type.LayoutProperties.getDefaultInstance() + : layoutProperties_; } else { return layoutPropertiesBuilder_.getMessage(); } } /** + * + * *
      * Common layout properties for the add-on cards.
      * 
@@ -1295,6 +1433,8 @@ public Builder setLayoutProperties(com.google.apps.script.type.LayoutProperties return this; } /** + * + * *
      * Common layout properties for the add-on cards.
      * 
@@ -1313,6 +1453,8 @@ public Builder setLayoutProperties( return this; } /** + * + * *
      * Common layout properties for the add-on cards.
      * 
@@ -1323,7 +1465,9 @@ public Builder mergeLayoutProperties(com.google.apps.script.type.LayoutPropertie if (layoutPropertiesBuilder_ == null) { if (layoutProperties_ != null) { layoutProperties_ = - com.google.apps.script.type.LayoutProperties.newBuilder(layoutProperties_).mergeFrom(value).buildPartial(); + com.google.apps.script.type.LayoutProperties.newBuilder(layoutProperties_) + .mergeFrom(value) + .buildPartial(); } else { layoutProperties_ = value; } @@ -1335,6 +1479,8 @@ public Builder mergeLayoutProperties(com.google.apps.script.type.LayoutPropertie return this; } /** + * + * *
      * Common layout properties for the add-on cards.
      * 
@@ -1353,6 +1499,8 @@ public Builder clearLayoutProperties() { return this; } /** + * + * *
      * Common layout properties for the add-on cards.
      * 
@@ -1360,11 +1508,13 @@ public Builder clearLayoutProperties() { * .google.apps.script.type.LayoutProperties layout_properties = 3; */ public com.google.apps.script.type.LayoutProperties.Builder getLayoutPropertiesBuilder() { - + onChanged(); return getLayoutPropertiesFieldBuilder().getBuilder(); } /** + * + * *
      * Common layout properties for the add-on cards.
      * 
@@ -1375,11 +1525,14 @@ public com.google.apps.script.type.LayoutPropertiesOrBuilder getLayoutProperties if (layoutPropertiesBuilder_ != null) { return layoutPropertiesBuilder_.getMessageOrBuilder(); } else { - return layoutProperties_ == null ? - com.google.apps.script.type.LayoutProperties.getDefaultInstance() : layoutProperties_; + return layoutProperties_ == null + ? com.google.apps.script.type.LayoutProperties.getDefaultInstance() + : layoutProperties_; } } /** + * + * *
      * Common layout properties for the add-on cards.
      * 
@@ -1387,14 +1540,17 @@ public com.google.apps.script.type.LayoutPropertiesOrBuilder getLayoutProperties * .google.apps.script.type.LayoutProperties layout_properties = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.LayoutProperties, com.google.apps.script.type.LayoutProperties.Builder, com.google.apps.script.type.LayoutPropertiesOrBuilder> + com.google.apps.script.type.LayoutProperties, + com.google.apps.script.type.LayoutProperties.Builder, + com.google.apps.script.type.LayoutPropertiesOrBuilder> getLayoutPropertiesFieldBuilder() { if (layoutPropertiesBuilder_ == null) { - layoutPropertiesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.LayoutProperties, com.google.apps.script.type.LayoutProperties.Builder, com.google.apps.script.type.LayoutPropertiesOrBuilder>( - getLayoutProperties(), - getParentForChildren(), - isClean()); + layoutPropertiesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.apps.script.type.LayoutProperties, + com.google.apps.script.type.LayoutProperties.Builder, + com.google.apps.script.type.LayoutPropertiesOrBuilder>( + getLayoutProperties(), getParentForChildren(), isClean()); layoutProperties_ = null; } return layoutPropertiesBuilder_; @@ -1402,36 +1558,49 @@ public com.google.apps.script.type.LayoutPropertiesOrBuilder getLayoutProperties private com.google.apps.script.type.AddOnWidgetSet addOnWidgetSet_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.AddOnWidgetSet, com.google.apps.script.type.AddOnWidgetSet.Builder, com.google.apps.script.type.AddOnWidgetSetOrBuilder> addOnWidgetSetBuilder_; + com.google.apps.script.type.AddOnWidgetSet, + com.google.apps.script.type.AddOnWidgetSet.Builder, + com.google.apps.script.type.AddOnWidgetSetOrBuilder> + addOnWidgetSetBuilder_; /** + * + * *
      * The widgets used in the add-on. If this field is not specified,
      * it indicates that default set is used.
      * 
* * .google.apps.script.type.AddOnWidgetSet add_on_widget_set = 4; + * * @return Whether the addOnWidgetSet field is set. */ public boolean hasAddOnWidgetSet() { return addOnWidgetSetBuilder_ != null || addOnWidgetSet_ != null; } /** + * + * *
      * The widgets used in the add-on. If this field is not specified,
      * it indicates that default set is used.
      * 
* * .google.apps.script.type.AddOnWidgetSet add_on_widget_set = 4; + * * @return The addOnWidgetSet. */ public com.google.apps.script.type.AddOnWidgetSet getAddOnWidgetSet() { if (addOnWidgetSetBuilder_ == null) { - return addOnWidgetSet_ == null ? com.google.apps.script.type.AddOnWidgetSet.getDefaultInstance() : addOnWidgetSet_; + return addOnWidgetSet_ == null + ? com.google.apps.script.type.AddOnWidgetSet.getDefaultInstance() + : addOnWidgetSet_; } else { return addOnWidgetSetBuilder_.getMessage(); } } /** + * + * *
      * The widgets used in the add-on. If this field is not specified,
      * it indicates that default set is used.
@@ -1453,6 +1622,8 @@ public Builder setAddOnWidgetSet(com.google.apps.script.type.AddOnWidgetSet valu
       return this;
     }
     /**
+     *
+     *
      * 
      * The widgets used in the add-on. If this field is not specified,
      * it indicates that default set is used.
@@ -1472,6 +1643,8 @@ public Builder setAddOnWidgetSet(
       return this;
     }
     /**
+     *
+     *
      * 
      * The widgets used in the add-on. If this field is not specified,
      * it indicates that default set is used.
@@ -1483,7 +1656,9 @@ public Builder mergeAddOnWidgetSet(com.google.apps.script.type.AddOnWidgetSet va
       if (addOnWidgetSetBuilder_ == null) {
         if (addOnWidgetSet_ != null) {
           addOnWidgetSet_ =
-            com.google.apps.script.type.AddOnWidgetSet.newBuilder(addOnWidgetSet_).mergeFrom(value).buildPartial();
+              com.google.apps.script.type.AddOnWidgetSet.newBuilder(addOnWidgetSet_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           addOnWidgetSet_ = value;
         }
@@ -1495,6 +1670,8 @@ public Builder mergeAddOnWidgetSet(com.google.apps.script.type.AddOnWidgetSet va
       return this;
     }
     /**
+     *
+     *
      * 
      * The widgets used in the add-on. If this field is not specified,
      * it indicates that default set is used.
@@ -1514,6 +1691,8 @@ public Builder clearAddOnWidgetSet() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The widgets used in the add-on. If this field is not specified,
      * it indicates that default set is used.
@@ -1522,11 +1701,13 @@ public Builder clearAddOnWidgetSet() {
      * .google.apps.script.type.AddOnWidgetSet add_on_widget_set = 4;
      */
     public com.google.apps.script.type.AddOnWidgetSet.Builder getAddOnWidgetSetBuilder() {
-      
+
       onChanged();
       return getAddOnWidgetSetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The widgets used in the add-on. If this field is not specified,
      * it indicates that default set is used.
@@ -1538,11 +1719,14 @@ public com.google.apps.script.type.AddOnWidgetSetOrBuilder getAddOnWidgetSetOrBu
       if (addOnWidgetSetBuilder_ != null) {
         return addOnWidgetSetBuilder_.getMessageOrBuilder();
       } else {
-        return addOnWidgetSet_ == null ?
-            com.google.apps.script.type.AddOnWidgetSet.getDefaultInstance() : addOnWidgetSet_;
+        return addOnWidgetSet_ == null
+            ? com.google.apps.script.type.AddOnWidgetSet.getDefaultInstance()
+            : addOnWidgetSet_;
       }
     }
     /**
+     *
+     *
      * 
      * The widgets used in the add-on. If this field is not specified,
      * it indicates that default set is used.
@@ -1551,26 +1735,32 @@ public com.google.apps.script.type.AddOnWidgetSetOrBuilder getAddOnWidgetSetOrBu
      * .google.apps.script.type.AddOnWidgetSet add_on_widget_set = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.apps.script.type.AddOnWidgetSet, com.google.apps.script.type.AddOnWidgetSet.Builder, com.google.apps.script.type.AddOnWidgetSetOrBuilder> 
+            com.google.apps.script.type.AddOnWidgetSet,
+            com.google.apps.script.type.AddOnWidgetSet.Builder,
+            com.google.apps.script.type.AddOnWidgetSetOrBuilder>
         getAddOnWidgetSetFieldBuilder() {
       if (addOnWidgetSetBuilder_ == null) {
-        addOnWidgetSetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.apps.script.type.AddOnWidgetSet, com.google.apps.script.type.AddOnWidgetSet.Builder, com.google.apps.script.type.AddOnWidgetSetOrBuilder>(
-                getAddOnWidgetSet(),
-                getParentForChildren(),
-                isClean());
+        addOnWidgetSetBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.apps.script.type.AddOnWidgetSet,
+                com.google.apps.script.type.AddOnWidgetSet.Builder,
+                com.google.apps.script.type.AddOnWidgetSetOrBuilder>(
+                getAddOnWidgetSet(), getParentForChildren(), isClean());
         addOnWidgetSet_ = null;
       }
       return addOnWidgetSetBuilder_;
     }
 
-    private boolean useLocaleFromApp_ ;
+    private boolean useLocaleFromApp_;
     /**
+     *
+     *
      * 
      * Whether to pass locale information from host app.
      * 
* * bool use_locale_from_app = 5; + * * @return The useLocaleFromApp. */ @java.lang.Override @@ -1578,30 +1768,36 @@ public boolean getUseLocaleFromApp() { return useLocaleFromApp_; } /** + * + * *
      * Whether to pass locale information from host app.
      * 
* * bool use_locale_from_app = 5; + * * @param value The useLocaleFromApp to set. * @return This builder for chaining. */ public Builder setUseLocaleFromApp(boolean value) { - + useLocaleFromApp_ = value; onChanged(); return this; } /** + * + * *
      * Whether to pass locale information from host app.
      * 
* * bool use_locale_from_app = 5; + * * @return This builder for chaining. */ public Builder clearUseLocaleFromApp() { - + useLocaleFromApp_ = false; onChanged(); return this; @@ -1609,8 +1805,13 @@ public Builder clearUseLocaleFromApp() { private com.google.apps.script.type.HomepageExtensionPoint homepageTrigger_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder> homepageTriggerBuilder_; + com.google.apps.script.type.HomepageExtensionPoint, + com.google.apps.script.type.HomepageExtensionPoint.Builder, + com.google.apps.script.type.HomepageExtensionPointOrBuilder> + homepageTriggerBuilder_; /** + * + * *
      * Defines an endpoint that will be executed in any context, in
      * any host. Any cards generated by this function will always be available to
@@ -1619,12 +1820,15 @@ public Builder clearUseLocaleFromApp() {
      * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6; + * * @return Whether the homepageTrigger field is set. */ public boolean hasHomepageTrigger() { return homepageTriggerBuilder_ != null || homepageTrigger_ != null; } /** + * + * *
      * Defines an endpoint that will be executed in any context, in
      * any host. Any cards generated by this function will always be available to
@@ -1633,16 +1837,21 @@ public boolean hasHomepageTrigger() {
      * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6; + * * @return The homepageTrigger. */ public com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger() { if (homepageTriggerBuilder_ == null) { - return homepageTrigger_ == null ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_; + return homepageTrigger_ == null + ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() + : homepageTrigger_; } else { return homepageTriggerBuilder_.getMessage(); } } /** + * + * *
      * Defines an endpoint that will be executed in any context, in
      * any host. Any cards generated by this function will always be available to
@@ -1666,6 +1875,8 @@ public Builder setHomepageTrigger(com.google.apps.script.type.HomepageExtensionP
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines an endpoint that will be executed in any context, in
      * any host. Any cards generated by this function will always be available to
@@ -1687,6 +1898,8 @@ public Builder setHomepageTrigger(
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines an endpoint that will be executed in any context, in
      * any host. Any cards generated by this function will always be available to
@@ -1700,7 +1913,9 @@ public Builder mergeHomepageTrigger(com.google.apps.script.type.HomepageExtensio
       if (homepageTriggerBuilder_ == null) {
         if (homepageTrigger_ != null) {
           homepageTrigger_ =
-            com.google.apps.script.type.HomepageExtensionPoint.newBuilder(homepageTrigger_).mergeFrom(value).buildPartial();
+              com.google.apps.script.type.HomepageExtensionPoint.newBuilder(homepageTrigger_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           homepageTrigger_ = value;
         }
@@ -1712,6 +1927,8 @@ public Builder mergeHomepageTrigger(com.google.apps.script.type.HomepageExtensio
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines an endpoint that will be executed in any context, in
      * any host. Any cards generated by this function will always be available to
@@ -1733,6 +1950,8 @@ public Builder clearHomepageTrigger() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines an endpoint that will be executed in any context, in
      * any host. Any cards generated by this function will always be available to
@@ -1743,11 +1962,13 @@ public Builder clearHomepageTrigger() {
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6;
      */
     public com.google.apps.script.type.HomepageExtensionPoint.Builder getHomepageTriggerBuilder() {
-      
+
       onChanged();
       return getHomepageTriggerFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Defines an endpoint that will be executed in any context, in
      * any host. Any cards generated by this function will always be available to
@@ -1757,15 +1978,19 @@ public com.google.apps.script.type.HomepageExtensionPoint.Builder getHomepageTri
      *
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6;
      */
-    public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder() {
+    public com.google.apps.script.type.HomepageExtensionPointOrBuilder
+        getHomepageTriggerOrBuilder() {
       if (homepageTriggerBuilder_ != null) {
         return homepageTriggerBuilder_.getMessageOrBuilder();
       } else {
-        return homepageTrigger_ == null ?
-            com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_;
+        return homepageTrigger_ == null
+            ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance()
+            : homepageTrigger_;
       }
     }
     /**
+     *
+     *
      * 
      * Defines an endpoint that will be executed in any context, in
      * any host. Any cards generated by this function will always be available to
@@ -1776,32 +2001,43 @@ public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTr
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder> 
+            com.google.apps.script.type.HomepageExtensionPoint,
+            com.google.apps.script.type.HomepageExtensionPoint.Builder,
+            com.google.apps.script.type.HomepageExtensionPointOrBuilder>
         getHomepageTriggerFieldBuilder() {
       if (homepageTriggerBuilder_ == null) {
-        homepageTriggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder>(
-                getHomepageTrigger(),
-                getParentForChildren(),
-                isClean());
+        homepageTriggerBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.apps.script.type.HomepageExtensionPoint,
+                com.google.apps.script.type.HomepageExtensionPoint.Builder,
+                com.google.apps.script.type.HomepageExtensionPointOrBuilder>(
+                getHomepageTrigger(), getParentForChildren(), isClean());
         homepageTrigger_ = null;
       }
       return homepageTriggerBuilder_;
     }
 
-    private java.util.List universalActions_ =
-      java.util.Collections.emptyList();
+    private java.util.List
+        universalActions_ = java.util.Collections.emptyList();
+
     private void ensureUniversalActionsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        universalActions_ = new java.util.ArrayList(universalActions_);
+        universalActions_ =
+            new java.util.ArrayList(
+                universalActions_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.apps.script.type.UniversalActionExtensionPoint, com.google.apps.script.type.UniversalActionExtensionPoint.Builder, com.google.apps.script.type.UniversalActionExtensionPointOrBuilder> universalActionsBuilder_;
+            com.google.apps.script.type.UniversalActionExtensionPoint,
+            com.google.apps.script.type.UniversalActionExtensionPoint.Builder,
+            com.google.apps.script.type.UniversalActionExtensionPointOrBuilder>
+        universalActionsBuilder_;
 
     /**
+     *
+     *
      * 
      * Defines a list of extension points in the universal action menu which
      * serves as a setting menu for the add-on. The extension point can be
@@ -1809,9 +2045,11 @@ private void ensureUniversalActionsIsMutable() {
      * submission.
      * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * */ - public java.util.List getUniversalActionsList() { + public java.util.List + getUniversalActionsList() { if (universalActionsBuilder_ == null) { return java.util.Collections.unmodifiableList(universalActions_); } else { @@ -1819,6 +2057,8 @@ public java.util.List } } /** + * + * *
      * Defines a list of extension points in the universal action menu which
      * serves as a setting menu for the add-on. The extension point can be
@@ -1826,7 +2066,8 @@ public java.util.List
      * submission.
      * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * */ public int getUniversalActionsCount() { if (universalActionsBuilder_ == null) { @@ -1836,6 +2077,8 @@ public int getUniversalActionsCount() { } } /** + * + * *
      * Defines a list of extension points in the universal action menu which
      * serves as a setting menu for the add-on. The extension point can be
@@ -1843,9 +2086,11 @@ public int getUniversalActionsCount() {
      * submission.
      * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * */ - public com.google.apps.script.type.UniversalActionExtensionPoint getUniversalActions(int index) { + public com.google.apps.script.type.UniversalActionExtensionPoint getUniversalActions( + int index) { if (universalActionsBuilder_ == null) { return universalActions_.get(index); } else { @@ -1853,6 +2098,8 @@ public com.google.apps.script.type.UniversalActionExtensionPoint getUniversalAct } } /** + * + * *
      * Defines a list of extension points in the universal action menu which
      * serves as a setting menu for the add-on. The extension point can be
@@ -1860,7 +2107,8 @@ public com.google.apps.script.type.UniversalActionExtensionPoint getUniversalAct
      * submission.
      * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * */ public Builder setUniversalActions( int index, com.google.apps.script.type.UniversalActionExtensionPoint value) { @@ -1877,6 +2125,8 @@ public Builder setUniversalActions( return this; } /** + * + * *
      * Defines a list of extension points in the universal action menu which
      * serves as a setting menu for the add-on. The extension point can be
@@ -1884,10 +2134,12 @@ public Builder setUniversalActions(
      * submission.
      * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * */ public Builder setUniversalActions( - int index, com.google.apps.script.type.UniversalActionExtensionPoint.Builder builderForValue) { + int index, + com.google.apps.script.type.UniversalActionExtensionPoint.Builder builderForValue) { if (universalActionsBuilder_ == null) { ensureUniversalActionsIsMutable(); universalActions_.set(index, builderForValue.build()); @@ -1898,6 +2150,8 @@ public Builder setUniversalActions( return this; } /** + * + * *
      * Defines a list of extension points in the universal action menu which
      * serves as a setting menu for the add-on. The extension point can be
@@ -1905,9 +2159,11 @@ public Builder setUniversalActions(
      * submission.
      * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * */ - public Builder addUniversalActions(com.google.apps.script.type.UniversalActionExtensionPoint value) { + public Builder addUniversalActions( + com.google.apps.script.type.UniversalActionExtensionPoint value) { if (universalActionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1921,6 +2177,8 @@ public Builder addUniversalActions(com.google.apps.script.type.UniversalActionEx return this; } /** + * + * *
      * Defines a list of extension points in the universal action menu which
      * serves as a setting menu for the add-on. The extension point can be
@@ -1928,7 +2186,8 @@ public Builder addUniversalActions(com.google.apps.script.type.UniversalActionEx
      * submission.
      * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * */ public Builder addUniversalActions( int index, com.google.apps.script.type.UniversalActionExtensionPoint value) { @@ -1945,6 +2204,8 @@ public Builder addUniversalActions( return this; } /** + * + * *
      * Defines a list of extension points in the universal action menu which
      * serves as a setting menu for the add-on. The extension point can be
@@ -1952,7 +2213,8 @@ public Builder addUniversalActions(
      * submission.
      * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * */ public Builder addUniversalActions( com.google.apps.script.type.UniversalActionExtensionPoint.Builder builderForValue) { @@ -1966,6 +2228,8 @@ public Builder addUniversalActions( return this; } /** + * + * *
      * Defines a list of extension points in the universal action menu which
      * serves as a setting menu for the add-on. The extension point can be
@@ -1973,10 +2237,12 @@ public Builder addUniversalActions(
      * submission.
      * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * */ public Builder addUniversalActions( - int index, com.google.apps.script.type.UniversalActionExtensionPoint.Builder builderForValue) { + int index, + com.google.apps.script.type.UniversalActionExtensionPoint.Builder builderForValue) { if (universalActionsBuilder_ == null) { ensureUniversalActionsIsMutable(); universalActions_.add(index, builderForValue.build()); @@ -1987,6 +2253,8 @@ public Builder addUniversalActions( return this; } /** + * + * *
      * Defines a list of extension points in the universal action menu which
      * serves as a setting menu for the add-on. The extension point can be
@@ -1994,14 +2262,15 @@ public Builder addUniversalActions(
      * submission.
      * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * */ public Builder addAllUniversalActions( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (universalActionsBuilder_ == null) { ensureUniversalActionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, universalActions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, universalActions_); onChanged(); } else { universalActionsBuilder_.addAllMessages(values); @@ -2009,6 +2278,8 @@ public Builder addAllUniversalActions( return this; } /** + * + * *
      * Defines a list of extension points in the universal action menu which
      * serves as a setting menu for the add-on. The extension point can be
@@ -2016,7 +2287,8 @@ public Builder addAllUniversalActions(
      * submission.
      * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * */ public Builder clearUniversalActions() { if (universalActionsBuilder_ == null) { @@ -2029,6 +2301,8 @@ public Builder clearUniversalActions() { return this; } /** + * + * *
      * Defines a list of extension points in the universal action menu which
      * serves as a setting menu for the add-on. The extension point can be
@@ -2036,7 +2310,8 @@ public Builder clearUniversalActions() {
      * submission.
      * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * */ public Builder removeUniversalActions(int index) { if (universalActionsBuilder_ == null) { @@ -2049,6 +2324,8 @@ public Builder removeUniversalActions(int index) { return this; } /** + * + * *
      * Defines a list of extension points in the universal action menu which
      * serves as a setting menu for the add-on. The extension point can be
@@ -2056,13 +2333,16 @@ public Builder removeUniversalActions(int index) {
      * submission.
      * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * */ - public com.google.apps.script.type.UniversalActionExtensionPoint.Builder getUniversalActionsBuilder( - int index) { + public com.google.apps.script.type.UniversalActionExtensionPoint.Builder + getUniversalActionsBuilder(int index) { return getUniversalActionsFieldBuilder().getBuilder(index); } /** + * + * *
      * Defines a list of extension points in the universal action menu which
      * serves as a setting menu for the add-on. The extension point can be
@@ -2070,16 +2350,20 @@ public com.google.apps.script.type.UniversalActionExtensionPoint.Builder getUniv
      * submission.
      * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * */ - public com.google.apps.script.type.UniversalActionExtensionPointOrBuilder getUniversalActionsOrBuilder( - int index) { + public com.google.apps.script.type.UniversalActionExtensionPointOrBuilder + getUniversalActionsOrBuilder(int index) { if (universalActionsBuilder_ == null) { - return universalActions_.get(index); } else { + return universalActions_.get(index); + } else { return universalActionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Defines a list of extension points in the universal action menu which
      * serves as a setting menu for the add-on. The extension point can be
@@ -2087,10 +2371,12 @@ public com.google.apps.script.type.UniversalActionExtensionPointOrBuilder getUni
      * submission.
      * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * */ - public java.util.List - getUniversalActionsOrBuilderList() { + public java.util.List< + ? extends com.google.apps.script.type.UniversalActionExtensionPointOrBuilder> + getUniversalActionsOrBuilderList() { if (universalActionsBuilder_ != null) { return universalActionsBuilder_.getMessageOrBuilderList(); } else { @@ -2098,6 +2384,8 @@ public com.google.apps.script.type.UniversalActionExtensionPointOrBuilder getUni } } /** + * + * *
      * Defines a list of extension points in the universal action menu which
      * serves as a setting menu for the add-on. The extension point can be
@@ -2105,13 +2393,18 @@ public com.google.apps.script.type.UniversalActionExtensionPointOrBuilder getUni
      * submission.
      * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * */ - public com.google.apps.script.type.UniversalActionExtensionPoint.Builder addUniversalActionsBuilder() { - return getUniversalActionsFieldBuilder().addBuilder( - com.google.apps.script.type.UniversalActionExtensionPoint.getDefaultInstance()); + public com.google.apps.script.type.UniversalActionExtensionPoint.Builder + addUniversalActionsBuilder() { + return getUniversalActionsFieldBuilder() + .addBuilder( + com.google.apps.script.type.UniversalActionExtensionPoint.getDefaultInstance()); } /** + * + * *
      * Defines a list of extension points in the universal action menu which
      * serves as a setting menu for the add-on. The extension point can be
@@ -2119,14 +2412,19 @@ public com.google.apps.script.type.UniversalActionExtensionPoint.Builder addUniv
      * submission.
      * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * */ - public com.google.apps.script.type.UniversalActionExtensionPoint.Builder addUniversalActionsBuilder( - int index) { - return getUniversalActionsFieldBuilder().addBuilder( - index, com.google.apps.script.type.UniversalActionExtensionPoint.getDefaultInstance()); + public com.google.apps.script.type.UniversalActionExtensionPoint.Builder + addUniversalActionsBuilder(int index) { + return getUniversalActionsFieldBuilder() + .addBuilder( + index, + com.google.apps.script.type.UniversalActionExtensionPoint.getDefaultInstance()); } /** + * + * *
      * Defines a list of extension points in the universal action menu which
      * serves as a setting menu for the add-on. The extension point can be
@@ -2134,18 +2432,25 @@ public com.google.apps.script.type.UniversalActionExtensionPoint.Builder addUniv
      * submission.
      * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * */ - public java.util.List - getUniversalActionsBuilderList() { + public java.util.List + getUniversalActionsBuilderList() { return getUniversalActionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.apps.script.type.UniversalActionExtensionPoint, com.google.apps.script.type.UniversalActionExtensionPoint.Builder, com.google.apps.script.type.UniversalActionExtensionPointOrBuilder> + com.google.apps.script.type.UniversalActionExtensionPoint, + com.google.apps.script.type.UniversalActionExtensionPoint.Builder, + com.google.apps.script.type.UniversalActionExtensionPointOrBuilder> getUniversalActionsFieldBuilder() { if (universalActionsBuilder_ == null) { - universalActionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.apps.script.type.UniversalActionExtensionPoint, com.google.apps.script.type.UniversalActionExtensionPoint.Builder, com.google.apps.script.type.UniversalActionExtensionPointOrBuilder>( + universalActionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.apps.script.type.UniversalActionExtensionPoint, + com.google.apps.script.type.UniversalActionExtensionPoint.Builder, + com.google.apps.script.type.UniversalActionExtensionPointOrBuilder>( universalActions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2157,8 +2462,13 @@ public com.google.apps.script.type.UniversalActionExtensionPoint.Builder addUniv private com.google.protobuf.ListValue openLinkUrlPrefixes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> openLinkUrlPrefixesBuilder_; + com.google.protobuf.ListValue, + com.google.protobuf.ListValue.Builder, + com.google.protobuf.ListValueOrBuilder> + openLinkUrlPrefixesBuilder_; /** + * + * *
      * An OpenLink action
      * can only use a URL with an HTTPS, MAILTO or TEL scheme.  For HTTPS links,
@@ -2170,12 +2480,15 @@ public com.google.apps.script.type.UniversalActionExtensionPoint.Builder addUniv
      * 
* * .google.protobuf.ListValue open_link_url_prefixes = 8; + * * @return Whether the openLinkUrlPrefixes field is set. */ public boolean hasOpenLinkUrlPrefixes() { return openLinkUrlPrefixesBuilder_ != null || openLinkUrlPrefixes_ != null; } /** + * + * *
      * An OpenLink action
      * can only use a URL with an HTTPS, MAILTO or TEL scheme.  For HTTPS links,
@@ -2187,16 +2500,21 @@ public boolean hasOpenLinkUrlPrefixes() {
      * 
* * .google.protobuf.ListValue open_link_url_prefixes = 8; + * * @return The openLinkUrlPrefixes. */ public com.google.protobuf.ListValue getOpenLinkUrlPrefixes() { if (openLinkUrlPrefixesBuilder_ == null) { - return openLinkUrlPrefixes_ == null ? com.google.protobuf.ListValue.getDefaultInstance() : openLinkUrlPrefixes_; + return openLinkUrlPrefixes_ == null + ? com.google.protobuf.ListValue.getDefaultInstance() + : openLinkUrlPrefixes_; } else { return openLinkUrlPrefixesBuilder_.getMessage(); } } /** + * + * *
      * An OpenLink action
      * can only use a URL with an HTTPS, MAILTO or TEL scheme.  For HTTPS links,
@@ -2223,6 +2541,8 @@ public Builder setOpenLinkUrlPrefixes(com.google.protobuf.ListValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * An OpenLink action
      * can only use a URL with an HTTPS, MAILTO or TEL scheme.  For HTTPS links,
@@ -2235,8 +2555,7 @@ public Builder setOpenLinkUrlPrefixes(com.google.protobuf.ListValue value) {
      *
      * .google.protobuf.ListValue open_link_url_prefixes = 8;
      */
-    public Builder setOpenLinkUrlPrefixes(
-        com.google.protobuf.ListValue.Builder builderForValue) {
+    public Builder setOpenLinkUrlPrefixes(com.google.protobuf.ListValue.Builder builderForValue) {
       if (openLinkUrlPrefixesBuilder_ == null) {
         openLinkUrlPrefixes_ = builderForValue.build();
         onChanged();
@@ -2247,6 +2566,8 @@ public Builder setOpenLinkUrlPrefixes(
       return this;
     }
     /**
+     *
+     *
      * 
      * An OpenLink action
      * can only use a URL with an HTTPS, MAILTO or TEL scheme.  For HTTPS links,
@@ -2263,7 +2584,9 @@ public Builder mergeOpenLinkUrlPrefixes(com.google.protobuf.ListValue value) {
       if (openLinkUrlPrefixesBuilder_ == null) {
         if (openLinkUrlPrefixes_ != null) {
           openLinkUrlPrefixes_ =
-            com.google.protobuf.ListValue.newBuilder(openLinkUrlPrefixes_).mergeFrom(value).buildPartial();
+              com.google.protobuf.ListValue.newBuilder(openLinkUrlPrefixes_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           openLinkUrlPrefixes_ = value;
         }
@@ -2275,6 +2598,8 @@ public Builder mergeOpenLinkUrlPrefixes(com.google.protobuf.ListValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * An OpenLink action
      * can only use a URL with an HTTPS, MAILTO or TEL scheme.  For HTTPS links,
@@ -2299,6 +2624,8 @@ public Builder clearOpenLinkUrlPrefixes() {
       return this;
     }
     /**
+     *
+     *
      * 
      * An OpenLink action
      * can only use a URL with an HTTPS, MAILTO or TEL scheme.  For HTTPS links,
@@ -2312,11 +2639,13 @@ public Builder clearOpenLinkUrlPrefixes() {
      * .google.protobuf.ListValue open_link_url_prefixes = 8;
      */
     public com.google.protobuf.ListValue.Builder getOpenLinkUrlPrefixesBuilder() {
-      
+
       onChanged();
       return getOpenLinkUrlPrefixesFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * An OpenLink action
      * can only use a URL with an HTTPS, MAILTO or TEL scheme.  For HTTPS links,
@@ -2333,11 +2662,14 @@ public com.google.protobuf.ListValueOrBuilder getOpenLinkUrlPrefixesOrBuilder()
       if (openLinkUrlPrefixesBuilder_ != null) {
         return openLinkUrlPrefixesBuilder_.getMessageOrBuilder();
       } else {
-        return openLinkUrlPrefixes_ == null ?
-            com.google.protobuf.ListValue.getDefaultInstance() : openLinkUrlPrefixes_;
+        return openLinkUrlPrefixes_ == null
+            ? com.google.protobuf.ListValue.getDefaultInstance()
+            : openLinkUrlPrefixes_;
       }
     }
     /**
+     *
+     *
      * 
      * An OpenLink action
      * can only use a URL with an HTTPS, MAILTO or TEL scheme.  For HTTPS links,
@@ -2351,21 +2683,24 @@ public com.google.protobuf.ListValueOrBuilder getOpenLinkUrlPrefixesOrBuilder()
      * .google.protobuf.ListValue open_link_url_prefixes = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder> 
+            com.google.protobuf.ListValue,
+            com.google.protobuf.ListValue.Builder,
+            com.google.protobuf.ListValueOrBuilder>
         getOpenLinkUrlPrefixesFieldBuilder() {
       if (openLinkUrlPrefixesBuilder_ == null) {
-        openLinkUrlPrefixesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.ListValue, com.google.protobuf.ListValue.Builder, com.google.protobuf.ListValueOrBuilder>(
-                getOpenLinkUrlPrefixes(),
-                getParentForChildren(),
-                isClean());
+        openLinkUrlPrefixesBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.ListValue,
+                com.google.protobuf.ListValue.Builder,
+                com.google.protobuf.ListValueOrBuilder>(
+                getOpenLinkUrlPrefixes(), getParentForChildren(), isClean());
         openLinkUrlPrefixes_ = null;
       }
       return openLinkUrlPrefixesBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2375,12 +2710,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.apps.script.type.CommonAddOnManifest)
   }
 
   // @@protoc_insertion_point(class_scope:google.apps.script.type.CommonAddOnManifest)
   private static final com.google.apps.script.type.CommonAddOnManifest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.apps.script.type.CommonAddOnManifest();
   }
@@ -2389,16 +2724,16 @@ public static com.google.apps.script.type.CommonAddOnManifest getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public CommonAddOnManifest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new CommonAddOnManifest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public CommonAddOnManifest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new CommonAddOnManifest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2413,6 +2748,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.apps.script.type.CommonAddOnManifest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/CommonAddOnManifestOrBuilder.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/CommonAddOnManifestOrBuilder.java
similarity index 86%
rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/CommonAddOnManifestOrBuilder.java
rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/CommonAddOnManifestOrBuilder.java
index de62a3d4..f5b478e3 100644
--- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/CommonAddOnManifestOrBuilder.java
+++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/CommonAddOnManifestOrBuilder.java
@@ -1,71 +1,105 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/apps/script/type/script_manifest.proto
 
 package com.google.apps.script.type;
 
-public interface CommonAddOnManifestOrBuilder extends
+public interface CommonAddOnManifestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.apps.script.type.CommonAddOnManifest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The display name of the add-on.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The display name of the add-on.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The URL for the logo image shown in the add-on toolbar.
    * 
* * string logo_url = 2; + * * @return The logoUrl. */ java.lang.String getLogoUrl(); /** + * + * *
    * Required. The URL for the logo image shown in the add-on toolbar.
    * 
* * string logo_url = 2; + * * @return The bytes for logoUrl. */ - com.google.protobuf.ByteString - getLogoUrlBytes(); + com.google.protobuf.ByteString getLogoUrlBytes(); /** + * + * *
    * Common layout properties for the add-on cards.
    * 
* * .google.apps.script.type.LayoutProperties layout_properties = 3; + * * @return Whether the layoutProperties field is set. */ boolean hasLayoutProperties(); /** + * + * *
    * Common layout properties for the add-on cards.
    * 
* * .google.apps.script.type.LayoutProperties layout_properties = 3; + * * @return The layoutProperties. */ com.google.apps.script.type.LayoutProperties getLayoutProperties(); /** + * + * *
    * Common layout properties for the add-on cards.
    * 
@@ -75,26 +109,34 @@ public interface CommonAddOnManifestOrBuilder extends com.google.apps.script.type.LayoutPropertiesOrBuilder getLayoutPropertiesOrBuilder(); /** + * + * *
    * The widgets used in the add-on. If this field is not specified,
    * it indicates that default set is used.
    * 
* * .google.apps.script.type.AddOnWidgetSet add_on_widget_set = 4; + * * @return Whether the addOnWidgetSet field is set. */ boolean hasAddOnWidgetSet(); /** + * + * *
    * The widgets used in the add-on. If this field is not specified,
    * it indicates that default set is used.
    * 
* * .google.apps.script.type.AddOnWidgetSet add_on_widget_set = 4; + * * @return The addOnWidgetSet. */ com.google.apps.script.type.AddOnWidgetSet getAddOnWidgetSet(); /** + * + * *
    * The widgets used in the add-on. If this field is not specified,
    * it indicates that default set is used.
@@ -105,16 +147,21 @@ public interface CommonAddOnManifestOrBuilder extends
   com.google.apps.script.type.AddOnWidgetSetOrBuilder getAddOnWidgetSetOrBuilder();
 
   /**
+   *
+   *
    * 
    * Whether to pass locale information from host app.
    * 
* * bool use_locale_from_app = 5; + * * @return The useLocaleFromApp. */ boolean getUseLocaleFromApp(); /** + * + * *
    * Defines an endpoint that will be executed in any context, in
    * any host. Any cards generated by this function will always be available to
@@ -123,10 +170,13 @@ public interface CommonAddOnManifestOrBuilder extends
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6; + * * @return Whether the homepageTrigger field is set. */ boolean hasHomepageTrigger(); /** + * + * *
    * Defines an endpoint that will be executed in any context, in
    * any host. Any cards generated by this function will always be available to
@@ -135,10 +185,13 @@ public interface CommonAddOnManifestOrBuilder extends
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6; + * * @return The homepageTrigger. */ com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger(); /** + * + * *
    * Defines an endpoint that will be executed in any context, in
    * any host. Any cards generated by this function will always be available to
@@ -151,6 +204,8 @@ public interface CommonAddOnManifestOrBuilder extends
   com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder();
 
   /**
+   *
+   *
    * 
    * Defines a list of extension points in the universal action menu which
    * serves as a setting menu for the add-on. The extension point can be
@@ -158,11 +213,14 @@ public interface CommonAddOnManifestOrBuilder extends
    * submission.
    * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * */ - java.util.List + java.util.List getUniversalActionsList(); /** + * + * *
    * Defines a list of extension points in the universal action menu which
    * serves as a setting menu for the add-on. The extension point can be
@@ -170,10 +228,13 @@ public interface CommonAddOnManifestOrBuilder extends
    * submission.
    * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * */ com.google.apps.script.type.UniversalActionExtensionPoint getUniversalActions(int index); /** + * + * *
    * Defines a list of extension points in the universal action menu which
    * serves as a setting menu for the add-on. The extension point can be
@@ -181,10 +242,13 @@ public interface CommonAddOnManifestOrBuilder extends
    * submission.
    * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * */ int getUniversalActionsCount(); /** + * + * *
    * Defines a list of extension points in the universal action menu which
    * serves as a setting menu for the add-on. The extension point can be
@@ -192,11 +256,14 @@ public interface CommonAddOnManifestOrBuilder extends
    * submission.
    * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * */ - java.util.List + java.util.List getUniversalActionsOrBuilderList(); /** + * + * *
    * Defines a list of extension points in the universal action menu which
    * serves as a setting menu for the add-on. The extension point can be
@@ -204,12 +271,15 @@ public interface CommonAddOnManifestOrBuilder extends
    * submission.
    * 
* - * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * repeated .google.apps.script.type.UniversalActionExtensionPoint universal_actions = 7; + * */ com.google.apps.script.type.UniversalActionExtensionPointOrBuilder getUniversalActionsOrBuilder( int index); /** + * + * *
    * An OpenLink action
    * can only use a URL with an HTTPS, MAILTO or TEL scheme.  For HTTPS links,
@@ -221,10 +291,13 @@ com.google.apps.script.type.UniversalActionExtensionPointOrBuilder getUniversalA
    * 
* * .google.protobuf.ListValue open_link_url_prefixes = 8; + * * @return Whether the openLinkUrlPrefixes field is set. */ boolean hasOpenLinkUrlPrefixes(); /** + * + * *
    * An OpenLink action
    * can only use a URL with an HTTPS, MAILTO or TEL scheme.  For HTTPS links,
@@ -236,10 +309,13 @@ com.google.apps.script.type.UniversalActionExtensionPointOrBuilder getUniversalA
    * 
* * .google.protobuf.ListValue open_link_url_prefixes = 8; + * * @return The openLinkUrlPrefixes. */ com.google.protobuf.ListValue getOpenLinkUrlPrefixes(); /** + * + * *
    * An OpenLink action
    * can only use a URL with an HTTPS, MAILTO or TEL scheme.  For HTTPS links,
diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/ExtensionPoint.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/ExtensionPoint.java
new file mode 100644
index 00000000..f564bb75
--- /dev/null
+++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/ExtensionPoint.java
@@ -0,0 +1,101 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/apps/script/type/extension_point.proto
+
+package com.google.apps.script.type;
+
+public final class ExtensionPoint {
+  private ExtensionPoint() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_apps_script_type_MenuItemExtensionPoint_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_apps_script_type_MenuItemExtensionPoint_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_apps_script_type_HomepageExtensionPoint_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_apps_script_type_HomepageExtensionPoint_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_apps_script_type_UniversalActionExtensionPoint_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_apps_script_type_UniversalActionExtensionPoint_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n-google/apps/script/type/extension_poin"
+          + "t.proto\022\027google.apps.script.type\032\036google"
+          + "/protobuf/wrappers.proto\"O\n\026MenuItemExte"
+          + "nsionPoint\022\024\n\014run_function\030\001 \001(\t\022\r\n\005labe"
+          + "l\030\002 \001(\t\022\020\n\010logo_url\030\003 \001(\t\"[\n\026HomepageExt"
+          + "ensionPoint\022\024\n\014run_function\030\001 \001(\t\022+\n\007ena"
+          + "bled\030\002 \001(\0132\032.google.protobuf.BoolValue\"j"
+          + "\n\035UniversalActionExtensionPoint\022\r\n\005label"
+          + "\030\001 \001(\t\022\023\n\topen_link\030\002 \001(\tH\000\022\026\n\014run_funct"
+          + "ion\030\003 \001(\tH\000B\r\n\013action_typeB\250\001\n\033com.googl"
+          + "e.apps.script.typeP\001Z6google.golang.org/"
+          + "genproto/googleapis/apps/script/type\252\002\027G"
+          + "oogle.Apps.Script.Type\312\002\027Google\\Apps\\Scr"
+          + "ipt\\Type\352\002\032Google::Apps::Script::Typeb\006p"
+          + "roto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.protobuf.WrappersProto.getDescriptor(),
+            });
+    internal_static_google_apps_script_type_MenuItemExtensionPoint_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_apps_script_type_MenuItemExtensionPoint_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_apps_script_type_MenuItemExtensionPoint_descriptor,
+            new java.lang.String[] {
+              "RunFunction", "Label", "LogoUrl",
+            });
+    internal_static_google_apps_script_type_HomepageExtensionPoint_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_apps_script_type_HomepageExtensionPoint_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_apps_script_type_HomepageExtensionPoint_descriptor,
+            new java.lang.String[] {
+              "RunFunction", "Enabled",
+            });
+    internal_static_google_apps_script_type_UniversalActionExtensionPoint_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_apps_script_type_UniversalActionExtensionPoint_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_apps_script_type_UniversalActionExtensionPoint_descriptor,
+            new java.lang.String[] {
+              "Label", "OpenLink", "RunFunction", "ActionType",
+            });
+    com.google.protobuf.WrappersProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HomepageExtensionPoint.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HomepageExtensionPoint.java
similarity index 72%
rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HomepageExtensionPoint.java
rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HomepageExtensionPoint.java
index a206d27e..13dda874 100644
--- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HomepageExtensionPoint.java
+++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HomepageExtensionPoint.java
@@ -1,40 +1,57 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/apps/script/type/extension_point.proto
 
 package com.google.apps.script.type;
 
 /**
+ *
+ *
  * 
  * Common format for declaring an add-on's home-page view.
  * 
* * Protobuf type {@code google.apps.script.type.HomepageExtensionPoint} */ -public final class HomepageExtensionPoint extends - com.google.protobuf.GeneratedMessageV3 implements +public final class HomepageExtensionPoint extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.apps.script.type.HomepageExtensionPoint) HomepageExtensionPointOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use HomepageExtensionPoint.newBuilder() to construct. private HomepageExtensionPoint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private HomepageExtensionPoint() { runFunction_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new HomepageExtensionPoint(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private HomepageExtensionPoint( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,35 @@ private HomepageExtensionPoint( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - runFunction_ = s; - break; - } - case 18: { - com.google.protobuf.BoolValue.Builder subBuilder = null; - if (enabled_ != null) { - subBuilder = enabled_.toBuilder(); + runFunction_ = s; + break; } - enabled_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(enabled_); - enabled_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.BoolValue.Builder subBuilder = null; + if (enabled_ != null) { + subBuilder = enabled_.toBuilder(); + } + enabled_ = + input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(enabled_); + enabled_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,35 +106,40 @@ private HomepageExtensionPoint( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.apps.script.type.ExtensionPoint.internal_static_google_apps_script_type_HomepageExtensionPoint_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.script.type.ExtensionPoint + .internal_static_google_apps_script_type_HomepageExtensionPoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.ExtensionPoint.internal_static_google_apps_script_type_HomepageExtensionPoint_fieldAccessorTable + return com.google.apps.script.type.ExtensionPoint + .internal_static_google_apps_script_type_HomepageExtensionPoint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.HomepageExtensionPoint.class, com.google.apps.script.type.HomepageExtensionPoint.Builder.class); + com.google.apps.script.type.HomepageExtensionPoint.class, + com.google.apps.script.type.HomepageExtensionPoint.Builder.class); } public static final int RUN_FUNCTION_FIELD_NUMBER = 1; private volatile java.lang.Object runFunction_; /** + * + * *
    * Required. The endpoint to execute when this extension point is
    * activated.
    * 
* * string run_function = 1; + * * @return The runFunction. */ @java.lang.Override @@ -123,30 +148,30 @@ public java.lang.String getRunFunction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); runFunction_ = s; return s; } } /** + * + * *
    * Required. The endpoint to execute when this extension point is
    * activated.
    * 
* * string run_function = 1; + * * @return The bytes for runFunction. */ @java.lang.Override - public com.google.protobuf.ByteString - getRunFunctionBytes() { + public com.google.protobuf.ByteString getRunFunctionBytes() { java.lang.Object ref = runFunction_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); runFunction_ = b; return b; } else { @@ -157,6 +182,8 @@ public java.lang.String getRunFunction() { public static final int ENABLED_FIELD_NUMBER = 2; private com.google.protobuf.BoolValue enabled_; /** + * + * *
    * Optional. If set to `false`, disable the home-page view in this context.
    * Defaults to `true` if unset.
@@ -165,6 +192,7 @@ public java.lang.String getRunFunction() {
    * 
* * .google.protobuf.BoolValue enabled = 2; + * * @return Whether the enabled field is set. */ @java.lang.Override @@ -172,6 +200,8 @@ public boolean hasEnabled() { return enabled_ != null; } /** + * + * *
    * Optional. If set to `false`, disable the home-page view in this context.
    * Defaults to `true` if unset.
@@ -180,6 +210,7 @@ public boolean hasEnabled() {
    * 
* * .google.protobuf.BoolValue enabled = 2; + * * @return The enabled. */ @java.lang.Override @@ -187,6 +218,8 @@ public com.google.protobuf.BoolValue getEnabled() { return enabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : enabled_; } /** + * + * *
    * Optional. If set to `false`, disable the home-page view in this context.
    * Defaults to `true` if unset.
@@ -202,6 +235,7 @@ public com.google.protobuf.BoolValueOrBuilder getEnabledOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -213,8 +247,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(runFunction_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, runFunction_);
     }
@@ -234,8 +267,7 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, runFunction_);
     }
     if (enabled_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getEnabled());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEnabled());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -245,19 +277,18 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.apps.script.type.HomepageExtensionPoint)) {
       return super.equals(obj);
     }
-    com.google.apps.script.type.HomepageExtensionPoint other = (com.google.apps.script.type.HomepageExtensionPoint) obj;
+    com.google.apps.script.type.HomepageExtensionPoint other =
+        (com.google.apps.script.type.HomepageExtensionPoint) obj;
 
-    if (!getRunFunction()
-        .equals(other.getRunFunction())) return false;
+    if (!getRunFunction().equals(other.getRunFunction())) return false;
     if (hasEnabled() != other.hasEnabled()) return false;
     if (hasEnabled()) {
-      if (!getEnabled()
-          .equals(other.getEnabled())) return false;
+      if (!getEnabled().equals(other.getEnabled())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -282,117 +313,126 @@ public int hashCode() {
   }
 
   public static com.google.apps.script.type.HomepageExtensionPoint parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.apps.script.type.HomepageExtensionPoint parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.apps.script.type.HomepageExtensionPoint parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.apps.script.type.HomepageExtensionPoint parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.apps.script.type.HomepageExtensionPoint parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.apps.script.type.HomepageExtensionPoint parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.apps.script.type.HomepageExtensionPoint parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.apps.script.type.HomepageExtensionPoint parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.apps.script.type.HomepageExtensionPoint parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.apps.script.type.HomepageExtensionPoint parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.apps.script.type.HomepageExtensionPoint parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.apps.script.type.HomepageExtensionPoint parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.apps.script.type.HomepageExtensionPoint parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.apps.script.type.HomepageExtensionPoint parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.apps.script.type.HomepageExtensionPoint prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Common format for declaring an add-on's home-page view.
    * 
* * Protobuf type {@code google.apps.script.type.HomepageExtensionPoint} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.apps.script.type.HomepageExtensionPoint) com.google.apps.script.type.HomepageExtensionPointOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.apps.script.type.ExtensionPoint.internal_static_google_apps_script_type_HomepageExtensionPoint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.script.type.ExtensionPoint + .internal_static_google_apps_script_type_HomepageExtensionPoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.ExtensionPoint.internal_static_google_apps_script_type_HomepageExtensionPoint_fieldAccessorTable + return com.google.apps.script.type.ExtensionPoint + .internal_static_google_apps_script_type_HomepageExtensionPoint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.HomepageExtensionPoint.class, com.google.apps.script.type.HomepageExtensionPoint.Builder.class); + com.google.apps.script.type.HomepageExtensionPoint.class, + com.google.apps.script.type.HomepageExtensionPoint.Builder.class); } // Construct using com.google.apps.script.type.HomepageExtensionPoint.newBuilder() @@ -400,16 +440,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -425,9 +464,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.apps.script.type.ExtensionPoint.internal_static_google_apps_script_type_HomepageExtensionPoint_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.apps.script.type.ExtensionPoint + .internal_static_google_apps_script_type_HomepageExtensionPoint_descriptor; } @java.lang.Override @@ -446,7 +485,8 @@ public com.google.apps.script.type.HomepageExtensionPoint build() { @java.lang.Override public com.google.apps.script.type.HomepageExtensionPoint buildPartial() { - com.google.apps.script.type.HomepageExtensionPoint result = new com.google.apps.script.type.HomepageExtensionPoint(this); + com.google.apps.script.type.HomepageExtensionPoint result = + new com.google.apps.script.type.HomepageExtensionPoint(this); result.runFunction_ = runFunction_; if (enabledBuilder_ == null) { result.enabled_ = enabled_; @@ -461,38 +501,39 @@ public com.google.apps.script.type.HomepageExtensionPoint buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.script.type.HomepageExtensionPoint) { - return mergeFrom((com.google.apps.script.type.HomepageExtensionPoint)other); + return mergeFrom((com.google.apps.script.type.HomepageExtensionPoint) other); } else { super.mergeFrom(other); return this; @@ -500,7 +541,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.apps.script.type.HomepageExtensionPoint other) { - if (other == com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance()) return this; + if (other == com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance()) + return this; if (!other.getRunFunction().isEmpty()) { runFunction_ = other.runFunction_; onChanged(); @@ -527,7 +569,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.apps.script.type.HomepageExtensionPoint) e.getUnfinishedMessage(); + parsedMessage = + (com.google.apps.script.type.HomepageExtensionPoint) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -539,19 +582,21 @@ public Builder mergeFrom( private java.lang.Object runFunction_ = ""; /** + * + * *
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1; + * * @return The runFunction. */ public java.lang.String getRunFunction() { java.lang.Object ref = runFunction_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); runFunction_ = s; return s; @@ -560,21 +605,22 @@ public java.lang.String getRunFunction() { } } /** + * + * *
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1; + * * @return The bytes for runFunction. */ - public com.google.protobuf.ByteString - getRunFunctionBytes() { + public com.google.protobuf.ByteString getRunFunctionBytes() { java.lang.Object ref = runFunction_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); runFunction_ = b; return b; } else { @@ -582,57 +628,64 @@ public java.lang.String getRunFunction() { } } /** + * + * *
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1; + * * @param value The runFunction to set. * @return This builder for chaining. */ - public Builder setRunFunction( - java.lang.String value) { + public Builder setRunFunction(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + runFunction_ = value; onChanged(); return this; } /** + * + * *
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1; + * * @return This builder for chaining. */ public Builder clearRunFunction() { - + runFunction_ = getDefaultInstance().getRunFunction(); onChanged(); return this; } /** + * + * *
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1; + * * @param value The bytes for runFunction to set. * @return This builder for chaining. */ - public Builder setRunFunctionBytes( - com.google.protobuf.ByteString value) { + public Builder setRunFunctionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + runFunction_ = value; onChanged(); return this; @@ -640,8 +693,13 @@ public Builder setRunFunctionBytes( private com.google.protobuf.BoolValue enabled_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> enabledBuilder_; + com.google.protobuf.BoolValue, + com.google.protobuf.BoolValue.Builder, + com.google.protobuf.BoolValueOrBuilder> + enabledBuilder_; /** + * + * *
      * Optional. If set to `false`, disable the home-page view in this context.
      * Defaults to `true` if unset.
@@ -650,12 +708,15 @@ public Builder setRunFunctionBytes(
      * 
* * .google.protobuf.BoolValue enabled = 2; + * * @return Whether the enabled field is set. */ public boolean hasEnabled() { return enabledBuilder_ != null || enabled_ != null; } /** + * + * *
      * Optional. If set to `false`, disable the home-page view in this context.
      * Defaults to `true` if unset.
@@ -664,6 +725,7 @@ public boolean hasEnabled() {
      * 
* * .google.protobuf.BoolValue enabled = 2; + * * @return The enabled. */ public com.google.protobuf.BoolValue getEnabled() { @@ -674,6 +736,8 @@ public com.google.protobuf.BoolValue getEnabled() { } } /** + * + * *
      * Optional. If set to `false`, disable the home-page view in this context.
      * Defaults to `true` if unset.
@@ -697,6 +761,8 @@ public Builder setEnabled(com.google.protobuf.BoolValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. If set to `false`, disable the home-page view in this context.
      * Defaults to `true` if unset.
@@ -706,8 +772,7 @@ public Builder setEnabled(com.google.protobuf.BoolValue value) {
      *
      * .google.protobuf.BoolValue enabled = 2;
      */
-    public Builder setEnabled(
-        com.google.protobuf.BoolValue.Builder builderForValue) {
+    public Builder setEnabled(com.google.protobuf.BoolValue.Builder builderForValue) {
       if (enabledBuilder_ == null) {
         enabled_ = builderForValue.build();
         onChanged();
@@ -718,6 +783,8 @@ public Builder setEnabled(
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. If set to `false`, disable the home-page view in this context.
      * Defaults to `true` if unset.
@@ -731,7 +798,7 @@ public Builder mergeEnabled(com.google.protobuf.BoolValue value) {
       if (enabledBuilder_ == null) {
         if (enabled_ != null) {
           enabled_ =
-            com.google.protobuf.BoolValue.newBuilder(enabled_).mergeFrom(value).buildPartial();
+              com.google.protobuf.BoolValue.newBuilder(enabled_).mergeFrom(value).buildPartial();
         } else {
           enabled_ = value;
         }
@@ -743,6 +810,8 @@ public Builder mergeEnabled(com.google.protobuf.BoolValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. If set to `false`, disable the home-page view in this context.
      * Defaults to `true` if unset.
@@ -764,6 +833,8 @@ public Builder clearEnabled() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Optional. If set to `false`, disable the home-page view in this context.
      * Defaults to `true` if unset.
@@ -774,11 +845,13 @@ public Builder clearEnabled() {
      * .google.protobuf.BoolValue enabled = 2;
      */
     public com.google.protobuf.BoolValue.Builder getEnabledBuilder() {
-      
+
       onChanged();
       return getEnabledFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Optional. If set to `false`, disable the home-page view in this context.
      * Defaults to `true` if unset.
@@ -792,11 +865,12 @@ public com.google.protobuf.BoolValueOrBuilder getEnabledOrBuilder() {
       if (enabledBuilder_ != null) {
         return enabledBuilder_.getMessageOrBuilder();
       } else {
-        return enabled_ == null ?
-            com.google.protobuf.BoolValue.getDefaultInstance() : enabled_;
+        return enabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : enabled_;
       }
     }
     /**
+     *
+     *
      * 
      * Optional. If set to `false`, disable the home-page view in this context.
      * Defaults to `true` if unset.
@@ -807,21 +881,24 @@ public com.google.protobuf.BoolValueOrBuilder getEnabledOrBuilder() {
      * .google.protobuf.BoolValue enabled = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> 
+            com.google.protobuf.BoolValue,
+            com.google.protobuf.BoolValue.Builder,
+            com.google.protobuf.BoolValueOrBuilder>
         getEnabledFieldBuilder() {
       if (enabledBuilder_ == null) {
-        enabledBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
-                getEnabled(),
-                getParentForChildren(),
-                isClean());
+        enabledBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.BoolValue,
+                com.google.protobuf.BoolValue.Builder,
+                com.google.protobuf.BoolValueOrBuilder>(
+                getEnabled(), getParentForChildren(), isClean());
         enabled_ = null;
       }
       return enabledBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -831,12 +908,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.apps.script.type.HomepageExtensionPoint)
   }
 
   // @@protoc_insertion_point(class_scope:google.apps.script.type.HomepageExtensionPoint)
   private static final com.google.apps.script.type.HomepageExtensionPoint DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.apps.script.type.HomepageExtensionPoint();
   }
@@ -845,16 +922,16 @@ public static com.google.apps.script.type.HomepageExtensionPoint getDefaultInsta
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public HomepageExtensionPoint parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new HomepageExtensionPoint(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public HomepageExtensionPoint parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new HomepageExtensionPoint(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -869,6 +946,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.apps.script.type.HomepageExtensionPoint getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HomepageExtensionPointOrBuilder.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HomepageExtensionPointOrBuilder.java
similarity index 71%
rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HomepageExtensionPointOrBuilder.java
rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HomepageExtensionPointOrBuilder.java
index fa8e4e70..153088f6 100644
--- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HomepageExtensionPointOrBuilder.java
+++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HomepageExtensionPointOrBuilder.java
@@ -1,35 +1,58 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/apps/script/type/extension_point.proto
 
 package com.google.apps.script.type;
 
-public interface HomepageExtensionPointOrBuilder extends
+public interface HomepageExtensionPointOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.apps.script.type.HomepageExtensionPoint)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The endpoint to execute when this extension point is
    * activated.
    * 
* * string run_function = 1; + * * @return The runFunction. */ java.lang.String getRunFunction(); /** + * + * *
    * Required. The endpoint to execute when this extension point is
    * activated.
    * 
* * string run_function = 1; + * * @return The bytes for runFunction. */ - com.google.protobuf.ByteString - getRunFunctionBytes(); + com.google.protobuf.ByteString getRunFunctionBytes(); /** + * + * *
    * Optional. If set to `false`, disable the home-page view in this context.
    * Defaults to `true` if unset.
@@ -38,10 +61,13 @@ public interface HomepageExtensionPointOrBuilder extends
    * 
* * .google.protobuf.BoolValue enabled = 2; + * * @return Whether the enabled field is set. */ boolean hasEnabled(); /** + * + * *
    * Optional. If set to `false`, disable the home-page view in this context.
    * Defaults to `true` if unset.
@@ -50,10 +76,13 @@ public interface HomepageExtensionPointOrBuilder extends
    * 
* * .google.protobuf.BoolValue enabled = 2; + * * @return The enabled. */ com.google.protobuf.BoolValue getEnabled(); /** + * + * *
    * Optional. If set to `false`, disable the home-page view in this context.
    * Defaults to `true` if unset.
diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HttpAuthorizationHeader.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HttpAuthorizationHeader.java
similarity index 71%
rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HttpAuthorizationHeader.java
rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HttpAuthorizationHeader.java
index d7cc3d41..d5c7c7b9 100644
--- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HttpAuthorizationHeader.java
+++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HttpAuthorizationHeader.java
@@ -1,18 +1,36 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/apps/script/type/script_manifest.proto
 
 package com.google.apps.script.type;
 
 /**
+ *
+ *
  * 
  * Authorization header sent in add-on HTTP requests
  * 
* * Protobuf enum {@code google.apps.script.type.HttpAuthorizationHeader} */ -public enum HttpAuthorizationHeader - implements com.google.protobuf.ProtocolMessageEnum { +public enum HttpAuthorizationHeader implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Default value, equivalent to `SYSTEM_ID_TOKEN`
    * 
@@ -21,6 +39,8 @@ public enum HttpAuthorizationHeader */ HTTP_AUTHORIZATION_HEADER_UNSPECIFIED(0), /** + * + * *
    * Send an ID token for the project-specific Google Workspace Add-ons system
    * service account (default)
@@ -30,6 +50,8 @@ public enum HttpAuthorizationHeader
    */
   SYSTEM_ID_TOKEN(1),
   /**
+   *
+   *
    * 
    * Send an ID token for the end user
    * 
@@ -38,6 +60,8 @@ public enum HttpAuthorizationHeader */ USER_ID_TOKEN(2), /** + * + * *
    * Do not send an Authentication header
    * 
@@ -49,6 +73,8 @@ public enum HttpAuthorizationHeader ; /** + * + * *
    * Default value, equivalent to `SYSTEM_ID_TOKEN`
    * 
@@ -57,6 +83,8 @@ public enum HttpAuthorizationHeader */ public static final int HTTP_AUTHORIZATION_HEADER_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Send an ID token for the project-specific Google Workspace Add-ons system
    * service account (default)
@@ -66,6 +94,8 @@ public enum HttpAuthorizationHeader
    */
   public static final int SYSTEM_ID_TOKEN_VALUE = 1;
   /**
+   *
+   *
    * 
    * Send an ID token for the end user
    * 
@@ -74,6 +104,8 @@ public enum HttpAuthorizationHeader */ public static final int USER_ID_TOKEN_VALUE = 2; /** + * + * *
    * Do not send an Authentication header
    * 
@@ -82,7 +114,6 @@ public enum HttpAuthorizationHeader */ public static final int NONE_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -107,11 +138,16 @@ public static HttpAuthorizationHeader valueOf(int value) { */ public static HttpAuthorizationHeader forNumber(int value) { switch (value) { - case 0: return HTTP_AUTHORIZATION_HEADER_UNSPECIFIED; - case 1: return SYSTEM_ID_TOKEN; - case 2: return USER_ID_TOKEN; - case 3: return NONE; - default: return null; + case 0: + return HTTP_AUTHORIZATION_HEADER_UNSPECIFIED; + case 1: + return SYSTEM_ID_TOKEN; + case 2: + return USER_ID_TOKEN; + case 3: + return NONE; + default: + return null; } } @@ -119,28 +155,28 @@ public static HttpAuthorizationHeader forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - HttpAuthorizationHeader> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HttpAuthorizationHeader findValueByNumber(int number) { - return HttpAuthorizationHeader.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public HttpAuthorizationHeader findValueByNumber(int number) { + return HttpAuthorizationHeader.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.apps.script.type.ScriptManifest.getDescriptor().getEnumTypes().get(0); } @@ -149,8 +185,7 @@ public HttpAuthorizationHeader findValueByNumber(int number) { public static HttpAuthorizationHeader valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -166,4 +201,3 @@ private HttpAuthorizationHeader(int value) { // @@protoc_insertion_point(enum_scope:google.apps.script.type.HttpAuthorizationHeader) } - diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HttpOptions.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HttpOptions.java similarity index 67% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HttpOptions.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HttpOptions.java index 6910d5b1..e19e4f12 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HttpOptions.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HttpOptions.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/script_manifest.proto package com.google.apps.script.type; /** + * + * *
  * Options for sending requests to add-on HTTP endpoints
  * 
* * Protobuf type {@code google.apps.script.type.HttpOptions} */ -public final class HttpOptions extends - com.google.protobuf.GeneratedMessageV3 implements +public final class HttpOptions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.apps.script.type.HttpOptions) HttpOptionsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use HttpOptions.newBuilder() to construct. private HttpOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private HttpOptions() { authorizationHeader_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new HttpOptions(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private HttpOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private HttpOptions( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - authorizationHeader_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + authorizationHeader_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,54 +91,68 @@ private HttpOptions( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.apps.script.type.ScriptManifest.internal_static_google_apps_script_type_HttpOptions_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.script.type.ScriptManifest + .internal_static_google_apps_script_type_HttpOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.ScriptManifest.internal_static_google_apps_script_type_HttpOptions_fieldAccessorTable + return com.google.apps.script.type.ScriptManifest + .internal_static_google_apps_script_type_HttpOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.HttpOptions.class, com.google.apps.script.type.HttpOptions.Builder.class); + com.google.apps.script.type.HttpOptions.class, + com.google.apps.script.type.HttpOptions.Builder.class); } public static final int AUTHORIZATION_HEADER_FIELD_NUMBER = 1; private int authorizationHeader_; /** + * + * *
    * Configuration for the token sent in the HTTP Authorization header
    * 
* * .google.apps.script.type.HttpAuthorizationHeader authorization_header = 1; + * * @return The enum numeric value on the wire for authorizationHeader. */ - @java.lang.Override public int getAuthorizationHeaderValue() { + @java.lang.Override + public int getAuthorizationHeaderValue() { return authorizationHeader_; } /** + * + * *
    * Configuration for the token sent in the HTTP Authorization header
    * 
* * .google.apps.script.type.HttpAuthorizationHeader authorization_header = 1; + * * @return The authorizationHeader. */ - @java.lang.Override public com.google.apps.script.type.HttpAuthorizationHeader getAuthorizationHeader() { + @java.lang.Override + public com.google.apps.script.type.HttpAuthorizationHeader getAuthorizationHeader() { @SuppressWarnings("deprecation") - com.google.apps.script.type.HttpAuthorizationHeader result = com.google.apps.script.type.HttpAuthorizationHeader.valueOf(authorizationHeader_); - return result == null ? com.google.apps.script.type.HttpAuthorizationHeader.UNRECOGNIZED : result; + com.google.apps.script.type.HttpAuthorizationHeader result = + com.google.apps.script.type.HttpAuthorizationHeader.valueOf(authorizationHeader_); + return result == null + ? com.google.apps.script.type.HttpAuthorizationHeader.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,9 +164,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (authorizationHeader_ != com.google.apps.script.type.HttpAuthorizationHeader.HTTP_AUTHORIZATION_HEADER_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (authorizationHeader_ + != com.google.apps.script.type.HttpAuthorizationHeader.HTTP_AUTHORIZATION_HEADER_UNSPECIFIED + .getNumber()) { output.writeEnum(1, authorizationHeader_); } unknownFields.writeTo(output); @@ -146,9 +179,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (authorizationHeader_ != com.google.apps.script.type.HttpAuthorizationHeader.HTTP_AUTHORIZATION_HEADER_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, authorizationHeader_); + if (authorizationHeader_ + != com.google.apps.script.type.HttpAuthorizationHeader.HTTP_AUTHORIZATION_HEADER_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, authorizationHeader_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -158,7 +192,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.HttpOptions)) { return super.equals(obj); @@ -184,118 +218,127 @@ public int hashCode() { return hash; } - public static com.google.apps.script.type.HttpOptions parseFrom( - java.nio.ByteBuffer data) + public static com.google.apps.script.type.HttpOptions parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.HttpOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.HttpOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.HttpOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.HttpOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.HttpOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.HttpOptions parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.HttpOptions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.HttpOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.apps.script.type.HttpOptions parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.apps.script.type.HttpOptions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.apps.script.type.HttpOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.HttpOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.apps.script.type.HttpOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Options for sending requests to add-on HTTP endpoints
    * 
* * Protobuf type {@code google.apps.script.type.HttpOptions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.apps.script.type.HttpOptions) com.google.apps.script.type.HttpOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.apps.script.type.ScriptManifest.internal_static_google_apps_script_type_HttpOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.script.type.ScriptManifest + .internal_static_google_apps_script_type_HttpOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.ScriptManifest.internal_static_google_apps_script_type_HttpOptions_fieldAccessorTable + return com.google.apps.script.type.ScriptManifest + .internal_static_google_apps_script_type_HttpOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.HttpOptions.class, com.google.apps.script.type.HttpOptions.Builder.class); + com.google.apps.script.type.HttpOptions.class, + com.google.apps.script.type.HttpOptions.Builder.class); } // Construct using com.google.apps.script.type.HttpOptions.newBuilder() @@ -303,16 +346,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -322,9 +364,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.apps.script.type.ScriptManifest.internal_static_google_apps_script_type_HttpOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.apps.script.type.ScriptManifest + .internal_static_google_apps_script_type_HttpOptions_descriptor; } @java.lang.Override @@ -343,7 +385,8 @@ public com.google.apps.script.type.HttpOptions build() { @java.lang.Override public com.google.apps.script.type.HttpOptions buildPartial() { - com.google.apps.script.type.HttpOptions result = new com.google.apps.script.type.HttpOptions(this); + com.google.apps.script.type.HttpOptions result = + new com.google.apps.script.type.HttpOptions(this); result.authorizationHeader_ = authorizationHeader_; onBuilt(); return result; @@ -353,38 +396,39 @@ public com.google.apps.script.type.HttpOptions buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.script.type.HttpOptions) { - return mergeFrom((com.google.apps.script.type.HttpOptions)other); + return mergeFrom((com.google.apps.script.type.HttpOptions) other); } else { super.mergeFrom(other); return this; @@ -427,80 +471,100 @@ public Builder mergeFrom( private int authorizationHeader_ = 0; /** + * + * *
      * Configuration for the token sent in the HTTP Authorization header
      * 
* * .google.apps.script.type.HttpAuthorizationHeader authorization_header = 1; + * * @return The enum numeric value on the wire for authorizationHeader. */ - @java.lang.Override public int getAuthorizationHeaderValue() { + @java.lang.Override + public int getAuthorizationHeaderValue() { return authorizationHeader_; } /** + * + * *
      * Configuration for the token sent in the HTTP Authorization header
      * 
* * .google.apps.script.type.HttpAuthorizationHeader authorization_header = 1; + * * @param value The enum numeric value on the wire for authorizationHeader to set. * @return This builder for chaining. */ public Builder setAuthorizationHeaderValue(int value) { - + authorizationHeader_ = value; onChanged(); return this; } /** + * + * *
      * Configuration for the token sent in the HTTP Authorization header
      * 
* * .google.apps.script.type.HttpAuthorizationHeader authorization_header = 1; + * * @return The authorizationHeader. */ @java.lang.Override public com.google.apps.script.type.HttpAuthorizationHeader getAuthorizationHeader() { @SuppressWarnings("deprecation") - com.google.apps.script.type.HttpAuthorizationHeader result = com.google.apps.script.type.HttpAuthorizationHeader.valueOf(authorizationHeader_); - return result == null ? com.google.apps.script.type.HttpAuthorizationHeader.UNRECOGNIZED : result; + com.google.apps.script.type.HttpAuthorizationHeader result = + com.google.apps.script.type.HttpAuthorizationHeader.valueOf(authorizationHeader_); + return result == null + ? com.google.apps.script.type.HttpAuthorizationHeader.UNRECOGNIZED + : result; } /** + * + * *
      * Configuration for the token sent in the HTTP Authorization header
      * 
* * .google.apps.script.type.HttpAuthorizationHeader authorization_header = 1; + * * @param value The authorizationHeader to set. * @return This builder for chaining. */ - public Builder setAuthorizationHeader(com.google.apps.script.type.HttpAuthorizationHeader value) { + public Builder setAuthorizationHeader( + com.google.apps.script.type.HttpAuthorizationHeader value) { if (value == null) { throw new NullPointerException(); } - + authorizationHeader_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Configuration for the token sent in the HTTP Authorization header
      * 
* * .google.apps.script.type.HttpAuthorizationHeader authorization_header = 1; + * * @return This builder for chaining. */ public Builder clearAuthorizationHeader() { - + authorizationHeader_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -510,12 +574,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.apps.script.type.HttpOptions) } // @@protoc_insertion_point(class_scope:google.apps.script.type.HttpOptions) private static final com.google.apps.script.type.HttpOptions DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.apps.script.type.HttpOptions(); } @@ -524,16 +588,16 @@ public static com.google.apps.script.type.HttpOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HttpOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new HttpOptions(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HttpOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new HttpOptions(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -548,6 +612,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.HttpOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HttpOptionsOrBuilder.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HttpOptionsOrBuilder.java similarity index 57% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HttpOptionsOrBuilder.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HttpOptionsOrBuilder.java index da93b346..102f23ea 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HttpOptionsOrBuilder.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/HttpOptionsOrBuilder.java @@ -1,27 +1,49 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/script_manifest.proto package com.google.apps.script.type; -public interface HttpOptionsOrBuilder extends +public interface HttpOptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.HttpOptions) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Configuration for the token sent in the HTTP Authorization header
    * 
* * .google.apps.script.type.HttpAuthorizationHeader authorization_header = 1; + * * @return The enum numeric value on the wire for authorizationHeader. */ int getAuthorizationHeaderValue(); /** + * + * *
    * Configuration for the token sent in the HTTP Authorization header
    * 
* * .google.apps.script.type.HttpAuthorizationHeader authorization_header = 1; + * * @return The authorizationHeader. */ com.google.apps.script.type.HttpAuthorizationHeader getAuthorizationHeader(); diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/LayoutProperties.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/LayoutProperties.java similarity index 73% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/LayoutProperties.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/LayoutProperties.java index 20e0aca4..3f18dc03 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/LayoutProperties.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/LayoutProperties.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/script_manifest.proto package com.google.apps.script.type; /** + * + * *
  * Card layout properties shared across all add-on host applications.
  * 
* * Protobuf type {@code google.apps.script.type.LayoutProperties} */ -public final class LayoutProperties extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LayoutProperties extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.apps.script.type.LayoutProperties) LayoutPropertiesOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LayoutProperties.newBuilder() to construct. private LayoutProperties(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LayoutProperties() { primaryColor_ = ""; secondaryColor_ = ""; @@ -26,16 +44,15 @@ private LayoutProperties() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LayoutProperties(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private LayoutProperties( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private LayoutProperties( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - primaryColor_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + primaryColor_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - secondaryColor_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + secondaryColor_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,29 +99,33 @@ private LayoutProperties( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.apps.script.type.ScriptManifest.internal_static_google_apps_script_type_LayoutProperties_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.script.type.ScriptManifest + .internal_static_google_apps_script_type_LayoutProperties_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.ScriptManifest.internal_static_google_apps_script_type_LayoutProperties_fieldAccessorTable + return com.google.apps.script.type.ScriptManifest + .internal_static_google_apps_script_type_LayoutProperties_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.LayoutProperties.class, com.google.apps.script.type.LayoutProperties.Builder.class); + com.google.apps.script.type.LayoutProperties.class, + com.google.apps.script.type.LayoutProperties.Builder.class); } public static final int PRIMARY_COLOR_FIELD_NUMBER = 1; private volatile java.lang.Object primaryColor_; /** + * + * *
    * The primary color of the add-on. It sets the color of toolbar. If no
    * primary color is set explicitly, the default value provided by the
@@ -110,6 +133,7 @@ private LayoutProperties(
    * 
* * string primary_color = 1; + * * @return The primaryColor. */ @java.lang.Override @@ -118,14 +142,15 @@ public java.lang.String getPrimaryColor() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); primaryColor_ = s; return s; } } /** + * + * *
    * The primary color of the add-on. It sets the color of toolbar. If no
    * primary color is set explicitly, the default value provided by the
@@ -133,16 +158,15 @@ public java.lang.String getPrimaryColor() {
    * 
* * string primary_color = 1; + * * @return The bytes for primaryColor. */ @java.lang.Override - public com.google.protobuf.ByteString - getPrimaryColorBytes() { + public com.google.protobuf.ByteString getPrimaryColorBytes() { java.lang.Object ref = primaryColor_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); primaryColor_ = b; return b; } else { @@ -153,6 +177,8 @@ public java.lang.String getPrimaryColor() { public static final int SECONDARY_COLOR_FIELD_NUMBER = 2; private volatile java.lang.Object secondaryColor_; /** + * + * *
    * The secondary color of the add-on. It sets the color of buttons.
    * If primary color is set but no secondary color is set, the
@@ -162,6 +188,7 @@ public java.lang.String getPrimaryColor() {
    * 
* * string secondary_color = 2; + * * @return The secondaryColor. */ @java.lang.Override @@ -170,14 +197,15 @@ public java.lang.String getSecondaryColor() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); secondaryColor_ = s; return s; } } /** + * + * *
    * The secondary color of the add-on. It sets the color of buttons.
    * If primary color is set but no secondary color is set, the
@@ -187,16 +215,15 @@ public java.lang.String getSecondaryColor() {
    * 
* * string secondary_color = 2; + * * @return The bytes for secondaryColor. */ @java.lang.Override - public com.google.protobuf.ByteString - getSecondaryColorBytes() { + public com.google.protobuf.ByteString getSecondaryColorBytes() { java.lang.Object ref = secondaryColor_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); secondaryColor_ = b; return b; } else { @@ -205,6 +232,7 @@ public java.lang.String getSecondaryColor() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -216,8 +244,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(primaryColor_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, primaryColor_); } @@ -247,17 +274,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.LayoutProperties)) { return super.equals(obj); } - com.google.apps.script.type.LayoutProperties other = (com.google.apps.script.type.LayoutProperties) obj; + com.google.apps.script.type.LayoutProperties other = + (com.google.apps.script.type.LayoutProperties) obj; - if (!getPrimaryColor() - .equals(other.getPrimaryColor())) return false; - if (!getSecondaryColor() - .equals(other.getSecondaryColor())) return false; + if (!getPrimaryColor().equals(other.getPrimaryColor())) return false; + if (!getSecondaryColor().equals(other.getSecondaryColor())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -278,118 +304,127 @@ public int hashCode() { return hash; } - public static com.google.apps.script.type.LayoutProperties parseFrom( - java.nio.ByteBuffer data) + public static com.google.apps.script.type.LayoutProperties parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.LayoutProperties parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.LayoutProperties parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.LayoutProperties parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.LayoutProperties parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.LayoutProperties parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.LayoutProperties parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.LayoutProperties parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.LayoutProperties parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.apps.script.type.LayoutProperties parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.apps.script.type.LayoutProperties parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.apps.script.type.LayoutProperties parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.LayoutProperties parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.apps.script.type.LayoutProperties prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Card layout properties shared across all add-on host applications.
    * 
* * Protobuf type {@code google.apps.script.type.LayoutProperties} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.apps.script.type.LayoutProperties) com.google.apps.script.type.LayoutPropertiesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.apps.script.type.ScriptManifest.internal_static_google_apps_script_type_LayoutProperties_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.script.type.ScriptManifest + .internal_static_google_apps_script_type_LayoutProperties_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.ScriptManifest.internal_static_google_apps_script_type_LayoutProperties_fieldAccessorTable + return com.google.apps.script.type.ScriptManifest + .internal_static_google_apps_script_type_LayoutProperties_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.LayoutProperties.class, com.google.apps.script.type.LayoutProperties.Builder.class); + com.google.apps.script.type.LayoutProperties.class, + com.google.apps.script.type.LayoutProperties.Builder.class); } // Construct using com.google.apps.script.type.LayoutProperties.newBuilder() @@ -397,16 +432,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -418,9 +452,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.apps.script.type.ScriptManifest.internal_static_google_apps_script_type_LayoutProperties_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.apps.script.type.ScriptManifest + .internal_static_google_apps_script_type_LayoutProperties_descriptor; } @java.lang.Override @@ -439,7 +473,8 @@ public com.google.apps.script.type.LayoutProperties build() { @java.lang.Override public com.google.apps.script.type.LayoutProperties buildPartial() { - com.google.apps.script.type.LayoutProperties result = new com.google.apps.script.type.LayoutProperties(this); + com.google.apps.script.type.LayoutProperties result = + new com.google.apps.script.type.LayoutProperties(this); result.primaryColor_ = primaryColor_; result.secondaryColor_ = secondaryColor_; onBuilt(); @@ -450,38 +485,39 @@ public com.google.apps.script.type.LayoutProperties buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.script.type.LayoutProperties) { - return mergeFrom((com.google.apps.script.type.LayoutProperties)other); + return mergeFrom((com.google.apps.script.type.LayoutProperties) other); } else { super.mergeFrom(other); return this; @@ -529,6 +565,8 @@ public Builder mergeFrom( private java.lang.Object primaryColor_ = ""; /** + * + * *
      * The primary color of the add-on. It sets the color of toolbar. If no
      * primary color is set explicitly, the default value provided by the
@@ -536,13 +574,13 @@ public Builder mergeFrom(
      * 
* * string primary_color = 1; + * * @return The primaryColor. */ public java.lang.String getPrimaryColor() { java.lang.Object ref = primaryColor_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); primaryColor_ = s; return s; @@ -551,6 +589,8 @@ public java.lang.String getPrimaryColor() { } } /** + * + * *
      * The primary color of the add-on. It sets the color of toolbar. If no
      * primary color is set explicitly, the default value provided by the
@@ -558,15 +598,14 @@ public java.lang.String getPrimaryColor() {
      * 
* * string primary_color = 1; + * * @return The bytes for primaryColor. */ - public com.google.protobuf.ByteString - getPrimaryColorBytes() { + public com.google.protobuf.ByteString getPrimaryColorBytes() { java.lang.Object ref = primaryColor_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); primaryColor_ = b; return b; } else { @@ -574,6 +613,8 @@ public java.lang.String getPrimaryColor() { } } /** + * + * *
      * The primary color of the add-on. It sets the color of toolbar. If no
      * primary color is set explicitly, the default value provided by the
@@ -581,20 +622,22 @@ public java.lang.String getPrimaryColor() {
      * 
* * string primary_color = 1; + * * @param value The primaryColor to set. * @return This builder for chaining. */ - public Builder setPrimaryColor( - java.lang.String value) { + public Builder setPrimaryColor(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + primaryColor_ = value; onChanged(); return this; } /** + * + * *
      * The primary color of the add-on. It sets the color of toolbar. If no
      * primary color is set explicitly, the default value provided by the
@@ -602,15 +645,18 @@ public Builder setPrimaryColor(
      * 
* * string primary_color = 1; + * * @return This builder for chaining. */ public Builder clearPrimaryColor() { - + primaryColor_ = getDefaultInstance().getPrimaryColor(); onChanged(); return this; } /** + * + * *
      * The primary color of the add-on. It sets the color of toolbar. If no
      * primary color is set explicitly, the default value provided by the
@@ -618,16 +664,16 @@ public Builder clearPrimaryColor() {
      * 
* * string primary_color = 1; + * * @param value The bytes for primaryColor to set. * @return This builder for chaining. */ - public Builder setPrimaryColorBytes( - com.google.protobuf.ByteString value) { + public Builder setPrimaryColorBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + primaryColor_ = value; onChanged(); return this; @@ -635,6 +681,8 @@ public Builder setPrimaryColorBytes( private java.lang.Object secondaryColor_ = ""; /** + * + * *
      * The secondary color of the add-on. It sets the color of buttons.
      * If primary color is set but no secondary color is set, the
@@ -644,13 +692,13 @@ public Builder setPrimaryColorBytes(
      * 
* * string secondary_color = 2; + * * @return The secondaryColor. */ public java.lang.String getSecondaryColor() { java.lang.Object ref = secondaryColor_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); secondaryColor_ = s; return s; @@ -659,6 +707,8 @@ public java.lang.String getSecondaryColor() { } } /** + * + * *
      * The secondary color of the add-on. It sets the color of buttons.
      * If primary color is set but no secondary color is set, the
@@ -668,15 +718,14 @@ public java.lang.String getSecondaryColor() {
      * 
* * string secondary_color = 2; + * * @return The bytes for secondaryColor. */ - public com.google.protobuf.ByteString - getSecondaryColorBytes() { + public com.google.protobuf.ByteString getSecondaryColorBytes() { java.lang.Object ref = secondaryColor_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); secondaryColor_ = b; return b; } else { @@ -684,6 +733,8 @@ public java.lang.String getSecondaryColor() { } } /** + * + * *
      * The secondary color of the add-on. It sets the color of buttons.
      * If primary color is set but no secondary color is set, the
@@ -693,20 +744,22 @@ public java.lang.String getSecondaryColor() {
      * 
* * string secondary_color = 2; + * * @param value The secondaryColor to set. * @return This builder for chaining. */ - public Builder setSecondaryColor( - java.lang.String value) { + public Builder setSecondaryColor(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + secondaryColor_ = value; onChanged(); return this; } /** + * + * *
      * The secondary color of the add-on. It sets the color of buttons.
      * If primary color is set but no secondary color is set, the
@@ -716,15 +769,18 @@ public Builder setSecondaryColor(
      * 
* * string secondary_color = 2; + * * @return This builder for chaining. */ public Builder clearSecondaryColor() { - + secondaryColor_ = getDefaultInstance().getSecondaryColor(); onChanged(); return this; } /** + * + * *
      * The secondary color of the add-on. It sets the color of buttons.
      * If primary color is set but no secondary color is set, the
@@ -734,23 +790,23 @@ public Builder clearSecondaryColor() {
      * 
* * string secondary_color = 2; + * * @param value The bytes for secondaryColor to set. * @return This builder for chaining. */ - public Builder setSecondaryColorBytes( - com.google.protobuf.ByteString value) { + public Builder setSecondaryColorBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + secondaryColor_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -760,12 +816,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.apps.script.type.LayoutProperties) } // @@protoc_insertion_point(class_scope:google.apps.script.type.LayoutProperties) private static final com.google.apps.script.type.LayoutProperties DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.apps.script.type.LayoutProperties(); } @@ -774,16 +830,16 @@ public static com.google.apps.script.type.LayoutProperties getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LayoutProperties parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new LayoutProperties(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LayoutProperties parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LayoutProperties(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -798,6 +854,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.LayoutProperties getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/LayoutPropertiesOrBuilder.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/LayoutPropertiesOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/LayoutPropertiesOrBuilder.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/LayoutPropertiesOrBuilder.java index d6804f5a..91f44602 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/LayoutPropertiesOrBuilder.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/LayoutPropertiesOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/script_manifest.proto package com.google.apps.script.type; -public interface LayoutPropertiesOrBuilder extends +public interface LayoutPropertiesOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.LayoutProperties) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The primary color of the add-on. It sets the color of toolbar. If no
    * primary color is set explicitly, the default value provided by the
@@ -15,10 +33,13 @@ public interface LayoutPropertiesOrBuilder extends
    * 
* * string primary_color = 1; + * * @return The primaryColor. */ java.lang.String getPrimaryColor(); /** + * + * *
    * The primary color of the add-on. It sets the color of toolbar. If no
    * primary color is set explicitly, the default value provided by the
@@ -26,12 +47,14 @@ public interface LayoutPropertiesOrBuilder extends
    * 
* * string primary_color = 1; + * * @return The bytes for primaryColor. */ - com.google.protobuf.ByteString - getPrimaryColorBytes(); + com.google.protobuf.ByteString getPrimaryColorBytes(); /** + * + * *
    * The secondary color of the add-on. It sets the color of buttons.
    * If primary color is set but no secondary color is set, the
@@ -41,10 +64,13 @@ public interface LayoutPropertiesOrBuilder extends
    * 
* * string secondary_color = 2; + * * @return The secondaryColor. */ java.lang.String getSecondaryColor(); /** + * + * *
    * The secondary color of the add-on. It sets the color of buttons.
    * If primary color is set but no secondary color is set, the
@@ -54,8 +80,8 @@ public interface LayoutPropertiesOrBuilder extends
    * 
* * string secondary_color = 2; + * * @return The bytes for secondaryColor. */ - com.google.protobuf.ByteString - getSecondaryColorBytes(); + com.google.protobuf.ByteString getSecondaryColorBytes(); } diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/MenuItemExtensionPoint.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/MenuItemExtensionPoint.java similarity index 71% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/MenuItemExtensionPoint.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/MenuItemExtensionPoint.java index 38584d57..94cf6abf 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/MenuItemExtensionPoint.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/MenuItemExtensionPoint.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/extension_point.proto package com.google.apps.script.type; /** + * + * *
  * Common format for declaring a  menu item, or button, that appears within a
  * host app.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.apps.script.type.MenuItemExtensionPoint}
  */
-public final class MenuItemExtensionPoint extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class MenuItemExtensionPoint extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.apps.script.type.MenuItemExtensionPoint)
     MenuItemExtensionPointOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use MenuItemExtensionPoint.newBuilder() to construct.
   private MenuItemExtensionPoint(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private MenuItemExtensionPoint() {
     runFunction_ = "";
     label_ = "";
@@ -28,16 +46,15 @@ private MenuItemExtensionPoint() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new MenuItemExtensionPoint();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private MenuItemExtensionPoint(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,31 +73,34 @@ private MenuItemExtensionPoint(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            runFunction_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              runFunction_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            label_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              label_ = s;
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            logoUrl_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              logoUrl_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -88,35 +108,40 @@ private MenuItemExtensionPoint(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.apps.script.type.ExtensionPoint.internal_static_google_apps_script_type_MenuItemExtensionPoint_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.apps.script.type.ExtensionPoint
+        .internal_static_google_apps_script_type_MenuItemExtensionPoint_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.apps.script.type.ExtensionPoint.internal_static_google_apps_script_type_MenuItemExtensionPoint_fieldAccessorTable
+    return com.google.apps.script.type.ExtensionPoint
+        .internal_static_google_apps_script_type_MenuItemExtensionPoint_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.apps.script.type.MenuItemExtensionPoint.class, com.google.apps.script.type.MenuItemExtensionPoint.Builder.class);
+            com.google.apps.script.type.MenuItemExtensionPoint.class,
+            com.google.apps.script.type.MenuItemExtensionPoint.Builder.class);
   }
 
   public static final int RUN_FUNCTION_FIELD_NUMBER = 1;
   private volatile java.lang.Object runFunction_;
   /**
+   *
+   *
    * 
    * Required. The endpoint to execute when this extension point is
    * activated.
    * 
* * string run_function = 1; + * * @return The runFunction. */ @java.lang.Override @@ -125,30 +150,30 @@ public java.lang.String getRunFunction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); runFunction_ = s; return s; } } /** + * + * *
    * Required. The endpoint to execute when this extension point is
    * activated.
    * 
* * string run_function = 1; + * * @return The bytes for runFunction. */ @java.lang.Override - public com.google.protobuf.ByteString - getRunFunctionBytes() { + public com.google.protobuf.ByteString getRunFunctionBytes() { java.lang.Object ref = runFunction_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); runFunction_ = b; return b; } else { @@ -159,12 +184,15 @@ public java.lang.String getRunFunction() { public static final int LABEL_FIELD_NUMBER = 2; private volatile java.lang.Object label_; /** + * + * *
    * Required. User-visible text describing the action taken by activating this
    * extension point. For example, "Insert invoice".
    * 
* * string label = 2; + * * @return The label. */ @java.lang.Override @@ -173,30 +201,30 @@ public java.lang.String getLabel() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); label_ = s; return s; } } /** + * + * *
    * Required. User-visible text describing the action taken by activating this
    * extension point. For example, "Insert invoice".
    * 
* * string label = 2; + * * @return The bytes for label. */ @java.lang.Override - public com.google.protobuf.ByteString - getLabelBytes() { + public com.google.protobuf.ByteString getLabelBytes() { java.lang.Object ref = label_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); label_ = b; return b; } else { @@ -207,12 +235,15 @@ public java.lang.String getLabel() { public static final int LOGO_URL_FIELD_NUMBER = 3; private volatile java.lang.Object logoUrl_; /** + * + * *
    * The URL for the logo image shown in the add-on toolbar.
    * If not set, defaults to the add-on's primary logo URL.
    * 
* * string logo_url = 3; + * * @return The logoUrl. */ @java.lang.Override @@ -221,30 +252,30 @@ public java.lang.String getLogoUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); logoUrl_ = s; return s; } } /** + * + * *
    * The URL for the logo image shown in the add-on toolbar.
    * If not set, defaults to the add-on's primary logo URL.
    * 
* * string logo_url = 3; + * * @return The bytes for logoUrl. */ @java.lang.Override - public com.google.protobuf.ByteString - getLogoUrlBytes() { + public com.google.protobuf.ByteString getLogoUrlBytes() { java.lang.Object ref = logoUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); logoUrl_ = b; return b; } else { @@ -253,6 +284,7 @@ public java.lang.String getLogoUrl() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -264,8 +296,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(runFunction_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, runFunction_); } @@ -301,19 +332,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.MenuItemExtensionPoint)) { return super.equals(obj); } - com.google.apps.script.type.MenuItemExtensionPoint other = (com.google.apps.script.type.MenuItemExtensionPoint) obj; + com.google.apps.script.type.MenuItemExtensionPoint other = + (com.google.apps.script.type.MenuItemExtensionPoint) obj; - if (!getRunFunction() - .equals(other.getRunFunction())) return false; - if (!getLabel() - .equals(other.getLabel())) return false; - if (!getLogoUrl() - .equals(other.getLogoUrl())) return false; + if (!getRunFunction().equals(other.getRunFunction())) return false; + if (!getLabel().equals(other.getLabel())) return false; + if (!getLogoUrl().equals(other.getLogoUrl())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -337,96 +366,103 @@ public int hashCode() { } public static com.google.apps.script.type.MenuItemExtensionPoint parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.MenuItemExtensionPoint parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.MenuItemExtensionPoint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.MenuItemExtensionPoint parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.MenuItemExtensionPoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.MenuItemExtensionPoint parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.MenuItemExtensionPoint parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.apps.script.type.MenuItemExtensionPoint parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.MenuItemExtensionPoint parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.MenuItemExtensionPoint parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.apps.script.type.MenuItemExtensionPoint parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.apps.script.type.MenuItemExtensionPoint parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.apps.script.type.MenuItemExtensionPoint parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.MenuItemExtensionPoint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.apps.script.type.MenuItemExtensionPoint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Common format for declaring a  menu item, or button, that appears within a
    * host app.
@@ -434,21 +470,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.apps.script.type.MenuItemExtensionPoint}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.apps.script.type.MenuItemExtensionPoint)
       com.google.apps.script.type.MenuItemExtensionPointOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.apps.script.type.ExtensionPoint.internal_static_google_apps_script_type_MenuItemExtensionPoint_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.apps.script.type.ExtensionPoint
+          .internal_static_google_apps_script_type_MenuItemExtensionPoint_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.apps.script.type.ExtensionPoint.internal_static_google_apps_script_type_MenuItemExtensionPoint_fieldAccessorTable
+      return com.google.apps.script.type.ExtensionPoint
+          .internal_static_google_apps_script_type_MenuItemExtensionPoint_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.apps.script.type.MenuItemExtensionPoint.class, com.google.apps.script.type.MenuItemExtensionPoint.Builder.class);
+              com.google.apps.script.type.MenuItemExtensionPoint.class,
+              com.google.apps.script.type.MenuItemExtensionPoint.Builder.class);
     }
 
     // Construct using com.google.apps.script.type.MenuItemExtensionPoint.newBuilder()
@@ -456,16 +494,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -479,9 +516,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.apps.script.type.ExtensionPoint.internal_static_google_apps_script_type_MenuItemExtensionPoint_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.apps.script.type.ExtensionPoint
+          .internal_static_google_apps_script_type_MenuItemExtensionPoint_descriptor;
     }
 
     @java.lang.Override
@@ -500,7 +537,8 @@ public com.google.apps.script.type.MenuItemExtensionPoint build() {
 
     @java.lang.Override
     public com.google.apps.script.type.MenuItemExtensionPoint buildPartial() {
-      com.google.apps.script.type.MenuItemExtensionPoint result = new com.google.apps.script.type.MenuItemExtensionPoint(this);
+      com.google.apps.script.type.MenuItemExtensionPoint result =
+          new com.google.apps.script.type.MenuItemExtensionPoint(this);
       result.runFunction_ = runFunction_;
       result.label_ = label_;
       result.logoUrl_ = logoUrl_;
@@ -512,38 +550,39 @@ public com.google.apps.script.type.MenuItemExtensionPoint buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.apps.script.type.MenuItemExtensionPoint) {
-        return mergeFrom((com.google.apps.script.type.MenuItemExtensionPoint)other);
+        return mergeFrom((com.google.apps.script.type.MenuItemExtensionPoint) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -551,7 +590,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.apps.script.type.MenuItemExtensionPoint other) {
-      if (other == com.google.apps.script.type.MenuItemExtensionPoint.getDefaultInstance()) return this;
+      if (other == com.google.apps.script.type.MenuItemExtensionPoint.getDefaultInstance())
+        return this;
       if (!other.getRunFunction().isEmpty()) {
         runFunction_ = other.runFunction_;
         onChanged();
@@ -583,7 +623,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.apps.script.type.MenuItemExtensionPoint) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.apps.script.type.MenuItemExtensionPoint) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -595,19 +636,21 @@ public Builder mergeFrom(
 
     private java.lang.Object runFunction_ = "";
     /**
+     *
+     *
      * 
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1; + * * @return The runFunction. */ public java.lang.String getRunFunction() { java.lang.Object ref = runFunction_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); runFunction_ = s; return s; @@ -616,21 +659,22 @@ public java.lang.String getRunFunction() { } } /** + * + * *
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1; + * * @return The bytes for runFunction. */ - public com.google.protobuf.ByteString - getRunFunctionBytes() { + public com.google.protobuf.ByteString getRunFunctionBytes() { java.lang.Object ref = runFunction_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); runFunction_ = b; return b; } else { @@ -638,57 +682,64 @@ public java.lang.String getRunFunction() { } } /** + * + * *
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1; + * * @param value The runFunction to set. * @return This builder for chaining. */ - public Builder setRunFunction( - java.lang.String value) { + public Builder setRunFunction(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + runFunction_ = value; onChanged(); return this; } /** + * + * *
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1; + * * @return This builder for chaining. */ public Builder clearRunFunction() { - + runFunction_ = getDefaultInstance().getRunFunction(); onChanged(); return this; } /** + * + * *
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1; + * * @param value The bytes for runFunction to set. * @return This builder for chaining. */ - public Builder setRunFunctionBytes( - com.google.protobuf.ByteString value) { + public Builder setRunFunctionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + runFunction_ = value; onChanged(); return this; @@ -696,19 +747,21 @@ public Builder setRunFunctionBytes( private java.lang.Object label_ = ""; /** + * + * *
      * Required. User-visible text describing the action taken by activating this
      * extension point. For example, "Insert invoice".
      * 
* * string label = 2; + * * @return The label. */ public java.lang.String getLabel() { java.lang.Object ref = label_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); label_ = s; return s; @@ -717,21 +770,22 @@ public java.lang.String getLabel() { } } /** + * + * *
      * Required. User-visible text describing the action taken by activating this
      * extension point. For example, "Insert invoice".
      * 
* * string label = 2; + * * @return The bytes for label. */ - public com.google.protobuf.ByteString - getLabelBytes() { + public com.google.protobuf.ByteString getLabelBytes() { java.lang.Object ref = label_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); label_ = b; return b; } else { @@ -739,57 +793,64 @@ public java.lang.String getLabel() { } } /** + * + * *
      * Required. User-visible text describing the action taken by activating this
      * extension point. For example, "Insert invoice".
      * 
* * string label = 2; + * * @param value The label to set. * @return This builder for chaining. */ - public Builder setLabel( - java.lang.String value) { + public Builder setLabel(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + label_ = value; onChanged(); return this; } /** + * + * *
      * Required. User-visible text describing the action taken by activating this
      * extension point. For example, "Insert invoice".
      * 
* * string label = 2; + * * @return This builder for chaining. */ public Builder clearLabel() { - + label_ = getDefaultInstance().getLabel(); onChanged(); return this; } /** + * + * *
      * Required. User-visible text describing the action taken by activating this
      * extension point. For example, "Insert invoice".
      * 
* * string label = 2; + * * @param value The bytes for label to set. * @return This builder for chaining. */ - public Builder setLabelBytes( - com.google.protobuf.ByteString value) { + public Builder setLabelBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + label_ = value; onChanged(); return this; @@ -797,19 +858,21 @@ public Builder setLabelBytes( private java.lang.Object logoUrl_ = ""; /** + * + * *
      * The URL for the logo image shown in the add-on toolbar.
      * If not set, defaults to the add-on's primary logo URL.
      * 
* * string logo_url = 3; + * * @return The logoUrl. */ public java.lang.String getLogoUrl() { java.lang.Object ref = logoUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); logoUrl_ = s; return s; @@ -818,21 +881,22 @@ public java.lang.String getLogoUrl() { } } /** + * + * *
      * The URL for the logo image shown in the add-on toolbar.
      * If not set, defaults to the add-on's primary logo URL.
      * 
* * string logo_url = 3; + * * @return The bytes for logoUrl. */ - public com.google.protobuf.ByteString - getLogoUrlBytes() { + public com.google.protobuf.ByteString getLogoUrlBytes() { java.lang.Object ref = logoUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); logoUrl_ = b; return b; } else { @@ -840,64 +904,71 @@ public java.lang.String getLogoUrl() { } } /** + * + * *
      * The URL for the logo image shown in the add-on toolbar.
      * If not set, defaults to the add-on's primary logo URL.
      * 
* * string logo_url = 3; + * * @param value The logoUrl to set. * @return This builder for chaining. */ - public Builder setLogoUrl( - java.lang.String value) { + public Builder setLogoUrl(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + logoUrl_ = value; onChanged(); return this; } /** + * + * *
      * The URL for the logo image shown in the add-on toolbar.
      * If not set, defaults to the add-on's primary logo URL.
      * 
* * string logo_url = 3; + * * @return This builder for chaining. */ public Builder clearLogoUrl() { - + logoUrl_ = getDefaultInstance().getLogoUrl(); onChanged(); return this; } /** + * + * *
      * The URL for the logo image shown in the add-on toolbar.
      * If not set, defaults to the add-on's primary logo URL.
      * 
* * string logo_url = 3; + * * @param value The bytes for logoUrl to set. * @return This builder for chaining. */ - public Builder setLogoUrlBytes( - com.google.protobuf.ByteString value) { + public Builder setLogoUrlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + logoUrl_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -907,12 +978,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.apps.script.type.MenuItemExtensionPoint) } // @@protoc_insertion_point(class_scope:google.apps.script.type.MenuItemExtensionPoint) private static final com.google.apps.script.type.MenuItemExtensionPoint DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.apps.script.type.MenuItemExtensionPoint(); } @@ -921,16 +992,16 @@ public static com.google.apps.script.type.MenuItemExtensionPoint getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MenuItemExtensionPoint parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MenuItemExtensionPoint(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MenuItemExtensionPoint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MenuItemExtensionPoint(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -945,6 +1016,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.MenuItemExtensionPoint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/MenuItemExtensionPointOrBuilder.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/MenuItemExtensionPointOrBuilder.java similarity index 65% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/MenuItemExtensionPointOrBuilder.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/MenuItemExtensionPointOrBuilder.java index 2f32530b..94fdec4b 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/MenuItemExtensionPointOrBuilder.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/MenuItemExtensionPointOrBuilder.java @@ -1,75 +1,106 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/extension_point.proto package com.google.apps.script.type; -public interface MenuItemExtensionPointOrBuilder extends +public interface MenuItemExtensionPointOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.MenuItemExtensionPoint) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The endpoint to execute when this extension point is
    * activated.
    * 
* * string run_function = 1; + * * @return The runFunction. */ java.lang.String getRunFunction(); /** + * + * *
    * Required. The endpoint to execute when this extension point is
    * activated.
    * 
* * string run_function = 1; + * * @return The bytes for runFunction. */ - com.google.protobuf.ByteString - getRunFunctionBytes(); + com.google.protobuf.ByteString getRunFunctionBytes(); /** + * + * *
    * Required. User-visible text describing the action taken by activating this
    * extension point. For example, "Insert invoice".
    * 
* * string label = 2; + * * @return The label. */ java.lang.String getLabel(); /** + * + * *
    * Required. User-visible text describing the action taken by activating this
    * extension point. For example, "Insert invoice".
    * 
* * string label = 2; + * * @return The bytes for label. */ - com.google.protobuf.ByteString - getLabelBytes(); + com.google.protobuf.ByteString getLabelBytes(); /** + * + * *
    * The URL for the logo image shown in the add-on toolbar.
    * If not set, defaults to the add-on's primary logo URL.
    * 
* * string logo_url = 3; + * * @return The logoUrl. */ java.lang.String getLogoUrl(); /** + * + * *
    * The URL for the logo image shown in the add-on toolbar.
    * If not set, defaults to the add-on's primary logo URL.
    * 
* * string logo_url = 3; + * * @return The bytes for logoUrl. */ - com.google.protobuf.ByteString - getLogoUrlBytes(); + com.google.protobuf.ByteString getLogoUrlBytes(); } diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/ScriptManifest.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/ScriptManifest.java new file mode 100644 index 00000000..05553f41 --- /dev/null +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/ScriptManifest.java @@ -0,0 +1,125 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/apps/script/type/script_manifest.proto + +package com.google.apps.script.type; + +public final class ScriptManifest { + private ScriptManifest() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_apps_script_type_CommonAddOnManifest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_apps_script_type_CommonAddOnManifest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_apps_script_type_LayoutProperties_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_apps_script_type_LayoutProperties_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_apps_script_type_HttpOptions_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_apps_script_type_HttpOptions_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n-google/apps/script/type/script_manifes" + + "t.proto\022\027google.apps.script.type\032.google" + + "/apps/script/type/addon_widget_set.proto" + + "\032-google/apps/script/type/extension_poin" + + "t.proto\032\034google/protobuf/struct.proto\"\266\003" + + "\n\023CommonAddOnManifest\022\014\n\004name\030\001 \001(\t\022\020\n\010l" + + "ogo_url\030\002 \001(\t\022D\n\021layout_properties\030\003 \001(\013" + + "2).google.apps.script.type.LayoutPropert" + + "ies\022B\n\021add_on_widget_set\030\004 \001(\0132\'.google." + + "apps.script.type.AddOnWidgetSet\022\033\n\023use_l" + + "ocale_from_app\030\005 \001(\010\022I\n\020homepage_trigger" + + "\030\006 \001(\0132/.google.apps.script.type.Homepag" + + "eExtensionPoint\022Q\n\021universal_actions\030\007 \003" + + "(\01326.google.apps.script.type.UniversalAc" + + "tionExtensionPoint\022:\n\026open_link_url_pref" + + "ixes\030\010 \001(\0132\032.google.protobuf.ListValue\"B" + + "\n\020LayoutProperties\022\025\n\rprimary_color\030\001 \001(" + + "\t\022\027\n\017secondary_color\030\002 \001(\t\"]\n\013HttpOption" + + "s\022N\n\024authorization_header\030\001 \001(\01620.google" + + ".apps.script.type.HttpAuthorizationHeade" + + "r*v\n\027HttpAuthorizationHeader\022)\n%HTTP_AUT" + + "HORIZATION_HEADER_UNSPECIFIED\020\000\022\023\n\017SYSTE" + + "M_ID_TOKEN\020\001\022\021\n\rUSER_ID_TOKEN\020\002\022\010\n\004NONE\020" + + "\003B\250\001\n\033com.google.apps.script.typeP\001Z6goo" + + "gle.golang.org/genproto/googleapis/apps/" + + "script/type\252\002\027Google.Apps.Script.Type\312\002\027" + + "Google\\Apps\\Script\\Type\352\002\032Google::Apps::" + + "Script::Typeb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.apps.script.type.AddOnWidgetSetProto.getDescriptor(), + com.google.apps.script.type.ExtensionPoint.getDescriptor(), + com.google.protobuf.StructProto.getDescriptor(), + }); + internal_static_google_apps_script_type_CommonAddOnManifest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_apps_script_type_CommonAddOnManifest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_apps_script_type_CommonAddOnManifest_descriptor, + new java.lang.String[] { + "Name", + "LogoUrl", + "LayoutProperties", + "AddOnWidgetSet", + "UseLocaleFromApp", + "HomepageTrigger", + "UniversalActions", + "OpenLinkUrlPrefixes", + }); + internal_static_google_apps_script_type_LayoutProperties_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_apps_script_type_LayoutProperties_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_apps_script_type_LayoutProperties_descriptor, + new java.lang.String[] { + "PrimaryColor", "SecondaryColor", + }); + internal_static_google_apps_script_type_HttpOptions_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_apps_script_type_HttpOptions_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_apps_script_type_HttpOptions_descriptor, + new java.lang.String[] { + "AuthorizationHeader", + }); + com.google.apps.script.type.AddOnWidgetSetProto.getDescriptor(); + com.google.apps.script.type.ExtensionPoint.getDescriptor(); + com.google.protobuf.StructProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/UniversalActionExtensionPoint.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/UniversalActionExtensionPoint.java similarity index 71% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/UniversalActionExtensionPoint.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/UniversalActionExtensionPoint.java index e6a505de..9ae7dd0a 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/UniversalActionExtensionPoint.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/UniversalActionExtensionPoint.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/extension_point.proto package com.google.apps.script.type; /** + * + * *
  * Format for declaring a universal action menu item extension point.
  * 
* * Protobuf type {@code google.apps.script.type.UniversalActionExtensionPoint} */ -public final class UniversalActionExtensionPoint extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UniversalActionExtensionPoint extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.apps.script.type.UniversalActionExtensionPoint) UniversalActionExtensionPointOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UniversalActionExtensionPoint.newBuilder() to construct. private UniversalActionExtensionPoint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UniversalActionExtensionPoint() { label_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UniversalActionExtensionPoint(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UniversalActionExtensionPoint( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,31 +70,34 @@ private UniversalActionExtensionPoint( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - label_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - actionTypeCase_ = 2; - actionType_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - actionTypeCase_ = 3; - actionType_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + label_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + actionTypeCase_ = 2; + actionType_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + actionTypeCase_ = 3; + actionType_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,35 +105,40 @@ private UniversalActionExtensionPoint( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.apps.script.type.ExtensionPoint.internal_static_google_apps_script_type_UniversalActionExtensionPoint_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.script.type.ExtensionPoint + .internal_static_google_apps_script_type_UniversalActionExtensionPoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.ExtensionPoint.internal_static_google_apps_script_type_UniversalActionExtensionPoint_fieldAccessorTable + return com.google.apps.script.type.ExtensionPoint + .internal_static_google_apps_script_type_UniversalActionExtensionPoint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.UniversalActionExtensionPoint.class, com.google.apps.script.type.UniversalActionExtensionPoint.Builder.class); + com.google.apps.script.type.UniversalActionExtensionPoint.class, + com.google.apps.script.type.UniversalActionExtensionPoint.Builder.class); } private int actionTypeCase_ = 0; private java.lang.Object actionType_; + public enum ActionTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { OPEN_LINK(2), RUN_FUNCTION(3), ACTIONTYPE_NOT_SET(0); private final int value; + private ActionTypeCase(int value) { this.value = value; } @@ -129,32 +154,38 @@ public static ActionTypeCase valueOf(int value) { public static ActionTypeCase forNumber(int value) { switch (value) { - case 2: return OPEN_LINK; - case 3: return RUN_FUNCTION; - case 0: return ACTIONTYPE_NOT_SET; - default: return null; + case 2: + return OPEN_LINK; + case 3: + return RUN_FUNCTION; + case 0: + return ACTIONTYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ActionTypeCase - getActionTypeCase() { - return ActionTypeCase.forNumber( - actionTypeCase_); + public ActionTypeCase getActionTypeCase() { + return ActionTypeCase.forNumber(actionTypeCase_); } public static final int LABEL_FIELD_NUMBER = 1; private volatile java.lang.Object label_; /** + * + * *
    * Required. User-visible text describing the action taken by activating this
    * extension point, for example, "Add a new contact".
    * 
* * string label = 1; + * * @return The label. */ @java.lang.Override @@ -163,30 +194,30 @@ public java.lang.String getLabel() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); label_ = s; return s; } } /** + * + * *
    * Required. User-visible text describing the action taken by activating this
    * extension point, for example, "Add a new contact".
    * 
* * string label = 1; + * * @return The bytes for label. */ @java.lang.Override - public com.google.protobuf.ByteString - getLabelBytes() { + public com.google.protobuf.ByteString getLabelBytes() { java.lang.Object ref = label_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); label_ = b; return b; } else { @@ -196,22 +227,28 @@ public java.lang.String getLabel() { public static final int OPEN_LINK_FIELD_NUMBER = 2; /** + * + * *
    * URL to be opened by the UniversalAction.
    * 
* * string open_link = 2; + * * @return Whether the openLink field is set. */ public boolean hasOpenLink() { return actionTypeCase_ == 2; } /** + * + * *
    * URL to be opened by the UniversalAction.
    * 
* * string open_link = 2; + * * @return The openLink. */ public java.lang.String getOpenLink() { @@ -222,8 +259,7 @@ public java.lang.String getOpenLink() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (actionTypeCase_ == 2) { actionType_ = s; @@ -232,23 +268,24 @@ public java.lang.String getOpenLink() { } } /** + * + * *
    * URL to be opened by the UniversalAction.
    * 
* * string open_link = 2; + * * @return The bytes for openLink. */ - public com.google.protobuf.ByteString - getOpenLinkBytes() { + public com.google.protobuf.ByteString getOpenLinkBytes() { java.lang.Object ref = ""; if (actionTypeCase_ == 2) { ref = actionType_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (actionTypeCase_ == 2) { actionType_ = b; } @@ -260,22 +297,28 @@ public java.lang.String getOpenLink() { public static final int RUN_FUNCTION_FIELD_NUMBER = 3; /** + * + * *
    * Endpoint to be run by the UniversalAction.
    * 
* * string run_function = 3; + * * @return Whether the runFunction field is set. */ public boolean hasRunFunction() { return actionTypeCase_ == 3; } /** + * + * *
    * Endpoint to be run by the UniversalAction.
    * 
* * string run_function = 3; + * * @return The runFunction. */ public java.lang.String getRunFunction() { @@ -286,8 +329,7 @@ public java.lang.String getRunFunction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (actionTypeCase_ == 3) { actionType_ = s; @@ -296,23 +338,24 @@ public java.lang.String getRunFunction() { } } /** + * + * *
    * Endpoint to be run by the UniversalAction.
    * 
* * string run_function = 3; + * * @return The bytes for runFunction. */ - public com.google.protobuf.ByteString - getRunFunctionBytes() { + public com.google.protobuf.ByteString getRunFunctionBytes() { java.lang.Object ref = ""; if (actionTypeCase_ == 3) { ref = actionType_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (actionTypeCase_ == 3) { actionType_ = b; } @@ -323,6 +366,7 @@ public java.lang.String getRunFunction() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -334,8 +378,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(label_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, label_); } @@ -371,24 +414,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.UniversalActionExtensionPoint)) { return super.equals(obj); } - com.google.apps.script.type.UniversalActionExtensionPoint other = (com.google.apps.script.type.UniversalActionExtensionPoint) obj; + com.google.apps.script.type.UniversalActionExtensionPoint other = + (com.google.apps.script.type.UniversalActionExtensionPoint) obj; - if (!getLabel() - .equals(other.getLabel())) return false; + if (!getLabel().equals(other.getLabel())) return false; if (!getActionTypeCase().equals(other.getActionTypeCase())) return false; switch (actionTypeCase_) { case 2: - if (!getOpenLink() - .equals(other.getOpenLink())) return false; + if (!getOpenLink().equals(other.getOpenLink())) return false; break; case 3: - if (!getRunFunction() - .equals(other.getRunFunction())) return false; + if (!getRunFunction().equals(other.getRunFunction())) return false; break; case 0: default: @@ -424,117 +465,127 @@ public int hashCode() { } public static com.google.apps.script.type.UniversalActionExtensionPoint parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.UniversalActionExtensionPoint parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.UniversalActionExtensionPoint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.UniversalActionExtensionPoint parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.UniversalActionExtensionPoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.UniversalActionExtensionPoint parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.UniversalActionExtensionPoint parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.apps.script.type.UniversalActionExtensionPoint parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.UniversalActionExtensionPoint parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.UniversalActionExtensionPoint parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.apps.script.type.UniversalActionExtensionPoint parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.apps.script.type.UniversalActionExtensionPoint parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.apps.script.type.UniversalActionExtensionPoint parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.UniversalActionExtensionPoint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.apps.script.type.UniversalActionExtensionPoint prototype) { + + public static Builder newBuilder( + com.google.apps.script.type.UniversalActionExtensionPoint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Format for declaring a universal action menu item extension point.
    * 
* * Protobuf type {@code google.apps.script.type.UniversalActionExtensionPoint} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.apps.script.type.UniversalActionExtensionPoint) com.google.apps.script.type.UniversalActionExtensionPointOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.apps.script.type.ExtensionPoint.internal_static_google_apps_script_type_UniversalActionExtensionPoint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.script.type.ExtensionPoint + .internal_static_google_apps_script_type_UniversalActionExtensionPoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.ExtensionPoint.internal_static_google_apps_script_type_UniversalActionExtensionPoint_fieldAccessorTable + return com.google.apps.script.type.ExtensionPoint + .internal_static_google_apps_script_type_UniversalActionExtensionPoint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.UniversalActionExtensionPoint.class, com.google.apps.script.type.UniversalActionExtensionPoint.Builder.class); + com.google.apps.script.type.UniversalActionExtensionPoint.class, + com.google.apps.script.type.UniversalActionExtensionPoint.Builder.class); } // Construct using com.google.apps.script.type.UniversalActionExtensionPoint.newBuilder() @@ -542,16 +593,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -563,9 +613,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.apps.script.type.ExtensionPoint.internal_static_google_apps_script_type_UniversalActionExtensionPoint_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.apps.script.type.ExtensionPoint + .internal_static_google_apps_script_type_UniversalActionExtensionPoint_descriptor; } @java.lang.Override @@ -584,7 +634,8 @@ public com.google.apps.script.type.UniversalActionExtensionPoint build() { @java.lang.Override public com.google.apps.script.type.UniversalActionExtensionPoint buildPartial() { - com.google.apps.script.type.UniversalActionExtensionPoint result = new com.google.apps.script.type.UniversalActionExtensionPoint(this); + com.google.apps.script.type.UniversalActionExtensionPoint result = + new com.google.apps.script.type.UniversalActionExtensionPoint(this); result.label_ = label_; if (actionTypeCase_ == 2) { result.actionType_ = actionType_; @@ -601,38 +652,39 @@ public com.google.apps.script.type.UniversalActionExtensionPoint buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.script.type.UniversalActionExtensionPoint) { - return mergeFrom((com.google.apps.script.type.UniversalActionExtensionPoint)other); + return mergeFrom((com.google.apps.script.type.UniversalActionExtensionPoint) other); } else { super.mergeFrom(other); return this; @@ -640,27 +692,31 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.apps.script.type.UniversalActionExtensionPoint other) { - if (other == com.google.apps.script.type.UniversalActionExtensionPoint.getDefaultInstance()) return this; + if (other == com.google.apps.script.type.UniversalActionExtensionPoint.getDefaultInstance()) + return this; if (!other.getLabel().isEmpty()) { label_ = other.label_; onChanged(); } switch (other.getActionTypeCase()) { - case OPEN_LINK: { - actionTypeCase_ = 2; - actionType_ = other.actionType_; - onChanged(); - break; - } - case RUN_FUNCTION: { - actionTypeCase_ = 3; - actionType_ = other.actionType_; - onChanged(); - break; - } - case ACTIONTYPE_NOT_SET: { - break; - } + case OPEN_LINK: + { + actionTypeCase_ = 2; + actionType_ = other.actionType_; + onChanged(); + break; + } + case RUN_FUNCTION: + { + actionTypeCase_ = 3; + actionType_ = other.actionType_; + onChanged(); + break; + } + case ACTIONTYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -681,7 +737,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.apps.script.type.UniversalActionExtensionPoint) e.getUnfinishedMessage(); + parsedMessage = + (com.google.apps.script.type.UniversalActionExtensionPoint) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -690,12 +747,12 @@ public Builder mergeFrom( } return this; } + private int actionTypeCase_ = 0; private java.lang.Object actionType_; - public ActionTypeCase - getActionTypeCase() { - return ActionTypeCase.forNumber( - actionTypeCase_); + + public ActionTypeCase getActionTypeCase() { + return ActionTypeCase.forNumber(actionTypeCase_); } public Builder clearActionType() { @@ -705,22 +762,23 @@ public Builder clearActionType() { return this; } - private java.lang.Object label_ = ""; /** + * + * *
      * Required. User-visible text describing the action taken by activating this
      * extension point, for example, "Add a new contact".
      * 
* * string label = 1; + * * @return The label. */ public java.lang.String getLabel() { java.lang.Object ref = label_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); label_ = s; return s; @@ -729,21 +787,22 @@ public java.lang.String getLabel() { } } /** + * + * *
      * Required. User-visible text describing the action taken by activating this
      * extension point, for example, "Add a new contact".
      * 
* * string label = 1; + * * @return The bytes for label. */ - public com.google.protobuf.ByteString - getLabelBytes() { + public com.google.protobuf.ByteString getLabelBytes() { java.lang.Object ref = label_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); label_ = b; return b; } else { @@ -751,68 +810,78 @@ public java.lang.String getLabel() { } } /** + * + * *
      * Required. User-visible text describing the action taken by activating this
      * extension point, for example, "Add a new contact".
      * 
* * string label = 1; + * * @param value The label to set. * @return This builder for chaining. */ - public Builder setLabel( - java.lang.String value) { + public Builder setLabel(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + label_ = value; onChanged(); return this; } /** + * + * *
      * Required. User-visible text describing the action taken by activating this
      * extension point, for example, "Add a new contact".
      * 
* * string label = 1; + * * @return This builder for chaining. */ public Builder clearLabel() { - + label_ = getDefaultInstance().getLabel(); onChanged(); return this; } /** + * + * *
      * Required. User-visible text describing the action taken by activating this
      * extension point, for example, "Add a new contact".
      * 
* * string label = 1; + * * @param value The bytes for label to set. * @return This builder for chaining. */ - public Builder setLabelBytes( - com.google.protobuf.ByteString value) { + public Builder setLabelBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + label_ = value; onChanged(); return this; } /** + * + * *
      * URL to be opened by the UniversalAction.
      * 
* * string open_link = 2; + * * @return Whether the openLink field is set. */ @java.lang.Override @@ -820,11 +889,14 @@ public boolean hasOpenLink() { return actionTypeCase_ == 2; } /** + * + * *
      * URL to be opened by the UniversalAction.
      * 
* * string open_link = 2; + * * @return The openLink. */ @java.lang.Override @@ -834,8 +906,7 @@ public java.lang.String getOpenLink() { ref = actionType_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (actionTypeCase_ == 2) { actionType_ = s; @@ -846,24 +917,25 @@ public java.lang.String getOpenLink() { } } /** + * + * *
      * URL to be opened by the UniversalAction.
      * 
* * string open_link = 2; + * * @return The bytes for openLink. */ @java.lang.Override - public com.google.protobuf.ByteString - getOpenLinkBytes() { + public com.google.protobuf.ByteString getOpenLinkBytes() { java.lang.Object ref = ""; if (actionTypeCase_ == 2) { ref = actionType_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (actionTypeCase_ == 2) { actionType_ = b; } @@ -873,30 +945,35 @@ public java.lang.String getOpenLink() { } } /** + * + * *
      * URL to be opened by the UniversalAction.
      * 
* * string open_link = 2; + * * @param value The openLink to set. * @return This builder for chaining. */ - public Builder setOpenLink( - java.lang.String value) { + public Builder setOpenLink(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - actionTypeCase_ = 2; + throw new NullPointerException(); + } + actionTypeCase_ = 2; actionType_ = value; onChanged(); return this; } /** + * + * *
      * URL to be opened by the UniversalAction.
      * 
* * string open_link = 2; + * * @return This builder for chaining. */ public Builder clearOpenLink() { @@ -908,20 +985,22 @@ public Builder clearOpenLink() { return this; } /** + * + * *
      * URL to be opened by the UniversalAction.
      * 
* * string open_link = 2; + * * @param value The bytes for openLink to set. * @return This builder for chaining. */ - public Builder setOpenLinkBytes( - com.google.protobuf.ByteString value) { + public Builder setOpenLinkBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); actionTypeCase_ = 2; actionType_ = value; onChanged(); @@ -929,11 +1008,14 @@ public Builder setOpenLinkBytes( } /** + * + * *
      * Endpoint to be run by the UniversalAction.
      * 
* * string run_function = 3; + * * @return Whether the runFunction field is set. */ @java.lang.Override @@ -941,11 +1023,14 @@ public boolean hasRunFunction() { return actionTypeCase_ == 3; } /** + * + * *
      * Endpoint to be run by the UniversalAction.
      * 
* * string run_function = 3; + * * @return The runFunction. */ @java.lang.Override @@ -955,8 +1040,7 @@ public java.lang.String getRunFunction() { ref = actionType_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (actionTypeCase_ == 3) { actionType_ = s; @@ -967,24 +1051,25 @@ public java.lang.String getRunFunction() { } } /** + * + * *
      * Endpoint to be run by the UniversalAction.
      * 
* * string run_function = 3; + * * @return The bytes for runFunction. */ @java.lang.Override - public com.google.protobuf.ByteString - getRunFunctionBytes() { + public com.google.protobuf.ByteString getRunFunctionBytes() { java.lang.Object ref = ""; if (actionTypeCase_ == 3) { ref = actionType_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (actionTypeCase_ == 3) { actionType_ = b; } @@ -994,30 +1079,35 @@ public java.lang.String getRunFunction() { } } /** + * + * *
      * Endpoint to be run by the UniversalAction.
      * 
* * string run_function = 3; + * * @param value The runFunction to set. * @return This builder for chaining. */ - public Builder setRunFunction( - java.lang.String value) { + public Builder setRunFunction(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - actionTypeCase_ = 3; + throw new NullPointerException(); + } + actionTypeCase_ = 3; actionType_ = value; onChanged(); return this; } /** + * + * *
      * Endpoint to be run by the UniversalAction.
      * 
* * string run_function = 3; + * * @return This builder for chaining. */ public Builder clearRunFunction() { @@ -1029,28 +1119,30 @@ public Builder clearRunFunction() { return this; } /** + * + * *
      * Endpoint to be run by the UniversalAction.
      * 
* * string run_function = 3; + * * @param value The bytes for runFunction to set. * @return This builder for chaining. */ - public Builder setRunFunctionBytes( - com.google.protobuf.ByteString value) { + public Builder setRunFunctionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); actionTypeCase_ = 3; actionType_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1060,12 +1152,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.apps.script.type.UniversalActionExtensionPoint) } // @@protoc_insertion_point(class_scope:google.apps.script.type.UniversalActionExtensionPoint) private static final com.google.apps.script.type.UniversalActionExtensionPoint DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.apps.script.type.UniversalActionExtensionPoint(); } @@ -1074,16 +1166,16 @@ public static com.google.apps.script.type.UniversalActionExtensionPoint getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UniversalActionExtensionPoint parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UniversalActionExtensionPoint(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UniversalActionExtensionPoint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UniversalActionExtensionPoint(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1098,6 +1190,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.apps.script.type.UniversalActionExtensionPoint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/UniversalActionExtensionPointOrBuilder.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/UniversalActionExtensionPointOrBuilder.java similarity index 67% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/UniversalActionExtensionPointOrBuilder.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/UniversalActionExtensionPointOrBuilder.java index a639fccf..85ceb306 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/UniversalActionExtensionPointOrBuilder.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/UniversalActionExtensionPointOrBuilder.java @@ -1,91 +1,129 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/extension_point.proto package com.google.apps.script.type; -public interface UniversalActionExtensionPointOrBuilder extends +public interface UniversalActionExtensionPointOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.UniversalActionExtensionPoint) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. User-visible text describing the action taken by activating this
    * extension point, for example, "Add a new contact".
    * 
* * string label = 1; + * * @return The label. */ java.lang.String getLabel(); /** + * + * *
    * Required. User-visible text describing the action taken by activating this
    * extension point, for example, "Add a new contact".
    * 
* * string label = 1; + * * @return The bytes for label. */ - com.google.protobuf.ByteString - getLabelBytes(); + com.google.protobuf.ByteString getLabelBytes(); /** + * + * *
    * URL to be opened by the UniversalAction.
    * 
* * string open_link = 2; + * * @return Whether the openLink field is set. */ boolean hasOpenLink(); /** + * + * *
    * URL to be opened by the UniversalAction.
    * 
* * string open_link = 2; + * * @return The openLink. */ java.lang.String getOpenLink(); /** + * + * *
    * URL to be opened by the UniversalAction.
    * 
* * string open_link = 2; + * * @return The bytes for openLink. */ - com.google.protobuf.ByteString - getOpenLinkBytes(); + com.google.protobuf.ByteString getOpenLinkBytes(); /** + * + * *
    * Endpoint to be run by the UniversalAction.
    * 
* * string run_function = 3; + * * @return Whether the runFunction field is set. */ boolean hasRunFunction(); /** + * + * *
    * Endpoint to be run by the UniversalAction.
    * 
* * string run_function = 3; + * * @return The runFunction. */ java.lang.String getRunFunction(); /** + * + * *
    * Endpoint to be run by the UniversalAction.
    * 
* * string run_function = 3; + * * @return The bytes for runFunction. */ - com.google.protobuf.ByteString - getRunFunctionBytes(); + com.google.protobuf.ByteString getRunFunctionBytes(); - public com.google.apps.script.type.UniversalActionExtensionPoint.ActionTypeCase getActionTypeCase(); + public com.google.apps.script.type.UniversalActionExtensionPoint.ActionTypeCase + getActionTypeCase(); } diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifest.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifest.java similarity index 71% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifest.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifest.java index 6efd621f..80b7cb0f 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifest.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/calendar/calendar_addon_manifest.proto package com.google.apps.script.type.calendar; /** + * + * *
  * Calendar add-on manifest.
  * 
* * Protobuf type {@code google.apps.script.type.calendar.CalendarAddOnManifest} */ -public final class CalendarAddOnManifest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CalendarAddOnManifest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.apps.script.type.calendar.CalendarAddOnManifest) CalendarAddOnManifestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CalendarAddOnManifest.newBuilder() to construct. private CalendarAddOnManifest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CalendarAddOnManifest() { conferenceSolution_ = java.util.Collections.emptyList(); createSettingsUrlFunction_ = ""; @@ -27,16 +45,15 @@ private CalendarAddOnManifest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CalendarAddOnManifest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CalendarAddOnManifest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,73 +73,92 @@ private CalendarAddOnManifest( case 0: done = true; break; - case 26: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - conferenceSolution_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 26: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + conferenceSolution_ = + new java.util.ArrayList< + com.google.apps.script.type.calendar.ConferenceSolution>(); + mutable_bitField0_ |= 0x00000001; + } + conferenceSolution_.add( + input.readMessage( + com.google.apps.script.type.calendar.ConferenceSolution.parser(), + extensionRegistry)); + break; } - conferenceSolution_.add( - input.readMessage(com.google.apps.script.type.calendar.ConferenceSolution.parser(), extensionRegistry)); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - createSettingsUrlFunction_ = s; - break; - } - case 50: { - com.google.apps.script.type.HomepageExtensionPoint.Builder subBuilder = null; - if (homepageTrigger_ != null) { - subBuilder = homepageTrigger_.toBuilder(); + createSettingsUrlFunction_ = s; + break; } - homepageTrigger_ = input.readMessage(com.google.apps.script.type.HomepageExtensionPoint.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(homepageTrigger_); - homepageTrigger_ = subBuilder.buildPartial(); + case 50: + { + com.google.apps.script.type.HomepageExtensionPoint.Builder subBuilder = null; + if (homepageTrigger_ != null) { + subBuilder = homepageTrigger_.toBuilder(); + } + homepageTrigger_ = + input.readMessage( + com.google.apps.script.type.HomepageExtensionPoint.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(homepageTrigger_); + homepageTrigger_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 82: { - com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder subBuilder = null; - if (eventOpenTrigger_ != null) { - subBuilder = eventOpenTrigger_.toBuilder(); + case 82: + { + com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder subBuilder = null; + if (eventOpenTrigger_ != null) { + subBuilder = eventOpenTrigger_.toBuilder(); + } + eventOpenTrigger_ = + input.readMessage( + com.google.apps.script.type.calendar.CalendarExtensionPoint.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(eventOpenTrigger_); + eventOpenTrigger_ = subBuilder.buildPartial(); + } + + break; } - eventOpenTrigger_ = input.readMessage(com.google.apps.script.type.calendar.CalendarExtensionPoint.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(eventOpenTrigger_); - eventOpenTrigger_ = subBuilder.buildPartial(); + case 90: + { + com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder subBuilder = null; + if (eventUpdateTrigger_ != null) { + subBuilder = eventUpdateTrigger_.toBuilder(); + } + eventUpdateTrigger_ = + input.readMessage( + com.google.apps.script.type.calendar.CalendarExtensionPoint.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(eventUpdateTrigger_); + eventUpdateTrigger_ = subBuilder.buildPartial(); + } + + break; } + case 96: + { + int rawValue = input.readEnum(); - break; - } - case 90: { - com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder subBuilder = null; - if (eventUpdateTrigger_ != null) { - subBuilder = eventUpdateTrigger_.toBuilder(); - } - eventUpdateTrigger_ = input.readMessage(com.google.apps.script.type.calendar.CalendarExtensionPoint.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(eventUpdateTrigger_); - eventUpdateTrigger_ = subBuilder.buildPartial(); + currentEventAccess_ = rawValue; + break; } - - break; - } - case 96: { - int rawValue = input.readEnum(); - - currentEventAccess_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -130,8 +166,7 @@ private CalendarAddOnManifest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { conferenceSolution_ = java.util.Collections.unmodifiableList(conferenceSolution_); @@ -140,29 +175,35 @@ private CalendarAddOnManifest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.apps.script.type.calendar.CalendarAddOnManifestProto.internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.script.type.calendar.CalendarAddOnManifestProto + .internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.calendar.CalendarAddOnManifestProto.internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_fieldAccessorTable + return com.google.apps.script.type.calendar.CalendarAddOnManifestProto + .internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.calendar.CalendarAddOnManifest.class, com.google.apps.script.type.calendar.CalendarAddOnManifest.Builder.class); + com.google.apps.script.type.calendar.CalendarAddOnManifest.class, + com.google.apps.script.type.calendar.CalendarAddOnManifest.Builder.class); } /** + * + * *
    * An enum defining the level of data access event triggers require.
    * 
* * Protobuf enum {@code google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess} */ - public enum EventAccess - implements com.google.protobuf.ProtocolMessageEnum { + public enum EventAccess implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value when nothing is set for EventAccess.
      * 
@@ -171,6 +212,8 @@ public enum EventAccess */ UNSPECIFIED(0), /** + * + * *
      * METADATA gives event triggers the permission to access the metadata of
      * events such as event id and calendar id.
@@ -180,6 +223,8 @@ public enum EventAccess
      */
     METADATA(1),
     /**
+     *
+     *
      * 
      * READ gives event triggers access to all provided event fields including
      * the metadata, attendees, and conference data.
@@ -189,6 +234,8 @@ public enum EventAccess
      */
     READ(3),
     /**
+     *
+     *
      * 
      * WRITE gives event triggers access to the metadata of events and the
      * ability to perform all actions, including adding attendees and setting
@@ -199,6 +246,8 @@ public enum EventAccess
      */
     WRITE(4),
     /**
+     *
+     *
      * 
      * READ_WRITE gives event triggers access to all provided event fields
      * including the metadata, attendees, and conference data and the ability to
@@ -212,6 +261,8 @@ public enum EventAccess
     ;
 
     /**
+     *
+     *
      * 
      * Default value when nothing is set for EventAccess.
      * 
@@ -220,6 +271,8 @@ public enum EventAccess */ public static final int UNSPECIFIED_VALUE = 0; /** + * + * *
      * METADATA gives event triggers the permission to access the metadata of
      * events such as event id and calendar id.
@@ -229,6 +282,8 @@ public enum EventAccess
      */
     public static final int METADATA_VALUE = 1;
     /**
+     *
+     *
      * 
      * READ gives event triggers access to all provided event fields including
      * the metadata, attendees, and conference data.
@@ -238,6 +293,8 @@ public enum EventAccess
      */
     public static final int READ_VALUE = 3;
     /**
+     *
+     *
      * 
      * WRITE gives event triggers access to the metadata of events and the
      * ability to perform all actions, including adding attendees and setting
@@ -248,6 +305,8 @@ public enum EventAccess
      */
     public static final int WRITE_VALUE = 4;
     /**
+     *
+     *
      * 
      * READ_WRITE gives event triggers access to all provided event fields
      * including the metadata, attendees, and conference data and the ability to
@@ -258,7 +317,6 @@ public enum EventAccess
      */
     public static final int READ_WRITE_VALUE = 5;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -283,51 +341,55 @@ public static EventAccess valueOf(int value) {
      */
     public static EventAccess forNumber(int value) {
       switch (value) {
-        case 0: return UNSPECIFIED;
-        case 1: return METADATA;
-        case 3: return READ;
-        case 4: return WRITE;
-        case 5: return READ_WRITE;
-        default: return null;
-      }
-    }
-
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+        case 0:
+          return UNSPECIFIED;
+        case 1:
+          return METADATA;
+        case 3:
+          return READ;
+        case 4:
+          return WRITE;
+        case 5:
+          return READ_WRITE;
+        default:
+          return null;
+      }
+    }
+
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        EventAccess> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public EventAccess findValueByNumber(int number) {
-              return EventAccess.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public EventAccess findValueByNumber(int number) {
+            return EventAccess.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.apps.script.type.calendar.CalendarAddOnManifest.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.apps.script.type.calendar.CalendarAddOnManifest.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final EventAccess[] VALUES = values();
 
-    public static EventAccess valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static EventAccess valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -347,6 +409,8 @@ private EventAccess(int value) {
   public static final int HOMEPAGE_TRIGGER_FIELD_NUMBER = 6;
   private com.google.apps.script.type.HomepageExtensionPoint homepageTrigger_;
   /**
+   *
+   *
    * 
    * Defines an endpoint that will be executed contexts that don't
    * match a declared contextual trigger. Any cards generated by this function
@@ -357,6 +421,7 @@ private EventAccess(int value) {
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6; + * * @return Whether the homepageTrigger field is set. */ @java.lang.Override @@ -364,6 +429,8 @@ public boolean hasHomepageTrigger() { return homepageTrigger_ != null; } /** + * + * *
    * Defines an endpoint that will be executed contexts that don't
    * match a declared contextual trigger. Any cards generated by this function
@@ -374,13 +441,18 @@ public boolean hasHomepageTrigger() {
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6; + * * @return The homepageTrigger. */ @java.lang.Override public com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger() { - return homepageTrigger_ == null ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_; + return homepageTrigger_ == null + ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() + : homepageTrigger_; } /** + * + * *
    * Defines an endpoint that will be executed contexts that don't
    * match a declared contextual trigger. Any cards generated by this function
@@ -398,73 +470,93 @@ public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTr
   }
 
   public static final int CONFERENCE_SOLUTION_FIELD_NUMBER = 3;
-  private java.util.List conferenceSolution_;
+  private java.util.List
+      conferenceSolution_;
   /**
+   *
+   *
    * 
    * Defines conference solutions provided by this add-on.
    * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * */ @java.lang.Override - public java.util.List getConferenceSolutionList() { + public java.util.List + getConferenceSolutionList() { return conferenceSolution_; } /** + * + * *
    * Defines conference solutions provided by this add-on.
    * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * */ @java.lang.Override - public java.util.List + public java.util.List getConferenceSolutionOrBuilderList() { return conferenceSolution_; } /** + * + * *
    * Defines conference solutions provided by this add-on.
    * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * */ @java.lang.Override public int getConferenceSolutionCount() { return conferenceSolution_.size(); } /** + * + * *
    * Defines conference solutions provided by this add-on.
    * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * */ @java.lang.Override public com.google.apps.script.type.calendar.ConferenceSolution getConferenceSolution(int index) { return conferenceSolution_.get(index); } /** + * + * *
    * Defines conference solutions provided by this add-on.
    * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * */ @java.lang.Override - public com.google.apps.script.type.calendar.ConferenceSolutionOrBuilder getConferenceSolutionOrBuilder( - int index) { + public com.google.apps.script.type.calendar.ConferenceSolutionOrBuilder + getConferenceSolutionOrBuilder(int index) { return conferenceSolution_.get(index); } public static final int CREATE_SETTINGS_URL_FUNCTION_FIELD_NUMBER = 5; private volatile java.lang.Object createSettingsUrlFunction_; /** + * + * *
    * An endpoint to execute that creates a URL to the add-on's settings page.
    * 
* * string create_settings_url_function = 5; + * * @return The createSettingsUrlFunction. */ @java.lang.Override @@ -473,29 +565,29 @@ public java.lang.String getCreateSettingsUrlFunction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); createSettingsUrlFunction_ = s; return s; } } /** + * + * *
    * An endpoint to execute that creates a URL to the add-on's settings page.
    * 
* * string create_settings_url_function = 5; + * * @return The bytes for createSettingsUrlFunction. */ @java.lang.Override - public com.google.protobuf.ByteString - getCreateSettingsUrlFunctionBytes() { + public com.google.protobuf.ByteString getCreateSettingsUrlFunctionBytes() { java.lang.Object ref = createSettingsUrlFunction_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); createSettingsUrlFunction_ = b; return b; } else { @@ -506,11 +598,14 @@ public java.lang.String getCreateSettingsUrlFunction() { public static final int EVENT_OPEN_TRIGGER_FIELD_NUMBER = 10; private com.google.apps.script.type.calendar.CalendarExtensionPoint eventOpenTrigger_; /** + * + * *
    * An endpoint to trigger when an event is opened (viewed/edited).
    * 
* * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; + * * @return Whether the eventOpenTrigger field is set. */ @java.lang.Override @@ -518,18 +613,25 @@ public boolean hasEventOpenTrigger() { return eventOpenTrigger_ != null; } /** + * + * *
    * An endpoint to trigger when an event is opened (viewed/edited).
    * 
* * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; + * * @return The eventOpenTrigger. */ @java.lang.Override public com.google.apps.script.type.calendar.CalendarExtensionPoint getEventOpenTrigger() { - return eventOpenTrigger_ == null ? com.google.apps.script.type.calendar.CalendarExtensionPoint.getDefaultInstance() : eventOpenTrigger_; + return eventOpenTrigger_ == null + ? com.google.apps.script.type.calendar.CalendarExtensionPoint.getDefaultInstance() + : eventOpenTrigger_; } /** + * + * *
    * An endpoint to trigger when an event is opened (viewed/edited).
    * 
@@ -537,18 +639,23 @@ public com.google.apps.script.type.calendar.CalendarExtensionPoint getEventOpenT * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; */ @java.lang.Override - public com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder getEventOpenTriggerOrBuilder() { + public com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder + getEventOpenTriggerOrBuilder() { return getEventOpenTrigger(); } public static final int EVENT_UPDATE_TRIGGER_FIELD_NUMBER = 11; private com.google.apps.script.type.calendar.CalendarExtensionPoint eventUpdateTrigger_; /** + * + * *
    * An endpoint to trigger when the open event is updated.
    * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; + * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; + * + * * @return Whether the eventUpdateTrigger field is set. */ @java.lang.Override @@ -556,57 +663,85 @@ public boolean hasEventUpdateTrigger() { return eventUpdateTrigger_ != null; } /** + * + * *
    * An endpoint to trigger when the open event is updated.
    * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; + * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; + * + * * @return The eventUpdateTrigger. */ @java.lang.Override public com.google.apps.script.type.calendar.CalendarExtensionPoint getEventUpdateTrigger() { - return eventUpdateTrigger_ == null ? com.google.apps.script.type.calendar.CalendarExtensionPoint.getDefaultInstance() : eventUpdateTrigger_; + return eventUpdateTrigger_ == null + ? com.google.apps.script.type.calendar.CalendarExtensionPoint.getDefaultInstance() + : eventUpdateTrigger_; } /** + * + * *
    * An endpoint to trigger when the open event is updated.
    * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; + * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; + * */ @java.lang.Override - public com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder getEventUpdateTriggerOrBuilder() { + public com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder + getEventUpdateTriggerOrBuilder() { return getEventUpdateTrigger(); } public static final int CURRENT_EVENT_ACCESS_FIELD_NUMBER = 12; private int currentEventAccess_; /** + * + * *
    * Define the level of data access when an event addon is triggered.
    * 
* - * .google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess current_event_access = 12; + * + * .google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess current_event_access = 12; + * + * * @return The enum numeric value on the wire for currentEventAccess. */ - @java.lang.Override public int getCurrentEventAccessValue() { + @java.lang.Override + public int getCurrentEventAccessValue() { return currentEventAccess_; } /** + * + * *
    * Define the level of data access when an event addon is triggered.
    * 
* - * .google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess current_event_access = 12; + * + * .google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess current_event_access = 12; + * + * * @return The currentEventAccess. */ - @java.lang.Override public com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess getCurrentEventAccess() { + @java.lang.Override + public com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess + getCurrentEventAccess() { @SuppressWarnings("deprecation") - com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess result = com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess.valueOf(currentEventAccess_); - return result == null ? com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess.UNRECOGNIZED : result; + com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess result = + com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess.valueOf( + currentEventAccess_); + return result == null + ? com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -618,8 +753,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < conferenceSolution_.size(); i++) { output.writeMessage(3, conferenceSolution_.get(i)); } @@ -635,7 +769,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (eventUpdateTrigger_ != null) { output.writeMessage(11, getEventUpdateTrigger()); } - if (currentEventAccess_ != com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess.UNSPECIFIED.getNumber()) { + if (currentEventAccess_ + != com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess.UNSPECIFIED + .getNumber()) { output.writeEnum(12, currentEventAccess_); } unknownFields.writeTo(output); @@ -648,27 +784,26 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < conferenceSolution_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, conferenceSolution_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(3, conferenceSolution_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(createSettingsUrlFunction_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, createSettingsUrlFunction_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(5, createSettingsUrlFunction_); } if (homepageTrigger_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getHomepageTrigger()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getHomepageTrigger()); } if (eventOpenTrigger_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getEventOpenTrigger()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getEventOpenTrigger()); } if (eventUpdateTrigger_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getEventUpdateTrigger()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getEventUpdateTrigger()); } - if (currentEventAccess_ != com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess.UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(12, currentEventAccess_); + if (currentEventAccess_ + != com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess.UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(12, currentEventAccess_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -678,31 +813,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.calendar.CalendarAddOnManifest)) { return super.equals(obj); } - com.google.apps.script.type.calendar.CalendarAddOnManifest other = (com.google.apps.script.type.calendar.CalendarAddOnManifest) obj; + com.google.apps.script.type.calendar.CalendarAddOnManifest other = + (com.google.apps.script.type.calendar.CalendarAddOnManifest) obj; if (hasHomepageTrigger() != other.hasHomepageTrigger()) return false; if (hasHomepageTrigger()) { - if (!getHomepageTrigger() - .equals(other.getHomepageTrigger())) return false; + if (!getHomepageTrigger().equals(other.getHomepageTrigger())) return false; } - if (!getConferenceSolutionList() - .equals(other.getConferenceSolutionList())) return false; - if (!getCreateSettingsUrlFunction() - .equals(other.getCreateSettingsUrlFunction())) return false; + if (!getConferenceSolutionList().equals(other.getConferenceSolutionList())) return false; + if (!getCreateSettingsUrlFunction().equals(other.getCreateSettingsUrlFunction())) return false; if (hasEventOpenTrigger() != other.hasEventOpenTrigger()) return false; if (hasEventOpenTrigger()) { - if (!getEventOpenTrigger() - .equals(other.getEventOpenTrigger())) return false; + if (!getEventOpenTrigger().equals(other.getEventOpenTrigger())) return false; } if (hasEventUpdateTrigger() != other.hasEventUpdateTrigger()) return false; if (hasEventUpdateTrigger()) { - if (!getEventUpdateTrigger() - .equals(other.getEventUpdateTrigger())) return false; + if (!getEventUpdateTrigger().equals(other.getEventUpdateTrigger())) return false; } if (currentEventAccess_ != other.currentEventAccess_) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -742,117 +873,127 @@ public int hashCode() { } public static com.google.apps.script.type.calendar.CalendarAddOnManifest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.calendar.CalendarAddOnManifest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.calendar.CalendarAddOnManifest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.calendar.CalendarAddOnManifest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.calendar.CalendarAddOnManifest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.calendar.CalendarAddOnManifest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.calendar.CalendarAddOnManifest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.apps.script.type.calendar.CalendarAddOnManifest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.calendar.CalendarAddOnManifest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.calendar.CalendarAddOnManifest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.apps.script.type.calendar.CalendarAddOnManifest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.apps.script.type.calendar.CalendarAddOnManifest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.apps.script.type.calendar.CalendarAddOnManifest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.calendar.CalendarAddOnManifest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.apps.script.type.calendar.CalendarAddOnManifest prototype) { + + public static Builder newBuilder( + com.google.apps.script.type.calendar.CalendarAddOnManifest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Calendar add-on manifest.
    * 
* * Protobuf type {@code google.apps.script.type.calendar.CalendarAddOnManifest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.apps.script.type.calendar.CalendarAddOnManifest) com.google.apps.script.type.calendar.CalendarAddOnManifestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.apps.script.type.calendar.CalendarAddOnManifestProto.internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.script.type.calendar.CalendarAddOnManifestProto + .internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.calendar.CalendarAddOnManifestProto.internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_fieldAccessorTable + return com.google.apps.script.type.calendar.CalendarAddOnManifestProto + .internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.calendar.CalendarAddOnManifest.class, com.google.apps.script.type.calendar.CalendarAddOnManifest.Builder.class); + com.google.apps.script.type.calendar.CalendarAddOnManifest.class, + com.google.apps.script.type.calendar.CalendarAddOnManifest.Builder.class); } // Construct using com.google.apps.script.type.calendar.CalendarAddOnManifest.newBuilder() @@ -860,17 +1001,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getConferenceSolutionFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -906,9 +1047,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.apps.script.type.calendar.CalendarAddOnManifestProto.internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.apps.script.type.calendar.CalendarAddOnManifestProto + .internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_descriptor; } @java.lang.Override @@ -927,7 +1068,8 @@ public com.google.apps.script.type.calendar.CalendarAddOnManifest build() { @java.lang.Override public com.google.apps.script.type.calendar.CalendarAddOnManifest buildPartial() { - com.google.apps.script.type.calendar.CalendarAddOnManifest result = new com.google.apps.script.type.calendar.CalendarAddOnManifest(this); + com.google.apps.script.type.calendar.CalendarAddOnManifest result = + new com.google.apps.script.type.calendar.CalendarAddOnManifest(this); int from_bitField0_ = bitField0_; if (homepageTriggerBuilder_ == null) { result.homepageTrigger_ = homepageTrigger_; @@ -963,38 +1105,39 @@ public com.google.apps.script.type.calendar.CalendarAddOnManifest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.script.type.calendar.CalendarAddOnManifest) { - return mergeFrom((com.google.apps.script.type.calendar.CalendarAddOnManifest)other); + return mergeFrom((com.google.apps.script.type.calendar.CalendarAddOnManifest) other); } else { super.mergeFrom(other); return this; @@ -1002,7 +1145,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.apps.script.type.calendar.CalendarAddOnManifest other) { - if (other == com.google.apps.script.type.calendar.CalendarAddOnManifest.getDefaultInstance()) return this; + if (other == com.google.apps.script.type.calendar.CalendarAddOnManifest.getDefaultInstance()) + return this; if (other.hasHomepageTrigger()) { mergeHomepageTrigger(other.getHomepageTrigger()); } @@ -1024,9 +1168,10 @@ public Builder mergeFrom(com.google.apps.script.type.calendar.CalendarAddOnManif conferenceSolutionBuilder_ = null; conferenceSolution_ = other.conferenceSolution_; bitField0_ = (bitField0_ & ~0x00000001); - conferenceSolutionBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getConferenceSolutionFieldBuilder() : null; + conferenceSolutionBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getConferenceSolutionFieldBuilder() + : null; } else { conferenceSolutionBuilder_.addAllMessages(other.conferenceSolution_); } @@ -1064,7 +1209,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.apps.script.type.calendar.CalendarAddOnManifest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.apps.script.type.calendar.CalendarAddOnManifest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1073,12 +1219,18 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private com.google.apps.script.type.HomepageExtensionPoint homepageTrigger_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder> homepageTriggerBuilder_; + com.google.apps.script.type.HomepageExtensionPoint, + com.google.apps.script.type.HomepageExtensionPoint.Builder, + com.google.apps.script.type.HomepageExtensionPointOrBuilder> + homepageTriggerBuilder_; /** + * + * *
      * Defines an endpoint that will be executed contexts that don't
      * match a declared contextual trigger. Any cards generated by this function
@@ -1089,12 +1241,15 @@ public Builder mergeFrom(
      * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6; + * * @return Whether the homepageTrigger field is set. */ public boolean hasHomepageTrigger() { return homepageTriggerBuilder_ != null || homepageTrigger_ != null; } /** + * + * *
      * Defines an endpoint that will be executed contexts that don't
      * match a declared contextual trigger. Any cards generated by this function
@@ -1105,16 +1260,21 @@ public boolean hasHomepageTrigger() {
      * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6; + * * @return The homepageTrigger. */ public com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger() { if (homepageTriggerBuilder_ == null) { - return homepageTrigger_ == null ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_; + return homepageTrigger_ == null + ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() + : homepageTrigger_; } else { return homepageTriggerBuilder_.getMessage(); } } /** + * + * *
      * Defines an endpoint that will be executed contexts that don't
      * match a declared contextual trigger. Any cards generated by this function
@@ -1140,6 +1300,8 @@ public Builder setHomepageTrigger(com.google.apps.script.type.HomepageExtensionP
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines an endpoint that will be executed contexts that don't
      * match a declared contextual trigger. Any cards generated by this function
@@ -1163,6 +1325,8 @@ public Builder setHomepageTrigger(
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines an endpoint that will be executed contexts that don't
      * match a declared contextual trigger. Any cards generated by this function
@@ -1178,7 +1342,9 @@ public Builder mergeHomepageTrigger(com.google.apps.script.type.HomepageExtensio
       if (homepageTriggerBuilder_ == null) {
         if (homepageTrigger_ != null) {
           homepageTrigger_ =
-            com.google.apps.script.type.HomepageExtensionPoint.newBuilder(homepageTrigger_).mergeFrom(value).buildPartial();
+              com.google.apps.script.type.HomepageExtensionPoint.newBuilder(homepageTrigger_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           homepageTrigger_ = value;
         }
@@ -1190,6 +1356,8 @@ public Builder mergeHomepageTrigger(com.google.apps.script.type.HomepageExtensio
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines an endpoint that will be executed contexts that don't
      * match a declared contextual trigger. Any cards generated by this function
@@ -1213,6 +1381,8 @@ public Builder clearHomepageTrigger() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines an endpoint that will be executed contexts that don't
      * match a declared contextual trigger. Any cards generated by this function
@@ -1225,11 +1395,13 @@ public Builder clearHomepageTrigger() {
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6;
      */
     public com.google.apps.script.type.HomepageExtensionPoint.Builder getHomepageTriggerBuilder() {
-      
+
       onChanged();
       return getHomepageTriggerFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Defines an endpoint that will be executed contexts that don't
      * match a declared contextual trigger. Any cards generated by this function
@@ -1241,15 +1413,19 @@ public com.google.apps.script.type.HomepageExtensionPoint.Builder getHomepageTri
      *
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6;
      */
-    public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder() {
+    public com.google.apps.script.type.HomepageExtensionPointOrBuilder
+        getHomepageTriggerOrBuilder() {
       if (homepageTriggerBuilder_ != null) {
         return homepageTriggerBuilder_.getMessageOrBuilder();
       } else {
-        return homepageTrigger_ == null ?
-            com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_;
+        return homepageTrigger_ == null
+            ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance()
+            : homepageTrigger_;
       }
     }
     /**
+     *
+     *
      * 
      * Defines an endpoint that will be executed contexts that don't
      * match a declared contextual trigger. Any cards generated by this function
@@ -1262,39 +1438,52 @@ public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTr
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder> 
+            com.google.apps.script.type.HomepageExtensionPoint,
+            com.google.apps.script.type.HomepageExtensionPoint.Builder,
+            com.google.apps.script.type.HomepageExtensionPointOrBuilder>
         getHomepageTriggerFieldBuilder() {
       if (homepageTriggerBuilder_ == null) {
-        homepageTriggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder>(
-                getHomepageTrigger(),
-                getParentForChildren(),
-                isClean());
+        homepageTriggerBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.apps.script.type.HomepageExtensionPoint,
+                com.google.apps.script.type.HomepageExtensionPoint.Builder,
+                com.google.apps.script.type.HomepageExtensionPointOrBuilder>(
+                getHomepageTrigger(), getParentForChildren(), isClean());
         homepageTrigger_ = null;
       }
       return homepageTriggerBuilder_;
     }
 
-    private java.util.List conferenceSolution_ =
-      java.util.Collections.emptyList();
+    private java.util.List
+        conferenceSolution_ = java.util.Collections.emptyList();
+
     private void ensureConferenceSolutionIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        conferenceSolution_ = new java.util.ArrayList(conferenceSolution_);
+        conferenceSolution_ =
+            new java.util.ArrayList(
+                conferenceSolution_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.apps.script.type.calendar.ConferenceSolution, com.google.apps.script.type.calendar.ConferenceSolution.Builder, com.google.apps.script.type.calendar.ConferenceSolutionOrBuilder> conferenceSolutionBuilder_;
+            com.google.apps.script.type.calendar.ConferenceSolution,
+            com.google.apps.script.type.calendar.ConferenceSolution.Builder,
+            com.google.apps.script.type.calendar.ConferenceSolutionOrBuilder>
+        conferenceSolutionBuilder_;
 
     /**
+     *
+     *
      * 
      * Defines conference solutions provided by this add-on.
      * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * */ - public java.util.List getConferenceSolutionList() { + public java.util.List + getConferenceSolutionList() { if (conferenceSolutionBuilder_ == null) { return java.util.Collections.unmodifiableList(conferenceSolution_); } else { @@ -1302,11 +1491,14 @@ public java.util.List g } } /** + * + * *
      * Defines conference solutions provided by this add-on.
      * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * */ public int getConferenceSolutionCount() { if (conferenceSolutionBuilder_ == null) { @@ -1316,13 +1508,17 @@ public int getConferenceSolutionCount() { } } /** + * + * *
      * Defines conference solutions provided by this add-on.
      * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * */ - public com.google.apps.script.type.calendar.ConferenceSolution getConferenceSolution(int index) { + public com.google.apps.script.type.calendar.ConferenceSolution getConferenceSolution( + int index) { if (conferenceSolutionBuilder_ == null) { return conferenceSolution_.get(index); } else { @@ -1330,11 +1526,14 @@ public com.google.apps.script.type.calendar.ConferenceSolution getConferenceSolu } } /** + * + * *
      * Defines conference solutions provided by this add-on.
      * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * */ public Builder setConferenceSolution( int index, com.google.apps.script.type.calendar.ConferenceSolution value) { @@ -1351,14 +1550,18 @@ public Builder setConferenceSolution( return this; } /** + * + * *
      * Defines conference solutions provided by this add-on.
      * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * */ public Builder setConferenceSolution( - int index, com.google.apps.script.type.calendar.ConferenceSolution.Builder builderForValue) { + int index, + com.google.apps.script.type.calendar.ConferenceSolution.Builder builderForValue) { if (conferenceSolutionBuilder_ == null) { ensureConferenceSolutionIsMutable(); conferenceSolution_.set(index, builderForValue.build()); @@ -1369,13 +1572,17 @@ public Builder setConferenceSolution( return this; } /** + * + * *
      * Defines conference solutions provided by this add-on.
      * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * */ - public Builder addConferenceSolution(com.google.apps.script.type.calendar.ConferenceSolution value) { + public Builder addConferenceSolution( + com.google.apps.script.type.calendar.ConferenceSolution value) { if (conferenceSolutionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1389,11 +1596,14 @@ public Builder addConferenceSolution(com.google.apps.script.type.calendar.Confer return this; } /** + * + * *
      * Defines conference solutions provided by this add-on.
      * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * */ public Builder addConferenceSolution( int index, com.google.apps.script.type.calendar.ConferenceSolution value) { @@ -1410,11 +1620,14 @@ public Builder addConferenceSolution( return this; } /** + * + * *
      * Defines conference solutions provided by this add-on.
      * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * */ public Builder addConferenceSolution( com.google.apps.script.type.calendar.ConferenceSolution.Builder builderForValue) { @@ -1428,14 +1641,18 @@ public Builder addConferenceSolution( return this; } /** + * + * *
      * Defines conference solutions provided by this add-on.
      * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * */ public Builder addConferenceSolution( - int index, com.google.apps.script.type.calendar.ConferenceSolution.Builder builderForValue) { + int index, + com.google.apps.script.type.calendar.ConferenceSolution.Builder builderForValue) { if (conferenceSolutionBuilder_ == null) { ensureConferenceSolutionIsMutable(); conferenceSolution_.add(index, builderForValue.build()); @@ -1446,18 +1663,21 @@ public Builder addConferenceSolution( return this; } /** + * + * *
      * Defines conference solutions provided by this add-on.
      * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * */ public Builder addAllConferenceSolution( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (conferenceSolutionBuilder_ == null) { ensureConferenceSolutionIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, conferenceSolution_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, conferenceSolution_); onChanged(); } else { conferenceSolutionBuilder_.addAllMessages(values); @@ -1465,11 +1685,14 @@ public Builder addAllConferenceSolution( return this; } /** + * + * *
      * Defines conference solutions provided by this add-on.
      * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * */ public Builder clearConferenceSolution() { if (conferenceSolutionBuilder_ == null) { @@ -1482,11 +1705,14 @@ public Builder clearConferenceSolution() { return this; } /** + * + * *
      * Defines conference solutions provided by this add-on.
      * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * */ public Builder removeConferenceSolution(int index) { if (conferenceSolutionBuilder_ == null) { @@ -1499,39 +1725,50 @@ public Builder removeConferenceSolution(int index) { return this; } /** + * + * *
      * Defines conference solutions provided by this add-on.
      * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * */ - public com.google.apps.script.type.calendar.ConferenceSolution.Builder getConferenceSolutionBuilder( - int index) { + public com.google.apps.script.type.calendar.ConferenceSolution.Builder + getConferenceSolutionBuilder(int index) { return getConferenceSolutionFieldBuilder().getBuilder(index); } /** + * + * *
      * Defines conference solutions provided by this add-on.
      * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * */ - public com.google.apps.script.type.calendar.ConferenceSolutionOrBuilder getConferenceSolutionOrBuilder( - int index) { + public com.google.apps.script.type.calendar.ConferenceSolutionOrBuilder + getConferenceSolutionOrBuilder(int index) { if (conferenceSolutionBuilder_ == null) { - return conferenceSolution_.get(index); } else { + return conferenceSolution_.get(index); + } else { return conferenceSolutionBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Defines conference solutions provided by this add-on.
      * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * */ - public java.util.List - getConferenceSolutionOrBuilderList() { + public java.util.List< + ? extends com.google.apps.script.type.calendar.ConferenceSolutionOrBuilder> + getConferenceSolutionOrBuilderList() { if (conferenceSolutionBuilder_ != null) { return conferenceSolutionBuilder_.getMessageOrBuilderList(); } else { @@ -1539,45 +1776,62 @@ public com.google.apps.script.type.calendar.ConferenceSolutionOrBuilder getConfe } } /** + * + * *
      * Defines conference solutions provided by this add-on.
      * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * */ - public com.google.apps.script.type.calendar.ConferenceSolution.Builder addConferenceSolutionBuilder() { - return getConferenceSolutionFieldBuilder().addBuilder( - com.google.apps.script.type.calendar.ConferenceSolution.getDefaultInstance()); + public com.google.apps.script.type.calendar.ConferenceSolution.Builder + addConferenceSolutionBuilder() { + return getConferenceSolutionFieldBuilder() + .addBuilder(com.google.apps.script.type.calendar.ConferenceSolution.getDefaultInstance()); } /** + * + * *
      * Defines conference solutions provided by this add-on.
      * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * */ - public com.google.apps.script.type.calendar.ConferenceSolution.Builder addConferenceSolutionBuilder( - int index) { - return getConferenceSolutionFieldBuilder().addBuilder( - index, com.google.apps.script.type.calendar.ConferenceSolution.getDefaultInstance()); + public com.google.apps.script.type.calendar.ConferenceSolution.Builder + addConferenceSolutionBuilder(int index) { + return getConferenceSolutionFieldBuilder() + .addBuilder( + index, com.google.apps.script.type.calendar.ConferenceSolution.getDefaultInstance()); } /** + * + * *
      * Defines conference solutions provided by this add-on.
      * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * */ - public java.util.List - getConferenceSolutionBuilderList() { + public java.util.List + getConferenceSolutionBuilderList() { return getConferenceSolutionFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.apps.script.type.calendar.ConferenceSolution, com.google.apps.script.type.calendar.ConferenceSolution.Builder, com.google.apps.script.type.calendar.ConferenceSolutionOrBuilder> + com.google.apps.script.type.calendar.ConferenceSolution, + com.google.apps.script.type.calendar.ConferenceSolution.Builder, + com.google.apps.script.type.calendar.ConferenceSolutionOrBuilder> getConferenceSolutionFieldBuilder() { if (conferenceSolutionBuilder_ == null) { - conferenceSolutionBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.apps.script.type.calendar.ConferenceSolution, com.google.apps.script.type.calendar.ConferenceSolution.Builder, com.google.apps.script.type.calendar.ConferenceSolutionOrBuilder>( + conferenceSolutionBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.apps.script.type.calendar.ConferenceSolution, + com.google.apps.script.type.calendar.ConferenceSolution.Builder, + com.google.apps.script.type.calendar.ConferenceSolutionOrBuilder>( conferenceSolution_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1589,18 +1843,20 @@ public com.google.apps.script.type.calendar.ConferenceSolution.Builder addConfer private java.lang.Object createSettingsUrlFunction_ = ""; /** + * + * *
      * An endpoint to execute that creates a URL to the add-on's settings page.
      * 
* * string create_settings_url_function = 5; + * * @return The createSettingsUrlFunction. */ public java.lang.String getCreateSettingsUrlFunction() { java.lang.Object ref = createSettingsUrlFunction_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); createSettingsUrlFunction_ = s; return s; @@ -1609,20 +1865,21 @@ public java.lang.String getCreateSettingsUrlFunction() { } } /** + * + * *
      * An endpoint to execute that creates a URL to the add-on's settings page.
      * 
* * string create_settings_url_function = 5; + * * @return The bytes for createSettingsUrlFunction. */ - public com.google.protobuf.ByteString - getCreateSettingsUrlFunctionBytes() { + public com.google.protobuf.ByteString getCreateSettingsUrlFunctionBytes() { java.lang.Object ref = createSettingsUrlFunction_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); createSettingsUrlFunction_ = b; return b; } else { @@ -1630,54 +1887,61 @@ public java.lang.String getCreateSettingsUrlFunction() { } } /** + * + * *
      * An endpoint to execute that creates a URL to the add-on's settings page.
      * 
* * string create_settings_url_function = 5; + * * @param value The createSettingsUrlFunction to set. * @return This builder for chaining. */ - public Builder setCreateSettingsUrlFunction( - java.lang.String value) { + public Builder setCreateSettingsUrlFunction(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + createSettingsUrlFunction_ = value; onChanged(); return this; } /** + * + * *
      * An endpoint to execute that creates a URL to the add-on's settings page.
      * 
* * string create_settings_url_function = 5; + * * @return This builder for chaining. */ public Builder clearCreateSettingsUrlFunction() { - + createSettingsUrlFunction_ = getDefaultInstance().getCreateSettingsUrlFunction(); onChanged(); return this; } /** + * + * *
      * An endpoint to execute that creates a URL to the add-on's settings page.
      * 
* * string create_settings_url_function = 5; + * * @param value The bytes for createSettingsUrlFunction to set. * @return This builder for chaining. */ - public Builder setCreateSettingsUrlFunctionBytes( - com.google.protobuf.ByteString value) { + public Builder setCreateSettingsUrlFunctionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + createSettingsUrlFunction_ = value; onChanged(); return this; @@ -1685,41 +1949,58 @@ public Builder setCreateSettingsUrlFunctionBytes( private com.google.apps.script.type.calendar.CalendarExtensionPoint eventOpenTrigger_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.calendar.CalendarExtensionPoint, com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder, com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder> eventOpenTriggerBuilder_; + com.google.apps.script.type.calendar.CalendarExtensionPoint, + com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder, + com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder> + eventOpenTriggerBuilder_; /** + * + * *
      * An endpoint to trigger when an event is opened (viewed/edited).
      * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; + * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; + * + * * @return Whether the eventOpenTrigger field is set. */ public boolean hasEventOpenTrigger() { return eventOpenTriggerBuilder_ != null || eventOpenTrigger_ != null; } /** + * + * *
      * An endpoint to trigger when an event is opened (viewed/edited).
      * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; + * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; + * + * * @return The eventOpenTrigger. */ public com.google.apps.script.type.calendar.CalendarExtensionPoint getEventOpenTrigger() { if (eventOpenTriggerBuilder_ == null) { - return eventOpenTrigger_ == null ? com.google.apps.script.type.calendar.CalendarExtensionPoint.getDefaultInstance() : eventOpenTrigger_; + return eventOpenTrigger_ == null + ? com.google.apps.script.type.calendar.CalendarExtensionPoint.getDefaultInstance() + : eventOpenTrigger_; } else { return eventOpenTriggerBuilder_.getMessage(); } } /** + * + * *
      * An endpoint to trigger when an event is opened (viewed/edited).
      * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; + * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; + * */ - public Builder setEventOpenTrigger(com.google.apps.script.type.calendar.CalendarExtensionPoint value) { + public Builder setEventOpenTrigger( + com.google.apps.script.type.calendar.CalendarExtensionPoint value) { if (eventOpenTriggerBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1733,11 +2014,14 @@ public Builder setEventOpenTrigger(com.google.apps.script.type.calendar.Calendar return this; } /** + * + * *
      * An endpoint to trigger when an event is opened (viewed/edited).
      * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; + * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; + * */ public Builder setEventOpenTrigger( com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder builderForValue) { @@ -1751,17 +2035,24 @@ public Builder setEventOpenTrigger( return this; } /** + * + * *
      * An endpoint to trigger when an event is opened (viewed/edited).
      * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; + * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; + * */ - public Builder mergeEventOpenTrigger(com.google.apps.script.type.calendar.CalendarExtensionPoint value) { + public Builder mergeEventOpenTrigger( + com.google.apps.script.type.calendar.CalendarExtensionPoint value) { if (eventOpenTriggerBuilder_ == null) { if (eventOpenTrigger_ != null) { eventOpenTrigger_ = - com.google.apps.script.type.calendar.CalendarExtensionPoint.newBuilder(eventOpenTrigger_).mergeFrom(value).buildPartial(); + com.google.apps.script.type.calendar.CalendarExtensionPoint.newBuilder( + eventOpenTrigger_) + .mergeFrom(value) + .buildPartial(); } else { eventOpenTrigger_ = value; } @@ -1773,11 +2064,14 @@ public Builder mergeEventOpenTrigger(com.google.apps.script.type.calendar.Calend return this; } /** + * + * *
      * An endpoint to trigger when an event is opened (viewed/edited).
      * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; + * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; + * */ public Builder clearEventOpenTrigger() { if (eventOpenTriggerBuilder_ == null) { @@ -1791,48 +2085,63 @@ public Builder clearEventOpenTrigger() { return this; } /** + * + * *
      * An endpoint to trigger when an event is opened (viewed/edited).
      * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; + * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; + * */ - public com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder getEventOpenTriggerBuilder() { - + public com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder + getEventOpenTriggerBuilder() { + onChanged(); return getEventOpenTriggerFieldBuilder().getBuilder(); } /** + * + * *
      * An endpoint to trigger when an event is opened (viewed/edited).
      * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; + * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; + * */ - public com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder getEventOpenTriggerOrBuilder() { + public com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder + getEventOpenTriggerOrBuilder() { if (eventOpenTriggerBuilder_ != null) { return eventOpenTriggerBuilder_.getMessageOrBuilder(); } else { - return eventOpenTrigger_ == null ? - com.google.apps.script.type.calendar.CalendarExtensionPoint.getDefaultInstance() : eventOpenTrigger_; + return eventOpenTrigger_ == null + ? com.google.apps.script.type.calendar.CalendarExtensionPoint.getDefaultInstance() + : eventOpenTrigger_; } } /** + * + * *
      * An endpoint to trigger when an event is opened (viewed/edited).
      * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; + * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.calendar.CalendarExtensionPoint, com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder, com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder> + com.google.apps.script.type.calendar.CalendarExtensionPoint, + com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder, + com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder> getEventOpenTriggerFieldBuilder() { if (eventOpenTriggerBuilder_ == null) { - eventOpenTriggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.calendar.CalendarExtensionPoint, com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder, com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder>( - getEventOpenTrigger(), - getParentForChildren(), - isClean()); + eventOpenTriggerBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.apps.script.type.calendar.CalendarExtensionPoint, + com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder, + com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder>( + getEventOpenTrigger(), getParentForChildren(), isClean()); eventOpenTrigger_ = null; } return eventOpenTriggerBuilder_; @@ -1840,41 +2149,58 @@ public com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder getE private com.google.apps.script.type.calendar.CalendarExtensionPoint eventUpdateTrigger_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.calendar.CalendarExtensionPoint, com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder, com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder> eventUpdateTriggerBuilder_; + com.google.apps.script.type.calendar.CalendarExtensionPoint, + com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder, + com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder> + eventUpdateTriggerBuilder_; /** + * + * *
      * An endpoint to trigger when the open event is updated.
      * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; + * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; + * + * * @return Whether the eventUpdateTrigger field is set. */ public boolean hasEventUpdateTrigger() { return eventUpdateTriggerBuilder_ != null || eventUpdateTrigger_ != null; } /** + * + * *
      * An endpoint to trigger when the open event is updated.
      * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; + * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; + * + * * @return The eventUpdateTrigger. */ public com.google.apps.script.type.calendar.CalendarExtensionPoint getEventUpdateTrigger() { if (eventUpdateTriggerBuilder_ == null) { - return eventUpdateTrigger_ == null ? com.google.apps.script.type.calendar.CalendarExtensionPoint.getDefaultInstance() : eventUpdateTrigger_; + return eventUpdateTrigger_ == null + ? com.google.apps.script.type.calendar.CalendarExtensionPoint.getDefaultInstance() + : eventUpdateTrigger_; } else { return eventUpdateTriggerBuilder_.getMessage(); } } /** + * + * *
      * An endpoint to trigger when the open event is updated.
      * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; + * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; + * */ - public Builder setEventUpdateTrigger(com.google.apps.script.type.calendar.CalendarExtensionPoint value) { + public Builder setEventUpdateTrigger( + com.google.apps.script.type.calendar.CalendarExtensionPoint value) { if (eventUpdateTriggerBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1888,11 +2214,14 @@ public Builder setEventUpdateTrigger(com.google.apps.script.type.calendar.Calend return this; } /** + * + * *
      * An endpoint to trigger when the open event is updated.
      * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; + * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; + * */ public Builder setEventUpdateTrigger( com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder builderForValue) { @@ -1906,17 +2235,24 @@ public Builder setEventUpdateTrigger( return this; } /** + * + * *
      * An endpoint to trigger when the open event is updated.
      * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; + * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; + * */ - public Builder mergeEventUpdateTrigger(com.google.apps.script.type.calendar.CalendarExtensionPoint value) { + public Builder mergeEventUpdateTrigger( + com.google.apps.script.type.calendar.CalendarExtensionPoint value) { if (eventUpdateTriggerBuilder_ == null) { if (eventUpdateTrigger_ != null) { eventUpdateTrigger_ = - com.google.apps.script.type.calendar.CalendarExtensionPoint.newBuilder(eventUpdateTrigger_).mergeFrom(value).buildPartial(); + com.google.apps.script.type.calendar.CalendarExtensionPoint.newBuilder( + eventUpdateTrigger_) + .mergeFrom(value) + .buildPartial(); } else { eventUpdateTrigger_ = value; } @@ -1928,11 +2264,14 @@ public Builder mergeEventUpdateTrigger(com.google.apps.script.type.calendar.Cale return this; } /** + * + * *
      * An endpoint to trigger when the open event is updated.
      * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; + * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; + * */ public Builder clearEventUpdateTrigger() { if (eventUpdateTriggerBuilder_ == null) { @@ -1946,48 +2285,63 @@ public Builder clearEventUpdateTrigger() { return this; } /** + * + * *
      * An endpoint to trigger when the open event is updated.
      * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; + * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; + * */ - public com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder getEventUpdateTriggerBuilder() { - + public com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder + getEventUpdateTriggerBuilder() { + onChanged(); return getEventUpdateTriggerFieldBuilder().getBuilder(); } /** + * + * *
      * An endpoint to trigger when the open event is updated.
      * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; + * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; + * */ - public com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder getEventUpdateTriggerOrBuilder() { + public com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder + getEventUpdateTriggerOrBuilder() { if (eventUpdateTriggerBuilder_ != null) { return eventUpdateTriggerBuilder_.getMessageOrBuilder(); } else { - return eventUpdateTrigger_ == null ? - com.google.apps.script.type.calendar.CalendarExtensionPoint.getDefaultInstance() : eventUpdateTrigger_; + return eventUpdateTrigger_ == null + ? com.google.apps.script.type.calendar.CalendarExtensionPoint.getDefaultInstance() + : eventUpdateTrigger_; } } /** + * + * *
      * An endpoint to trigger when the open event is updated.
      * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; + * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.calendar.CalendarExtensionPoint, com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder, com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder> + com.google.apps.script.type.calendar.CalendarExtensionPoint, + com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder, + com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder> getEventUpdateTriggerFieldBuilder() { if (eventUpdateTriggerBuilder_ == null) { - eventUpdateTriggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.calendar.CalendarExtensionPoint, com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder, com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder>( - getEventUpdateTrigger(), - getParentForChildren(), - isClean()); + eventUpdateTriggerBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.apps.script.type.calendar.CalendarExtensionPoint, + com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder, + com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder>( + getEventUpdateTrigger(), getParentForChildren(), isClean()); eventUpdateTrigger_ = null; } return eventUpdateTriggerBuilder_; @@ -1995,80 +2349,112 @@ public com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder getE private int currentEventAccess_ = 0; /** + * + * *
      * Define the level of data access when an event addon is triggered.
      * 
* - * .google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess current_event_access = 12; + * + * .google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess current_event_access = 12; + * + * * @return The enum numeric value on the wire for currentEventAccess. */ - @java.lang.Override public int getCurrentEventAccessValue() { + @java.lang.Override + public int getCurrentEventAccessValue() { return currentEventAccess_; } /** + * + * *
      * Define the level of data access when an event addon is triggered.
      * 
* - * .google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess current_event_access = 12; + * + * .google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess current_event_access = 12; + * + * * @param value The enum numeric value on the wire for currentEventAccess to set. * @return This builder for chaining. */ public Builder setCurrentEventAccessValue(int value) { - + currentEventAccess_ = value; onChanged(); return this; } /** + * + * *
      * Define the level of data access when an event addon is triggered.
      * 
* - * .google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess current_event_access = 12; + * + * .google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess current_event_access = 12; + * + * * @return The currentEventAccess. */ @java.lang.Override - public com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess getCurrentEventAccess() { + public com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess + getCurrentEventAccess() { @SuppressWarnings("deprecation") - com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess result = com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess.valueOf(currentEventAccess_); - return result == null ? com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess.UNRECOGNIZED : result; + com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess result = + com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess.valueOf( + currentEventAccess_); + return result == null + ? com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess.UNRECOGNIZED + : result; } /** + * + * *
      * Define the level of data access when an event addon is triggered.
      * 
* - * .google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess current_event_access = 12; + * + * .google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess current_event_access = 12; + * + * * @param value The currentEventAccess to set. * @return This builder for chaining. */ - public Builder setCurrentEventAccess(com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess value) { + public Builder setCurrentEventAccess( + com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess value) { if (value == null) { throw new NullPointerException(); } - + currentEventAccess_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Define the level of data access when an event addon is triggered.
      * 
* - * .google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess current_event_access = 12; + * + * .google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess current_event_access = 12; + * + * * @return This builder for chaining. */ public Builder clearCurrentEventAccess() { - + currentEventAccess_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2078,12 +2464,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.apps.script.type.calendar.CalendarAddOnManifest) } // @@protoc_insertion_point(class_scope:google.apps.script.type.calendar.CalendarAddOnManifest) private static final com.google.apps.script.type.calendar.CalendarAddOnManifest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.apps.script.type.calendar.CalendarAddOnManifest(); } @@ -2092,16 +2478,16 @@ public static com.google.apps.script.type.calendar.CalendarAddOnManifest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CalendarAddOnManifest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CalendarAddOnManifest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CalendarAddOnManifest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CalendarAddOnManifest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2116,6 +2502,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.calendar.CalendarAddOnManifest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifestOrBuilder.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifestOrBuilder.java similarity index 78% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifestOrBuilder.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifestOrBuilder.java index ed47959d..d8d07fe3 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifestOrBuilder.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/calendar/calendar_addon_manifest.proto package com.google.apps.script.type.calendar; -public interface CalendarAddOnManifestOrBuilder extends +public interface CalendarAddOnManifestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.calendar.CalendarAddOnManifest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Defines an endpoint that will be executed contexts that don't
    * match a declared contextual trigger. Any cards generated by this function
@@ -18,10 +36,13 @@ public interface CalendarAddOnManifestOrBuilder extends
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6; + * * @return Whether the homepageTrigger field is set. */ boolean hasHomepageTrigger(); /** + * + * *
    * Defines an endpoint that will be executed contexts that don't
    * match a declared contextual trigger. Any cards generated by this function
@@ -32,10 +53,13 @@ public interface CalendarAddOnManifestOrBuilder extends
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 6; + * * @return The homepageTrigger. */ com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger(); /** + * + * *
    * Defines an endpoint that will be executed contexts that don't
    * match a declared contextual trigger. Any cards generated by this function
@@ -50,138 +74,189 @@ public interface CalendarAddOnManifestOrBuilder extends
   com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder();
 
   /**
+   *
+   *
    * 
    * Defines conference solutions provided by this add-on.
    * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * */ - java.util.List + java.util.List getConferenceSolutionList(); /** + * + * *
    * Defines conference solutions provided by this add-on.
    * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * */ com.google.apps.script.type.calendar.ConferenceSolution getConferenceSolution(int index); /** + * + * *
    * Defines conference solutions provided by this add-on.
    * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * */ int getConferenceSolutionCount(); /** + * + * *
    * Defines conference solutions provided by this add-on.
    * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * */ - java.util.List + java.util.List getConferenceSolutionOrBuilderList(); /** + * + * *
    * Defines conference solutions provided by this add-on.
    * 
* - * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * repeated .google.apps.script.type.calendar.ConferenceSolution conference_solution = 3; + * */ com.google.apps.script.type.calendar.ConferenceSolutionOrBuilder getConferenceSolutionOrBuilder( int index); /** + * + * *
    * An endpoint to execute that creates a URL to the add-on's settings page.
    * 
* * string create_settings_url_function = 5; + * * @return The createSettingsUrlFunction. */ java.lang.String getCreateSettingsUrlFunction(); /** + * + * *
    * An endpoint to execute that creates a URL to the add-on's settings page.
    * 
* * string create_settings_url_function = 5; + * * @return The bytes for createSettingsUrlFunction. */ - com.google.protobuf.ByteString - getCreateSettingsUrlFunctionBytes(); + com.google.protobuf.ByteString getCreateSettingsUrlFunctionBytes(); /** + * + * *
    * An endpoint to trigger when an event is opened (viewed/edited).
    * 
* * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; + * * @return Whether the eventOpenTrigger field is set. */ boolean hasEventOpenTrigger(); /** + * + * *
    * An endpoint to trigger when an event is opened (viewed/edited).
    * 
* * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; + * * @return The eventOpenTrigger. */ com.google.apps.script.type.calendar.CalendarExtensionPoint getEventOpenTrigger(); /** + * + * *
    * An endpoint to trigger when an event is opened (viewed/edited).
    * 
* * .google.apps.script.type.calendar.CalendarExtensionPoint event_open_trigger = 10; */ - com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder getEventOpenTriggerOrBuilder(); + com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder + getEventOpenTriggerOrBuilder(); /** + * + * *
    * An endpoint to trigger when the open event is updated.
    * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; + * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; + * + * * @return Whether the eventUpdateTrigger field is set. */ boolean hasEventUpdateTrigger(); /** + * + * *
    * An endpoint to trigger when the open event is updated.
    * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; + * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; + * + * * @return The eventUpdateTrigger. */ com.google.apps.script.type.calendar.CalendarExtensionPoint getEventUpdateTrigger(); /** + * + * *
    * An endpoint to trigger when the open event is updated.
    * 
* - * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; + * .google.apps.script.type.calendar.CalendarExtensionPoint event_update_trigger = 11; + * */ - com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder getEventUpdateTriggerOrBuilder(); + com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder + getEventUpdateTriggerOrBuilder(); /** + * + * *
    * Define the level of data access when an event addon is triggered.
    * 
* - * .google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess current_event_access = 12; + * + * .google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess current_event_access = 12; + * + * * @return The enum numeric value on the wire for currentEventAccess. */ int getCurrentEventAccessValue(); /** + * + * *
    * Define the level of data access when an event addon is triggered.
    * 
* - * .google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess current_event_access = 12; + * + * .google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess current_event_access = 12; + * + * * @return The currentEventAccess. */ com.google.apps.script.type.calendar.CalendarAddOnManifest.EventAccess getCurrentEventAccess(); diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifestProto.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifestProto.java new file mode 100644 index 00000000..51a2d2c6 --- /dev/null +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarAddOnManifestProto.java @@ -0,0 +1,128 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/apps/script/type/calendar/calendar_addon_manifest.proto + +package com.google.apps.script.type.calendar; + +public final class CalendarAddOnManifestProto { + private CalendarAddOnManifestProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_apps_script_type_calendar_ConferenceSolution_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_apps_script_type_calendar_ConferenceSolution_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n>google/apps/script/type/calendar/calen" + + "dar_addon_manifest.proto\022 google.apps.sc" + + "ript.type.calendar\032\037google/api/field_beh" + + "avior.proto\032-google/apps/script/type/ext" + + "ension_point.proto\"\277\004\n\025CalendarAddOnMani" + + "fest\022I\n\020homepage_trigger\030\006 \001(\0132/.google." + + "apps.script.type.HomepageExtensionPoint\022" + + "Q\n\023conference_solution\030\003 \003(\01324.google.ap" + + "ps.script.type.calendar.ConferenceSoluti" + + "on\022$\n\034create_settings_url_function\030\005 \001(\t" + + "\022T\n\022event_open_trigger\030\n \001(\01328.google.ap" + + "ps.script.type.calendar.CalendarExtensio" + + "nPoint\022V\n\024event_update_trigger\030\013 \001(\01328.g" + + "oogle.apps.script.type.calendar.Calendar" + + "ExtensionPoint\022a\n\024current_event_access\030\014" + + " \001(\0162C.google.apps.script.type.calendar." + + "CalendarAddOnManifest.EventAccess\"Q\n\013Eve" + + "ntAccess\022\017\n\013UNSPECIFIED\020\000\022\014\n\010METADATA\020\001\022" + + "\010\n\004READ\020\003\022\t\n\005WRITE\020\004\022\016\n\nREAD_WRITE\020\005\"p\n\022" + + "ConferenceSolution\022\037\n\022on_create_function" + + "\030\001 \001(\tB\003\340A\002\022\017\n\002id\030\004 \001(\tB\003\340A\002\022\021\n\004name\030\005 \001" + + "(\tB\003\340A\002\022\025\n\010logo_url\030\006 \001(\tB\003\340A\002\"3\n\026Calend" + + "arExtensionPoint\022\031\n\014run_function\030\001 \001(\tB\003" + + "\340A\002B\362\001\n$com.google.apps.script.type.cale" + + "ndarB\032CalendarAddOnManifestProtoP\001Z?goog" + + "le.golang.org/genproto/googleapis/apps/s" + + "cript/type/calendar\252\002 Google.Apps.Script" + + ".Type.Calendar\312\002 Google\\Apps\\Script\\Type" + + "\\Calendar\352\002$Google::Apps::Script::Type::" + + "Calendarb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.apps.script.type.ExtensionPoint.getDescriptor(), + }); + internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_apps_script_type_calendar_CalendarAddOnManifest_descriptor, + new java.lang.String[] { + "HomepageTrigger", + "ConferenceSolution", + "CreateSettingsUrlFunction", + "EventOpenTrigger", + "EventUpdateTrigger", + "CurrentEventAccess", + }); + internal_static_google_apps_script_type_calendar_ConferenceSolution_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_apps_script_type_calendar_ConferenceSolution_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_apps_script_type_calendar_ConferenceSolution_descriptor, + new java.lang.String[] { + "OnCreateFunction", "Id", "Name", "LogoUrl", + }); + internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_descriptor, + new java.lang.String[] { + "RunFunction", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.apps.script.type.ExtensionPoint.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarExtensionPoint.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarExtensionPoint.java similarity index 70% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarExtensionPoint.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarExtensionPoint.java index 3607e647..3683bcda 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarExtensionPoint.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarExtensionPoint.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/calendar/calendar_addon_manifest.proto package com.google.apps.script.type.calendar; /** + * + * *
  * Common format for declaring a calendar add-on's triggers.
  * 
* * Protobuf type {@code google.apps.script.type.calendar.CalendarExtensionPoint} */ -public final class CalendarExtensionPoint extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CalendarExtensionPoint extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.apps.script.type.calendar.CalendarExtensionPoint) CalendarExtensionPointOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CalendarExtensionPoint.newBuilder() to construct. private CalendarExtensionPoint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CalendarExtensionPoint() { runFunction_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CalendarExtensionPoint(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CalendarExtensionPoint( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private CalendarExtensionPoint( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - runFunction_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + runFunction_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,40 @@ private CalendarExtensionPoint( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.apps.script.type.calendar.CalendarAddOnManifestProto.internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.script.type.calendar.CalendarAddOnManifestProto + .internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.calendar.CalendarAddOnManifestProto.internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_fieldAccessorTable + return com.google.apps.script.type.calendar.CalendarAddOnManifestProto + .internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.calendar.CalendarExtensionPoint.class, com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder.class); + com.google.apps.script.type.calendar.CalendarExtensionPoint.class, + com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder.class); } public static final int RUN_FUNCTION_FIELD_NUMBER = 1; private volatile java.lang.Object runFunction_; /** + * + * *
    * Required. The endpoint to execute when this extension point is
    * activated.
    * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The runFunction. */ @java.lang.Override @@ -110,30 +133,30 @@ public java.lang.String getRunFunction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); runFunction_ = s; return s; } } /** + * + * *
    * Required. The endpoint to execute when this extension point is
    * activated.
    * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for runFunction. */ @java.lang.Override - public com.google.protobuf.ByteString - getRunFunctionBytes() { + public com.google.protobuf.ByteString getRunFunctionBytes() { java.lang.Object ref = runFunction_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); runFunction_ = b; return b; } else { @@ -142,6 +165,7 @@ public java.lang.String getRunFunction() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +177,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(runFunction_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, runFunction_); } @@ -178,15 +201,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.calendar.CalendarExtensionPoint)) { return super.equals(obj); } - com.google.apps.script.type.calendar.CalendarExtensionPoint other = (com.google.apps.script.type.calendar.CalendarExtensionPoint) obj; + com.google.apps.script.type.calendar.CalendarExtensionPoint other = + (com.google.apps.script.type.calendar.CalendarExtensionPoint) obj; - if (!getRunFunction() - .equals(other.getRunFunction())) return false; + if (!getRunFunction().equals(other.getRunFunction())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +229,127 @@ public int hashCode() { } public static com.google.apps.script.type.calendar.CalendarExtensionPoint parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.calendar.CalendarExtensionPoint parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.calendar.CalendarExtensionPoint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.calendar.CalendarExtensionPoint parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.calendar.CalendarExtensionPoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.calendar.CalendarExtensionPoint parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.calendar.CalendarExtensionPoint parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.apps.script.type.calendar.CalendarExtensionPoint parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.calendar.CalendarExtensionPoint parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.calendar.CalendarExtensionPoint parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.apps.script.type.calendar.CalendarExtensionPoint parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.apps.script.type.calendar.CalendarExtensionPoint parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.apps.script.type.calendar.CalendarExtensionPoint parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.calendar.CalendarExtensionPoint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.apps.script.type.calendar.CalendarExtensionPoint prototype) { + + public static Builder newBuilder( + com.google.apps.script.type.calendar.CalendarExtensionPoint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Common format for declaring a calendar add-on's triggers.
    * 
* * Protobuf type {@code google.apps.script.type.calendar.CalendarExtensionPoint} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.apps.script.type.calendar.CalendarExtensionPoint) com.google.apps.script.type.calendar.CalendarExtensionPointOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.apps.script.type.calendar.CalendarAddOnManifestProto.internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.script.type.calendar.CalendarAddOnManifestProto + .internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.calendar.CalendarAddOnManifestProto.internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_fieldAccessorTable + return com.google.apps.script.type.calendar.CalendarAddOnManifestProto + .internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.calendar.CalendarExtensionPoint.class, com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder.class); + com.google.apps.script.type.calendar.CalendarExtensionPoint.class, + com.google.apps.script.type.calendar.CalendarExtensionPoint.Builder.class); } // Construct using com.google.apps.script.type.calendar.CalendarExtensionPoint.newBuilder() @@ -324,16 +357,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +375,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.apps.script.type.calendar.CalendarAddOnManifestProto.internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.apps.script.type.calendar.CalendarAddOnManifestProto + .internal_static_google_apps_script_type_calendar_CalendarExtensionPoint_descriptor; } @java.lang.Override @@ -364,7 +396,8 @@ public com.google.apps.script.type.calendar.CalendarExtensionPoint build() { @java.lang.Override public com.google.apps.script.type.calendar.CalendarExtensionPoint buildPartial() { - com.google.apps.script.type.calendar.CalendarExtensionPoint result = new com.google.apps.script.type.calendar.CalendarExtensionPoint(this); + com.google.apps.script.type.calendar.CalendarExtensionPoint result = + new com.google.apps.script.type.calendar.CalendarExtensionPoint(this); result.runFunction_ = runFunction_; onBuilt(); return result; @@ -374,38 +407,39 @@ public com.google.apps.script.type.calendar.CalendarExtensionPoint buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.script.type.calendar.CalendarExtensionPoint) { - return mergeFrom((com.google.apps.script.type.calendar.CalendarExtensionPoint)other); + return mergeFrom((com.google.apps.script.type.calendar.CalendarExtensionPoint) other); } else { super.mergeFrom(other); return this; @@ -413,7 +447,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.apps.script.type.calendar.CalendarExtensionPoint other) { - if (other == com.google.apps.script.type.calendar.CalendarExtensionPoint.getDefaultInstance()) return this; + if (other == com.google.apps.script.type.calendar.CalendarExtensionPoint.getDefaultInstance()) + return this; if (!other.getRunFunction().isEmpty()) { runFunction_ = other.runFunction_; onChanged(); @@ -437,7 +472,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.apps.script.type.calendar.CalendarExtensionPoint) e.getUnfinishedMessage(); + parsedMessage = + (com.google.apps.script.type.calendar.CalendarExtensionPoint) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +485,21 @@ public Builder mergeFrom( private java.lang.Object runFunction_ = ""; /** + * + * *
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The runFunction. */ public java.lang.String getRunFunction() { java.lang.Object ref = runFunction_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); runFunction_ = s; return s; @@ -470,21 +508,22 @@ public java.lang.String getRunFunction() { } } /** + * + * *
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for runFunction. */ - public com.google.protobuf.ByteString - getRunFunctionBytes() { + public com.google.protobuf.ByteString getRunFunctionBytes() { java.lang.Object ref = runFunction_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); runFunction_ = b; return b; } else { @@ -492,64 +531,71 @@ public java.lang.String getRunFunction() { } } /** + * + * *
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The runFunction to set. * @return This builder for chaining. */ - public Builder setRunFunction( - java.lang.String value) { + public Builder setRunFunction(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + runFunction_ = value; onChanged(); return this; } /** + * + * *
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearRunFunction() { - + runFunction_ = getDefaultInstance().getRunFunction(); onChanged(); return this; } /** + * + * *
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for runFunction to set. * @return This builder for chaining. */ - public Builder setRunFunctionBytes( - com.google.protobuf.ByteString value) { + public Builder setRunFunctionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + runFunction_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +605,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.apps.script.type.calendar.CalendarExtensionPoint) } // @@protoc_insertion_point(class_scope:google.apps.script.type.calendar.CalendarExtensionPoint) private static final com.google.apps.script.type.calendar.CalendarExtensionPoint DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.apps.script.type.calendar.CalendarExtensionPoint(); } @@ -573,16 +619,16 @@ public static com.google.apps.script.type.calendar.CalendarExtensionPoint getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CalendarExtensionPoint parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CalendarExtensionPoint(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CalendarExtensionPoint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CalendarExtensionPoint(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +643,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.calendar.CalendarExtensionPoint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarExtensionPointOrBuilder.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarExtensionPointOrBuilder.java similarity index 53% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarExtensionPointOrBuilder.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarExtensionPointOrBuilder.java index 5609426f..d2592543 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarExtensionPointOrBuilder.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/CalendarExtensionPointOrBuilder.java @@ -1,31 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/calendar/calendar_addon_manifest.proto package com.google.apps.script.type.calendar; -public interface CalendarExtensionPointOrBuilder extends +public interface CalendarExtensionPointOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.calendar.CalendarExtensionPoint) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The endpoint to execute when this extension point is
    * activated.
    * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The runFunction. */ java.lang.String getRunFunction(); /** + * + * *
    * Required. The endpoint to execute when this extension point is
    * activated.
    * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for runFunction. */ - com.google.protobuf.ByteString - getRunFunctionBytes(); + com.google.protobuf.ByteString getRunFunctionBytes(); } diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/ConferenceSolution.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/ConferenceSolution.java similarity index 74% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/ConferenceSolution.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/ConferenceSolution.java index 302bb0ad..71589a1c 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/ConferenceSolution.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/ConferenceSolution.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/calendar/calendar_addon_manifest.proto package com.google.apps.script.type.calendar; /** + * + * *
  * Defines conference related values.
  * 
* * Protobuf type {@code google.apps.script.type.calendar.ConferenceSolution} */ -public final class ConferenceSolution extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ConferenceSolution extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.apps.script.type.calendar.ConferenceSolution) ConferenceSolutionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ConferenceSolution.newBuilder() to construct. private ConferenceSolution(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ConferenceSolution() { onCreateFunction_ = ""; id_ = ""; @@ -28,16 +46,15 @@ private ConferenceSolution() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ConferenceSolution(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ConferenceSolution( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,37 +73,41 @@ private ConferenceSolution( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - onCreateFunction_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + onCreateFunction_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - id_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + id_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - logoUrl_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + logoUrl_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,34 +115,39 @@ private ConferenceSolution( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.apps.script.type.calendar.CalendarAddOnManifestProto.internal_static_google_apps_script_type_calendar_ConferenceSolution_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.script.type.calendar.CalendarAddOnManifestProto + .internal_static_google_apps_script_type_calendar_ConferenceSolution_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.calendar.CalendarAddOnManifestProto.internal_static_google_apps_script_type_calendar_ConferenceSolution_fieldAccessorTable + return com.google.apps.script.type.calendar.CalendarAddOnManifestProto + .internal_static_google_apps_script_type_calendar_ConferenceSolution_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.calendar.ConferenceSolution.class, com.google.apps.script.type.calendar.ConferenceSolution.Builder.class); + com.google.apps.script.type.calendar.ConferenceSolution.class, + com.google.apps.script.type.calendar.ConferenceSolution.Builder.class); } public static final int ON_CREATE_FUNCTION_FIELD_NUMBER = 1; private volatile java.lang.Object onCreateFunction_; /** + * + * *
    * Required. The endpoint to call when ConferenceData should be created.
    * 
* * string on_create_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The onCreateFunction. */ @java.lang.Override @@ -130,29 +156,29 @@ public java.lang.String getOnCreateFunction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); onCreateFunction_ = s; return s; } } /** + * + * *
    * Required. The endpoint to call when ConferenceData should be created.
    * 
* * string on_create_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for onCreateFunction. */ @java.lang.Override - public com.google.protobuf.ByteString - getOnCreateFunctionBytes() { + public com.google.protobuf.ByteString getOnCreateFunctionBytes() { java.lang.Object ref = onCreateFunction_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); onCreateFunction_ = b; return b; } else { @@ -163,6 +189,8 @@ public java.lang.String getOnCreateFunction() { public static final int ID_FIELD_NUMBER = 4; private volatile java.lang.Object id_; /** + * + * *
    * Required. IDs should be unique across ConferenceSolutions within one
    * add-on, but this is not strictly enforced. It is up to the add-on developer
@@ -172,6 +200,7 @@ public java.lang.String getOnCreateFunction() {
    * 
* * string id = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ @java.lang.Override @@ -180,14 +209,15 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** + * + * *
    * Required. IDs should be unique across ConferenceSolutions within one
    * add-on, but this is not strictly enforced. It is up to the add-on developer
@@ -197,16 +227,15 @@ public java.lang.String getId() {
    * 
* * string id = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -217,11 +246,14 @@ public java.lang.String getId() { public static final int NAME_FIELD_NUMBER = 5; private volatile java.lang.Object name_; /** + * + * *
    * Required. The display name of the ConferenceSolution.
    * 
* * string name = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -230,29 +262,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The display name of the ConferenceSolution.
    * 
* * string name = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -263,11 +295,14 @@ public java.lang.String getName() { public static final int LOGO_URL_FIELD_NUMBER = 6; private volatile java.lang.Object logoUrl_; /** + * + * *
    * Required. The URL for the logo image of the ConferenceSolution.
    * 
* * string logo_url = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The logoUrl. */ @java.lang.Override @@ -276,29 +311,29 @@ public java.lang.String getLogoUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); logoUrl_ = s; return s; } } /** + * + * *
    * Required. The URL for the logo image of the ConferenceSolution.
    * 
* * string logo_url = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for logoUrl. */ @java.lang.Override - public com.google.protobuf.ByteString - getLogoUrlBytes() { + public com.google.protobuf.ByteString getLogoUrlBytes() { java.lang.Object ref = logoUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); logoUrl_ = b; return b; } else { @@ -307,6 +342,7 @@ public java.lang.String getLogoUrl() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -318,8 +354,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(onCreateFunction_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, onCreateFunction_); } @@ -361,21 +396,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.calendar.ConferenceSolution)) { return super.equals(obj); } - com.google.apps.script.type.calendar.ConferenceSolution other = (com.google.apps.script.type.calendar.ConferenceSolution) obj; - - if (!getOnCreateFunction() - .equals(other.getOnCreateFunction())) return false; - if (!getId() - .equals(other.getId())) return false; - if (!getName() - .equals(other.getName())) return false; - if (!getLogoUrl() - .equals(other.getLogoUrl())) return false; + com.google.apps.script.type.calendar.ConferenceSolution other = + (com.google.apps.script.type.calendar.ConferenceSolution) obj; + + if (!getOnCreateFunction().equals(other.getOnCreateFunction())) return false; + if (!getId().equals(other.getId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getLogoUrl().equals(other.getLogoUrl())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -401,117 +433,127 @@ public int hashCode() { } public static com.google.apps.script.type.calendar.ConferenceSolution parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.calendar.ConferenceSolution parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.calendar.ConferenceSolution parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.calendar.ConferenceSolution parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.calendar.ConferenceSolution parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.calendar.ConferenceSolution parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.calendar.ConferenceSolution parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.apps.script.type.calendar.ConferenceSolution parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.calendar.ConferenceSolution parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.calendar.ConferenceSolution parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.apps.script.type.calendar.ConferenceSolution parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.apps.script.type.calendar.ConferenceSolution parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.apps.script.type.calendar.ConferenceSolution parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.calendar.ConferenceSolution parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.apps.script.type.calendar.ConferenceSolution prototype) { + + public static Builder newBuilder( + com.google.apps.script.type.calendar.ConferenceSolution prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Defines conference related values.
    * 
* * Protobuf type {@code google.apps.script.type.calendar.ConferenceSolution} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.apps.script.type.calendar.ConferenceSolution) com.google.apps.script.type.calendar.ConferenceSolutionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.apps.script.type.calendar.CalendarAddOnManifestProto.internal_static_google_apps_script_type_calendar_ConferenceSolution_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.script.type.calendar.CalendarAddOnManifestProto + .internal_static_google_apps_script_type_calendar_ConferenceSolution_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.calendar.CalendarAddOnManifestProto.internal_static_google_apps_script_type_calendar_ConferenceSolution_fieldAccessorTable + return com.google.apps.script.type.calendar.CalendarAddOnManifestProto + .internal_static_google_apps_script_type_calendar_ConferenceSolution_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.calendar.ConferenceSolution.class, com.google.apps.script.type.calendar.ConferenceSolution.Builder.class); + com.google.apps.script.type.calendar.ConferenceSolution.class, + com.google.apps.script.type.calendar.ConferenceSolution.Builder.class); } // Construct using com.google.apps.script.type.calendar.ConferenceSolution.newBuilder() @@ -519,16 +561,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -544,9 +585,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.apps.script.type.calendar.CalendarAddOnManifestProto.internal_static_google_apps_script_type_calendar_ConferenceSolution_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.apps.script.type.calendar.CalendarAddOnManifestProto + .internal_static_google_apps_script_type_calendar_ConferenceSolution_descriptor; } @java.lang.Override @@ -565,7 +606,8 @@ public com.google.apps.script.type.calendar.ConferenceSolution build() { @java.lang.Override public com.google.apps.script.type.calendar.ConferenceSolution buildPartial() { - com.google.apps.script.type.calendar.ConferenceSolution result = new com.google.apps.script.type.calendar.ConferenceSolution(this); + com.google.apps.script.type.calendar.ConferenceSolution result = + new com.google.apps.script.type.calendar.ConferenceSolution(this); result.onCreateFunction_ = onCreateFunction_; result.id_ = id_; result.name_ = name_; @@ -578,38 +620,39 @@ public com.google.apps.script.type.calendar.ConferenceSolution buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.script.type.calendar.ConferenceSolution) { - return mergeFrom((com.google.apps.script.type.calendar.ConferenceSolution)other); + return mergeFrom((com.google.apps.script.type.calendar.ConferenceSolution) other); } else { super.mergeFrom(other); return this; @@ -617,7 +660,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.apps.script.type.calendar.ConferenceSolution other) { - if (other == com.google.apps.script.type.calendar.ConferenceSolution.getDefaultInstance()) return this; + if (other == com.google.apps.script.type.calendar.ConferenceSolution.getDefaultInstance()) + return this; if (!other.getOnCreateFunction().isEmpty()) { onCreateFunction_ = other.onCreateFunction_; onChanged(); @@ -653,7 +697,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.apps.script.type.calendar.ConferenceSolution) e.getUnfinishedMessage(); + parsedMessage = + (com.google.apps.script.type.calendar.ConferenceSolution) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -665,18 +710,20 @@ public Builder mergeFrom( private java.lang.Object onCreateFunction_ = ""; /** + * + * *
      * Required. The endpoint to call when ConferenceData should be created.
      * 
* * string on_create_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The onCreateFunction. */ public java.lang.String getOnCreateFunction() { java.lang.Object ref = onCreateFunction_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); onCreateFunction_ = s; return s; @@ -685,20 +732,21 @@ public java.lang.String getOnCreateFunction() { } } /** + * + * *
      * Required. The endpoint to call when ConferenceData should be created.
      * 
* * string on_create_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for onCreateFunction. */ - public com.google.protobuf.ByteString - getOnCreateFunctionBytes() { + public com.google.protobuf.ByteString getOnCreateFunctionBytes() { java.lang.Object ref = onCreateFunction_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); onCreateFunction_ = b; return b; } else { @@ -706,54 +754,61 @@ public java.lang.String getOnCreateFunction() { } } /** + * + * *
      * Required. The endpoint to call when ConferenceData should be created.
      * 
* * string on_create_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The onCreateFunction to set. * @return This builder for chaining. */ - public Builder setOnCreateFunction( - java.lang.String value) { + public Builder setOnCreateFunction(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + onCreateFunction_ = value; onChanged(); return this; } /** + * + * *
      * Required. The endpoint to call when ConferenceData should be created.
      * 
* * string on_create_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearOnCreateFunction() { - + onCreateFunction_ = getDefaultInstance().getOnCreateFunction(); onChanged(); return this; } /** + * + * *
      * Required. The endpoint to call when ConferenceData should be created.
      * 
* * string on_create_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for onCreateFunction to set. * @return This builder for chaining. */ - public Builder setOnCreateFunctionBytes( - com.google.protobuf.ByteString value) { + public Builder setOnCreateFunctionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + onCreateFunction_ = value; onChanged(); return this; @@ -761,6 +816,8 @@ public Builder setOnCreateFunctionBytes( private java.lang.Object id_ = ""; /** + * + * *
      * Required. IDs should be unique across ConferenceSolutions within one
      * add-on, but this is not strictly enforced. It is up to the add-on developer
@@ -770,13 +827,13 @@ public Builder setOnCreateFunctionBytes(
      * 
* * string id = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -785,6 +842,8 @@ public java.lang.String getId() { } } /** + * + * *
      * Required. IDs should be unique across ConferenceSolutions within one
      * add-on, but this is not strictly enforced. It is up to the add-on developer
@@ -794,15 +853,14 @@ public java.lang.String getId() {
      * 
* * string id = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -810,6 +868,8 @@ public java.lang.String getId() { } } /** + * + * *
      * Required. IDs should be unique across ConferenceSolutions within one
      * add-on, but this is not strictly enforced. It is up to the add-on developer
@@ -819,20 +879,22 @@ public java.lang.String getId() {
      * 
* * string id = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { + public Builder setId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** + * + * *
      * Required. IDs should be unique across ConferenceSolutions within one
      * add-on, but this is not strictly enforced. It is up to the add-on developer
@@ -842,15 +904,18 @@ public Builder setId(
      * 
* * string id = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); return this; } /** + * + * *
      * Required. IDs should be unique across ConferenceSolutions within one
      * add-on, but this is not strictly enforced. It is up to the add-on developer
@@ -860,16 +925,16 @@ public Builder clearId() {
      * 
* * string id = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { + public Builder setIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; @@ -877,18 +942,20 @@ public Builder setIdBytes( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The display name of the ConferenceSolution.
      * 
* * string name = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -897,20 +964,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The display name of the ConferenceSolution.
      * 
* * string name = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -918,54 +986,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The display name of the ConferenceSolution.
      * 
* * string name = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The display name of the ConferenceSolution.
      * 
* * string name = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The display name of the ConferenceSolution.
      * 
* * string name = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -973,18 +1048,20 @@ public Builder setNameBytes( private java.lang.Object logoUrl_ = ""; /** + * + * *
      * Required. The URL for the logo image of the ConferenceSolution.
      * 
* * string logo_url = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The logoUrl. */ public java.lang.String getLogoUrl() { java.lang.Object ref = logoUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); logoUrl_ = s; return s; @@ -993,20 +1070,21 @@ public java.lang.String getLogoUrl() { } } /** + * + * *
      * Required. The URL for the logo image of the ConferenceSolution.
      * 
* * string logo_url = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for logoUrl. */ - public com.google.protobuf.ByteString - getLogoUrlBytes() { + public com.google.protobuf.ByteString getLogoUrlBytes() { java.lang.Object ref = logoUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); logoUrl_ = b; return b; } else { @@ -1014,61 +1092,68 @@ public java.lang.String getLogoUrl() { } } /** + * + * *
      * Required. The URL for the logo image of the ConferenceSolution.
      * 
* * string logo_url = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The logoUrl to set. * @return This builder for chaining. */ - public Builder setLogoUrl( - java.lang.String value) { + public Builder setLogoUrl(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + logoUrl_ = value; onChanged(); return this; } /** + * + * *
      * Required. The URL for the logo image of the ConferenceSolution.
      * 
* * string logo_url = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearLogoUrl() { - + logoUrl_ = getDefaultInstance().getLogoUrl(); onChanged(); return this; } /** + * + * *
      * Required. The URL for the logo image of the ConferenceSolution.
      * 
* * string logo_url = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for logoUrl to set. * @return This builder for chaining. */ - public Builder setLogoUrlBytes( - com.google.protobuf.ByteString value) { + public Builder setLogoUrlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + logoUrl_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1078,12 +1163,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.apps.script.type.calendar.ConferenceSolution) } // @@protoc_insertion_point(class_scope:google.apps.script.type.calendar.ConferenceSolution) private static final com.google.apps.script.type.calendar.ConferenceSolution DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.apps.script.type.calendar.ConferenceSolution(); } @@ -1092,16 +1177,16 @@ public static com.google.apps.script.type.calendar.ConferenceSolution getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConferenceSolution parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ConferenceSolution(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConferenceSolution parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ConferenceSolution(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1116,6 +1201,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.calendar.ConferenceSolution getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/ConferenceSolutionOrBuilder.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/ConferenceSolutionOrBuilder.java similarity index 74% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/ConferenceSolutionOrBuilder.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/ConferenceSolutionOrBuilder.java index c277995d..e94cba17 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/ConferenceSolutionOrBuilder.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/calendar/ConferenceSolutionOrBuilder.java @@ -1,33 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/calendar/calendar_addon_manifest.proto package com.google.apps.script.type.calendar; -public interface ConferenceSolutionOrBuilder extends +public interface ConferenceSolutionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.calendar.ConferenceSolution) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The endpoint to call when ConferenceData should be created.
    * 
* * string on_create_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The onCreateFunction. */ java.lang.String getOnCreateFunction(); /** + * + * *
    * Required. The endpoint to call when ConferenceData should be created.
    * 
* * string on_create_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for onCreateFunction. */ - com.google.protobuf.ByteString - getOnCreateFunctionBytes(); + com.google.protobuf.ByteString getOnCreateFunctionBytes(); /** + * + * *
    * Required. IDs should be unique across ConferenceSolutions within one
    * add-on, but this is not strictly enforced. It is up to the add-on developer
@@ -37,10 +60,13 @@ public interface ConferenceSolutionOrBuilder extends
    * 
* * string id = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The id. */ java.lang.String getId(); /** + * + * *
    * Required. IDs should be unique across ConferenceSolutions within one
    * add-on, but this is not strictly enforced. It is up to the add-on developer
@@ -50,48 +76,58 @@ public interface ConferenceSolutionOrBuilder extends
    * 
* * string id = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * *
    * Required. The display name of the ConferenceSolution.
    * 
* * string name = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The display name of the ConferenceSolution.
    * 
* * string name = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The URL for the logo image of the ConferenceSolution.
    * 
* * string logo_url = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The logoUrl. */ java.lang.String getLogoUrl(); /** + * + * *
    * Required. The URL for the logo image of the ConferenceSolution.
    * 
* * string logo_url = 6 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for logoUrl. */ - com.google.protobuf.ByteString - getLogoUrlBytes(); + com.google.protobuf.ByteString getLogoUrlBytes(); } diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifest.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifest.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifest.java index afe1109d..515fc19c 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifest.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/docs/docs_addon_manifest.proto package com.google.apps.script.type.docs; /** + * + * *
  * Docs add-on manifest.
  * 
* * Protobuf type {@code google.apps.script.type.docs.DocsAddOnManifest} */ -public final class DocsAddOnManifest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DocsAddOnManifest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.apps.script.type.docs.DocsAddOnManifest) DocsAddOnManifestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DocsAddOnManifest.newBuilder() to construct. private DocsAddOnManifest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DocsAddOnManifest() { - } + + private DocsAddOnManifest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DocsAddOnManifest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DocsAddOnManifest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,47 @@ private DocsAddOnManifest( case 0: done = true; break; - case 10: { - com.google.apps.script.type.HomepageExtensionPoint.Builder subBuilder = null; - if (homepageTrigger_ != null) { - subBuilder = homepageTrigger_.toBuilder(); - } - homepageTrigger_ = input.readMessage(com.google.apps.script.type.HomepageExtensionPoint.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(homepageTrigger_); - homepageTrigger_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.apps.script.type.HomepageExtensionPoint.Builder subBuilder = null; + if (homepageTrigger_ != null) { + subBuilder = homepageTrigger_.toBuilder(); + } + homepageTrigger_ = + input.readMessage( + com.google.apps.script.type.HomepageExtensionPoint.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(homepageTrigger_); + homepageTrigger_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.apps.script.type.docs.DocsExtensionPoint.Builder subBuilder = null; - if (onFileScopeGrantedTrigger_ != null) { - subBuilder = onFileScopeGrantedTrigger_.toBuilder(); - } - onFileScopeGrantedTrigger_ = input.readMessage(com.google.apps.script.type.docs.DocsExtensionPoint.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(onFileScopeGrantedTrigger_); - onFileScopeGrantedTrigger_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.apps.script.type.docs.DocsExtensionPoint.Builder subBuilder = null; + if (onFileScopeGrantedTrigger_ != null) { + subBuilder = onFileScopeGrantedTrigger_.toBuilder(); + } + onFileScopeGrantedTrigger_ = + input.readMessage( + com.google.apps.script.type.docs.DocsExtensionPoint.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(onFileScopeGrantedTrigger_); + onFileScopeGrantedTrigger_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,35 +116,40 @@ private DocsAddOnManifest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.apps.script.type.docs.DocsAddOnManifestProto.internal_static_google_apps_script_type_docs_DocsAddOnManifest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.script.type.docs.DocsAddOnManifestProto + .internal_static_google_apps_script_type_docs_DocsAddOnManifest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.docs.DocsAddOnManifestProto.internal_static_google_apps_script_type_docs_DocsAddOnManifest_fieldAccessorTable + return com.google.apps.script.type.docs.DocsAddOnManifestProto + .internal_static_google_apps_script_type_docs_DocsAddOnManifest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.docs.DocsAddOnManifest.class, com.google.apps.script.type.docs.DocsAddOnManifest.Builder.class); + com.google.apps.script.type.docs.DocsAddOnManifest.class, + com.google.apps.script.type.docs.DocsAddOnManifest.Builder.class); } public static final int HOMEPAGE_TRIGGER_FIELD_NUMBER = 1; private com.google.apps.script.type.HomepageExtensionPoint homepageTrigger_; /** + * + * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1; + * * @return Whether the homepageTrigger field is set. */ @java.lang.Override @@ -128,19 +157,26 @@ public boolean hasHomepageTrigger() { return homepageTrigger_ != null; } /** + * + * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1; + * * @return The homepageTrigger. */ @java.lang.Override public com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger() { - return homepageTrigger_ == null ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_; + return homepageTrigger_ == null + ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() + : homepageTrigger_; } /** + * + * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
@@ -156,12 +192,16 @@ public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTr
   public static final int ON_FILE_SCOPE_GRANTED_TRIGGER_FIELD_NUMBER = 2;
   private com.google.apps.script.type.docs.DocsExtensionPoint onFileScopeGrantedTrigger_;
   /**
+   *
+   *
    * 
    * Endpoint to execute when file scope authorization is granted
    * for this document/user pair.
    * 
* - * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; + * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; + * + * * @return Whether the onFileScopeGrantedTrigger field is set. */ @java.lang.Override @@ -169,32 +209,43 @@ public boolean hasOnFileScopeGrantedTrigger() { return onFileScopeGrantedTrigger_ != null; } /** + * + * *
    * Endpoint to execute when file scope authorization is granted
    * for this document/user pair.
    * 
* - * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; + * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; + * + * * @return The onFileScopeGrantedTrigger. */ @java.lang.Override public com.google.apps.script.type.docs.DocsExtensionPoint getOnFileScopeGrantedTrigger() { - return onFileScopeGrantedTrigger_ == null ? com.google.apps.script.type.docs.DocsExtensionPoint.getDefaultInstance() : onFileScopeGrantedTrigger_; + return onFileScopeGrantedTrigger_ == null + ? com.google.apps.script.type.docs.DocsExtensionPoint.getDefaultInstance() + : onFileScopeGrantedTrigger_; } /** + * + * *
    * Endpoint to execute when file scope authorization is granted
    * for this document/user pair.
    * 
* - * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; + * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; + * */ @java.lang.Override - public com.google.apps.script.type.docs.DocsExtensionPointOrBuilder getOnFileScopeGrantedTriggerOrBuilder() { + public com.google.apps.script.type.docs.DocsExtensionPointOrBuilder + getOnFileScopeGrantedTriggerOrBuilder() { return getOnFileScopeGrantedTrigger(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +257,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (homepageTrigger_ != null) { output.writeMessage(1, getHomepageTrigger()); } @@ -224,12 +274,12 @@ public int getSerializedSize() { size = 0; if (homepageTrigger_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getHomepageTrigger()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getHomepageTrigger()); } if (onFileScopeGrantedTrigger_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getOnFileScopeGrantedTrigger()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, getOnFileScopeGrantedTrigger()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -239,22 +289,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.docs.DocsAddOnManifest)) { return super.equals(obj); } - com.google.apps.script.type.docs.DocsAddOnManifest other = (com.google.apps.script.type.docs.DocsAddOnManifest) obj; + com.google.apps.script.type.docs.DocsAddOnManifest other = + (com.google.apps.script.type.docs.DocsAddOnManifest) obj; if (hasHomepageTrigger() != other.hasHomepageTrigger()) return false; if (hasHomepageTrigger()) { - if (!getHomepageTrigger() - .equals(other.getHomepageTrigger())) return false; + if (!getHomepageTrigger().equals(other.getHomepageTrigger())) return false; } if (hasOnFileScopeGrantedTrigger() != other.hasOnFileScopeGrantedTrigger()) return false; if (hasOnFileScopeGrantedTrigger()) { - if (!getOnFileScopeGrantedTrigger() - .equals(other.getOnFileScopeGrantedTrigger())) return false; + if (!getOnFileScopeGrantedTrigger().equals(other.getOnFileScopeGrantedTrigger())) + return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -281,117 +331,126 @@ public int hashCode() { } public static com.google.apps.script.type.docs.DocsAddOnManifest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.docs.DocsAddOnManifest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.docs.DocsAddOnManifest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.docs.DocsAddOnManifest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.docs.DocsAddOnManifest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.docs.DocsAddOnManifest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.docs.DocsAddOnManifest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.apps.script.type.docs.DocsAddOnManifest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.docs.DocsAddOnManifest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.docs.DocsAddOnManifest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.apps.script.type.docs.DocsAddOnManifest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.apps.script.type.docs.DocsAddOnManifest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.apps.script.type.docs.DocsAddOnManifest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.docs.DocsAddOnManifest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.apps.script.type.docs.DocsAddOnManifest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Docs add-on manifest.
    * 
* * Protobuf type {@code google.apps.script.type.docs.DocsAddOnManifest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.apps.script.type.docs.DocsAddOnManifest) com.google.apps.script.type.docs.DocsAddOnManifestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.apps.script.type.docs.DocsAddOnManifestProto.internal_static_google_apps_script_type_docs_DocsAddOnManifest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.script.type.docs.DocsAddOnManifestProto + .internal_static_google_apps_script_type_docs_DocsAddOnManifest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.docs.DocsAddOnManifestProto.internal_static_google_apps_script_type_docs_DocsAddOnManifest_fieldAccessorTable + return com.google.apps.script.type.docs.DocsAddOnManifestProto + .internal_static_google_apps_script_type_docs_DocsAddOnManifest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.docs.DocsAddOnManifest.class, com.google.apps.script.type.docs.DocsAddOnManifest.Builder.class); + com.google.apps.script.type.docs.DocsAddOnManifest.class, + com.google.apps.script.type.docs.DocsAddOnManifest.Builder.class); } // Construct using com.google.apps.script.type.docs.DocsAddOnManifest.newBuilder() @@ -399,16 +458,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -428,9 +486,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.apps.script.type.docs.DocsAddOnManifestProto.internal_static_google_apps_script_type_docs_DocsAddOnManifest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.apps.script.type.docs.DocsAddOnManifestProto + .internal_static_google_apps_script_type_docs_DocsAddOnManifest_descriptor; } @java.lang.Override @@ -449,7 +507,8 @@ public com.google.apps.script.type.docs.DocsAddOnManifest build() { @java.lang.Override public com.google.apps.script.type.docs.DocsAddOnManifest buildPartial() { - com.google.apps.script.type.docs.DocsAddOnManifest result = new com.google.apps.script.type.docs.DocsAddOnManifest(this); + com.google.apps.script.type.docs.DocsAddOnManifest result = + new com.google.apps.script.type.docs.DocsAddOnManifest(this); if (homepageTriggerBuilder_ == null) { result.homepageTrigger_ = homepageTrigger_; } else { @@ -468,38 +527,39 @@ public com.google.apps.script.type.docs.DocsAddOnManifest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.script.type.docs.DocsAddOnManifest) { - return mergeFrom((com.google.apps.script.type.docs.DocsAddOnManifest)other); + return mergeFrom((com.google.apps.script.type.docs.DocsAddOnManifest) other); } else { super.mergeFrom(other); return this; @@ -507,7 +567,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.apps.script.type.docs.DocsAddOnManifest other) { - if (other == com.google.apps.script.type.docs.DocsAddOnManifest.getDefaultInstance()) return this; + if (other == com.google.apps.script.type.docs.DocsAddOnManifest.getDefaultInstance()) + return this; if (other.hasHomepageTrigger()) { mergeHomepageTrigger(other.getHomepageTrigger()); } @@ -533,7 +594,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.apps.script.type.docs.DocsAddOnManifest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.apps.script.type.docs.DocsAddOnManifest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -545,36 +607,49 @@ public Builder mergeFrom( private com.google.apps.script.type.HomepageExtensionPoint homepageTrigger_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder> homepageTriggerBuilder_; + com.google.apps.script.type.HomepageExtensionPoint, + com.google.apps.script.type.HomepageExtensionPoint.Builder, + com.google.apps.script.type.HomepageExtensionPointOrBuilder> + homepageTriggerBuilder_; /** + * + * *
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
      * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1; + * * @return Whether the homepageTrigger field is set. */ public boolean hasHomepageTrigger() { return homepageTriggerBuilder_ != null || homepageTrigger_ != null; } /** + * + * *
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
      * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1; + * * @return The homepageTrigger. */ public com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger() { if (homepageTriggerBuilder_ == null) { - return homepageTrigger_ == null ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_; + return homepageTrigger_ == null + ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() + : homepageTrigger_; } else { return homepageTriggerBuilder_.getMessage(); } } /** + * + * *
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -596,6 +671,8 @@ public Builder setHomepageTrigger(com.google.apps.script.type.HomepageExtensionP
       return this;
     }
     /**
+     *
+     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -615,6 +692,8 @@ public Builder setHomepageTrigger(
       return this;
     }
     /**
+     *
+     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -626,7 +705,9 @@ public Builder mergeHomepageTrigger(com.google.apps.script.type.HomepageExtensio
       if (homepageTriggerBuilder_ == null) {
         if (homepageTrigger_ != null) {
           homepageTrigger_ =
-            com.google.apps.script.type.HomepageExtensionPoint.newBuilder(homepageTrigger_).mergeFrom(value).buildPartial();
+              com.google.apps.script.type.HomepageExtensionPoint.newBuilder(homepageTrigger_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           homepageTrigger_ = value;
         }
@@ -638,6 +719,8 @@ public Builder mergeHomepageTrigger(com.google.apps.script.type.HomepageExtensio
       return this;
     }
     /**
+     *
+     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -657,6 +740,8 @@ public Builder clearHomepageTrigger() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -665,11 +750,13 @@ public Builder clearHomepageTrigger() {
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
      */
     public com.google.apps.script.type.HomepageExtensionPoint.Builder getHomepageTriggerBuilder() {
-      
+
       onChanged();
       return getHomepageTriggerFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -677,15 +764,19 @@ public com.google.apps.script.type.HomepageExtensionPoint.Builder getHomepageTri
      *
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
      */
-    public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder() {
+    public com.google.apps.script.type.HomepageExtensionPointOrBuilder
+        getHomepageTriggerOrBuilder() {
       if (homepageTriggerBuilder_ != null) {
         return homepageTriggerBuilder_.getMessageOrBuilder();
       } else {
-        return homepageTrigger_ == null ?
-            com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_;
+        return homepageTrigger_ == null
+            ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance()
+            : homepageTrigger_;
       }
     }
     /**
+     *
+     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -694,14 +785,17 @@ public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTr
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder> 
+            com.google.apps.script.type.HomepageExtensionPoint,
+            com.google.apps.script.type.HomepageExtensionPoint.Builder,
+            com.google.apps.script.type.HomepageExtensionPointOrBuilder>
         getHomepageTriggerFieldBuilder() {
       if (homepageTriggerBuilder_ == null) {
-        homepageTriggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder>(
-                getHomepageTrigger(),
-                getParentForChildren(),
-                isClean());
+        homepageTriggerBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.apps.script.type.HomepageExtensionPoint,
+                com.google.apps.script.type.HomepageExtensionPoint.Builder,
+                com.google.apps.script.type.HomepageExtensionPointOrBuilder>(
+                getHomepageTrigger(), getParentForChildren(), isClean());
         homepageTrigger_ = null;
       }
       return homepageTriggerBuilder_;
@@ -709,44 +803,61 @@ public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTr
 
     private com.google.apps.script.type.docs.DocsExtensionPoint onFileScopeGrantedTrigger_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.apps.script.type.docs.DocsExtensionPoint, com.google.apps.script.type.docs.DocsExtensionPoint.Builder, com.google.apps.script.type.docs.DocsExtensionPointOrBuilder> onFileScopeGrantedTriggerBuilder_;
+            com.google.apps.script.type.docs.DocsExtensionPoint,
+            com.google.apps.script.type.docs.DocsExtensionPoint.Builder,
+            com.google.apps.script.type.docs.DocsExtensionPointOrBuilder>
+        onFileScopeGrantedTriggerBuilder_;
     /**
+     *
+     *
      * 
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; + * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; + * + * * @return Whether the onFileScopeGrantedTrigger field is set. */ public boolean hasOnFileScopeGrantedTrigger() { return onFileScopeGrantedTriggerBuilder_ != null || onFileScopeGrantedTrigger_ != null; } /** + * + * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; + * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; + * + * * @return The onFileScopeGrantedTrigger. */ public com.google.apps.script.type.docs.DocsExtensionPoint getOnFileScopeGrantedTrigger() { if (onFileScopeGrantedTriggerBuilder_ == null) { - return onFileScopeGrantedTrigger_ == null ? com.google.apps.script.type.docs.DocsExtensionPoint.getDefaultInstance() : onFileScopeGrantedTrigger_; + return onFileScopeGrantedTrigger_ == null + ? com.google.apps.script.type.docs.DocsExtensionPoint.getDefaultInstance() + : onFileScopeGrantedTrigger_; } else { return onFileScopeGrantedTriggerBuilder_.getMessage(); } } /** + * + * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; + * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; + * */ - public Builder setOnFileScopeGrantedTrigger(com.google.apps.script.type.docs.DocsExtensionPoint value) { + public Builder setOnFileScopeGrantedTrigger( + com.google.apps.script.type.docs.DocsExtensionPoint value) { if (onFileScopeGrantedTriggerBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -760,12 +871,15 @@ public Builder setOnFileScopeGrantedTrigger(com.google.apps.script.type.docs.Doc return this; } /** + * + * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; + * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; + * */ public Builder setOnFileScopeGrantedTrigger( com.google.apps.script.type.docs.DocsExtensionPoint.Builder builderForValue) { @@ -779,18 +893,25 @@ public Builder setOnFileScopeGrantedTrigger( return this; } /** + * + * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; + * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; + * */ - public Builder mergeOnFileScopeGrantedTrigger(com.google.apps.script.type.docs.DocsExtensionPoint value) { + public Builder mergeOnFileScopeGrantedTrigger( + com.google.apps.script.type.docs.DocsExtensionPoint value) { if (onFileScopeGrantedTriggerBuilder_ == null) { if (onFileScopeGrantedTrigger_ != null) { onFileScopeGrantedTrigger_ = - com.google.apps.script.type.docs.DocsExtensionPoint.newBuilder(onFileScopeGrantedTrigger_).mergeFrom(value).buildPartial(); + com.google.apps.script.type.docs.DocsExtensionPoint.newBuilder( + onFileScopeGrantedTrigger_) + .mergeFrom(value) + .buildPartial(); } else { onFileScopeGrantedTrigger_ = value; } @@ -802,12 +923,15 @@ public Builder mergeOnFileScopeGrantedTrigger(com.google.apps.script.type.docs.D return this; } /** + * + * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; + * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; + * */ public Builder clearOnFileScopeGrantedTrigger() { if (onFileScopeGrantedTriggerBuilder_ == null) { @@ -821,58 +945,73 @@ public Builder clearOnFileScopeGrantedTrigger() { return this; } /** + * + * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; + * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; + * */ - public com.google.apps.script.type.docs.DocsExtensionPoint.Builder getOnFileScopeGrantedTriggerBuilder() { - + public com.google.apps.script.type.docs.DocsExtensionPoint.Builder + getOnFileScopeGrantedTriggerBuilder() { + onChanged(); return getOnFileScopeGrantedTriggerFieldBuilder().getBuilder(); } /** + * + * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; + * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; + * */ - public com.google.apps.script.type.docs.DocsExtensionPointOrBuilder getOnFileScopeGrantedTriggerOrBuilder() { + public com.google.apps.script.type.docs.DocsExtensionPointOrBuilder + getOnFileScopeGrantedTriggerOrBuilder() { if (onFileScopeGrantedTriggerBuilder_ != null) { return onFileScopeGrantedTriggerBuilder_.getMessageOrBuilder(); } else { - return onFileScopeGrantedTrigger_ == null ? - com.google.apps.script.type.docs.DocsExtensionPoint.getDefaultInstance() : onFileScopeGrantedTrigger_; + return onFileScopeGrantedTrigger_ == null + ? com.google.apps.script.type.docs.DocsExtensionPoint.getDefaultInstance() + : onFileScopeGrantedTrigger_; } } /** + * + * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; + * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.docs.DocsExtensionPoint, com.google.apps.script.type.docs.DocsExtensionPoint.Builder, com.google.apps.script.type.docs.DocsExtensionPointOrBuilder> + com.google.apps.script.type.docs.DocsExtensionPoint, + com.google.apps.script.type.docs.DocsExtensionPoint.Builder, + com.google.apps.script.type.docs.DocsExtensionPointOrBuilder> getOnFileScopeGrantedTriggerFieldBuilder() { if (onFileScopeGrantedTriggerBuilder_ == null) { - onFileScopeGrantedTriggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.docs.DocsExtensionPoint, com.google.apps.script.type.docs.DocsExtensionPoint.Builder, com.google.apps.script.type.docs.DocsExtensionPointOrBuilder>( - getOnFileScopeGrantedTrigger(), - getParentForChildren(), - isClean()); + onFileScopeGrantedTriggerBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.apps.script.type.docs.DocsExtensionPoint, + com.google.apps.script.type.docs.DocsExtensionPoint.Builder, + com.google.apps.script.type.docs.DocsExtensionPointOrBuilder>( + getOnFileScopeGrantedTrigger(), getParentForChildren(), isClean()); onFileScopeGrantedTrigger_ = null; } return onFileScopeGrantedTriggerBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -882,12 +1021,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.apps.script.type.docs.DocsAddOnManifest) } // @@protoc_insertion_point(class_scope:google.apps.script.type.docs.DocsAddOnManifest) private static final com.google.apps.script.type.docs.DocsAddOnManifest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.apps.script.type.docs.DocsAddOnManifest(); } @@ -896,16 +1035,16 @@ public static com.google.apps.script.type.docs.DocsAddOnManifest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DocsAddOnManifest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DocsAddOnManifest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DocsAddOnManifest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DocsAddOnManifest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -920,6 +1059,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.docs.DocsAddOnManifest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifestOrBuilder.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifestOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifestOrBuilder.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifestOrBuilder.java index 8e09eac3..84584203 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifestOrBuilder.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifestOrBuilder.java @@ -1,33 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/docs/docs_addon_manifest.proto package com.google.apps.script.type.docs; -public interface DocsAddOnManifestOrBuilder extends +public interface DocsAddOnManifestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.docs.DocsAddOnManifest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1; + * * @return Whether the homepageTrigger field is set. */ boolean hasHomepageTrigger(); /** + * + * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1; + * * @return The homepageTrigger. */ com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger(); /** + * + * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
@@ -38,32 +62,44 @@ public interface DocsAddOnManifestOrBuilder extends
   com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder();
 
   /**
+   *
+   *
    * 
    * Endpoint to execute when file scope authorization is granted
    * for this document/user pair.
    * 
* - * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; + * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; + * + * * @return Whether the onFileScopeGrantedTrigger field is set. */ boolean hasOnFileScopeGrantedTrigger(); /** + * + * *
    * Endpoint to execute when file scope authorization is granted
    * for this document/user pair.
    * 
* - * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; + * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; + * + * * @return The onFileScopeGrantedTrigger. */ com.google.apps.script.type.docs.DocsExtensionPoint getOnFileScopeGrantedTrigger(); /** + * + * *
    * Endpoint to execute when file scope authorization is granted
    * for this document/user pair.
    * 
* - * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; + * .google.apps.script.type.docs.DocsExtensionPoint on_file_scope_granted_trigger = 2; + * */ - com.google.apps.script.type.docs.DocsExtensionPointOrBuilder getOnFileScopeGrantedTriggerOrBuilder(); + com.google.apps.script.type.docs.DocsExtensionPointOrBuilder + getOnFileScopeGrantedTriggerOrBuilder(); } diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifestProto.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifestProto.java new file mode 100644 index 00000000..fc6bacfc --- /dev/null +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsAddOnManifestProto.java @@ -0,0 +1,97 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/apps/script/type/docs/docs_addon_manifest.proto + +package com.google.apps.script.type.docs; + +public final class DocsAddOnManifestProto { + private DocsAddOnManifestProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_apps_script_type_docs_DocsAddOnManifest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_apps_script_type_docs_DocsAddOnManifest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_apps_script_type_docs_DocsExtensionPoint_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_apps_script_type_docs_DocsExtensionPoint_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n6google/apps/script/type/docs/docs_addo" + + "n_manifest.proto\022\034google.apps.script.typ" + + "e.docs\032\037google/api/field_behavior.proto\032" + + "-google/apps/script/type/extension_point" + + ".proto\"\267\001\n\021DocsAddOnManifest\022I\n\020homepage" + + "_trigger\030\001 \001(\0132/.google.apps.script.type" + + ".HomepageExtensionPoint\022W\n\035on_file_scope" + + "_granted_trigger\030\002 \001(\01320.google.apps.scr" + + "ipt.type.docs.DocsExtensionPoint\"/\n\022Docs" + + "ExtensionPoint\022\031\n\014run_function\030\001 \001(\tB\003\340A" + + "\002B\332\001\n com.google.apps.script.type.docsB\026" + + "DocsAddOnManifestProtoP\001Z;google.golang." + + "org/genproto/googleapis/apps/script/type" + + "/docs\252\002\034Google.Apps.Script.Type.Docs\312\002\034G" + + "oogle\\Apps\\Script\\Type\\Docs\352\002 Google::Ap" + + "ps::Script::Type::Docsb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.apps.script.type.ExtensionPoint.getDescriptor(), + }); + internal_static_google_apps_script_type_docs_DocsAddOnManifest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_apps_script_type_docs_DocsAddOnManifest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_apps_script_type_docs_DocsAddOnManifest_descriptor, + new java.lang.String[] { + "HomepageTrigger", "OnFileScopeGrantedTrigger", + }); + internal_static_google_apps_script_type_docs_DocsExtensionPoint_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_apps_script_type_docs_DocsExtensionPoint_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_apps_script_type_docs_DocsExtensionPoint_descriptor, + new java.lang.String[] { + "RunFunction", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.apps.script.type.ExtensionPoint.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsExtensionPoint.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsExtensionPoint.java similarity index 70% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsExtensionPoint.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsExtensionPoint.java index ae845746..6ebe2ae9 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsExtensionPoint.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsExtensionPoint.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/docs/docs_addon_manifest.proto package com.google.apps.script.type.docs; /** + * + * *
  * Common format for declaring a Docs add-on's triggers.
  * 
* * Protobuf type {@code google.apps.script.type.docs.DocsExtensionPoint} */ -public final class DocsExtensionPoint extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DocsExtensionPoint extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.apps.script.type.docs.DocsExtensionPoint) DocsExtensionPointOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DocsExtensionPoint.newBuilder() to construct. private DocsExtensionPoint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DocsExtensionPoint() { runFunction_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DocsExtensionPoint(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DocsExtensionPoint( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DocsExtensionPoint( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - runFunction_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + runFunction_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private DocsExtensionPoint( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.apps.script.type.docs.DocsAddOnManifestProto.internal_static_google_apps_script_type_docs_DocsExtensionPoint_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.script.type.docs.DocsAddOnManifestProto + .internal_static_google_apps_script_type_docs_DocsExtensionPoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.docs.DocsAddOnManifestProto.internal_static_google_apps_script_type_docs_DocsExtensionPoint_fieldAccessorTable + return com.google.apps.script.type.docs.DocsAddOnManifestProto + .internal_static_google_apps_script_type_docs_DocsExtensionPoint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.docs.DocsExtensionPoint.class, com.google.apps.script.type.docs.DocsExtensionPoint.Builder.class); + com.google.apps.script.type.docs.DocsExtensionPoint.class, + com.google.apps.script.type.docs.DocsExtensionPoint.Builder.class); } public static final int RUN_FUNCTION_FIELD_NUMBER = 1; private volatile java.lang.Object runFunction_; /** + * + * *
    * Required. The endpoint to execute when this extension point is activated.
    * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The runFunction. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getRunFunction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); runFunction_ = s; return s; } } /** + * + * *
    * Required. The endpoint to execute when this extension point is activated.
    * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for runFunction. */ @java.lang.Override - public com.google.protobuf.ByteString - getRunFunctionBytes() { + public com.google.protobuf.ByteString getRunFunctionBytes() { java.lang.Object ref = runFunction_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); runFunction_ = b; return b; } else { @@ -140,6 +163,7 @@ public java.lang.String getRunFunction() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(runFunction_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, runFunction_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.docs.DocsExtensionPoint)) { return super.equals(obj); } - com.google.apps.script.type.docs.DocsExtensionPoint other = (com.google.apps.script.type.docs.DocsExtensionPoint) obj; + com.google.apps.script.type.docs.DocsExtensionPoint other = + (com.google.apps.script.type.docs.DocsExtensionPoint) obj; - if (!getRunFunction() - .equals(other.getRunFunction())) return false; + if (!getRunFunction().equals(other.getRunFunction())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,126 @@ public int hashCode() { } public static com.google.apps.script.type.docs.DocsExtensionPoint parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.docs.DocsExtensionPoint parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.docs.DocsExtensionPoint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.docs.DocsExtensionPoint parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.docs.DocsExtensionPoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.docs.DocsExtensionPoint parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.docs.DocsExtensionPoint parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.apps.script.type.docs.DocsExtensionPoint parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.docs.DocsExtensionPoint parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.docs.DocsExtensionPoint parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.apps.script.type.docs.DocsExtensionPoint parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.apps.script.type.docs.DocsExtensionPoint parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.apps.script.type.docs.DocsExtensionPoint parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.docs.DocsExtensionPoint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.apps.script.type.docs.DocsExtensionPoint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Common format for declaring a Docs add-on's triggers.
    * 
* * Protobuf type {@code google.apps.script.type.docs.DocsExtensionPoint} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.apps.script.type.docs.DocsExtensionPoint) com.google.apps.script.type.docs.DocsExtensionPointOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.apps.script.type.docs.DocsAddOnManifestProto.internal_static_google_apps_script_type_docs_DocsExtensionPoint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.script.type.docs.DocsAddOnManifestProto + .internal_static_google_apps_script_type_docs_DocsExtensionPoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.docs.DocsAddOnManifestProto.internal_static_google_apps_script_type_docs_DocsExtensionPoint_fieldAccessorTable + return com.google.apps.script.type.docs.DocsAddOnManifestProto + .internal_static_google_apps_script_type_docs_DocsExtensionPoint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.docs.DocsExtensionPoint.class, com.google.apps.script.type.docs.DocsExtensionPoint.Builder.class); + com.google.apps.script.type.docs.DocsExtensionPoint.class, + com.google.apps.script.type.docs.DocsExtensionPoint.Builder.class); } // Construct using com.google.apps.script.type.docs.DocsExtensionPoint.newBuilder() @@ -322,16 +354,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +372,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.apps.script.type.docs.DocsAddOnManifestProto.internal_static_google_apps_script_type_docs_DocsExtensionPoint_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.apps.script.type.docs.DocsAddOnManifestProto + .internal_static_google_apps_script_type_docs_DocsExtensionPoint_descriptor; } @java.lang.Override @@ -362,7 +393,8 @@ public com.google.apps.script.type.docs.DocsExtensionPoint build() { @java.lang.Override public com.google.apps.script.type.docs.DocsExtensionPoint buildPartial() { - com.google.apps.script.type.docs.DocsExtensionPoint result = new com.google.apps.script.type.docs.DocsExtensionPoint(this); + com.google.apps.script.type.docs.DocsExtensionPoint result = + new com.google.apps.script.type.docs.DocsExtensionPoint(this); result.runFunction_ = runFunction_; onBuilt(); return result; @@ -372,38 +404,39 @@ public com.google.apps.script.type.docs.DocsExtensionPoint buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.script.type.docs.DocsExtensionPoint) { - return mergeFrom((com.google.apps.script.type.docs.DocsExtensionPoint)other); + return mergeFrom((com.google.apps.script.type.docs.DocsExtensionPoint) other); } else { super.mergeFrom(other); return this; @@ -411,7 +444,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.apps.script.type.docs.DocsExtensionPoint other) { - if (other == com.google.apps.script.type.docs.DocsExtensionPoint.getDefaultInstance()) return this; + if (other == com.google.apps.script.type.docs.DocsExtensionPoint.getDefaultInstance()) + return this; if (!other.getRunFunction().isEmpty()) { runFunction_ = other.runFunction_; onChanged(); @@ -435,7 +469,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.apps.script.type.docs.DocsExtensionPoint) e.getUnfinishedMessage(); + parsedMessage = + (com.google.apps.script.type.docs.DocsExtensionPoint) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +482,20 @@ public Builder mergeFrom( private java.lang.Object runFunction_ = ""; /** + * + * *
      * Required. The endpoint to execute when this extension point is activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The runFunction. */ public java.lang.String getRunFunction() { java.lang.Object ref = runFunction_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); runFunction_ = s; return s; @@ -467,20 +504,21 @@ public java.lang.String getRunFunction() { } } /** + * + * *
      * Required. The endpoint to execute when this extension point is activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for runFunction. */ - public com.google.protobuf.ByteString - getRunFunctionBytes() { + public com.google.protobuf.ByteString getRunFunctionBytes() { java.lang.Object ref = runFunction_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); runFunction_ = b; return b; } else { @@ -488,61 +526,68 @@ public java.lang.String getRunFunction() { } } /** + * + * *
      * Required. The endpoint to execute when this extension point is activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The runFunction to set. * @return This builder for chaining. */ - public Builder setRunFunction( - java.lang.String value) { + public Builder setRunFunction(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + runFunction_ = value; onChanged(); return this; } /** + * + * *
      * Required. The endpoint to execute when this extension point is activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearRunFunction() { - + runFunction_ = getDefaultInstance().getRunFunction(); onChanged(); return this; } /** + * + * *
      * Required. The endpoint to execute when this extension point is activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for runFunction to set. * @return This builder for chaining. */ - public Builder setRunFunctionBytes( - com.google.protobuf.ByteString value) { + public Builder setRunFunctionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + runFunction_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +597,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.apps.script.type.docs.DocsExtensionPoint) } // @@protoc_insertion_point(class_scope:google.apps.script.type.docs.DocsExtensionPoint) private static final com.google.apps.script.type.docs.DocsExtensionPoint DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.apps.script.type.docs.DocsExtensionPoint(); } @@ -566,16 +611,16 @@ public static com.google.apps.script.type.docs.DocsExtensionPoint getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DocsExtensionPoint parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DocsExtensionPoint(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DocsExtensionPoint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DocsExtensionPoint(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +635,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.docs.DocsExtensionPoint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsExtensionPointOrBuilder.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsExtensionPointOrBuilder.java similarity index 52% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsExtensionPointOrBuilder.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsExtensionPointOrBuilder.java index 628d7788..22373352 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsExtensionPointOrBuilder.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/docs/DocsExtensionPointOrBuilder.java @@ -1,29 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/docs/docs_addon_manifest.proto package com.google.apps.script.type.docs; -public interface DocsExtensionPointOrBuilder extends +public interface DocsExtensionPointOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.docs.DocsExtensionPoint) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The endpoint to execute when this extension point is activated.
    * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The runFunction. */ java.lang.String getRunFunction(); /** + * + * *
    * Required. The endpoint to execute when this extension point is activated.
    * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for runFunction. */ - com.google.protobuf.ByteString - getRunFunctionBytes(); + com.google.protobuf.ByteString getRunFunctionBytes(); } diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifest.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifest.java similarity index 70% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifest.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifest.java index d4d0b435..8a1f517c 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifest.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/drive/drive_addon_manifest.proto package com.google.apps.script.type.drive; /** + * + * *
  * Drive add-on manifest.
  * 
* * Protobuf type {@code google.apps.script.type.drive.DriveAddOnManifest} */ -public final class DriveAddOnManifest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DriveAddOnManifest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.apps.script.type.drive.DriveAddOnManifest) DriveAddOnManifestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DriveAddOnManifest.newBuilder() to construct. private DriveAddOnManifest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DriveAddOnManifest() { - } + + private DriveAddOnManifest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DriveAddOnManifest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DriveAddOnManifest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,47 @@ private DriveAddOnManifest( case 0: done = true; break; - case 10: { - com.google.apps.script.type.HomepageExtensionPoint.Builder subBuilder = null; - if (homepageTrigger_ != null) { - subBuilder = homepageTrigger_.toBuilder(); - } - homepageTrigger_ = input.readMessage(com.google.apps.script.type.HomepageExtensionPoint.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(homepageTrigger_); - homepageTrigger_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.apps.script.type.HomepageExtensionPoint.Builder subBuilder = null; + if (homepageTrigger_ != null) { + subBuilder = homepageTrigger_.toBuilder(); + } + homepageTrigger_ = + input.readMessage( + com.google.apps.script.type.HomepageExtensionPoint.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(homepageTrigger_); + homepageTrigger_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.apps.script.type.drive.DriveExtensionPoint.Builder subBuilder = null; - if (onItemsSelectedTrigger_ != null) { - subBuilder = onItemsSelectedTrigger_.toBuilder(); - } - onItemsSelectedTrigger_ = input.readMessage(com.google.apps.script.type.drive.DriveExtensionPoint.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(onItemsSelectedTrigger_); - onItemsSelectedTrigger_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.apps.script.type.drive.DriveExtensionPoint.Builder subBuilder = null; + if (onItemsSelectedTrigger_ != null) { + subBuilder = onItemsSelectedTrigger_.toBuilder(); + } + onItemsSelectedTrigger_ = + input.readMessage( + com.google.apps.script.type.drive.DriveExtensionPoint.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(onItemsSelectedTrigger_); + onItemsSelectedTrigger_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,35 +116,40 @@ private DriveAddOnManifest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.apps.script.type.drive.DriveAddOnManifestProto.internal_static_google_apps_script_type_drive_DriveAddOnManifest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.script.type.drive.DriveAddOnManifestProto + .internal_static_google_apps_script_type_drive_DriveAddOnManifest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.drive.DriveAddOnManifestProto.internal_static_google_apps_script_type_drive_DriveAddOnManifest_fieldAccessorTable + return com.google.apps.script.type.drive.DriveAddOnManifestProto + .internal_static_google_apps_script_type_drive_DriveAddOnManifest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.drive.DriveAddOnManifest.class, com.google.apps.script.type.drive.DriveAddOnManifest.Builder.class); + com.google.apps.script.type.drive.DriveAddOnManifest.class, + com.google.apps.script.type.drive.DriveAddOnManifest.Builder.class); } public static final int HOMEPAGE_TRIGGER_FIELD_NUMBER = 1; private com.google.apps.script.type.HomepageExtensionPoint homepageTrigger_; /** + * + * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1; + * * @return Whether the homepageTrigger field is set. */ @java.lang.Override @@ -128,19 +157,26 @@ public boolean hasHomepageTrigger() { return homepageTrigger_ != null; } /** + * + * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1; + * * @return The homepageTrigger. */ @java.lang.Override public com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger() { - return homepageTrigger_ == null ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_; + return homepageTrigger_ == null + ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() + : homepageTrigger_; } /** + * + * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
@@ -156,12 +192,15 @@ public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTr
   public static final int ON_ITEMS_SELECTED_TRIGGER_FIELD_NUMBER = 2;
   private com.google.apps.script.type.drive.DriveExtensionPoint onItemsSelectedTrigger_;
   /**
+   *
+   *
    * 
    * Corresponds to behvior that should execute when items are selected
    * in relevant Drive view (e.g. the My Drive Doclist).
    * 
* * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; + * * @return Whether the onItemsSelectedTrigger field is set. */ @java.lang.Override @@ -169,19 +208,26 @@ public boolean hasOnItemsSelectedTrigger() { return onItemsSelectedTrigger_ != null; } /** + * + * *
    * Corresponds to behvior that should execute when items are selected
    * in relevant Drive view (e.g. the My Drive Doclist).
    * 
* * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; + * * @return The onItemsSelectedTrigger. */ @java.lang.Override public com.google.apps.script.type.drive.DriveExtensionPoint getOnItemsSelectedTrigger() { - return onItemsSelectedTrigger_ == null ? com.google.apps.script.type.drive.DriveExtensionPoint.getDefaultInstance() : onItemsSelectedTrigger_; + return onItemsSelectedTrigger_ == null + ? com.google.apps.script.type.drive.DriveExtensionPoint.getDefaultInstance() + : onItemsSelectedTrigger_; } /** + * + * *
    * Corresponds to behvior that should execute when items are selected
    * in relevant Drive view (e.g. the My Drive Doclist).
@@ -190,11 +236,13 @@ public com.google.apps.script.type.drive.DriveExtensionPoint getOnItemsSelectedT
    * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2;
    */
   @java.lang.Override
-  public com.google.apps.script.type.drive.DriveExtensionPointOrBuilder getOnItemsSelectedTriggerOrBuilder() {
+  public com.google.apps.script.type.drive.DriveExtensionPointOrBuilder
+      getOnItemsSelectedTriggerOrBuilder() {
     return getOnItemsSelectedTrigger();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -206,8 +254,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (homepageTrigger_ != null) {
       output.writeMessage(1, getHomepageTrigger());
     }
@@ -224,12 +271,11 @@ public int getSerializedSize() {
 
     size = 0;
     if (homepageTrigger_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getHomepageTrigger());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getHomepageTrigger());
     }
     if (onItemsSelectedTrigger_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getOnItemsSelectedTrigger());
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(2, getOnItemsSelectedTrigger());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -239,22 +285,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.apps.script.type.drive.DriveAddOnManifest)) {
       return super.equals(obj);
     }
-    com.google.apps.script.type.drive.DriveAddOnManifest other = (com.google.apps.script.type.drive.DriveAddOnManifest) obj;
+    com.google.apps.script.type.drive.DriveAddOnManifest other =
+        (com.google.apps.script.type.drive.DriveAddOnManifest) obj;
 
     if (hasHomepageTrigger() != other.hasHomepageTrigger()) return false;
     if (hasHomepageTrigger()) {
-      if (!getHomepageTrigger()
-          .equals(other.getHomepageTrigger())) return false;
+      if (!getHomepageTrigger().equals(other.getHomepageTrigger())) return false;
     }
     if (hasOnItemsSelectedTrigger() != other.hasOnItemsSelectedTrigger()) return false;
     if (hasOnItemsSelectedTrigger()) {
-      if (!getOnItemsSelectedTrigger()
-          .equals(other.getOnItemsSelectedTrigger())) return false;
+      if (!getOnItemsSelectedTrigger().equals(other.getOnItemsSelectedTrigger())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -281,117 +326,126 @@ public int hashCode() {
   }
 
   public static com.google.apps.script.type.drive.DriveAddOnManifest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.apps.script.type.drive.DriveAddOnManifest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.apps.script.type.drive.DriveAddOnManifest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.apps.script.type.drive.DriveAddOnManifest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.apps.script.type.drive.DriveAddOnManifest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.apps.script.type.drive.DriveAddOnManifest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.apps.script.type.drive.DriveAddOnManifest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.apps.script.type.drive.DriveAddOnManifest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.apps.script.type.drive.DriveAddOnManifest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.apps.script.type.drive.DriveAddOnManifest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.apps.script.type.drive.DriveAddOnManifest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.apps.script.type.drive.DriveAddOnManifest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.apps.script.type.drive.DriveAddOnManifest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.apps.script.type.drive.DriveAddOnManifest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.apps.script.type.drive.DriveAddOnManifest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Drive add-on manifest.
    * 
* * Protobuf type {@code google.apps.script.type.drive.DriveAddOnManifest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.apps.script.type.drive.DriveAddOnManifest) com.google.apps.script.type.drive.DriveAddOnManifestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.apps.script.type.drive.DriveAddOnManifestProto.internal_static_google_apps_script_type_drive_DriveAddOnManifest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.script.type.drive.DriveAddOnManifestProto + .internal_static_google_apps_script_type_drive_DriveAddOnManifest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.drive.DriveAddOnManifestProto.internal_static_google_apps_script_type_drive_DriveAddOnManifest_fieldAccessorTable + return com.google.apps.script.type.drive.DriveAddOnManifestProto + .internal_static_google_apps_script_type_drive_DriveAddOnManifest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.drive.DriveAddOnManifest.class, com.google.apps.script.type.drive.DriveAddOnManifest.Builder.class); + com.google.apps.script.type.drive.DriveAddOnManifest.class, + com.google.apps.script.type.drive.DriveAddOnManifest.Builder.class); } // Construct using com.google.apps.script.type.drive.DriveAddOnManifest.newBuilder() @@ -399,16 +453,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -428,9 +481,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.apps.script.type.drive.DriveAddOnManifestProto.internal_static_google_apps_script_type_drive_DriveAddOnManifest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.apps.script.type.drive.DriveAddOnManifestProto + .internal_static_google_apps_script_type_drive_DriveAddOnManifest_descriptor; } @java.lang.Override @@ -449,7 +502,8 @@ public com.google.apps.script.type.drive.DriveAddOnManifest build() { @java.lang.Override public com.google.apps.script.type.drive.DriveAddOnManifest buildPartial() { - com.google.apps.script.type.drive.DriveAddOnManifest result = new com.google.apps.script.type.drive.DriveAddOnManifest(this); + com.google.apps.script.type.drive.DriveAddOnManifest result = + new com.google.apps.script.type.drive.DriveAddOnManifest(this); if (homepageTriggerBuilder_ == null) { result.homepageTrigger_ = homepageTrigger_; } else { @@ -468,38 +522,39 @@ public com.google.apps.script.type.drive.DriveAddOnManifest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.script.type.drive.DriveAddOnManifest) { - return mergeFrom((com.google.apps.script.type.drive.DriveAddOnManifest)other); + return mergeFrom((com.google.apps.script.type.drive.DriveAddOnManifest) other); } else { super.mergeFrom(other); return this; @@ -507,7 +562,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.apps.script.type.drive.DriveAddOnManifest other) { - if (other == com.google.apps.script.type.drive.DriveAddOnManifest.getDefaultInstance()) return this; + if (other == com.google.apps.script.type.drive.DriveAddOnManifest.getDefaultInstance()) + return this; if (other.hasHomepageTrigger()) { mergeHomepageTrigger(other.getHomepageTrigger()); } @@ -533,7 +589,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.apps.script.type.drive.DriveAddOnManifest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.apps.script.type.drive.DriveAddOnManifest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -545,36 +602,49 @@ public Builder mergeFrom( private com.google.apps.script.type.HomepageExtensionPoint homepageTrigger_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder> homepageTriggerBuilder_; + com.google.apps.script.type.HomepageExtensionPoint, + com.google.apps.script.type.HomepageExtensionPoint.Builder, + com.google.apps.script.type.HomepageExtensionPointOrBuilder> + homepageTriggerBuilder_; /** + * + * *
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
      * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1; + * * @return Whether the homepageTrigger field is set. */ public boolean hasHomepageTrigger() { return homepageTriggerBuilder_ != null || homepageTrigger_ != null; } /** + * + * *
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
      * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1; + * * @return The homepageTrigger. */ public com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger() { if (homepageTriggerBuilder_ == null) { - return homepageTrigger_ == null ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_; + return homepageTrigger_ == null + ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() + : homepageTrigger_; } else { return homepageTriggerBuilder_.getMessage(); } } /** + * + * *
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -596,6 +666,8 @@ public Builder setHomepageTrigger(com.google.apps.script.type.HomepageExtensionP
       return this;
     }
     /**
+     *
+     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -615,6 +687,8 @@ public Builder setHomepageTrigger(
       return this;
     }
     /**
+     *
+     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -626,7 +700,9 @@ public Builder mergeHomepageTrigger(com.google.apps.script.type.HomepageExtensio
       if (homepageTriggerBuilder_ == null) {
         if (homepageTrigger_ != null) {
           homepageTrigger_ =
-            com.google.apps.script.type.HomepageExtensionPoint.newBuilder(homepageTrigger_).mergeFrom(value).buildPartial();
+              com.google.apps.script.type.HomepageExtensionPoint.newBuilder(homepageTrigger_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           homepageTrigger_ = value;
         }
@@ -638,6 +714,8 @@ public Builder mergeHomepageTrigger(com.google.apps.script.type.HomepageExtensio
       return this;
     }
     /**
+     *
+     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -657,6 +735,8 @@ public Builder clearHomepageTrigger() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -665,11 +745,13 @@ public Builder clearHomepageTrigger() {
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
      */
     public com.google.apps.script.type.HomepageExtensionPoint.Builder getHomepageTriggerBuilder() {
-      
+
       onChanged();
       return getHomepageTriggerFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -677,15 +759,19 @@ public com.google.apps.script.type.HomepageExtensionPoint.Builder getHomepageTri
      *
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
      */
-    public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder() {
+    public com.google.apps.script.type.HomepageExtensionPointOrBuilder
+        getHomepageTriggerOrBuilder() {
       if (homepageTriggerBuilder_ != null) {
         return homepageTriggerBuilder_.getMessageOrBuilder();
       } else {
-        return homepageTrigger_ == null ?
-            com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_;
+        return homepageTrigger_ == null
+            ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance()
+            : homepageTrigger_;
       }
     }
     /**
+     *
+     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -694,14 +780,17 @@ public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTr
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder> 
+            com.google.apps.script.type.HomepageExtensionPoint,
+            com.google.apps.script.type.HomepageExtensionPoint.Builder,
+            com.google.apps.script.type.HomepageExtensionPointOrBuilder>
         getHomepageTriggerFieldBuilder() {
       if (homepageTriggerBuilder_ == null) {
-        homepageTriggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder>(
-                getHomepageTrigger(),
-                getParentForChildren(),
-                isClean());
+        homepageTriggerBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.apps.script.type.HomepageExtensionPoint,
+                com.google.apps.script.type.HomepageExtensionPoint.Builder,
+                com.google.apps.script.type.HomepageExtensionPointOrBuilder>(
+                getHomepageTrigger(), getParentForChildren(), isClean());
         homepageTrigger_ = null;
       }
       return homepageTriggerBuilder_;
@@ -709,44 +798,61 @@ public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTr
 
     private com.google.apps.script.type.drive.DriveExtensionPoint onItemsSelectedTrigger_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.apps.script.type.drive.DriveExtensionPoint, com.google.apps.script.type.drive.DriveExtensionPoint.Builder, com.google.apps.script.type.drive.DriveExtensionPointOrBuilder> onItemsSelectedTriggerBuilder_;
+            com.google.apps.script.type.drive.DriveExtensionPoint,
+            com.google.apps.script.type.drive.DriveExtensionPoint.Builder,
+            com.google.apps.script.type.drive.DriveExtensionPointOrBuilder>
+        onItemsSelectedTriggerBuilder_;
     /**
+     *
+     *
      * 
      * Corresponds to behvior that should execute when items are selected
      * in relevant Drive view (e.g. the My Drive Doclist).
      * 
* - * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; + * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; + * + * * @return Whether the onItemsSelectedTrigger field is set. */ public boolean hasOnItemsSelectedTrigger() { return onItemsSelectedTriggerBuilder_ != null || onItemsSelectedTrigger_ != null; } /** + * + * *
      * Corresponds to behvior that should execute when items are selected
      * in relevant Drive view (e.g. the My Drive Doclist).
      * 
* - * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; + * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; + * + * * @return The onItemsSelectedTrigger. */ public com.google.apps.script.type.drive.DriveExtensionPoint getOnItemsSelectedTrigger() { if (onItemsSelectedTriggerBuilder_ == null) { - return onItemsSelectedTrigger_ == null ? com.google.apps.script.type.drive.DriveExtensionPoint.getDefaultInstance() : onItemsSelectedTrigger_; + return onItemsSelectedTrigger_ == null + ? com.google.apps.script.type.drive.DriveExtensionPoint.getDefaultInstance() + : onItemsSelectedTrigger_; } else { return onItemsSelectedTriggerBuilder_.getMessage(); } } /** + * + * *
      * Corresponds to behvior that should execute when items are selected
      * in relevant Drive view (e.g. the My Drive Doclist).
      * 
* - * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; + * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; + * */ - public Builder setOnItemsSelectedTrigger(com.google.apps.script.type.drive.DriveExtensionPoint value) { + public Builder setOnItemsSelectedTrigger( + com.google.apps.script.type.drive.DriveExtensionPoint value) { if (onItemsSelectedTriggerBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -760,12 +866,15 @@ public Builder setOnItemsSelectedTrigger(com.google.apps.script.type.drive.Drive return this; } /** + * + * *
      * Corresponds to behvior that should execute when items are selected
      * in relevant Drive view (e.g. the My Drive Doclist).
      * 
* - * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; + * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; + * */ public Builder setOnItemsSelectedTrigger( com.google.apps.script.type.drive.DriveExtensionPoint.Builder builderForValue) { @@ -779,18 +888,25 @@ public Builder setOnItemsSelectedTrigger( return this; } /** + * + * *
      * Corresponds to behvior that should execute when items are selected
      * in relevant Drive view (e.g. the My Drive Doclist).
      * 
* - * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; + * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; + * */ - public Builder mergeOnItemsSelectedTrigger(com.google.apps.script.type.drive.DriveExtensionPoint value) { + public Builder mergeOnItemsSelectedTrigger( + com.google.apps.script.type.drive.DriveExtensionPoint value) { if (onItemsSelectedTriggerBuilder_ == null) { if (onItemsSelectedTrigger_ != null) { onItemsSelectedTrigger_ = - com.google.apps.script.type.drive.DriveExtensionPoint.newBuilder(onItemsSelectedTrigger_).mergeFrom(value).buildPartial(); + com.google.apps.script.type.drive.DriveExtensionPoint.newBuilder( + onItemsSelectedTrigger_) + .mergeFrom(value) + .buildPartial(); } else { onItemsSelectedTrigger_ = value; } @@ -802,12 +918,15 @@ public Builder mergeOnItemsSelectedTrigger(com.google.apps.script.type.drive.Dri return this; } /** + * + * *
      * Corresponds to behvior that should execute when items are selected
      * in relevant Drive view (e.g. the My Drive Doclist).
      * 
* - * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; + * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; + * */ public Builder clearOnItemsSelectedTrigger() { if (onItemsSelectedTriggerBuilder_ == null) { @@ -821,58 +940,73 @@ public Builder clearOnItemsSelectedTrigger() { return this; } /** + * + * *
      * Corresponds to behvior that should execute when items are selected
      * in relevant Drive view (e.g. the My Drive Doclist).
      * 
* - * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; + * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; + * */ - public com.google.apps.script.type.drive.DriveExtensionPoint.Builder getOnItemsSelectedTriggerBuilder() { - + public com.google.apps.script.type.drive.DriveExtensionPoint.Builder + getOnItemsSelectedTriggerBuilder() { + onChanged(); return getOnItemsSelectedTriggerFieldBuilder().getBuilder(); } /** + * + * *
      * Corresponds to behvior that should execute when items are selected
      * in relevant Drive view (e.g. the My Drive Doclist).
      * 
* - * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; + * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; + * */ - public com.google.apps.script.type.drive.DriveExtensionPointOrBuilder getOnItemsSelectedTriggerOrBuilder() { + public com.google.apps.script.type.drive.DriveExtensionPointOrBuilder + getOnItemsSelectedTriggerOrBuilder() { if (onItemsSelectedTriggerBuilder_ != null) { return onItemsSelectedTriggerBuilder_.getMessageOrBuilder(); } else { - return onItemsSelectedTrigger_ == null ? - com.google.apps.script.type.drive.DriveExtensionPoint.getDefaultInstance() : onItemsSelectedTrigger_; + return onItemsSelectedTrigger_ == null + ? com.google.apps.script.type.drive.DriveExtensionPoint.getDefaultInstance() + : onItemsSelectedTrigger_; } } /** + * + * *
      * Corresponds to behvior that should execute when items are selected
      * in relevant Drive view (e.g. the My Drive Doclist).
      * 
* - * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; + * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.drive.DriveExtensionPoint, com.google.apps.script.type.drive.DriveExtensionPoint.Builder, com.google.apps.script.type.drive.DriveExtensionPointOrBuilder> + com.google.apps.script.type.drive.DriveExtensionPoint, + com.google.apps.script.type.drive.DriveExtensionPoint.Builder, + com.google.apps.script.type.drive.DriveExtensionPointOrBuilder> getOnItemsSelectedTriggerFieldBuilder() { if (onItemsSelectedTriggerBuilder_ == null) { - onItemsSelectedTriggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.drive.DriveExtensionPoint, com.google.apps.script.type.drive.DriveExtensionPoint.Builder, com.google.apps.script.type.drive.DriveExtensionPointOrBuilder>( - getOnItemsSelectedTrigger(), - getParentForChildren(), - isClean()); + onItemsSelectedTriggerBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.apps.script.type.drive.DriveExtensionPoint, + com.google.apps.script.type.drive.DriveExtensionPoint.Builder, + com.google.apps.script.type.drive.DriveExtensionPointOrBuilder>( + getOnItemsSelectedTrigger(), getParentForChildren(), isClean()); onItemsSelectedTrigger_ = null; } return onItemsSelectedTriggerBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -882,12 +1016,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.apps.script.type.drive.DriveAddOnManifest) } // @@protoc_insertion_point(class_scope:google.apps.script.type.drive.DriveAddOnManifest) private static final com.google.apps.script.type.drive.DriveAddOnManifest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.apps.script.type.drive.DriveAddOnManifest(); } @@ -896,16 +1030,16 @@ public static com.google.apps.script.type.drive.DriveAddOnManifest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DriveAddOnManifest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DriveAddOnManifest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DriveAddOnManifest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DriveAddOnManifest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -920,6 +1054,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.drive.DriveAddOnManifest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifestOrBuilder.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifestOrBuilder.java similarity index 75% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifestOrBuilder.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifestOrBuilder.java index 04a318fb..de31e377 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifestOrBuilder.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifestOrBuilder.java @@ -1,33 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/drive/drive_addon_manifest.proto package com.google.apps.script.type.drive; -public interface DriveAddOnManifestOrBuilder extends +public interface DriveAddOnManifestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.drive.DriveAddOnManifest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1; + * * @return Whether the homepageTrigger field is set. */ boolean hasHomepageTrigger(); /** + * + * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1; + * * @return The homepageTrigger. */ com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger(); /** + * + * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
@@ -38,26 +62,34 @@ public interface DriveAddOnManifestOrBuilder extends
   com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder();
 
   /**
+   *
+   *
    * 
    * Corresponds to behvior that should execute when items are selected
    * in relevant Drive view (e.g. the My Drive Doclist).
    * 
* * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; + * * @return Whether the onItemsSelectedTrigger field is set. */ boolean hasOnItemsSelectedTrigger(); /** + * + * *
    * Corresponds to behvior that should execute when items are selected
    * in relevant Drive view (e.g. the My Drive Doclist).
    * 
* * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2; + * * @return The onItemsSelectedTrigger. */ com.google.apps.script.type.drive.DriveExtensionPoint getOnItemsSelectedTrigger(); /** + * + * *
    * Corresponds to behvior that should execute when items are selected
    * in relevant Drive view (e.g. the My Drive Doclist).
@@ -65,5 +97,6 @@ public interface DriveAddOnManifestOrBuilder extends
    *
    * .google.apps.script.type.drive.DriveExtensionPoint on_items_selected_trigger = 2;
    */
-  com.google.apps.script.type.drive.DriveExtensionPointOrBuilder getOnItemsSelectedTriggerOrBuilder();
+  com.google.apps.script.type.drive.DriveExtensionPointOrBuilder
+      getOnItemsSelectedTriggerOrBuilder();
 }
diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifestProto.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifestProto.java
new file mode 100644
index 00000000..b94c0377
--- /dev/null
+++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveAddOnManifestProto.java
@@ -0,0 +1,90 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/apps/script/type/drive/drive_addon_manifest.proto
+
+package com.google.apps.script.type.drive;
+
+public final class DriveAddOnManifestProto {
+  private DriveAddOnManifestProto() {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_apps_script_type_drive_DriveAddOnManifest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_apps_script_type_drive_DriveAddOnManifest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_apps_script_type_drive_DriveExtensionPoint_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_apps_script_type_drive_DriveExtensionPoint_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n8google/apps/script/type/drive/drive_ad"
+          + "don_manifest.proto\022\035google.apps.script.t"
+          + "ype.drive\032-google/apps/script/type/exten"
+          + "sion_point.proto\"\266\001\n\022DriveAddOnManifest\022"
+          + "I\n\020homepage_trigger\030\001 \001(\0132/.google.apps."
+          + "script.type.HomepageExtensionPoint\022U\n\031on"
+          + "_items_selected_trigger\030\002 \001(\01322.google.a"
+          + "pps.script.type.drive.DriveExtensionPoin"
+          + "t\"+\n\023DriveExtensionPoint\022\024\n\014run_function"
+          + "\030\001 \001(\tB\340\001\n!com.google.apps.script.type.d"
+          + "riveB\027DriveAddOnManifestProtoP\001Z
  * A generic extension point with common features, e.g. something that simply
  * needs a corresponding run function to work.
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.apps.script.type.drive.DriveExtensionPoint}
  */
-public final class DriveExtensionPoint extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DriveExtensionPoint extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.apps.script.type.drive.DriveExtensionPoint)
     DriveExtensionPointOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DriveExtensionPoint.newBuilder() to construct.
   private DriveExtensionPoint(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DriveExtensionPoint() {
     runFunction_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DriveExtensionPoint();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private DriveExtensionPoint(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,19 +71,20 @@ private DriveExtensionPoint(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            runFunction_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              runFunction_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -74,35 +92,40 @@ private DriveExtensionPoint(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.apps.script.type.drive.DriveAddOnManifestProto.internal_static_google_apps_script_type_drive_DriveExtensionPoint_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.apps.script.type.drive.DriveAddOnManifestProto
+        .internal_static_google_apps_script_type_drive_DriveExtensionPoint_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.apps.script.type.drive.DriveAddOnManifestProto.internal_static_google_apps_script_type_drive_DriveExtensionPoint_fieldAccessorTable
+    return com.google.apps.script.type.drive.DriveAddOnManifestProto
+        .internal_static_google_apps_script_type_drive_DriveExtensionPoint_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.apps.script.type.drive.DriveExtensionPoint.class, com.google.apps.script.type.drive.DriveExtensionPoint.Builder.class);
+            com.google.apps.script.type.drive.DriveExtensionPoint.class,
+            com.google.apps.script.type.drive.DriveExtensionPoint.Builder.class);
   }
 
   public static final int RUN_FUNCTION_FIELD_NUMBER = 1;
   private volatile java.lang.Object runFunction_;
   /**
+   *
+   *
    * 
    * Required. The endpoint to execute when this extension point is
    * activated.
    * 
* * string run_function = 1; + * * @return The runFunction. */ @java.lang.Override @@ -111,30 +134,30 @@ public java.lang.String getRunFunction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); runFunction_ = s; return s; } } /** + * + * *
    * Required. The endpoint to execute when this extension point is
    * activated.
    * 
* * string run_function = 1; + * * @return The bytes for runFunction. */ @java.lang.Override - public com.google.protobuf.ByteString - getRunFunctionBytes() { + public com.google.protobuf.ByteString getRunFunctionBytes() { java.lang.Object ref = runFunction_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); runFunction_ = b; return b; } else { @@ -143,6 +166,7 @@ public java.lang.String getRunFunction() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -154,8 +178,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(runFunction_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, runFunction_); } @@ -179,15 +202,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.drive.DriveExtensionPoint)) { return super.equals(obj); } - com.google.apps.script.type.drive.DriveExtensionPoint other = (com.google.apps.script.type.drive.DriveExtensionPoint) obj; + com.google.apps.script.type.drive.DriveExtensionPoint other = + (com.google.apps.script.type.drive.DriveExtensionPoint) obj; - if (!getRunFunction() - .equals(other.getRunFunction())) return false; + if (!getRunFunction().equals(other.getRunFunction())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -207,96 +230,104 @@ public int hashCode() { } public static com.google.apps.script.type.drive.DriveExtensionPoint parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.drive.DriveExtensionPoint parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.drive.DriveExtensionPoint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.drive.DriveExtensionPoint parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.drive.DriveExtensionPoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.drive.DriveExtensionPoint parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.drive.DriveExtensionPoint parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.apps.script.type.drive.DriveExtensionPoint parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.drive.DriveExtensionPoint parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.drive.DriveExtensionPoint parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.apps.script.type.drive.DriveExtensionPoint parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.apps.script.type.drive.DriveExtensionPoint parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.apps.script.type.drive.DriveExtensionPoint parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.drive.DriveExtensionPoint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.apps.script.type.drive.DriveExtensionPoint prototype) { + + public static Builder newBuilder( + com.google.apps.script.type.drive.DriveExtensionPoint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A generic extension point with common features, e.g. something that simply
    * needs a corresponding run function to work.
@@ -304,21 +335,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.apps.script.type.drive.DriveExtensionPoint}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.apps.script.type.drive.DriveExtensionPoint)
       com.google.apps.script.type.drive.DriveExtensionPointOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.apps.script.type.drive.DriveAddOnManifestProto.internal_static_google_apps_script_type_drive_DriveExtensionPoint_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.apps.script.type.drive.DriveAddOnManifestProto
+          .internal_static_google_apps_script_type_drive_DriveExtensionPoint_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.apps.script.type.drive.DriveAddOnManifestProto.internal_static_google_apps_script_type_drive_DriveExtensionPoint_fieldAccessorTable
+      return com.google.apps.script.type.drive.DriveAddOnManifestProto
+          .internal_static_google_apps_script_type_drive_DriveExtensionPoint_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.apps.script.type.drive.DriveExtensionPoint.class, com.google.apps.script.type.drive.DriveExtensionPoint.Builder.class);
+              com.google.apps.script.type.drive.DriveExtensionPoint.class,
+              com.google.apps.script.type.drive.DriveExtensionPoint.Builder.class);
     }
 
     // Construct using com.google.apps.script.type.drive.DriveExtensionPoint.newBuilder()
@@ -326,16 +359,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -345,9 +377,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.apps.script.type.drive.DriveAddOnManifestProto.internal_static_google_apps_script_type_drive_DriveExtensionPoint_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.apps.script.type.drive.DriveAddOnManifestProto
+          .internal_static_google_apps_script_type_drive_DriveExtensionPoint_descriptor;
     }
 
     @java.lang.Override
@@ -366,7 +398,8 @@ public com.google.apps.script.type.drive.DriveExtensionPoint build() {
 
     @java.lang.Override
     public com.google.apps.script.type.drive.DriveExtensionPoint buildPartial() {
-      com.google.apps.script.type.drive.DriveExtensionPoint result = new com.google.apps.script.type.drive.DriveExtensionPoint(this);
+      com.google.apps.script.type.drive.DriveExtensionPoint result =
+          new com.google.apps.script.type.drive.DriveExtensionPoint(this);
       result.runFunction_ = runFunction_;
       onBuilt();
       return result;
@@ -376,38 +409,39 @@ public com.google.apps.script.type.drive.DriveExtensionPoint buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.apps.script.type.drive.DriveExtensionPoint) {
-        return mergeFrom((com.google.apps.script.type.drive.DriveExtensionPoint)other);
+        return mergeFrom((com.google.apps.script.type.drive.DriveExtensionPoint) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -415,7 +449,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.apps.script.type.drive.DriveExtensionPoint other) {
-      if (other == com.google.apps.script.type.drive.DriveExtensionPoint.getDefaultInstance()) return this;
+      if (other == com.google.apps.script.type.drive.DriveExtensionPoint.getDefaultInstance())
+        return this;
       if (!other.getRunFunction().isEmpty()) {
         runFunction_ = other.runFunction_;
         onChanged();
@@ -439,7 +474,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.apps.script.type.drive.DriveExtensionPoint) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.apps.script.type.drive.DriveExtensionPoint) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -451,19 +487,21 @@ public Builder mergeFrom(
 
     private java.lang.Object runFunction_ = "";
     /**
+     *
+     *
      * 
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1; + * * @return The runFunction. */ public java.lang.String getRunFunction() { java.lang.Object ref = runFunction_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); runFunction_ = s; return s; @@ -472,21 +510,22 @@ public java.lang.String getRunFunction() { } } /** + * + * *
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1; + * * @return The bytes for runFunction. */ - public com.google.protobuf.ByteString - getRunFunctionBytes() { + public com.google.protobuf.ByteString getRunFunctionBytes() { java.lang.Object ref = runFunction_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); runFunction_ = b; return b; } else { @@ -494,64 +533,71 @@ public java.lang.String getRunFunction() { } } /** + * + * *
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1; + * * @param value The runFunction to set. * @return This builder for chaining. */ - public Builder setRunFunction( - java.lang.String value) { + public Builder setRunFunction(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + runFunction_ = value; onChanged(); return this; } /** + * + * *
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1; + * * @return This builder for chaining. */ public Builder clearRunFunction() { - + runFunction_ = getDefaultInstance().getRunFunction(); onChanged(); return this; } /** + * + * *
      * Required. The endpoint to execute when this extension point is
      * activated.
      * 
* * string run_function = 1; + * * @param value The bytes for runFunction to set. * @return This builder for chaining. */ - public Builder setRunFunctionBytes( - com.google.protobuf.ByteString value) { + public Builder setRunFunctionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + runFunction_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -561,12 +607,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.apps.script.type.drive.DriveExtensionPoint) } // @@protoc_insertion_point(class_scope:google.apps.script.type.drive.DriveExtensionPoint) private static final com.google.apps.script.type.drive.DriveExtensionPoint DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.apps.script.type.drive.DriveExtensionPoint(); } @@ -575,16 +621,16 @@ public static com.google.apps.script.type.drive.DriveExtensionPoint getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DriveExtensionPoint parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DriveExtensionPoint(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DriveExtensionPoint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DriveExtensionPoint(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -599,6 +645,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.drive.DriveExtensionPoint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveExtensionPointOrBuilder.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveExtensionPointOrBuilder.java similarity index 50% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveExtensionPointOrBuilder.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveExtensionPointOrBuilder.java index 61ae70a6..f3d15b27 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveExtensionPointOrBuilder.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/drive/DriveExtensionPointOrBuilder.java @@ -1,31 +1,52 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/drive/drive_addon_manifest.proto package com.google.apps.script.type.drive; -public interface DriveExtensionPointOrBuilder extends +public interface DriveExtensionPointOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.drive.DriveExtensionPoint) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The endpoint to execute when this extension point is
    * activated.
    * 
* * string run_function = 1; + * * @return The runFunction. */ java.lang.String getRunFunction(); /** + * + * *
    * Required. The endpoint to execute when this extension point is
    * activated.
    * 
* * string run_function = 1; + * * @return The bytes for runFunction. */ - com.google.protobuf.ByteString - getRunFunctionBytes(); + com.google.protobuf.ByteString getRunFunctionBytes(); } diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ComposeTrigger.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ComposeTrigger.java similarity index 75% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ComposeTrigger.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ComposeTrigger.java index 69a564eb..3c51f8c0 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ComposeTrigger.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ComposeTrigger.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/gmail/gmail_addon_manifest.proto package com.google.apps.script.type.gmail; /** + * + * *
  * A trigger that activates when user is composing an email.
  * 
* * Protobuf type {@code google.apps.script.type.gmail.ComposeTrigger} */ -public final class ComposeTrigger extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ComposeTrigger extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.apps.script.type.gmail.ComposeTrigger) ComposeTriggerOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ComposeTrigger.newBuilder() to construct. private ComposeTrigger(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ComposeTrigger() { actions_ = java.util.Collections.emptyList(); draftAccess_ = 0; @@ -26,16 +44,15 @@ private ComposeTrigger() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ComposeTrigger(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ComposeTrigger( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,33 @@ private ComposeTrigger( case 0: done = true; break; - case 32: { - int rawValue = input.readEnum(); + case 32: + { + int rawValue = input.readEnum(); - draftAccess_ = rawValue; - break; - } - case 42: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - actions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + draftAccess_ = rawValue; + break; } - actions_.add( - input.readMessage(com.google.apps.script.type.MenuItemExtensionPoint.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 42: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + actions_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + actions_.add( + input.readMessage( + com.google.apps.script.type.MenuItemExtensionPoint.parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +106,7 @@ private ComposeTrigger( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { actions_ = java.util.Collections.unmodifiableList(actions_); @@ -94,29 +115,35 @@ private ComposeTrigger( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_ComposeTrigger_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.script.type.gmail.GmailAddOnManifestProto + .internal_static_google_apps_script_type_gmail_ComposeTrigger_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_ComposeTrigger_fieldAccessorTable + return com.google.apps.script.type.gmail.GmailAddOnManifestProto + .internal_static_google_apps_script_type_gmail_ComposeTrigger_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.gmail.ComposeTrigger.class, com.google.apps.script.type.gmail.ComposeTrigger.Builder.class); + com.google.apps.script.type.gmail.ComposeTrigger.class, + com.google.apps.script.type.gmail.ComposeTrigger.Builder.class); } /** + * + * *
    * An enum defining the level of data access this compose trigger requires.
    * 
* * Protobuf enum {@code google.apps.script.type.gmail.ComposeTrigger.DraftAccess} */ - public enum DraftAccess - implements com.google.protobuf.ProtocolMessageEnum { + public enum DraftAccess implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value when nothing is set for DraftAccess.
      * 
@@ -125,6 +152,8 @@ public enum DraftAccess */ UNSPECIFIED(0), /** + * + * *
      * NONE means compose trigger won't be able to access any data of the draft
      * when a compose addon is triggered.
@@ -134,6 +163,8 @@ public enum DraftAccess
      */
     NONE(1),
     /**
+     *
+     *
      * 
      * METADATA gives compose trigger the permission to access the metadata of
      * the draft when a compose addon is triggered. This includes the audience
@@ -147,6 +178,8 @@ public enum DraftAccess
     ;
 
     /**
+     *
+     *
      * 
      * Default value when nothing is set for DraftAccess.
      * 
@@ -155,6 +188,8 @@ public enum DraftAccess */ public static final int UNSPECIFIED_VALUE = 0; /** + * + * *
      * NONE means compose trigger won't be able to access any data of the draft
      * when a compose addon is triggered.
@@ -164,6 +199,8 @@ public enum DraftAccess
      */
     public static final int NONE_VALUE = 1;
     /**
+     *
+     *
      * 
      * METADATA gives compose trigger the permission to access the metadata of
      * the draft when a compose addon is triggered. This includes the audience
@@ -174,7 +211,6 @@ public enum DraftAccess
      */
     public static final int METADATA_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -199,49 +235,49 @@ public static DraftAccess valueOf(int value) {
      */
     public static DraftAccess forNumber(int value) {
       switch (value) {
-        case 0: return UNSPECIFIED;
-        case 1: return NONE;
-        case 2: return METADATA;
-        default: return null;
+        case 0:
+          return UNSPECIFIED;
+        case 1:
+          return NONE;
+        case 2:
+          return METADATA;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        DraftAccess> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public DraftAccess findValueByNumber(int number) {
-              return DraftAccess.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public DraftAccess findValueByNumber(int number) {
+            return DraftAccess.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.apps.script.type.gmail.ComposeTrigger.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final DraftAccess[] VALUES = values();
 
-    public static DraftAccess valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static DraftAccess valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -261,6 +297,8 @@ private DraftAccess(int value) {
   public static final int ACTIONS_FIELD_NUMBER = 5;
   private java.util.List actions_;
   /**
+   *
+   *
    * 
    * Defines the set of actions for compose time add-on. These are actions
    * that user can trigger on a compose time addon.
@@ -273,6 +311,8 @@ public java.util.List getAct
     return actions_;
   }
   /**
+   *
+   *
    * 
    * Defines the set of actions for compose time add-on. These are actions
    * that user can trigger on a compose time addon.
@@ -281,11 +321,13 @@ public java.util.List getAct
    * repeated .google.apps.script.type.MenuItemExtensionPoint actions = 5;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getActionsOrBuilderList() {
     return actions_;
   }
   /**
+   *
+   *
    * 
    * Defines the set of actions for compose time add-on. These are actions
    * that user can trigger on a compose time addon.
@@ -298,6 +340,8 @@ public int getActionsCount() {
     return actions_.size();
   }
   /**
+   *
+   *
    * 
    * Defines the set of actions for compose time add-on. These are actions
    * that user can trigger on a compose time addon.
@@ -310,6 +354,8 @@ public com.google.apps.script.type.MenuItemExtensionPoint getActions(int index)
     return actions_.get(index);
   }
   /**
+   *
+   *
    * 
    * Defines the set of actions for compose time add-on. These are actions
    * that user can trigger on a compose time addon.
@@ -326,31 +372,43 @@ public com.google.apps.script.type.MenuItemExtensionPointOrBuilder getActionsOrB
   public static final int DRAFT_ACCESS_FIELD_NUMBER = 4;
   private int draftAccess_;
   /**
+   *
+   *
    * 
    * Define the level of data access when a compose time addon is triggered.
    * 
* * .google.apps.script.type.gmail.ComposeTrigger.DraftAccess draft_access = 4; + * * @return The enum numeric value on the wire for draftAccess. */ - @java.lang.Override public int getDraftAccessValue() { + @java.lang.Override + public int getDraftAccessValue() { return draftAccess_; } /** + * + * *
    * Define the level of data access when a compose time addon is triggered.
    * 
* * .google.apps.script.type.gmail.ComposeTrigger.DraftAccess draft_access = 4; + * * @return The draftAccess. */ - @java.lang.Override public com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess getDraftAccess() { + @java.lang.Override + public com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess getDraftAccess() { @SuppressWarnings("deprecation") - com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess result = com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess.valueOf(draftAccess_); - return result == null ? com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess.UNRECOGNIZED : result; + com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess result = + com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess.valueOf(draftAccess_); + return result == null + ? com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -362,9 +420,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (draftAccess_ != com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess.UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (draftAccess_ + != com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess.UNSPECIFIED.getNumber()) { output.writeEnum(4, draftAccess_); } for (int i = 0; i < actions_.size(); i++) { @@ -379,13 +437,12 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (draftAccess_ != com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess.UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, draftAccess_); + if (draftAccess_ + != com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess.UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, draftAccess_); } for (int i = 0; i < actions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, actions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, actions_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -395,15 +452,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.gmail.ComposeTrigger)) { return super.equals(obj); } - com.google.apps.script.type.gmail.ComposeTrigger other = (com.google.apps.script.type.gmail.ComposeTrigger) obj; + com.google.apps.script.type.gmail.ComposeTrigger other = + (com.google.apps.script.type.gmail.ComposeTrigger) obj; - if (!getActionsList() - .equals(other.getActionsList())) return false; + if (!getActionsList().equals(other.getActionsList())) return false; if (draftAccess_ != other.draftAccess_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -427,118 +484,127 @@ public int hashCode() { return hash; } - public static com.google.apps.script.type.gmail.ComposeTrigger parseFrom( - java.nio.ByteBuffer data) + public static com.google.apps.script.type.gmail.ComposeTrigger parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.gmail.ComposeTrigger parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.gmail.ComposeTrigger parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.gmail.ComposeTrigger parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.gmail.ComposeTrigger parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.gmail.ComposeTrigger parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.gmail.ComposeTrigger parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.apps.script.type.gmail.ComposeTrigger parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.gmail.ComposeTrigger parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.gmail.ComposeTrigger parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.apps.script.type.gmail.ComposeTrigger parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.apps.script.type.gmail.ComposeTrigger parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.apps.script.type.gmail.ComposeTrigger parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.gmail.ComposeTrigger parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.apps.script.type.gmail.ComposeTrigger prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A trigger that activates when user is composing an email.
    * 
* * Protobuf type {@code google.apps.script.type.gmail.ComposeTrigger} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.apps.script.type.gmail.ComposeTrigger) com.google.apps.script.type.gmail.ComposeTriggerOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_ComposeTrigger_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.script.type.gmail.GmailAddOnManifestProto + .internal_static_google_apps_script_type_gmail_ComposeTrigger_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_ComposeTrigger_fieldAccessorTable + return com.google.apps.script.type.gmail.GmailAddOnManifestProto + .internal_static_google_apps_script_type_gmail_ComposeTrigger_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.gmail.ComposeTrigger.class, com.google.apps.script.type.gmail.ComposeTrigger.Builder.class); + com.google.apps.script.type.gmail.ComposeTrigger.class, + com.google.apps.script.type.gmail.ComposeTrigger.Builder.class); } // Construct using com.google.apps.script.type.gmail.ComposeTrigger.newBuilder() @@ -546,17 +612,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getActionsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -572,9 +638,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_ComposeTrigger_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.apps.script.type.gmail.GmailAddOnManifestProto + .internal_static_google_apps_script_type_gmail_ComposeTrigger_descriptor; } @java.lang.Override @@ -593,7 +659,8 @@ public com.google.apps.script.type.gmail.ComposeTrigger build() { @java.lang.Override public com.google.apps.script.type.gmail.ComposeTrigger buildPartial() { - com.google.apps.script.type.gmail.ComposeTrigger result = new com.google.apps.script.type.gmail.ComposeTrigger(this); + com.google.apps.script.type.gmail.ComposeTrigger result = + new com.google.apps.script.type.gmail.ComposeTrigger(this); int from_bitField0_ = bitField0_; if (actionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -613,38 +680,39 @@ public com.google.apps.script.type.gmail.ComposeTrigger buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.script.type.gmail.ComposeTrigger) { - return mergeFrom((com.google.apps.script.type.gmail.ComposeTrigger)other); + return mergeFrom((com.google.apps.script.type.gmail.ComposeTrigger) other); } else { super.mergeFrom(other); return this; @@ -652,7 +720,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.apps.script.type.gmail.ComposeTrigger other) { - if (other == com.google.apps.script.type.gmail.ComposeTrigger.getDefaultInstance()) return this; + if (other == com.google.apps.script.type.gmail.ComposeTrigger.getDefaultInstance()) + return this; if (actionsBuilder_ == null) { if (!other.actions_.isEmpty()) { if (actions_.isEmpty()) { @@ -671,9 +740,10 @@ public Builder mergeFrom(com.google.apps.script.type.gmail.ComposeTrigger other) actionsBuilder_ = null; actions_ = other.actions_; bitField0_ = (bitField0_ & ~0x00000001); - actionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getActionsFieldBuilder() : null; + actionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getActionsFieldBuilder() + : null; } else { actionsBuilder_.addAllMessages(other.actions_); } @@ -710,21 +780,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List actions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureActionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - actions_ = new java.util.ArrayList(actions_); + actions_ = + new java.util.ArrayList(actions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.apps.script.type.MenuItemExtensionPoint, com.google.apps.script.type.MenuItemExtensionPoint.Builder, com.google.apps.script.type.MenuItemExtensionPointOrBuilder> actionsBuilder_; + com.google.apps.script.type.MenuItemExtensionPoint, + com.google.apps.script.type.MenuItemExtensionPoint.Builder, + com.google.apps.script.type.MenuItemExtensionPointOrBuilder> + actionsBuilder_; /** + * + * *
      * Defines the set of actions for compose time add-on. These are actions
      * that user can trigger on a compose time addon.
@@ -740,6 +818,8 @@ public java.util.List getAct
       }
     }
     /**
+     *
+     *
      * 
      * Defines the set of actions for compose time add-on. These are actions
      * that user can trigger on a compose time addon.
@@ -755,6 +835,8 @@ public int getActionsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Defines the set of actions for compose time add-on. These are actions
      * that user can trigger on a compose time addon.
@@ -770,6 +852,8 @@ public com.google.apps.script.type.MenuItemExtensionPoint getActions(int index)
       }
     }
     /**
+     *
+     *
      * 
      * Defines the set of actions for compose time add-on. These are actions
      * that user can trigger on a compose time addon.
@@ -777,8 +861,7 @@ public com.google.apps.script.type.MenuItemExtensionPoint getActions(int index)
      *
      * repeated .google.apps.script.type.MenuItemExtensionPoint actions = 5;
      */
-    public Builder setActions(
-        int index, com.google.apps.script.type.MenuItemExtensionPoint value) {
+    public Builder setActions(int index, com.google.apps.script.type.MenuItemExtensionPoint value) {
       if (actionsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -792,6 +875,8 @@ public Builder setActions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines the set of actions for compose time add-on. These are actions
      * that user can trigger on a compose time addon.
@@ -811,6 +896,8 @@ public Builder setActions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines the set of actions for compose time add-on. These are actions
      * that user can trigger on a compose time addon.
@@ -832,6 +919,8 @@ public Builder addActions(com.google.apps.script.type.MenuItemExtensionPoint val
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines the set of actions for compose time add-on. These are actions
      * that user can trigger on a compose time addon.
@@ -839,8 +928,7 @@ public Builder addActions(com.google.apps.script.type.MenuItemExtensionPoint val
      *
      * repeated .google.apps.script.type.MenuItemExtensionPoint actions = 5;
      */
-    public Builder addActions(
-        int index, com.google.apps.script.type.MenuItemExtensionPoint value) {
+    public Builder addActions(int index, com.google.apps.script.type.MenuItemExtensionPoint value) {
       if (actionsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -854,6 +942,8 @@ public Builder addActions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines the set of actions for compose time add-on. These are actions
      * that user can trigger on a compose time addon.
@@ -873,6 +963,8 @@ public Builder addActions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines the set of actions for compose time add-on. These are actions
      * that user can trigger on a compose time addon.
@@ -892,6 +984,8 @@ public Builder addActions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines the set of actions for compose time add-on. These are actions
      * that user can trigger on a compose time addon.
@@ -903,8 +997,7 @@ public Builder addAllActions(
         java.lang.Iterable values) {
       if (actionsBuilder_ == null) {
         ensureActionsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, actions_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, actions_);
         onChanged();
       } else {
         actionsBuilder_.addAllMessages(values);
@@ -912,6 +1005,8 @@ public Builder addAllActions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines the set of actions for compose time add-on. These are actions
      * that user can trigger on a compose time addon.
@@ -930,6 +1025,8 @@ public Builder clearActions() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines the set of actions for compose time add-on. These are actions
      * that user can trigger on a compose time addon.
@@ -948,6 +1045,8 @@ public Builder removeActions(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines the set of actions for compose time add-on. These are actions
      * that user can trigger on a compose time addon.
@@ -955,11 +1054,12 @@ public Builder removeActions(int index) {
      *
      * repeated .google.apps.script.type.MenuItemExtensionPoint actions = 5;
      */
-    public com.google.apps.script.type.MenuItemExtensionPoint.Builder getActionsBuilder(
-        int index) {
+    public com.google.apps.script.type.MenuItemExtensionPoint.Builder getActionsBuilder(int index) {
       return getActionsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Defines the set of actions for compose time add-on. These are actions
      * that user can trigger on a compose time addon.
@@ -970,11 +1070,14 @@ public com.google.apps.script.type.MenuItemExtensionPoint.Builder getActionsBuil
     public com.google.apps.script.type.MenuItemExtensionPointOrBuilder getActionsOrBuilder(
         int index) {
       if (actionsBuilder_ == null) {
-        return actions_.get(index);  } else {
+        return actions_.get(index);
+      } else {
         return actionsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Defines the set of actions for compose time add-on. These are actions
      * that user can trigger on a compose time addon.
@@ -982,8 +1085,8 @@ public com.google.apps.script.type.MenuItemExtensionPointOrBuilder getActionsOrB
      *
      * repeated .google.apps.script.type.MenuItemExtensionPoint actions = 5;
      */
-    public java.util.List 
-         getActionsOrBuilderList() {
+    public java.util.List
+        getActionsOrBuilderList() {
       if (actionsBuilder_ != null) {
         return actionsBuilder_.getMessageOrBuilderList();
       } else {
@@ -991,6 +1094,8 @@ public com.google.apps.script.type.MenuItemExtensionPointOrBuilder getActionsOrB
       }
     }
     /**
+     *
+     *
      * 
      * Defines the set of actions for compose time add-on. These are actions
      * that user can trigger on a compose time addon.
@@ -999,10 +1104,12 @@ public com.google.apps.script.type.MenuItemExtensionPointOrBuilder getActionsOrB
      * repeated .google.apps.script.type.MenuItemExtensionPoint actions = 5;
      */
     public com.google.apps.script.type.MenuItemExtensionPoint.Builder addActionsBuilder() {
-      return getActionsFieldBuilder().addBuilder(
-          com.google.apps.script.type.MenuItemExtensionPoint.getDefaultInstance());
+      return getActionsFieldBuilder()
+          .addBuilder(com.google.apps.script.type.MenuItemExtensionPoint.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Defines the set of actions for compose time add-on. These are actions
      * that user can trigger on a compose time addon.
@@ -1010,12 +1117,14 @@ public com.google.apps.script.type.MenuItemExtensionPoint.Builder addActionsBuil
      *
      * repeated .google.apps.script.type.MenuItemExtensionPoint actions = 5;
      */
-    public com.google.apps.script.type.MenuItemExtensionPoint.Builder addActionsBuilder(
-        int index) {
-      return getActionsFieldBuilder().addBuilder(
-          index, com.google.apps.script.type.MenuItemExtensionPoint.getDefaultInstance());
+    public com.google.apps.script.type.MenuItemExtensionPoint.Builder addActionsBuilder(int index) {
+      return getActionsFieldBuilder()
+          .addBuilder(
+              index, com.google.apps.script.type.MenuItemExtensionPoint.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Defines the set of actions for compose time add-on. These are actions
      * that user can trigger on a compose time addon.
@@ -1023,20 +1132,23 @@ public com.google.apps.script.type.MenuItemExtensionPoint.Builder addActionsBuil
      *
      * repeated .google.apps.script.type.MenuItemExtensionPoint actions = 5;
      */
-    public java.util.List 
-         getActionsBuilderList() {
+    public java.util.List
+        getActionsBuilderList() {
       return getActionsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.apps.script.type.MenuItemExtensionPoint, com.google.apps.script.type.MenuItemExtensionPoint.Builder, com.google.apps.script.type.MenuItemExtensionPointOrBuilder> 
+            com.google.apps.script.type.MenuItemExtensionPoint,
+            com.google.apps.script.type.MenuItemExtensionPoint.Builder,
+            com.google.apps.script.type.MenuItemExtensionPointOrBuilder>
         getActionsFieldBuilder() {
       if (actionsBuilder_ == null) {
-        actionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.apps.script.type.MenuItemExtensionPoint, com.google.apps.script.type.MenuItemExtensionPoint.Builder, com.google.apps.script.type.MenuItemExtensionPointOrBuilder>(
-                actions_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        actionsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.apps.script.type.MenuItemExtensionPoint,
+                com.google.apps.script.type.MenuItemExtensionPoint.Builder,
+                com.google.apps.script.type.MenuItemExtensionPointOrBuilder>(
+                actions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         actions_ = null;
       }
       return actionsBuilder_;
@@ -1044,80 +1156,100 @@ public com.google.apps.script.type.MenuItemExtensionPoint.Builder addActionsBuil
 
     private int draftAccess_ = 0;
     /**
+     *
+     *
      * 
      * Define the level of data access when a compose time addon is triggered.
      * 
* * .google.apps.script.type.gmail.ComposeTrigger.DraftAccess draft_access = 4; + * * @return The enum numeric value on the wire for draftAccess. */ - @java.lang.Override public int getDraftAccessValue() { + @java.lang.Override + public int getDraftAccessValue() { return draftAccess_; } /** + * + * *
      * Define the level of data access when a compose time addon is triggered.
      * 
* * .google.apps.script.type.gmail.ComposeTrigger.DraftAccess draft_access = 4; + * * @param value The enum numeric value on the wire for draftAccess to set. * @return This builder for chaining. */ public Builder setDraftAccessValue(int value) { - + draftAccess_ = value; onChanged(); return this; } /** + * + * *
      * Define the level of data access when a compose time addon is triggered.
      * 
* * .google.apps.script.type.gmail.ComposeTrigger.DraftAccess draft_access = 4; + * * @return The draftAccess. */ @java.lang.Override public com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess getDraftAccess() { @SuppressWarnings("deprecation") - com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess result = com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess.valueOf(draftAccess_); - return result == null ? com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess.UNRECOGNIZED : result; + com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess result = + com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess.valueOf(draftAccess_); + return result == null + ? com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess.UNRECOGNIZED + : result; } /** + * + * *
      * Define the level of data access when a compose time addon is triggered.
      * 
* * .google.apps.script.type.gmail.ComposeTrigger.DraftAccess draft_access = 4; + * * @param value The draftAccess to set. * @return This builder for chaining. */ - public Builder setDraftAccess(com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess value) { + public Builder setDraftAccess( + com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess value) { if (value == null) { throw new NullPointerException(); } - + draftAccess_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Define the level of data access when a compose time addon is triggered.
      * 
* * .google.apps.script.type.gmail.ComposeTrigger.DraftAccess draft_access = 4; + * * @return This builder for chaining. */ public Builder clearDraftAccess() { - + draftAccess_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1127,12 +1259,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.apps.script.type.gmail.ComposeTrigger) } // @@protoc_insertion_point(class_scope:google.apps.script.type.gmail.ComposeTrigger) private static final com.google.apps.script.type.gmail.ComposeTrigger DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.apps.script.type.gmail.ComposeTrigger(); } @@ -1141,16 +1273,16 @@ public static com.google.apps.script.type.gmail.ComposeTrigger getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ComposeTrigger parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ComposeTrigger(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ComposeTrigger parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ComposeTrigger(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1165,6 +1297,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.gmail.ComposeTrigger getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ComposeTriggerOrBuilder.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ComposeTriggerOrBuilder.java similarity index 75% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ComposeTriggerOrBuilder.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ComposeTriggerOrBuilder.java index 165aa8d2..cf806db1 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ComposeTriggerOrBuilder.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ComposeTriggerOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/gmail/gmail_addon_manifest.proto package com.google.apps.script.type.gmail; -public interface ComposeTriggerOrBuilder extends +public interface ComposeTriggerOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.gmail.ComposeTrigger) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Defines the set of actions for compose time add-on. These are actions
    * that user can trigger on a compose time addon.
@@ -15,9 +33,10 @@ public interface ComposeTriggerOrBuilder extends
    *
    * repeated .google.apps.script.type.MenuItemExtensionPoint actions = 5;
    */
-  java.util.List 
-      getActionsList();
+  java.util.List getActionsList();
   /**
+   *
+   *
    * 
    * Defines the set of actions for compose time add-on. These are actions
    * that user can trigger on a compose time addon.
@@ -27,6 +46,8 @@ public interface ComposeTriggerOrBuilder extends
    */
   com.google.apps.script.type.MenuItemExtensionPoint getActions(int index);
   /**
+   *
+   *
    * 
    * Defines the set of actions for compose time add-on. These are actions
    * that user can trigger on a compose time addon.
@@ -36,6 +57,8 @@ public interface ComposeTriggerOrBuilder extends
    */
   int getActionsCount();
   /**
+   *
+   *
    * 
    * Defines the set of actions for compose time add-on. These are actions
    * that user can trigger on a compose time addon.
@@ -43,9 +66,11 @@ public interface ComposeTriggerOrBuilder extends
    *
    * repeated .google.apps.script.type.MenuItemExtensionPoint actions = 5;
    */
-  java.util.List 
+  java.util.List
       getActionsOrBuilderList();
   /**
+   *
+   *
    * 
    * Defines the set of actions for compose time add-on. These are actions
    * that user can trigger on a compose time addon.
@@ -53,24 +78,29 @@ public interface ComposeTriggerOrBuilder extends
    *
    * repeated .google.apps.script.type.MenuItemExtensionPoint actions = 5;
    */
-  com.google.apps.script.type.MenuItemExtensionPointOrBuilder getActionsOrBuilder(
-      int index);
+  com.google.apps.script.type.MenuItemExtensionPointOrBuilder getActionsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Define the level of data access when a compose time addon is triggered.
    * 
* * .google.apps.script.type.gmail.ComposeTrigger.DraftAccess draft_access = 4; + * * @return The enum numeric value on the wire for draftAccess. */ int getDraftAccessValue(); /** + * + * *
    * Define the level of data access when a compose time addon is triggered.
    * 
* * .google.apps.script.type.gmail.ComposeTrigger.DraftAccess draft_access = 4; + * * @return The draftAccess. */ com.google.apps.script.type.gmail.ComposeTrigger.DraftAccess getDraftAccess(); diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ContextualTrigger.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ContextualTrigger.java similarity index 71% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ContextualTrigger.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ContextualTrigger.java index aa697fd5..8b65f9bd 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ContextualTrigger.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ContextualTrigger.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/gmail/gmail_addon_manifest.proto package com.google.apps.script.type.gmail; /** + * + * *
  * Defines a trigger that fires when the open email meets a specific criteria.
  * When the trigger fires, it executes a specific endpoint, usually
@@ -12,31 +29,31 @@
  *
  * Protobuf type {@code google.apps.script.type.gmail.ContextualTrigger}
  */
-public final class ContextualTrigger extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ContextualTrigger extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.apps.script.type.gmail.ContextualTrigger)
     ContextualTriggerOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ContextualTrigger.newBuilder() to construct.
   private ContextualTrigger(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ContextualTrigger() {
     onTriggerFunction_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ContextualTrigger();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ContextualTrigger(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,33 +72,39 @@ private ContextualTrigger(
           case 0:
             done = true;
             break;
-          case 10: {
-            com.google.apps.script.type.gmail.UnconditionalTrigger.Builder subBuilder = null;
-            if (triggerCase_ == 1) {
-              subBuilder = ((com.google.apps.script.type.gmail.UnconditionalTrigger) trigger_).toBuilder();
-            }
-            trigger_ =
-                input.readMessage(com.google.apps.script.type.gmail.UnconditionalTrigger.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom((com.google.apps.script.type.gmail.UnconditionalTrigger) trigger_);
-              trigger_ = subBuilder.buildPartial();
+          case 10:
+            {
+              com.google.apps.script.type.gmail.UnconditionalTrigger.Builder subBuilder = null;
+              if (triggerCase_ == 1) {
+                subBuilder =
+                    ((com.google.apps.script.type.gmail.UnconditionalTrigger) trigger_).toBuilder();
+              }
+              trigger_ =
+                  input.readMessage(
+                      com.google.apps.script.type.gmail.UnconditionalTrigger.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(
+                    (com.google.apps.script.type.gmail.UnconditionalTrigger) trigger_);
+                trigger_ = subBuilder.buildPartial();
+              }
+              triggerCase_ = 1;
+              break;
             }
-            triggerCase_ = 1;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            onTriggerFunction_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              onTriggerFunction_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -89,34 +112,39 @@ private ContextualTrigger(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_ContextualTrigger_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.apps.script.type.gmail.GmailAddOnManifestProto
+        .internal_static_google_apps_script_type_gmail_ContextualTrigger_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_ContextualTrigger_fieldAccessorTable
+    return com.google.apps.script.type.gmail.GmailAddOnManifestProto
+        .internal_static_google_apps_script_type_gmail_ContextualTrigger_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.apps.script.type.gmail.ContextualTrigger.class, com.google.apps.script.type.gmail.ContextualTrigger.Builder.class);
+            com.google.apps.script.type.gmail.ContextualTrigger.class,
+            com.google.apps.script.type.gmail.ContextualTrigger.Builder.class);
   }
 
   private int triggerCase_ = 0;
   private java.lang.Object trigger_;
+
   public enum TriggerCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     UNCONDITIONAL(1),
     TRIGGER_NOT_SET(0);
     private final int value;
+
     private TriggerCase(int value) {
       this.value = value;
     }
@@ -132,29 +160,34 @@ public static TriggerCase valueOf(int value) {
 
     public static TriggerCase forNumber(int value) {
       switch (value) {
-        case 1: return UNCONDITIONAL;
-        case 0: return TRIGGER_NOT_SET;
-        default: return null;
+        case 1:
+          return UNCONDITIONAL;
+        case 0:
+          return TRIGGER_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TriggerCase
-  getTriggerCase() {
-    return TriggerCase.forNumber(
-        triggerCase_);
+  public TriggerCase getTriggerCase() {
+    return TriggerCase.forNumber(triggerCase_);
   }
 
   public static final int UNCONDITIONAL_FIELD_NUMBER = 1;
   /**
+   *
+   *
    * 
    * UnconditionalTriggers are executed when any mail message is opened.
    * 
* * .google.apps.script.type.gmail.UnconditionalTrigger unconditional = 1; + * * @return Whether the unconditional field is set. */ @java.lang.Override @@ -162,21 +195,26 @@ public boolean hasUnconditional() { return triggerCase_ == 1; } /** + * + * *
    * UnconditionalTriggers are executed when any mail message is opened.
    * 
* * .google.apps.script.type.gmail.UnconditionalTrigger unconditional = 1; + * * @return The unconditional. */ @java.lang.Override public com.google.apps.script.type.gmail.UnconditionalTrigger getUnconditional() { if (triggerCase_ == 1) { - return (com.google.apps.script.type.gmail.UnconditionalTrigger) trigger_; + return (com.google.apps.script.type.gmail.UnconditionalTrigger) trigger_; } return com.google.apps.script.type.gmail.UnconditionalTrigger.getDefaultInstance(); } /** + * + * *
    * UnconditionalTriggers are executed when any mail message is opened.
    * 
@@ -184,9 +222,10 @@ public com.google.apps.script.type.gmail.UnconditionalTrigger getUnconditional() * .google.apps.script.type.gmail.UnconditionalTrigger unconditional = 1; */ @java.lang.Override - public com.google.apps.script.type.gmail.UnconditionalTriggerOrBuilder getUnconditionalOrBuilder() { + public com.google.apps.script.type.gmail.UnconditionalTriggerOrBuilder + getUnconditionalOrBuilder() { if (triggerCase_ == 1) { - return (com.google.apps.script.type.gmail.UnconditionalTrigger) trigger_; + return (com.google.apps.script.type.gmail.UnconditionalTrigger) trigger_; } return com.google.apps.script.type.gmail.UnconditionalTrigger.getDefaultInstance(); } @@ -194,12 +233,15 @@ public com.google.apps.script.type.gmail.UnconditionalTriggerOrBuilder getUncond public static final int ON_TRIGGER_FUNCTION_FIELD_NUMBER = 4; private volatile java.lang.Object onTriggerFunction_; /** + * + * *
    * Required. The name of the endpoint to call when a message matches the
    * trigger.
    * 
* * string on_trigger_function = 4; + * * @return The onTriggerFunction. */ @java.lang.Override @@ -208,30 +250,30 @@ public java.lang.String getOnTriggerFunction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); onTriggerFunction_ = s; return s; } } /** + * + * *
    * Required. The name of the endpoint to call when a message matches the
    * trigger.
    * 
* * string on_trigger_function = 4; + * * @return The bytes for onTriggerFunction. */ @java.lang.Override - public com.google.protobuf.ByteString - getOnTriggerFunctionBytes() { + public com.google.protobuf.ByteString getOnTriggerFunctionBytes() { java.lang.Object ref = onTriggerFunction_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); onTriggerFunction_ = b; return b; } else { @@ -240,6 +282,7 @@ public java.lang.String getOnTriggerFunction() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -251,8 +294,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (triggerCase_ == 1) { output.writeMessage(1, (com.google.apps.script.type.gmail.UnconditionalTrigger) trigger_); } @@ -269,8 +311,9 @@ public int getSerializedSize() { size = 0; if (triggerCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.apps.script.type.gmail.UnconditionalTrigger) trigger_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.apps.script.type.gmail.UnconditionalTrigger) trigger_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(onTriggerFunction_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, onTriggerFunction_); @@ -283,20 +326,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.gmail.ContextualTrigger)) { return super.equals(obj); } - com.google.apps.script.type.gmail.ContextualTrigger other = (com.google.apps.script.type.gmail.ContextualTrigger) obj; + com.google.apps.script.type.gmail.ContextualTrigger other = + (com.google.apps.script.type.gmail.ContextualTrigger) obj; - if (!getOnTriggerFunction() - .equals(other.getOnTriggerFunction())) return false; + if (!getOnTriggerFunction().equals(other.getOnTriggerFunction())) return false; if (!getTriggerCase().equals(other.getTriggerCase())) return false; switch (triggerCase_) { case 1: - if (!getUnconditional() - .equals(other.getUnconditional())) return false; + if (!getUnconditional().equals(other.getUnconditional())) return false; break; case 0: default: @@ -328,96 +370,103 @@ public int hashCode() { } public static com.google.apps.script.type.gmail.ContextualTrigger parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.gmail.ContextualTrigger parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.gmail.ContextualTrigger parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.gmail.ContextualTrigger parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.gmail.ContextualTrigger parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.gmail.ContextualTrigger parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.gmail.ContextualTrigger parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.apps.script.type.gmail.ContextualTrigger parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.gmail.ContextualTrigger parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.gmail.ContextualTrigger parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.apps.script.type.gmail.ContextualTrigger parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.apps.script.type.gmail.ContextualTrigger parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.apps.script.type.gmail.ContextualTrigger parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.gmail.ContextualTrigger parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.apps.script.type.gmail.ContextualTrigger prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Defines a trigger that fires when the open email meets a specific criteria.
    * When the trigger fires, it executes a specific endpoint, usually
@@ -426,21 +475,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.apps.script.type.gmail.ContextualTrigger}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.apps.script.type.gmail.ContextualTrigger)
       com.google.apps.script.type.gmail.ContextualTriggerOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_ContextualTrigger_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.apps.script.type.gmail.GmailAddOnManifestProto
+          .internal_static_google_apps_script_type_gmail_ContextualTrigger_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_ContextualTrigger_fieldAccessorTable
+      return com.google.apps.script.type.gmail.GmailAddOnManifestProto
+          .internal_static_google_apps_script_type_gmail_ContextualTrigger_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.apps.script.type.gmail.ContextualTrigger.class, com.google.apps.script.type.gmail.ContextualTrigger.Builder.class);
+              com.google.apps.script.type.gmail.ContextualTrigger.class,
+              com.google.apps.script.type.gmail.ContextualTrigger.Builder.class);
     }
 
     // Construct using com.google.apps.script.type.gmail.ContextualTrigger.newBuilder()
@@ -448,16 +499,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -469,9 +519,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_ContextualTrigger_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.apps.script.type.gmail.GmailAddOnManifestProto
+          .internal_static_google_apps_script_type_gmail_ContextualTrigger_descriptor;
     }
 
     @java.lang.Override
@@ -490,7 +540,8 @@ public com.google.apps.script.type.gmail.ContextualTrigger build() {
 
     @java.lang.Override
     public com.google.apps.script.type.gmail.ContextualTrigger buildPartial() {
-      com.google.apps.script.type.gmail.ContextualTrigger result = new com.google.apps.script.type.gmail.ContextualTrigger(this);
+      com.google.apps.script.type.gmail.ContextualTrigger result =
+          new com.google.apps.script.type.gmail.ContextualTrigger(this);
       if (triggerCase_ == 1) {
         if (unconditionalBuilder_ == null) {
           result.trigger_ = trigger_;
@@ -508,38 +559,39 @@ public com.google.apps.script.type.gmail.ContextualTrigger buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.apps.script.type.gmail.ContextualTrigger) {
-        return mergeFrom((com.google.apps.script.type.gmail.ContextualTrigger)other);
+        return mergeFrom((com.google.apps.script.type.gmail.ContextualTrigger) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -547,19 +599,22 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.apps.script.type.gmail.ContextualTrigger other) {
-      if (other == com.google.apps.script.type.gmail.ContextualTrigger.getDefaultInstance()) return this;
+      if (other == com.google.apps.script.type.gmail.ContextualTrigger.getDefaultInstance())
+        return this;
       if (!other.getOnTriggerFunction().isEmpty()) {
         onTriggerFunction_ = other.onTriggerFunction_;
         onChanged();
       }
       switch (other.getTriggerCase()) {
-        case UNCONDITIONAL: {
-          mergeUnconditional(other.getUnconditional());
-          break;
-        }
-        case TRIGGER_NOT_SET: {
-          break;
-        }
+        case UNCONDITIONAL:
+          {
+            mergeUnconditional(other.getUnconditional());
+            break;
+          }
+        case TRIGGER_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -580,7 +635,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.apps.script.type.gmail.ContextualTrigger) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.apps.script.type.gmail.ContextualTrigger) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -589,12 +645,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int triggerCase_ = 0;
     private java.lang.Object trigger_;
-    public TriggerCase
-        getTriggerCase() {
-      return TriggerCase.forNumber(
-          triggerCase_);
+
+    public TriggerCase getTriggerCase() {
+      return TriggerCase.forNumber(triggerCase_);
     }
 
     public Builder clearTrigger() {
@@ -604,15 +660,20 @@ public Builder clearTrigger() {
       return this;
     }
 
-
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.apps.script.type.gmail.UnconditionalTrigger, com.google.apps.script.type.gmail.UnconditionalTrigger.Builder, com.google.apps.script.type.gmail.UnconditionalTriggerOrBuilder> unconditionalBuilder_;
+            com.google.apps.script.type.gmail.UnconditionalTrigger,
+            com.google.apps.script.type.gmail.UnconditionalTrigger.Builder,
+            com.google.apps.script.type.gmail.UnconditionalTriggerOrBuilder>
+        unconditionalBuilder_;
     /**
+     *
+     *
      * 
      * UnconditionalTriggers are executed when any mail message is opened.
      * 
* * .google.apps.script.type.gmail.UnconditionalTrigger unconditional = 1; + * * @return Whether the unconditional field is set. */ @java.lang.Override @@ -620,11 +681,14 @@ public boolean hasUnconditional() { return triggerCase_ == 1; } /** + * + * *
      * UnconditionalTriggers are executed when any mail message is opened.
      * 
* * .google.apps.script.type.gmail.UnconditionalTrigger unconditional = 1; + * * @return The unconditional. */ @java.lang.Override @@ -642,6 +706,8 @@ public com.google.apps.script.type.gmail.UnconditionalTrigger getUnconditional() } } /** + * + * *
      * UnconditionalTriggers are executed when any mail message is opened.
      * 
@@ -662,6 +728,8 @@ public Builder setUnconditional(com.google.apps.script.type.gmail.UnconditionalT return this; } /** + * + * *
      * UnconditionalTriggers are executed when any mail message is opened.
      * 
@@ -680,18 +748,25 @@ public Builder setUnconditional( return this; } /** + * + * *
      * UnconditionalTriggers are executed when any mail message is opened.
      * 
* * .google.apps.script.type.gmail.UnconditionalTrigger unconditional = 1; */ - public Builder mergeUnconditional(com.google.apps.script.type.gmail.UnconditionalTrigger value) { + public Builder mergeUnconditional( + com.google.apps.script.type.gmail.UnconditionalTrigger value) { if (unconditionalBuilder_ == null) { - if (triggerCase_ == 1 && - trigger_ != com.google.apps.script.type.gmail.UnconditionalTrigger.getDefaultInstance()) { - trigger_ = com.google.apps.script.type.gmail.UnconditionalTrigger.newBuilder((com.google.apps.script.type.gmail.UnconditionalTrigger) trigger_) - .mergeFrom(value).buildPartial(); + if (triggerCase_ == 1 + && trigger_ + != com.google.apps.script.type.gmail.UnconditionalTrigger.getDefaultInstance()) { + trigger_ = + com.google.apps.script.type.gmail.UnconditionalTrigger.newBuilder( + (com.google.apps.script.type.gmail.UnconditionalTrigger) trigger_) + .mergeFrom(value) + .buildPartial(); } else { trigger_ = value; } @@ -707,6 +782,8 @@ public Builder mergeUnconditional(com.google.apps.script.type.gmail.Unconditiona return this; } /** + * + * *
      * UnconditionalTriggers are executed when any mail message is opened.
      * 
@@ -730,16 +807,21 @@ public Builder clearUnconditional() { return this; } /** + * + * *
      * UnconditionalTriggers are executed when any mail message is opened.
      * 
* * .google.apps.script.type.gmail.UnconditionalTrigger unconditional = 1; */ - public com.google.apps.script.type.gmail.UnconditionalTrigger.Builder getUnconditionalBuilder() { + public com.google.apps.script.type.gmail.UnconditionalTrigger.Builder + getUnconditionalBuilder() { return getUnconditionalFieldBuilder().getBuilder(); } /** + * + * *
      * UnconditionalTriggers are executed when any mail message is opened.
      * 
@@ -747,7 +829,8 @@ public com.google.apps.script.type.gmail.UnconditionalTrigger.Builder getUncondi * .google.apps.script.type.gmail.UnconditionalTrigger unconditional = 1; */ @java.lang.Override - public com.google.apps.script.type.gmail.UnconditionalTriggerOrBuilder getUnconditionalOrBuilder() { + public com.google.apps.script.type.gmail.UnconditionalTriggerOrBuilder + getUnconditionalOrBuilder() { if ((triggerCase_ == 1) && (unconditionalBuilder_ != null)) { return unconditionalBuilder_.getMessageOrBuilder(); } else { @@ -758,6 +841,8 @@ public com.google.apps.script.type.gmail.UnconditionalTriggerOrBuilder getUncond } } /** + * + * *
      * UnconditionalTriggers are executed when any mail message is opened.
      * 
@@ -765,39 +850,47 @@ public com.google.apps.script.type.gmail.UnconditionalTriggerOrBuilder getUncond * .google.apps.script.type.gmail.UnconditionalTrigger unconditional = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.gmail.UnconditionalTrigger, com.google.apps.script.type.gmail.UnconditionalTrigger.Builder, com.google.apps.script.type.gmail.UnconditionalTriggerOrBuilder> + com.google.apps.script.type.gmail.UnconditionalTrigger, + com.google.apps.script.type.gmail.UnconditionalTrigger.Builder, + com.google.apps.script.type.gmail.UnconditionalTriggerOrBuilder> getUnconditionalFieldBuilder() { if (unconditionalBuilder_ == null) { if (!(triggerCase_ == 1)) { trigger_ = com.google.apps.script.type.gmail.UnconditionalTrigger.getDefaultInstance(); } - unconditionalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.gmail.UnconditionalTrigger, com.google.apps.script.type.gmail.UnconditionalTrigger.Builder, com.google.apps.script.type.gmail.UnconditionalTriggerOrBuilder>( + unconditionalBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.apps.script.type.gmail.UnconditionalTrigger, + com.google.apps.script.type.gmail.UnconditionalTrigger.Builder, + com.google.apps.script.type.gmail.UnconditionalTriggerOrBuilder>( (com.google.apps.script.type.gmail.UnconditionalTrigger) trigger_, getParentForChildren(), isClean()); trigger_ = null; } triggerCase_ = 1; - onChanged();; + onChanged(); + ; return unconditionalBuilder_; } private java.lang.Object onTriggerFunction_ = ""; /** + * + * *
      * Required. The name of the endpoint to call when a message matches the
      * trigger.
      * 
* * string on_trigger_function = 4; + * * @return The onTriggerFunction. */ public java.lang.String getOnTriggerFunction() { java.lang.Object ref = onTriggerFunction_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); onTriggerFunction_ = s; return s; @@ -806,21 +899,22 @@ public java.lang.String getOnTriggerFunction() { } } /** + * + * *
      * Required. The name of the endpoint to call when a message matches the
      * trigger.
      * 
* * string on_trigger_function = 4; + * * @return The bytes for onTriggerFunction. */ - public com.google.protobuf.ByteString - getOnTriggerFunctionBytes() { + public com.google.protobuf.ByteString getOnTriggerFunctionBytes() { java.lang.Object ref = onTriggerFunction_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); onTriggerFunction_ = b; return b; } else { @@ -828,64 +922,71 @@ public java.lang.String getOnTriggerFunction() { } } /** + * + * *
      * Required. The name of the endpoint to call when a message matches the
      * trigger.
      * 
* * string on_trigger_function = 4; + * * @param value The onTriggerFunction to set. * @return This builder for chaining. */ - public Builder setOnTriggerFunction( - java.lang.String value) { + public Builder setOnTriggerFunction(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + onTriggerFunction_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the endpoint to call when a message matches the
      * trigger.
      * 
* * string on_trigger_function = 4; + * * @return This builder for chaining. */ public Builder clearOnTriggerFunction() { - + onTriggerFunction_ = getDefaultInstance().getOnTriggerFunction(); onChanged(); return this; } /** + * + * *
      * Required. The name of the endpoint to call when a message matches the
      * trigger.
      * 
* * string on_trigger_function = 4; + * * @param value The bytes for onTriggerFunction to set. * @return This builder for chaining. */ - public Builder setOnTriggerFunctionBytes( - com.google.protobuf.ByteString value) { + public Builder setOnTriggerFunctionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + onTriggerFunction_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -895,12 +996,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.apps.script.type.gmail.ContextualTrigger) } // @@protoc_insertion_point(class_scope:google.apps.script.type.gmail.ContextualTrigger) private static final com.google.apps.script.type.gmail.ContextualTrigger DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.apps.script.type.gmail.ContextualTrigger(); } @@ -909,16 +1010,16 @@ public static com.google.apps.script.type.gmail.ContextualTrigger getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ContextualTrigger parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ContextualTrigger(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ContextualTrigger parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ContextualTrigger(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -933,6 +1034,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.gmail.ContextualTrigger getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ContextualTriggerOrBuilder.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ContextualTriggerOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ContextualTriggerOrBuilder.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ContextualTriggerOrBuilder.java index 3c39b26e..44b14b0d 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ContextualTriggerOrBuilder.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/ContextualTriggerOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/gmail/gmail_addon_manifest.proto package com.google.apps.script.type.gmail; -public interface ContextualTriggerOrBuilder extends +public interface ContextualTriggerOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.gmail.ContextualTrigger) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * UnconditionalTriggers are executed when any mail message is opened.
    * 
* * .google.apps.script.type.gmail.UnconditionalTrigger unconditional = 1; + * * @return Whether the unconditional field is set. */ boolean hasUnconditional(); /** + * + * *
    * UnconditionalTriggers are executed when any mail message is opened.
    * 
* * .google.apps.script.type.gmail.UnconditionalTrigger unconditional = 1; + * * @return The unconditional. */ com.google.apps.script.type.gmail.UnconditionalTrigger getUnconditional(); /** + * + * *
    * UnconditionalTriggers are executed when any mail message is opened.
    * 
@@ -35,26 +59,31 @@ public interface ContextualTriggerOrBuilder extends com.google.apps.script.type.gmail.UnconditionalTriggerOrBuilder getUnconditionalOrBuilder(); /** + * + * *
    * Required. The name of the endpoint to call when a message matches the
    * trigger.
    * 
* * string on_trigger_function = 4; + * * @return The onTriggerFunction. */ java.lang.String getOnTriggerFunction(); /** + * + * *
    * Required. The name of the endpoint to call when a message matches the
    * trigger.
    * 
* * string on_trigger_function = 4; + * * @return The bytes for onTriggerFunction. */ - com.google.protobuf.ByteString - getOnTriggerFunctionBytes(); + com.google.protobuf.ByteString getOnTriggerFunctionBytes(); public com.google.apps.script.type.gmail.ContextualTrigger.TriggerCase getTriggerCase(); } diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/GmailAddOnManifest.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/GmailAddOnManifest.java similarity index 78% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/GmailAddOnManifest.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/GmailAddOnManifest.java index e1fd6a20..c22e0e4f 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/GmailAddOnManifest.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/GmailAddOnManifest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/gmail/gmail_addon_manifest.proto package com.google.apps.script.type.gmail; /** + * + * *
  * Properties customizing the appearance and execution of a Gmail add-on.
  * 
* * Protobuf type {@code google.apps.script.type.gmail.GmailAddOnManifest} */ -public final class GmailAddOnManifest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GmailAddOnManifest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.apps.script.type.gmail.GmailAddOnManifest) GmailAddOnManifestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GmailAddOnManifest.newBuilder() to construct. private GmailAddOnManifest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GmailAddOnManifest() { contextualTriggers_ = java.util.Collections.emptyList(); universalActions_ = java.util.Collections.emptyList(); @@ -27,16 +45,15 @@ private GmailAddOnManifest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GmailAddOnManifest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GmailAddOnManifest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,63 +73,79 @@ private GmailAddOnManifest( case 0: done = true; break; - case 26: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - contextualTriggers_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 26: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + contextualTriggers_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + contextualTriggers_.add( + input.readMessage( + com.google.apps.script.type.gmail.ContextualTrigger.parser(), + extensionRegistry)); + break; } - contextualTriggers_.add( - input.readMessage(com.google.apps.script.type.gmail.ContextualTrigger.parser(), extensionRegistry)); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - universalActions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 34: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + universalActions_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + universalActions_.add( + input.readMessage( + com.google.apps.script.type.gmail.UniversalAction.parser(), + extensionRegistry)); + break; } - universalActions_.add( - input.readMessage(com.google.apps.script.type.gmail.UniversalAction.parser(), extensionRegistry)); - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); - authorizationCheckFunction_ = s; - break; - } - case 98: { - com.google.apps.script.type.gmail.ComposeTrigger.Builder subBuilder = null; - if (composeTrigger_ != null) { - subBuilder = composeTrigger_.toBuilder(); - } - composeTrigger_ = input.readMessage(com.google.apps.script.type.gmail.ComposeTrigger.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(composeTrigger_); - composeTrigger_ = subBuilder.buildPartial(); + authorizationCheckFunction_ = s; + break; } - - break; - } - case 114: { - com.google.apps.script.type.HomepageExtensionPoint.Builder subBuilder = null; - if (homepageTrigger_ != null) { - subBuilder = homepageTrigger_.toBuilder(); + case 98: + { + com.google.apps.script.type.gmail.ComposeTrigger.Builder subBuilder = null; + if (composeTrigger_ != null) { + subBuilder = composeTrigger_.toBuilder(); + } + composeTrigger_ = + input.readMessage( + com.google.apps.script.type.gmail.ComposeTrigger.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(composeTrigger_); + composeTrigger_ = subBuilder.buildPartial(); + } + + break; } - homepageTrigger_ = input.readMessage(com.google.apps.script.type.HomepageExtensionPoint.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(homepageTrigger_); - homepageTrigger_ = subBuilder.buildPartial(); + case 114: + { + com.google.apps.script.type.HomepageExtensionPoint.Builder subBuilder = null; + if (homepageTrigger_ != null) { + subBuilder = homepageTrigger_.toBuilder(); + } + homepageTrigger_ = + input.readMessage( + com.google.apps.script.type.HomepageExtensionPoint.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(homepageTrigger_); + homepageTrigger_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,8 +153,7 @@ private GmailAddOnManifest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { contextualTriggers_ = java.util.Collections.unmodifiableList(contextualTriggers_); @@ -133,22 +165,27 @@ private GmailAddOnManifest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_GmailAddOnManifest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.script.type.gmail.GmailAddOnManifestProto + .internal_static_google_apps_script_type_gmail_GmailAddOnManifest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_GmailAddOnManifest_fieldAccessorTable + return com.google.apps.script.type.gmail.GmailAddOnManifestProto + .internal_static_google_apps_script_type_gmail_GmailAddOnManifest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.gmail.GmailAddOnManifest.class, com.google.apps.script.type.gmail.GmailAddOnManifest.Builder.class); + com.google.apps.script.type.gmail.GmailAddOnManifest.class, + com.google.apps.script.type.gmail.GmailAddOnManifest.Builder.class); } public static final int HOMEPAGE_TRIGGER_FIELD_NUMBER = 14; private com.google.apps.script.type.HomepageExtensionPoint homepageTrigger_; /** + * + * *
    * Defines an endpoint that will be executed in contexts that don't
    * match a declared contextual trigger. Any cards generated by this function
@@ -159,6 +196,7 @@ private GmailAddOnManifest(
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 14; + * * @return Whether the homepageTrigger field is set. */ @java.lang.Override @@ -166,6 +204,8 @@ public boolean hasHomepageTrigger() { return homepageTrigger_ != null; } /** + * + * *
    * Defines an endpoint that will be executed in contexts that don't
    * match a declared contextual trigger. Any cards generated by this function
@@ -176,13 +216,18 @@ public boolean hasHomepageTrigger() {
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 14; + * * @return The homepageTrigger. */ @java.lang.Override public com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger() { - return homepageTrigger_ == null ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_; + return homepageTrigger_ == null + ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() + : homepageTrigger_; } /** + * + * *
    * Defines an endpoint that will be executed in contexts that don't
    * match a declared contextual trigger. Any cards generated by this function
@@ -202,6 +247,8 @@ public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTr
   public static final int CONTEXTUAL_TRIGGERS_FIELD_NUMBER = 3;
   private java.util.List contextualTriggers_;
   /**
+   *
+   *
    * 
    * Defines the set of conditions that trigger the add-on.
    * 
@@ -209,10 +256,13 @@ public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTr * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; */ @java.lang.Override - public java.util.List getContextualTriggersList() { + public java.util.List + getContextualTriggersList() { return contextualTriggers_; } /** + * + * *
    * Defines the set of conditions that trigger the add-on.
    * 
@@ -220,11 +270,13 @@ public java.util.List getCo * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; */ @java.lang.Override - public java.util.List + public java.util.List getContextualTriggersOrBuilderList() { return contextualTriggers_; } /** + * + * *
    * Defines the set of conditions that trigger the add-on.
    * 
@@ -236,6 +288,8 @@ public int getContextualTriggersCount() { return contextualTriggers_.size(); } /** + * + * *
    * Defines the set of conditions that trigger the add-on.
    * 
@@ -247,6 +301,8 @@ public com.google.apps.script.type.gmail.ContextualTrigger getContextualTriggers return contextualTriggers_.get(index); } /** + * + * *
    * Defines the set of conditions that trigger the add-on.
    * 
@@ -254,14 +310,16 @@ public com.google.apps.script.type.gmail.ContextualTrigger getContextualTriggers * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; */ @java.lang.Override - public com.google.apps.script.type.gmail.ContextualTriggerOrBuilder getContextualTriggersOrBuilder( - int index) { + public com.google.apps.script.type.gmail.ContextualTriggerOrBuilder + getContextualTriggersOrBuilder(int index) { return contextualTriggers_.get(index); } public static final int UNIVERSAL_ACTIONS_FIELD_NUMBER = 4; private java.util.List universalActions_; /** + * + * *
    * Defines set of [universal
    * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -271,10 +329,13 @@ public com.google.apps.script.type.gmail.ContextualTriggerOrBuilder getContextua
    * repeated .google.apps.script.type.gmail.UniversalAction universal_actions = 4;
    */
   @java.lang.Override
-  public java.util.List getUniversalActionsList() {
+  public java.util.List
+      getUniversalActionsList() {
     return universalActions_;
   }
   /**
+   *
+   *
    * 
    * Defines set of [universal
    * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -284,11 +345,13 @@ public java.util.List getUniv
    * repeated .google.apps.script.type.gmail.UniversalAction universal_actions = 4;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getUniversalActionsOrBuilderList() {
     return universalActions_;
   }
   /**
+   *
+   *
    * 
    * Defines set of [universal
    * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -302,6 +365,8 @@ public int getUniversalActionsCount() {
     return universalActions_.size();
   }
   /**
+   *
+   *
    * 
    * Defines set of [universal
    * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -315,6 +380,8 @@ public com.google.apps.script.type.gmail.UniversalAction getUniversalActions(int
     return universalActions_.get(index);
   }
   /**
+   *
+   *
    * 
    * Defines set of [universal
    * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -332,6 +399,8 @@ public com.google.apps.script.type.gmail.UniversalActionOrBuilder getUniversalAc
   public static final int COMPOSE_TRIGGER_FIELD_NUMBER = 12;
   private com.google.apps.script.type.gmail.ComposeTrigger composeTrigger_;
   /**
+   *
+   *
    * 
    * Defines the compose time trigger for a compose time add-on. This is the
    * trigger that causes an add-on to take action when the user is composing an
@@ -342,6 +411,7 @@ public com.google.apps.script.type.gmail.UniversalActionOrBuilder getUniversalAc
    * 
* * .google.apps.script.type.gmail.ComposeTrigger compose_trigger = 12; + * * @return Whether the composeTrigger field is set. */ @java.lang.Override @@ -349,6 +419,8 @@ public boolean hasComposeTrigger() { return composeTrigger_ != null; } /** + * + * *
    * Defines the compose time trigger for a compose time add-on. This is the
    * trigger that causes an add-on to take action when the user is composing an
@@ -359,13 +431,18 @@ public boolean hasComposeTrigger() {
    * 
* * .google.apps.script.type.gmail.ComposeTrigger compose_trigger = 12; + * * @return The composeTrigger. */ @java.lang.Override public com.google.apps.script.type.gmail.ComposeTrigger getComposeTrigger() { - return composeTrigger_ == null ? com.google.apps.script.type.gmail.ComposeTrigger.getDefaultInstance() : composeTrigger_; + return composeTrigger_ == null + ? com.google.apps.script.type.gmail.ComposeTrigger.getDefaultInstance() + : composeTrigger_; } /** + * + * *
    * Defines the compose time trigger for a compose time add-on. This is the
    * trigger that causes an add-on to take action when the user is composing an
@@ -385,6 +462,8 @@ public com.google.apps.script.type.gmail.ComposeTriggerOrBuilder getComposeTrigg
   public static final int AUTHORIZATION_CHECK_FUNCTION_FIELD_NUMBER = 7;
   private volatile java.lang.Object authorizationCheckFunction_;
   /**
+   *
+   *
    * 
    * The name of an endpoint that verifies that the add-on has
    * all the required third-party authorizations, by probing the third-party
@@ -394,6 +473,7 @@ public com.google.apps.script.type.gmail.ComposeTriggerOrBuilder getComposeTrigg
    * 
* * string authorization_check_function = 7; + * * @return The authorizationCheckFunction. */ @java.lang.Override @@ -402,14 +482,15 @@ public java.lang.String getAuthorizationCheckFunction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authorizationCheckFunction_ = s; return s; } } /** + * + * *
    * The name of an endpoint that verifies that the add-on has
    * all the required third-party authorizations, by probing the third-party
@@ -419,16 +500,15 @@ public java.lang.String getAuthorizationCheckFunction() {
    * 
* * string authorization_check_function = 7; + * * @return The bytes for authorizationCheckFunction. */ @java.lang.Override - public com.google.protobuf.ByteString - getAuthorizationCheckFunctionBytes() { + public com.google.protobuf.ByteString getAuthorizationCheckFunctionBytes() { java.lang.Object ref = authorizationCheckFunction_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); authorizationCheckFunction_ = b; return b; } else { @@ -437,6 +517,7 @@ public java.lang.String getAuthorizationCheckFunction() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -448,8 +529,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < contextualTriggers_.size(); i++) { output.writeMessage(3, contextualTriggers_.get(i)); } @@ -475,23 +555,21 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < contextualTriggers_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, contextualTriggers_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(3, contextualTriggers_.get(i)); } for (int i = 0; i < universalActions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, universalActions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, universalActions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authorizationCheckFunction_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, authorizationCheckFunction_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(7, authorizationCheckFunction_); } if (composeTrigger_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getComposeTrigger()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getComposeTrigger()); } if (homepageTrigger_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, getHomepageTrigger()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getHomepageTrigger()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -501,29 +579,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.gmail.GmailAddOnManifest)) { return super.equals(obj); } - com.google.apps.script.type.gmail.GmailAddOnManifest other = (com.google.apps.script.type.gmail.GmailAddOnManifest) obj; + com.google.apps.script.type.gmail.GmailAddOnManifest other = + (com.google.apps.script.type.gmail.GmailAddOnManifest) obj; if (hasHomepageTrigger() != other.hasHomepageTrigger()) return false; if (hasHomepageTrigger()) { - if (!getHomepageTrigger() - .equals(other.getHomepageTrigger())) return false; + if (!getHomepageTrigger().equals(other.getHomepageTrigger())) return false; } - if (!getContextualTriggersList() - .equals(other.getContextualTriggersList())) return false; - if (!getUniversalActionsList() - .equals(other.getUniversalActionsList())) return false; + if (!getContextualTriggersList().equals(other.getContextualTriggersList())) return false; + if (!getUniversalActionsList().equals(other.getUniversalActionsList())) return false; if (hasComposeTrigger() != other.hasComposeTrigger()) return false; if (hasComposeTrigger()) { - if (!getComposeTrigger() - .equals(other.getComposeTrigger())) return false; + if (!getComposeTrigger().equals(other.getComposeTrigger())) return false; } - if (!getAuthorizationCheckFunction() - .equals(other.getAuthorizationCheckFunction())) return false; + if (!getAuthorizationCheckFunction().equals(other.getAuthorizationCheckFunction())) + return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -559,117 +634,126 @@ public int hashCode() { } public static com.google.apps.script.type.gmail.GmailAddOnManifest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.gmail.GmailAddOnManifest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.gmail.GmailAddOnManifest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.gmail.GmailAddOnManifest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.gmail.GmailAddOnManifest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.gmail.GmailAddOnManifest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.gmail.GmailAddOnManifest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.apps.script.type.gmail.GmailAddOnManifest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.gmail.GmailAddOnManifest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.gmail.GmailAddOnManifest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.apps.script.type.gmail.GmailAddOnManifest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.apps.script.type.gmail.GmailAddOnManifest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.apps.script.type.gmail.GmailAddOnManifest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.gmail.GmailAddOnManifest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.apps.script.type.gmail.GmailAddOnManifest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Properties customizing the appearance and execution of a Gmail add-on.
    * 
* * Protobuf type {@code google.apps.script.type.gmail.GmailAddOnManifest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.apps.script.type.gmail.GmailAddOnManifest) com.google.apps.script.type.gmail.GmailAddOnManifestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_GmailAddOnManifest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.script.type.gmail.GmailAddOnManifestProto + .internal_static_google_apps_script_type_gmail_GmailAddOnManifest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_GmailAddOnManifest_fieldAccessorTable + return com.google.apps.script.type.gmail.GmailAddOnManifestProto + .internal_static_google_apps_script_type_gmail_GmailAddOnManifest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.gmail.GmailAddOnManifest.class, com.google.apps.script.type.gmail.GmailAddOnManifest.Builder.class); + com.google.apps.script.type.gmail.GmailAddOnManifest.class, + com.google.apps.script.type.gmail.GmailAddOnManifest.Builder.class); } // Construct using com.google.apps.script.type.gmail.GmailAddOnManifest.newBuilder() @@ -677,18 +761,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getContextualTriggersFieldBuilder(); getUniversalActionsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -722,9 +806,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_GmailAddOnManifest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.apps.script.type.gmail.GmailAddOnManifestProto + .internal_static_google_apps_script_type_gmail_GmailAddOnManifest_descriptor; } @java.lang.Override @@ -743,7 +827,8 @@ public com.google.apps.script.type.gmail.GmailAddOnManifest build() { @java.lang.Override public com.google.apps.script.type.gmail.GmailAddOnManifest buildPartial() { - com.google.apps.script.type.gmail.GmailAddOnManifest result = new com.google.apps.script.type.gmail.GmailAddOnManifest(this); + com.google.apps.script.type.gmail.GmailAddOnManifest result = + new com.google.apps.script.type.gmail.GmailAddOnManifest(this); int from_bitField0_ = bitField0_; if (homepageTriggerBuilder_ == null) { result.homepageTrigger_ = homepageTrigger_; @@ -782,38 +867,39 @@ public com.google.apps.script.type.gmail.GmailAddOnManifest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.script.type.gmail.GmailAddOnManifest) { - return mergeFrom((com.google.apps.script.type.gmail.GmailAddOnManifest)other); + return mergeFrom((com.google.apps.script.type.gmail.GmailAddOnManifest) other); } else { super.mergeFrom(other); return this; @@ -821,7 +907,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.apps.script.type.gmail.GmailAddOnManifest other) { - if (other == com.google.apps.script.type.gmail.GmailAddOnManifest.getDefaultInstance()) return this; + if (other == com.google.apps.script.type.gmail.GmailAddOnManifest.getDefaultInstance()) + return this; if (other.hasHomepageTrigger()) { mergeHomepageTrigger(other.getHomepageTrigger()); } @@ -843,9 +930,10 @@ public Builder mergeFrom(com.google.apps.script.type.gmail.GmailAddOnManifest ot contextualTriggersBuilder_ = null; contextualTriggers_ = other.contextualTriggers_; bitField0_ = (bitField0_ & ~0x00000001); - contextualTriggersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getContextualTriggersFieldBuilder() : null; + contextualTriggersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getContextualTriggersFieldBuilder() + : null; } else { contextualTriggersBuilder_.addAllMessages(other.contextualTriggers_); } @@ -869,9 +957,10 @@ public Builder mergeFrom(com.google.apps.script.type.gmail.GmailAddOnManifest ot universalActionsBuilder_ = null; universalActions_ = other.universalActions_; bitField0_ = (bitField0_ & ~0x00000002); - universalActionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getUniversalActionsFieldBuilder() : null; + universalActionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getUniversalActionsFieldBuilder() + : null; } else { universalActionsBuilder_.addAllMessages(other.universalActions_); } @@ -903,7 +992,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.apps.script.type.gmail.GmailAddOnManifest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.apps.script.type.gmail.GmailAddOnManifest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -912,12 +1002,18 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private com.google.apps.script.type.HomepageExtensionPoint homepageTrigger_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder> homepageTriggerBuilder_; + com.google.apps.script.type.HomepageExtensionPoint, + com.google.apps.script.type.HomepageExtensionPoint.Builder, + com.google.apps.script.type.HomepageExtensionPointOrBuilder> + homepageTriggerBuilder_; /** + * + * *
      * Defines an endpoint that will be executed in contexts that don't
      * match a declared contextual trigger. Any cards generated by this function
@@ -928,12 +1024,15 @@ public Builder mergeFrom(
      * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 14; + * * @return Whether the homepageTrigger field is set. */ public boolean hasHomepageTrigger() { return homepageTriggerBuilder_ != null || homepageTrigger_ != null; } /** + * + * *
      * Defines an endpoint that will be executed in contexts that don't
      * match a declared contextual trigger. Any cards generated by this function
@@ -944,16 +1043,21 @@ public boolean hasHomepageTrigger() {
      * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 14; + * * @return The homepageTrigger. */ public com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger() { if (homepageTriggerBuilder_ == null) { - return homepageTrigger_ == null ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_; + return homepageTrigger_ == null + ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() + : homepageTrigger_; } else { return homepageTriggerBuilder_.getMessage(); } } /** + * + * *
      * Defines an endpoint that will be executed in contexts that don't
      * match a declared contextual trigger. Any cards generated by this function
@@ -979,6 +1083,8 @@ public Builder setHomepageTrigger(com.google.apps.script.type.HomepageExtensionP
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines an endpoint that will be executed in contexts that don't
      * match a declared contextual trigger. Any cards generated by this function
@@ -1002,6 +1108,8 @@ public Builder setHomepageTrigger(
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines an endpoint that will be executed in contexts that don't
      * match a declared contextual trigger. Any cards generated by this function
@@ -1017,7 +1125,9 @@ public Builder mergeHomepageTrigger(com.google.apps.script.type.HomepageExtensio
       if (homepageTriggerBuilder_ == null) {
         if (homepageTrigger_ != null) {
           homepageTrigger_ =
-            com.google.apps.script.type.HomepageExtensionPoint.newBuilder(homepageTrigger_).mergeFrom(value).buildPartial();
+              com.google.apps.script.type.HomepageExtensionPoint.newBuilder(homepageTrigger_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           homepageTrigger_ = value;
         }
@@ -1029,6 +1139,8 @@ public Builder mergeHomepageTrigger(com.google.apps.script.type.HomepageExtensio
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines an endpoint that will be executed in contexts that don't
      * match a declared contextual trigger. Any cards generated by this function
@@ -1052,6 +1164,8 @@ public Builder clearHomepageTrigger() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines an endpoint that will be executed in contexts that don't
      * match a declared contextual trigger. Any cards generated by this function
@@ -1064,11 +1178,13 @@ public Builder clearHomepageTrigger() {
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 14;
      */
     public com.google.apps.script.type.HomepageExtensionPoint.Builder getHomepageTriggerBuilder() {
-      
+
       onChanged();
       return getHomepageTriggerFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Defines an endpoint that will be executed in contexts that don't
      * match a declared contextual trigger. Any cards generated by this function
@@ -1080,15 +1196,19 @@ public com.google.apps.script.type.HomepageExtensionPoint.Builder getHomepageTri
      *
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 14;
      */
-    public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder() {
+    public com.google.apps.script.type.HomepageExtensionPointOrBuilder
+        getHomepageTriggerOrBuilder() {
       if (homepageTriggerBuilder_ != null) {
         return homepageTriggerBuilder_.getMessageOrBuilder();
       } else {
-        return homepageTrigger_ == null ?
-            com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_;
+        return homepageTrigger_ == null
+            ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance()
+            : homepageTrigger_;
       }
     }
     /**
+     *
+     *
      * 
      * Defines an endpoint that will be executed in contexts that don't
      * match a declared contextual trigger. Any cards generated by this function
@@ -1101,39 +1221,52 @@ public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTr
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 14;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder> 
+            com.google.apps.script.type.HomepageExtensionPoint,
+            com.google.apps.script.type.HomepageExtensionPoint.Builder,
+            com.google.apps.script.type.HomepageExtensionPointOrBuilder>
         getHomepageTriggerFieldBuilder() {
       if (homepageTriggerBuilder_ == null) {
-        homepageTriggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder>(
-                getHomepageTrigger(),
-                getParentForChildren(),
-                isClean());
+        homepageTriggerBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.apps.script.type.HomepageExtensionPoint,
+                com.google.apps.script.type.HomepageExtensionPoint.Builder,
+                com.google.apps.script.type.HomepageExtensionPointOrBuilder>(
+                getHomepageTrigger(), getParentForChildren(), isClean());
         homepageTrigger_ = null;
       }
       return homepageTriggerBuilder_;
     }
 
-    private java.util.List contextualTriggers_ =
-      java.util.Collections.emptyList();
+    private java.util.List
+        contextualTriggers_ = java.util.Collections.emptyList();
+
     private void ensureContextualTriggersIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        contextualTriggers_ = new java.util.ArrayList(contextualTriggers_);
+        contextualTriggers_ =
+            new java.util.ArrayList(
+                contextualTriggers_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.apps.script.type.gmail.ContextualTrigger, com.google.apps.script.type.gmail.ContextualTrigger.Builder, com.google.apps.script.type.gmail.ContextualTriggerOrBuilder> contextualTriggersBuilder_;
+            com.google.apps.script.type.gmail.ContextualTrigger,
+            com.google.apps.script.type.gmail.ContextualTrigger.Builder,
+            com.google.apps.script.type.gmail.ContextualTriggerOrBuilder>
+        contextualTriggersBuilder_;
 
     /**
+     *
+     *
      * 
      * Defines the set of conditions that trigger the add-on.
      * 
* - * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; + * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; + * */ - public java.util.List getContextualTriggersList() { + public java.util.List + getContextualTriggersList() { if (contextualTriggersBuilder_ == null) { return java.util.Collections.unmodifiableList(contextualTriggers_); } else { @@ -1141,11 +1274,14 @@ public java.util.List getCo } } /** + * + * *
      * Defines the set of conditions that trigger the add-on.
      * 
* - * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; + * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; + * */ public int getContextualTriggersCount() { if (contextualTriggersBuilder_ == null) { @@ -1155,11 +1291,14 @@ public int getContextualTriggersCount() { } } /** + * + * *
      * Defines the set of conditions that trigger the add-on.
      * 
* - * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; + * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; + * */ public com.google.apps.script.type.gmail.ContextualTrigger getContextualTriggers(int index) { if (contextualTriggersBuilder_ == null) { @@ -1169,11 +1308,14 @@ public com.google.apps.script.type.gmail.ContextualTrigger getContextualTriggers } } /** + * + * *
      * Defines the set of conditions that trigger the add-on.
      * 
* - * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; + * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; + * */ public Builder setContextualTriggers( int index, com.google.apps.script.type.gmail.ContextualTrigger value) { @@ -1190,11 +1332,14 @@ public Builder setContextualTriggers( return this; } /** + * + * *
      * Defines the set of conditions that trigger the add-on.
      * 
* - * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; + * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; + * */ public Builder setContextualTriggers( int index, com.google.apps.script.type.gmail.ContextualTrigger.Builder builderForValue) { @@ -1208,13 +1353,17 @@ public Builder setContextualTriggers( return this; } /** + * + * *
      * Defines the set of conditions that trigger the add-on.
      * 
* - * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; + * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; + * */ - public Builder addContextualTriggers(com.google.apps.script.type.gmail.ContextualTrigger value) { + public Builder addContextualTriggers( + com.google.apps.script.type.gmail.ContextualTrigger value) { if (contextualTriggersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1228,11 +1377,14 @@ public Builder addContextualTriggers(com.google.apps.script.type.gmail.Contextua return this; } /** + * + * *
      * Defines the set of conditions that trigger the add-on.
      * 
* - * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; + * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; + * */ public Builder addContextualTriggers( int index, com.google.apps.script.type.gmail.ContextualTrigger value) { @@ -1249,11 +1401,14 @@ public Builder addContextualTriggers( return this; } /** + * + * *
      * Defines the set of conditions that trigger the add-on.
      * 
* - * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; + * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; + * */ public Builder addContextualTriggers( com.google.apps.script.type.gmail.ContextualTrigger.Builder builderForValue) { @@ -1267,11 +1422,14 @@ public Builder addContextualTriggers( return this; } /** + * + * *
      * Defines the set of conditions that trigger the add-on.
      * 
* - * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; + * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; + * */ public Builder addContextualTriggers( int index, com.google.apps.script.type.gmail.ContextualTrigger.Builder builderForValue) { @@ -1285,18 +1443,20 @@ public Builder addContextualTriggers( return this; } /** + * + * *
      * Defines the set of conditions that trigger the add-on.
      * 
* - * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; + * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; + * */ public Builder addAllContextualTriggers( java.lang.Iterable values) { if (contextualTriggersBuilder_ == null) { ensureContextualTriggersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, contextualTriggers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, contextualTriggers_); onChanged(); } else { contextualTriggersBuilder_.addAllMessages(values); @@ -1304,11 +1464,14 @@ public Builder addAllContextualTriggers( return this; } /** + * + * *
      * Defines the set of conditions that trigger the add-on.
      * 
* - * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; + * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; + * */ public Builder clearContextualTriggers() { if (contextualTriggersBuilder_ == null) { @@ -1321,11 +1484,14 @@ public Builder clearContextualTriggers() { return this; } /** + * + * *
      * Defines the set of conditions that trigger the add-on.
      * 
* - * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; + * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; + * */ public Builder removeContextualTriggers(int index) { if (contextualTriggersBuilder_ == null) { @@ -1338,39 +1504,49 @@ public Builder removeContextualTriggers(int index) { return this; } /** + * + * *
      * Defines the set of conditions that trigger the add-on.
      * 
* - * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; + * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; + * */ public com.google.apps.script.type.gmail.ContextualTrigger.Builder getContextualTriggersBuilder( int index) { return getContextualTriggersFieldBuilder().getBuilder(index); } /** + * + * *
      * Defines the set of conditions that trigger the add-on.
      * 
* - * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; + * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; + * */ - public com.google.apps.script.type.gmail.ContextualTriggerOrBuilder getContextualTriggersOrBuilder( - int index) { + public com.google.apps.script.type.gmail.ContextualTriggerOrBuilder + getContextualTriggersOrBuilder(int index) { if (contextualTriggersBuilder_ == null) { - return contextualTriggers_.get(index); } else { + return contextualTriggers_.get(index); + } else { return contextualTriggersBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Defines the set of conditions that trigger the add-on.
      * 
* - * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; + * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; + * */ - public java.util.List - getContextualTriggersOrBuilderList() { + public java.util.List + getContextualTriggersOrBuilderList() { if (contextualTriggersBuilder_ != null) { return contextualTriggersBuilder_.getMessageOrBuilderList(); } else { @@ -1378,45 +1554,62 @@ public com.google.apps.script.type.gmail.ContextualTriggerOrBuilder getContextua } } /** + * + * *
      * Defines the set of conditions that trigger the add-on.
      * 
* - * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; + * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; + * */ - public com.google.apps.script.type.gmail.ContextualTrigger.Builder addContextualTriggersBuilder() { - return getContextualTriggersFieldBuilder().addBuilder( - com.google.apps.script.type.gmail.ContextualTrigger.getDefaultInstance()); + public com.google.apps.script.type.gmail.ContextualTrigger.Builder + addContextualTriggersBuilder() { + return getContextualTriggersFieldBuilder() + .addBuilder(com.google.apps.script.type.gmail.ContextualTrigger.getDefaultInstance()); } /** + * + * *
      * Defines the set of conditions that trigger the add-on.
      * 
* - * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; + * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; + * */ public com.google.apps.script.type.gmail.ContextualTrigger.Builder addContextualTriggersBuilder( int index) { - return getContextualTriggersFieldBuilder().addBuilder( - index, com.google.apps.script.type.gmail.ContextualTrigger.getDefaultInstance()); + return getContextualTriggersFieldBuilder() + .addBuilder( + index, com.google.apps.script.type.gmail.ContextualTrigger.getDefaultInstance()); } /** + * + * *
      * Defines the set of conditions that trigger the add-on.
      * 
* - * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; + * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; + * */ - public java.util.List - getContextualTriggersBuilderList() { + public java.util.List + getContextualTriggersBuilderList() { return getContextualTriggersFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.apps.script.type.gmail.ContextualTrigger, com.google.apps.script.type.gmail.ContextualTrigger.Builder, com.google.apps.script.type.gmail.ContextualTriggerOrBuilder> + com.google.apps.script.type.gmail.ContextualTrigger, + com.google.apps.script.type.gmail.ContextualTrigger.Builder, + com.google.apps.script.type.gmail.ContextualTriggerOrBuilder> getContextualTriggersFieldBuilder() { if (contextualTriggersBuilder_ == null) { - contextualTriggersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.apps.script.type.gmail.ContextualTrigger, com.google.apps.script.type.gmail.ContextualTrigger.Builder, com.google.apps.script.type.gmail.ContextualTriggerOrBuilder>( + contextualTriggersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.apps.script.type.gmail.ContextualTrigger, + com.google.apps.script.type.gmail.ContextualTrigger.Builder, + com.google.apps.script.type.gmail.ContextualTriggerOrBuilder>( contextualTriggers_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1427,18 +1620,26 @@ public com.google.apps.script.type.gmail.ContextualTrigger.Builder addContextual } private java.util.List universalActions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureUniversalActionsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - universalActions_ = new java.util.ArrayList(universalActions_); + universalActions_ = + new java.util.ArrayList( + universalActions_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.apps.script.type.gmail.UniversalAction, com.google.apps.script.type.gmail.UniversalAction.Builder, com.google.apps.script.type.gmail.UniversalActionOrBuilder> universalActionsBuilder_; + com.google.apps.script.type.gmail.UniversalAction, + com.google.apps.script.type.gmail.UniversalAction.Builder, + com.google.apps.script.type.gmail.UniversalActionOrBuilder> + universalActionsBuilder_; /** + * + * *
      * Defines set of [universal
      * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -1447,7 +1648,8 @@ private void ensureUniversalActionsIsMutable() {
      *
      * repeated .google.apps.script.type.gmail.UniversalAction universal_actions = 4;
      */
-    public java.util.List getUniversalActionsList() {
+    public java.util.List
+        getUniversalActionsList() {
       if (universalActionsBuilder_ == null) {
         return java.util.Collections.unmodifiableList(universalActions_);
       } else {
@@ -1455,6 +1657,8 @@ public java.util.List getUniv
       }
     }
     /**
+     *
+     *
      * 
      * Defines set of [universal
      * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -1471,6 +1675,8 @@ public int getUniversalActionsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Defines set of [universal
      * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -1487,6 +1693,8 @@ public com.google.apps.script.type.gmail.UniversalAction getUniversalActions(int
       }
     }
     /**
+     *
+     *
      * 
      * Defines set of [universal
      * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -1510,6 +1718,8 @@ public Builder setUniversalActions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines set of [universal
      * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -1530,6 +1740,8 @@ public Builder setUniversalActions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines set of [universal
      * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -1552,6 +1764,8 @@ public Builder addUniversalActions(com.google.apps.script.type.gmail.UniversalAc
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines set of [universal
      * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -1575,6 +1789,8 @@ public Builder addUniversalActions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines set of [universal
      * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -1595,6 +1811,8 @@ public Builder addUniversalActions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines set of [universal
      * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -1615,6 +1833,8 @@ public Builder addUniversalActions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines set of [universal
      * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -1627,8 +1847,7 @@ public Builder addAllUniversalActions(
         java.lang.Iterable values) {
       if (universalActionsBuilder_ == null) {
         ensureUniversalActionsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, universalActions_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, universalActions_);
         onChanged();
       } else {
         universalActionsBuilder_.addAllMessages(values);
@@ -1636,6 +1855,8 @@ public Builder addAllUniversalActions(
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines set of [universal
      * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -1655,6 +1876,8 @@ public Builder clearUniversalActions() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines set of [universal
      * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -1674,6 +1897,8 @@ public Builder removeUniversalActions(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines set of [universal
      * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -1687,6 +1912,8 @@ public com.google.apps.script.type.gmail.UniversalAction.Builder getUniversalAct
       return getUniversalActionsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Defines set of [universal
      * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -1698,11 +1925,14 @@ public com.google.apps.script.type.gmail.UniversalAction.Builder getUniversalAct
     public com.google.apps.script.type.gmail.UniversalActionOrBuilder getUniversalActionsOrBuilder(
         int index) {
       if (universalActionsBuilder_ == null) {
-        return universalActions_.get(index);  } else {
+        return universalActions_.get(index);
+      } else {
         return universalActionsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Defines set of [universal
      * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -1711,8 +1941,8 @@ public com.google.apps.script.type.gmail.UniversalActionOrBuilder getUniversalAc
      *
      * repeated .google.apps.script.type.gmail.UniversalAction universal_actions = 4;
      */
-    public java.util.List 
-         getUniversalActionsOrBuilderList() {
+    public java.util.List
+        getUniversalActionsOrBuilderList() {
       if (universalActionsBuilder_ != null) {
         return universalActionsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1720,6 +1950,8 @@ public com.google.apps.script.type.gmail.UniversalActionOrBuilder getUniversalAc
       }
     }
     /**
+     *
+     *
      * 
      * Defines set of [universal
      * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -1729,10 +1961,12 @@ public com.google.apps.script.type.gmail.UniversalActionOrBuilder getUniversalAc
      * repeated .google.apps.script.type.gmail.UniversalAction universal_actions = 4;
      */
     public com.google.apps.script.type.gmail.UniversalAction.Builder addUniversalActionsBuilder() {
-      return getUniversalActionsFieldBuilder().addBuilder(
-          com.google.apps.script.type.gmail.UniversalAction.getDefaultInstance());
+      return getUniversalActionsFieldBuilder()
+          .addBuilder(com.google.apps.script.type.gmail.UniversalAction.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Defines set of [universal
      * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -1743,10 +1977,13 @@ public com.google.apps.script.type.gmail.UniversalAction.Builder addUniversalAct
      */
     public com.google.apps.script.type.gmail.UniversalAction.Builder addUniversalActionsBuilder(
         int index) {
-      return getUniversalActionsFieldBuilder().addBuilder(
-          index, com.google.apps.script.type.gmail.UniversalAction.getDefaultInstance());
+      return getUniversalActionsFieldBuilder()
+          .addBuilder(
+              index, com.google.apps.script.type.gmail.UniversalAction.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Defines set of [universal
      * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -1755,16 +1992,22 @@ public com.google.apps.script.type.gmail.UniversalAction.Builder addUniversalAct
      *
      * repeated .google.apps.script.type.gmail.UniversalAction universal_actions = 4;
      */
-    public java.util.List 
-         getUniversalActionsBuilderList() {
+    public java.util.List
+        getUniversalActionsBuilderList() {
       return getUniversalActionsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.apps.script.type.gmail.UniversalAction, com.google.apps.script.type.gmail.UniversalAction.Builder, com.google.apps.script.type.gmail.UniversalActionOrBuilder> 
+            com.google.apps.script.type.gmail.UniversalAction,
+            com.google.apps.script.type.gmail.UniversalAction.Builder,
+            com.google.apps.script.type.gmail.UniversalActionOrBuilder>
         getUniversalActionsFieldBuilder() {
       if (universalActionsBuilder_ == null) {
-        universalActionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.apps.script.type.gmail.UniversalAction, com.google.apps.script.type.gmail.UniversalAction.Builder, com.google.apps.script.type.gmail.UniversalActionOrBuilder>(
+        universalActionsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.apps.script.type.gmail.UniversalAction,
+                com.google.apps.script.type.gmail.UniversalAction.Builder,
+                com.google.apps.script.type.gmail.UniversalActionOrBuilder>(
                 universalActions_,
                 ((bitField0_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -1776,8 +2019,13 @@ public com.google.apps.script.type.gmail.UniversalAction.Builder addUniversalAct
 
     private com.google.apps.script.type.gmail.ComposeTrigger composeTrigger_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.apps.script.type.gmail.ComposeTrigger, com.google.apps.script.type.gmail.ComposeTrigger.Builder, com.google.apps.script.type.gmail.ComposeTriggerOrBuilder> composeTriggerBuilder_;
+            com.google.apps.script.type.gmail.ComposeTrigger,
+            com.google.apps.script.type.gmail.ComposeTrigger.Builder,
+            com.google.apps.script.type.gmail.ComposeTriggerOrBuilder>
+        composeTriggerBuilder_;
     /**
+     *
+     *
      * 
      * Defines the compose time trigger for a compose time add-on. This is the
      * trigger that causes an add-on to take action when the user is composing an
@@ -1788,12 +2036,15 @@ public com.google.apps.script.type.gmail.UniversalAction.Builder addUniversalAct
      * 
* * .google.apps.script.type.gmail.ComposeTrigger compose_trigger = 12; + * * @return Whether the composeTrigger field is set. */ public boolean hasComposeTrigger() { return composeTriggerBuilder_ != null || composeTrigger_ != null; } /** + * + * *
      * Defines the compose time trigger for a compose time add-on. This is the
      * trigger that causes an add-on to take action when the user is composing an
@@ -1804,16 +2055,21 @@ public boolean hasComposeTrigger() {
      * 
* * .google.apps.script.type.gmail.ComposeTrigger compose_trigger = 12; + * * @return The composeTrigger. */ public com.google.apps.script.type.gmail.ComposeTrigger getComposeTrigger() { if (composeTriggerBuilder_ == null) { - return composeTrigger_ == null ? com.google.apps.script.type.gmail.ComposeTrigger.getDefaultInstance() : composeTrigger_; + return composeTrigger_ == null + ? com.google.apps.script.type.gmail.ComposeTrigger.getDefaultInstance() + : composeTrigger_; } else { return composeTriggerBuilder_.getMessage(); } } /** + * + * *
      * Defines the compose time trigger for a compose time add-on. This is the
      * trigger that causes an add-on to take action when the user is composing an
@@ -1839,6 +2095,8 @@ public Builder setComposeTrigger(com.google.apps.script.type.gmail.ComposeTrigge
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines the compose time trigger for a compose time add-on. This is the
      * trigger that causes an add-on to take action when the user is composing an
@@ -1862,6 +2120,8 @@ public Builder setComposeTrigger(
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines the compose time trigger for a compose time add-on. This is the
      * trigger that causes an add-on to take action when the user is composing an
@@ -1877,7 +2137,9 @@ public Builder mergeComposeTrigger(com.google.apps.script.type.gmail.ComposeTrig
       if (composeTriggerBuilder_ == null) {
         if (composeTrigger_ != null) {
           composeTrigger_ =
-            com.google.apps.script.type.gmail.ComposeTrigger.newBuilder(composeTrigger_).mergeFrom(value).buildPartial();
+              com.google.apps.script.type.gmail.ComposeTrigger.newBuilder(composeTrigger_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           composeTrigger_ = value;
         }
@@ -1889,6 +2151,8 @@ public Builder mergeComposeTrigger(com.google.apps.script.type.gmail.ComposeTrig
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines the compose time trigger for a compose time add-on. This is the
      * trigger that causes an add-on to take action when the user is composing an
@@ -1912,6 +2176,8 @@ public Builder clearComposeTrigger() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Defines the compose time trigger for a compose time add-on. This is the
      * trigger that causes an add-on to take action when the user is composing an
@@ -1924,11 +2190,13 @@ public Builder clearComposeTrigger() {
      * .google.apps.script.type.gmail.ComposeTrigger compose_trigger = 12;
      */
     public com.google.apps.script.type.gmail.ComposeTrigger.Builder getComposeTriggerBuilder() {
-      
+
       onChanged();
       return getComposeTriggerFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Defines the compose time trigger for a compose time add-on. This is the
      * trigger that causes an add-on to take action when the user is composing an
@@ -1944,11 +2212,14 @@ public com.google.apps.script.type.gmail.ComposeTriggerOrBuilder getComposeTrigg
       if (composeTriggerBuilder_ != null) {
         return composeTriggerBuilder_.getMessageOrBuilder();
       } else {
-        return composeTrigger_ == null ?
-            com.google.apps.script.type.gmail.ComposeTrigger.getDefaultInstance() : composeTrigger_;
+        return composeTrigger_ == null
+            ? com.google.apps.script.type.gmail.ComposeTrigger.getDefaultInstance()
+            : composeTrigger_;
       }
     }
     /**
+     *
+     *
      * 
      * Defines the compose time trigger for a compose time add-on. This is the
      * trigger that causes an add-on to take action when the user is composing an
@@ -1961,14 +2232,17 @@ public com.google.apps.script.type.gmail.ComposeTriggerOrBuilder getComposeTrigg
      * .google.apps.script.type.gmail.ComposeTrigger compose_trigger = 12;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.apps.script.type.gmail.ComposeTrigger, com.google.apps.script.type.gmail.ComposeTrigger.Builder, com.google.apps.script.type.gmail.ComposeTriggerOrBuilder> 
+            com.google.apps.script.type.gmail.ComposeTrigger,
+            com.google.apps.script.type.gmail.ComposeTrigger.Builder,
+            com.google.apps.script.type.gmail.ComposeTriggerOrBuilder>
         getComposeTriggerFieldBuilder() {
       if (composeTriggerBuilder_ == null) {
-        composeTriggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.apps.script.type.gmail.ComposeTrigger, com.google.apps.script.type.gmail.ComposeTrigger.Builder, com.google.apps.script.type.gmail.ComposeTriggerOrBuilder>(
-                getComposeTrigger(),
-                getParentForChildren(),
-                isClean());
+        composeTriggerBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.apps.script.type.gmail.ComposeTrigger,
+                com.google.apps.script.type.gmail.ComposeTrigger.Builder,
+                com.google.apps.script.type.gmail.ComposeTriggerOrBuilder>(
+                getComposeTrigger(), getParentForChildren(), isClean());
         composeTrigger_ = null;
       }
       return composeTriggerBuilder_;
@@ -1976,6 +2250,8 @@ public com.google.apps.script.type.gmail.ComposeTriggerOrBuilder getComposeTrigg
 
     private java.lang.Object authorizationCheckFunction_ = "";
     /**
+     *
+     *
      * 
      * The name of an endpoint that verifies that the add-on has
      * all the required third-party authorizations, by probing the third-party
@@ -1985,13 +2261,13 @@ public com.google.apps.script.type.gmail.ComposeTriggerOrBuilder getComposeTrigg
      * 
* * string authorization_check_function = 7; + * * @return The authorizationCheckFunction. */ public java.lang.String getAuthorizationCheckFunction() { java.lang.Object ref = authorizationCheckFunction_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authorizationCheckFunction_ = s; return s; @@ -2000,6 +2276,8 @@ public java.lang.String getAuthorizationCheckFunction() { } } /** + * + * *
      * The name of an endpoint that verifies that the add-on has
      * all the required third-party authorizations, by probing the third-party
@@ -2009,15 +2287,14 @@ public java.lang.String getAuthorizationCheckFunction() {
      * 
* * string authorization_check_function = 7; + * * @return The bytes for authorizationCheckFunction. */ - public com.google.protobuf.ByteString - getAuthorizationCheckFunctionBytes() { + public com.google.protobuf.ByteString getAuthorizationCheckFunctionBytes() { java.lang.Object ref = authorizationCheckFunction_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); authorizationCheckFunction_ = b; return b; } else { @@ -2025,6 +2302,8 @@ public java.lang.String getAuthorizationCheckFunction() { } } /** + * + * *
      * The name of an endpoint that verifies that the add-on has
      * all the required third-party authorizations, by probing the third-party
@@ -2034,20 +2313,22 @@ public java.lang.String getAuthorizationCheckFunction() {
      * 
* * string authorization_check_function = 7; + * * @param value The authorizationCheckFunction to set. * @return This builder for chaining. */ - public Builder setAuthorizationCheckFunction( - java.lang.String value) { + public Builder setAuthorizationCheckFunction(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + authorizationCheckFunction_ = value; onChanged(); return this; } /** + * + * *
      * The name of an endpoint that verifies that the add-on has
      * all the required third-party authorizations, by probing the third-party
@@ -2057,15 +2338,18 @@ public Builder setAuthorizationCheckFunction(
      * 
* * string authorization_check_function = 7; + * * @return This builder for chaining. */ public Builder clearAuthorizationCheckFunction() { - + authorizationCheckFunction_ = getDefaultInstance().getAuthorizationCheckFunction(); onChanged(); return this; } /** + * + * *
      * The name of an endpoint that verifies that the add-on has
      * all the required third-party authorizations, by probing the third-party
@@ -2075,23 +2359,23 @@ public Builder clearAuthorizationCheckFunction() {
      * 
* * string authorization_check_function = 7; + * * @param value The bytes for authorizationCheckFunction to set. * @return This builder for chaining. */ - public Builder setAuthorizationCheckFunctionBytes( - com.google.protobuf.ByteString value) { + public Builder setAuthorizationCheckFunctionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + authorizationCheckFunction_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2101,12 +2385,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.apps.script.type.gmail.GmailAddOnManifest) } // @@protoc_insertion_point(class_scope:google.apps.script.type.gmail.GmailAddOnManifest) private static final com.google.apps.script.type.gmail.GmailAddOnManifest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.apps.script.type.gmail.GmailAddOnManifest(); } @@ -2115,16 +2399,16 @@ public static com.google.apps.script.type.gmail.GmailAddOnManifest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GmailAddOnManifest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GmailAddOnManifest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GmailAddOnManifest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GmailAddOnManifest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2139,6 +2423,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.gmail.GmailAddOnManifest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/GmailAddOnManifestOrBuilder.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/GmailAddOnManifestOrBuilder.java similarity index 88% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/GmailAddOnManifestOrBuilder.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/GmailAddOnManifestOrBuilder.java index e2f4dcf3..5f064a12 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/GmailAddOnManifestOrBuilder.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/GmailAddOnManifestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/gmail/gmail_addon_manifest.proto package com.google.apps.script.type.gmail; -public interface GmailAddOnManifestOrBuilder extends +public interface GmailAddOnManifestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.gmail.GmailAddOnManifest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Defines an endpoint that will be executed in contexts that don't
    * match a declared contextual trigger. Any cards generated by this function
@@ -18,10 +36,13 @@ public interface GmailAddOnManifestOrBuilder extends
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 14; + * * @return Whether the homepageTrigger field is set. */ boolean hasHomepageTrigger(); /** + * + * *
    * Defines an endpoint that will be executed in contexts that don't
    * match a declared contextual trigger. Any cards generated by this function
@@ -32,10 +53,13 @@ public interface GmailAddOnManifestOrBuilder extends
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 14; + * * @return The homepageTrigger. */ com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger(); /** + * + * *
    * Defines an endpoint that will be executed in contexts that don't
    * match a declared contextual trigger. Any cards generated by this function
@@ -50,15 +74,18 @@ public interface GmailAddOnManifestOrBuilder extends
   com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder();
 
   /**
+   *
+   *
    * 
    * Defines the set of conditions that trigger the add-on.
    * 
* * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; */ - java.util.List - getContextualTriggersList(); + java.util.List getContextualTriggersList(); /** + * + * *
    * Defines the set of conditions that trigger the add-on.
    * 
@@ -67,6 +94,8 @@ public interface GmailAddOnManifestOrBuilder extends */ com.google.apps.script.type.gmail.ContextualTrigger getContextualTriggers(int index); /** + * + * *
    * Defines the set of conditions that trigger the add-on.
    * 
@@ -75,15 +104,19 @@ public interface GmailAddOnManifestOrBuilder extends */ int getContextualTriggersCount(); /** + * + * *
    * Defines the set of conditions that trigger the add-on.
    * 
* * repeated .google.apps.script.type.gmail.ContextualTrigger contextual_triggers = 3; */ - java.util.List + java.util.List getContextualTriggersOrBuilderList(); /** + * + * *
    * Defines the set of conditions that trigger the add-on.
    * 
@@ -94,6 +127,8 @@ com.google.apps.script.type.gmail.ContextualTriggerOrBuilder getContextualTrigge int index); /** + * + * *
    * Defines set of [universal
    * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -102,9 +137,10 @@ com.google.apps.script.type.gmail.ContextualTriggerOrBuilder getContextualTrigge
    *
    * repeated .google.apps.script.type.gmail.UniversalAction universal_actions = 4;
    */
-  java.util.List 
-      getUniversalActionsList();
+  java.util.List getUniversalActionsList();
   /**
+   *
+   *
    * 
    * Defines set of [universal
    * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -115,6 +151,8 @@ com.google.apps.script.type.gmail.ContextualTriggerOrBuilder getContextualTrigge
    */
   com.google.apps.script.type.gmail.UniversalAction getUniversalActions(int index);
   /**
+   *
+   *
    * 
    * Defines set of [universal
    * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -125,6 +163,8 @@ com.google.apps.script.type.gmail.ContextualTriggerOrBuilder getContextualTrigge
    */
   int getUniversalActionsCount();
   /**
+   *
+   *
    * 
    * Defines set of [universal
    * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -133,9 +173,11 @@ com.google.apps.script.type.gmail.ContextualTriggerOrBuilder getContextualTrigge
    *
    * repeated .google.apps.script.type.gmail.UniversalAction universal_actions = 4;
    */
-  java.util.List 
+  java.util.List
       getUniversalActionsOrBuilderList();
   /**
+   *
+   *
    * 
    * Defines set of [universal
    * actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user
@@ -148,6 +190,8 @@ com.google.apps.script.type.gmail.UniversalActionOrBuilder getUniversalActionsOr
       int index);
 
   /**
+   *
+   *
    * 
    * Defines the compose time trigger for a compose time add-on. This is the
    * trigger that causes an add-on to take action when the user is composing an
@@ -158,10 +202,13 @@ com.google.apps.script.type.gmail.UniversalActionOrBuilder getUniversalActionsOr
    * 
* * .google.apps.script.type.gmail.ComposeTrigger compose_trigger = 12; + * * @return Whether the composeTrigger field is set. */ boolean hasComposeTrigger(); /** + * + * *
    * Defines the compose time trigger for a compose time add-on. This is the
    * trigger that causes an add-on to take action when the user is composing an
@@ -172,10 +219,13 @@ com.google.apps.script.type.gmail.UniversalActionOrBuilder getUniversalActionsOr
    * 
* * .google.apps.script.type.gmail.ComposeTrigger compose_trigger = 12; + * * @return The composeTrigger. */ com.google.apps.script.type.gmail.ComposeTrigger getComposeTrigger(); /** + * + * *
    * Defines the compose time trigger for a compose time add-on. This is the
    * trigger that causes an add-on to take action when the user is composing an
@@ -190,6 +240,8 @@ com.google.apps.script.type.gmail.UniversalActionOrBuilder getUniversalActionsOr
   com.google.apps.script.type.gmail.ComposeTriggerOrBuilder getComposeTriggerOrBuilder();
 
   /**
+   *
+   *
    * 
    * The name of an endpoint that verifies that the add-on has
    * all the required third-party authorizations, by probing the third-party
@@ -199,10 +251,13 @@ com.google.apps.script.type.gmail.UniversalActionOrBuilder getUniversalActionsOr
    * 
* * string authorization_check_function = 7; + * * @return The authorizationCheckFunction. */ java.lang.String getAuthorizationCheckFunction(); /** + * + * *
    * The name of an endpoint that verifies that the add-on has
    * all the required third-party authorizations, by probing the third-party
@@ -212,8 +267,8 @@ com.google.apps.script.type.gmail.UniversalActionOrBuilder getUniversalActionsOr
    * 
* * string authorization_check_function = 7; + * * @return The bytes for authorizationCheckFunction. */ - com.google.protobuf.ByteString - getAuthorizationCheckFunctionBytes(); + com.google.protobuf.ByteString getAuthorizationCheckFunctionBytes(); } diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/GmailAddOnManifestProto.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/GmailAddOnManifestProto.java new file mode 100644 index 00000000..850a0a07 --- /dev/null +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/GmailAddOnManifestProto.java @@ -0,0 +1,149 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/apps/script/type/gmail/gmail_addon_manifest.proto + +package com.google.apps.script.type.gmail; + +public final class GmailAddOnManifestProto { + private GmailAddOnManifestProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_apps_script_type_gmail_GmailAddOnManifest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_apps_script_type_gmail_GmailAddOnManifest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_apps_script_type_gmail_UniversalAction_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_apps_script_type_gmail_UniversalAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_apps_script_type_gmail_ComposeTrigger_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_apps_script_type_gmail_ComposeTrigger_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_apps_script_type_gmail_ContextualTrigger_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_apps_script_type_gmail_ContextualTrigger_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_apps_script_type_gmail_UnconditionalTrigger_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_apps_script_type_gmail_UnconditionalTrigger_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n8google/apps/script/type/gmail/gmail_ad" + + "don_manifest.proto\022\035google.apps.script.t" + + "ype.gmail\032.google/apps/script/type/addon" + + "_widget_set.proto\032-google/apps/script/ty" + + "pe/extension_point.proto\032\034google/protobu" + + "f/struct.proto\"\347\002\n\022GmailAddOnManifest\022I\n" + + "\020homepage_trigger\030\016 \001(\0132/.google.apps.sc" + + "ript.type.HomepageExtensionPoint\022M\n\023cont" + + "extual_triggers\030\003 \003(\01320.google.apps.scri" + + "pt.type.gmail.ContextualTrigger\022I\n\021unive" + + "rsal_actions\030\004 \003(\0132..google.apps.script." + + "type.gmail.UniversalAction\022F\n\017compose_tr" + + "igger\030\014 \001(\0132-.google.apps.script.type.gm" + + "ail.ComposeTrigger\022$\n\034authorization_chec" + + "k_function\030\007 \001(\t\"[\n\017UniversalAction\022\014\n\004t" + + "ext\030\001 \001(\t\022\023\n\topen_link\030\002 \001(\tH\000\022\026\n\014run_fu" + + "nction\030\003 \001(\tH\000B\r\n\013action_type\"\333\001\n\016Compos" + + "eTrigger\022@\n\007actions\030\005 \003(\0132/.google.apps." + + "script.type.MenuItemExtensionPoint\022O\n\014dr" + + "aft_access\030\004 \001(\01629.google.apps.script.ty" + + "pe.gmail.ComposeTrigger.DraftAccess\"6\n\013D" + + "raftAccess\022\017\n\013UNSPECIFIED\020\000\022\010\n\004NONE\020\001\022\014\n" + + "\010METADATA\020\002\"\211\001\n\021ContextualTrigger\022L\n\runc" + + "onditional\030\001 \001(\01323.google.apps.script.ty" + + "pe.gmail.UnconditionalTriggerH\000\022\033\n\023on_tr" + + "igger_function\030\004 \001(\tB\t\n\007trigger\"\026\n\024Uncon" + + "ditionalTriggerB\340\001\n!com.google.apps.scri" + + "pt.type.gmailB\027GmailAddOnManifestProtoP\001" + + "Z * A trigger that fires when any email message is opened. *
* * Protobuf type {@code google.apps.script.type.gmail.UnconditionalTrigger} */ -public final class UnconditionalTrigger extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UnconditionalTrigger extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.apps.script.type.gmail.UnconditionalTrigger) UnconditionalTriggerOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UnconditionalTrigger.newBuilder() to construct. private UnconditionalTrigger(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UnconditionalTrigger() { - } + + private UnconditionalTrigger() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UnconditionalTrigger(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UnconditionalTrigger( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private UnconditionalTrigger( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private UnconditionalTrigger( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_UnconditionalTrigger_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.script.type.gmail.GmailAddOnManifestProto + .internal_static_google_apps_script_type_gmail_UnconditionalTrigger_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_UnconditionalTrigger_fieldAccessorTable + return com.google.apps.script.type.gmail.GmailAddOnManifestProto + .internal_static_google_apps_script_type_gmail_UnconditionalTrigger_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.gmail.UnconditionalTrigger.class, com.google.apps.script.type.gmail.UnconditionalTrigger.Builder.class); + com.google.apps.script.type.gmail.UnconditionalTrigger.class, + com.google.apps.script.type.gmail.UnconditionalTrigger.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.gmail.UnconditionalTrigger)) { return super.equals(obj); } - com.google.apps.script.type.gmail.UnconditionalTrigger other = (com.google.apps.script.type.gmail.UnconditionalTrigger) obj; + com.google.apps.script.type.gmail.UnconditionalTrigger other = + (com.google.apps.script.type.gmail.UnconditionalTrigger) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ public int hashCode() { } public static com.google.apps.script.type.gmail.UnconditionalTrigger parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.gmail.UnconditionalTrigger parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.gmail.UnconditionalTrigger parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.gmail.UnconditionalTrigger parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.gmail.UnconditionalTrigger parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.gmail.UnconditionalTrigger parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.gmail.UnconditionalTrigger parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.apps.script.type.gmail.UnconditionalTrigger parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.gmail.UnconditionalTrigger parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.gmail.UnconditionalTrigger parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.apps.script.type.gmail.UnconditionalTrigger parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.apps.script.type.gmail.UnconditionalTrigger parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.apps.script.type.gmail.UnconditionalTrigger parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.gmail.UnconditionalTrigger parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.apps.script.type.gmail.UnconditionalTrigger prototype) { + + public static Builder newBuilder( + com.google.apps.script.type.gmail.UnconditionalTrigger prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A trigger that fires when any email message is opened.
    * 
* * Protobuf type {@code google.apps.script.type.gmail.UnconditionalTrigger} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.apps.script.type.gmail.UnconditionalTrigger) com.google.apps.script.type.gmail.UnconditionalTriggerOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_UnconditionalTrigger_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.script.type.gmail.GmailAddOnManifestProto + .internal_static_google_apps_script_type_gmail_UnconditionalTrigger_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_UnconditionalTrigger_fieldAccessorTable + return com.google.apps.script.type.gmail.GmailAddOnManifestProto + .internal_static_google_apps_script_type_gmail_UnconditionalTrigger_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.gmail.UnconditionalTrigger.class, com.google.apps.script.type.gmail.UnconditionalTrigger.Builder.class); + com.google.apps.script.type.gmail.UnconditionalTrigger.class, + com.google.apps.script.type.gmail.UnconditionalTrigger.Builder.class); } // Construct using com.google.apps.script.type.gmail.UnconditionalTrigger.newBuilder() @@ -259,16 +288,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +304,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_UnconditionalTrigger_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.apps.script.type.gmail.GmailAddOnManifestProto + .internal_static_google_apps_script_type_gmail_UnconditionalTrigger_descriptor; } @java.lang.Override @@ -297,7 +325,8 @@ public com.google.apps.script.type.gmail.UnconditionalTrigger build() { @java.lang.Override public com.google.apps.script.type.gmail.UnconditionalTrigger buildPartial() { - com.google.apps.script.type.gmail.UnconditionalTrigger result = new com.google.apps.script.type.gmail.UnconditionalTrigger(this); + com.google.apps.script.type.gmail.UnconditionalTrigger result = + new com.google.apps.script.type.gmail.UnconditionalTrigger(this); onBuilt(); return result; } @@ -306,38 +335,39 @@ public com.google.apps.script.type.gmail.UnconditionalTrigger buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.script.type.gmail.UnconditionalTrigger) { - return mergeFrom((com.google.apps.script.type.gmail.UnconditionalTrigger)other); + return mergeFrom((com.google.apps.script.type.gmail.UnconditionalTrigger) other); } else { super.mergeFrom(other); return this; @@ -345,7 +375,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.apps.script.type.gmail.UnconditionalTrigger other) { - if (other == com.google.apps.script.type.gmail.UnconditionalTrigger.getDefaultInstance()) return this; + if (other == com.google.apps.script.type.gmail.UnconditionalTrigger.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +396,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.apps.script.type.gmail.UnconditionalTrigger) e.getUnfinishedMessage(); + parsedMessage = + (com.google.apps.script.type.gmail.UnconditionalTrigger) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +406,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,12 +418,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.apps.script.type.gmail.UnconditionalTrigger) } // @@protoc_insertion_point(class_scope:google.apps.script.type.gmail.UnconditionalTrigger) private static final com.google.apps.script.type.gmail.UnconditionalTrigger DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.apps.script.type.gmail.UnconditionalTrigger(); } @@ -400,16 +432,16 @@ public static com.google.apps.script.type.gmail.UnconditionalTrigger getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UnconditionalTrigger parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UnconditionalTrigger(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UnconditionalTrigger parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UnconditionalTrigger(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +456,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.gmail.UnconditionalTrigger getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/UnconditionalTriggerOrBuilder.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/UnconditionalTriggerOrBuilder.java new file mode 100644 index 00000000..36e856b8 --- /dev/null +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/UnconditionalTriggerOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/apps/script/type/gmail/gmail_addon_manifest.proto + +package com.google.apps.script.type.gmail; + +public interface UnconditionalTriggerOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.apps.script.type.gmail.UnconditionalTrigger) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/UniversalAction.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/UniversalAction.java similarity index 73% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/UniversalAction.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/UniversalAction.java index 64963309..75b444a0 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/UniversalAction.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/UniversalAction.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/gmail/gmail_addon_manifest.proto package com.google.apps.script.type.gmail; /** + * + * *
  * An action that is always available in the add-on toolbar menu regardless of
  * message context.
@@ -11,31 +28,31 @@
  *
  * Protobuf type {@code google.apps.script.type.gmail.UniversalAction}
  */
-public final class UniversalAction extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class UniversalAction extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.apps.script.type.gmail.UniversalAction)
     UniversalActionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use UniversalAction.newBuilder() to construct.
   private UniversalAction(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private UniversalAction() {
     text_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new UniversalAction();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private UniversalAction(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -54,31 +71,34 @@ private UniversalAction(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            text_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
-            actionTypeCase_ = 2;
-            actionType_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-            actionTypeCase_ = 3;
-            actionType_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              text_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              actionTypeCase_ = 2;
+              actionType_ = s;
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              actionTypeCase_ = 3;
+              actionType_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -86,35 +106,40 @@ private UniversalAction(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_UniversalAction_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.apps.script.type.gmail.GmailAddOnManifestProto
+        .internal_static_google_apps_script_type_gmail_UniversalAction_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_UniversalAction_fieldAccessorTable
+    return com.google.apps.script.type.gmail.GmailAddOnManifestProto
+        .internal_static_google_apps_script_type_gmail_UniversalAction_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.apps.script.type.gmail.UniversalAction.class, com.google.apps.script.type.gmail.UniversalAction.Builder.class);
+            com.google.apps.script.type.gmail.UniversalAction.class,
+            com.google.apps.script.type.gmail.UniversalAction.Builder.class);
   }
 
   private int actionTypeCase_ = 0;
   private java.lang.Object actionType_;
+
   public enum ActionTypeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     OPEN_LINK(2),
     RUN_FUNCTION(3),
     ACTIONTYPE_NOT_SET(0);
     private final int value;
+
     private ActionTypeCase(int value) {
       this.value = value;
     }
@@ -130,32 +155,38 @@ public static ActionTypeCase valueOf(int value) {
 
     public static ActionTypeCase forNumber(int value) {
       switch (value) {
-        case 2: return OPEN_LINK;
-        case 3: return RUN_FUNCTION;
-        case 0: return ACTIONTYPE_NOT_SET;
-        default: return null;
+        case 2:
+          return OPEN_LINK;
+        case 3:
+          return RUN_FUNCTION;
+        case 0:
+          return ACTIONTYPE_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ActionTypeCase
-  getActionTypeCase() {
-    return ActionTypeCase.forNumber(
-        actionTypeCase_);
+  public ActionTypeCase getActionTypeCase() {
+    return ActionTypeCase.forNumber(actionTypeCase_);
   }
 
   public static final int TEXT_FIELD_NUMBER = 1;
   private volatile java.lang.Object text_;
   /**
+   *
+   *
    * 
    * Required. User-visible text describing the action, for example, "Add a new
    * contact."
    * 
* * string text = 1; + * * @return The text. */ @java.lang.Override @@ -164,30 +195,30 @@ public java.lang.String getText() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); text_ = s; return s; } } /** + * + * *
    * Required. User-visible text describing the action, for example, "Add a new
    * contact."
    * 
* * string text = 1; + * * @return The bytes for text. */ @java.lang.Override - public com.google.protobuf.ByteString - getTextBytes() { + public com.google.protobuf.ByteString getTextBytes() { java.lang.Object ref = text_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); text_ = b; return b; } else { @@ -197,22 +228,28 @@ public java.lang.String getText() { public static final int OPEN_LINK_FIELD_NUMBER = 2; /** + * + * *
    * A link that is opened by Gmail when the user triggers the action.
    * 
* * string open_link = 2; + * * @return Whether the openLink field is set. */ public boolean hasOpenLink() { return actionTypeCase_ == 2; } /** + * + * *
    * A link that is opened by Gmail when the user triggers the action.
    * 
* * string open_link = 2; + * * @return The openLink. */ public java.lang.String getOpenLink() { @@ -223,8 +260,7 @@ public java.lang.String getOpenLink() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (actionTypeCase_ == 2) { actionType_ = s; @@ -233,23 +269,24 @@ public java.lang.String getOpenLink() { } } /** + * + * *
    * A link that is opened by Gmail when the user triggers the action.
    * 
* * string open_link = 2; + * * @return The bytes for openLink. */ - public com.google.protobuf.ByteString - getOpenLinkBytes() { + public com.google.protobuf.ByteString getOpenLinkBytes() { java.lang.Object ref = ""; if (actionTypeCase_ == 2) { ref = actionType_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (actionTypeCase_ == 2) { actionType_ = b; } @@ -261,6 +298,8 @@ public java.lang.String getOpenLink() { public static final int RUN_FUNCTION_FIELD_NUMBER = 3; /** + * + * *
    * An endpoint that is called when the user triggers the
    * action. See the [universal actions
@@ -268,12 +307,15 @@ public java.lang.String getOpenLink() {
    * 
* * string run_function = 3; + * * @return Whether the runFunction field is set. */ public boolean hasRunFunction() { return actionTypeCase_ == 3; } /** + * + * *
    * An endpoint that is called when the user triggers the
    * action. See the [universal actions
@@ -281,6 +323,7 @@ public boolean hasRunFunction() {
    * 
* * string run_function = 3; + * * @return The runFunction. */ public java.lang.String getRunFunction() { @@ -291,8 +334,7 @@ public java.lang.String getRunFunction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (actionTypeCase_ == 3) { actionType_ = s; @@ -301,6 +343,8 @@ public java.lang.String getRunFunction() { } } /** + * + * *
    * An endpoint that is called when the user triggers the
    * action. See the [universal actions
@@ -308,18 +352,17 @@ public java.lang.String getRunFunction() {
    * 
* * string run_function = 3; + * * @return The bytes for runFunction. */ - public com.google.protobuf.ByteString - getRunFunctionBytes() { + public com.google.protobuf.ByteString getRunFunctionBytes() { java.lang.Object ref = ""; if (actionTypeCase_ == 3) { ref = actionType_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (actionTypeCase_ == 3) { actionType_ = b; } @@ -330,6 +373,7 @@ public java.lang.String getRunFunction() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -341,8 +385,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(text_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, text_); } @@ -378,24 +421,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.gmail.UniversalAction)) { return super.equals(obj); } - com.google.apps.script.type.gmail.UniversalAction other = (com.google.apps.script.type.gmail.UniversalAction) obj; + com.google.apps.script.type.gmail.UniversalAction other = + (com.google.apps.script.type.gmail.UniversalAction) obj; - if (!getText() - .equals(other.getText())) return false; + if (!getText().equals(other.getText())) return false; if (!getActionTypeCase().equals(other.getActionTypeCase())) return false; switch (actionTypeCase_) { case 2: - if (!getOpenLink() - .equals(other.getOpenLink())) return false; + if (!getOpenLink().equals(other.getOpenLink())) return false; break; case 3: - if (!getRunFunction() - .equals(other.getRunFunction())) return false; + if (!getRunFunction().equals(other.getRunFunction())) return false; break; case 0: default: @@ -431,96 +472,103 @@ public int hashCode() { } public static com.google.apps.script.type.gmail.UniversalAction parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.gmail.UniversalAction parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.gmail.UniversalAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.gmail.UniversalAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.gmail.UniversalAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.gmail.UniversalAction parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.gmail.UniversalAction parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.apps.script.type.gmail.UniversalAction parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.gmail.UniversalAction parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.gmail.UniversalAction parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.apps.script.type.gmail.UniversalAction parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.apps.script.type.gmail.UniversalAction parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.apps.script.type.gmail.UniversalAction parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.gmail.UniversalAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.apps.script.type.gmail.UniversalAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * An action that is always available in the add-on toolbar menu regardless of
    * message context.
@@ -528,21 +576,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.apps.script.type.gmail.UniversalAction}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.apps.script.type.gmail.UniversalAction)
       com.google.apps.script.type.gmail.UniversalActionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_UniversalAction_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.apps.script.type.gmail.GmailAddOnManifestProto
+          .internal_static_google_apps_script_type_gmail_UniversalAction_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_UniversalAction_fieldAccessorTable
+      return com.google.apps.script.type.gmail.GmailAddOnManifestProto
+          .internal_static_google_apps_script_type_gmail_UniversalAction_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.apps.script.type.gmail.UniversalAction.class, com.google.apps.script.type.gmail.UniversalAction.Builder.class);
+              com.google.apps.script.type.gmail.UniversalAction.class,
+              com.google.apps.script.type.gmail.UniversalAction.Builder.class);
     }
 
     // Construct using com.google.apps.script.type.gmail.UniversalAction.newBuilder()
@@ -550,16 +600,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -571,9 +620,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.apps.script.type.gmail.GmailAddOnManifestProto.internal_static_google_apps_script_type_gmail_UniversalAction_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.apps.script.type.gmail.GmailAddOnManifestProto
+          .internal_static_google_apps_script_type_gmail_UniversalAction_descriptor;
     }
 
     @java.lang.Override
@@ -592,7 +641,8 @@ public com.google.apps.script.type.gmail.UniversalAction build() {
 
     @java.lang.Override
     public com.google.apps.script.type.gmail.UniversalAction buildPartial() {
-      com.google.apps.script.type.gmail.UniversalAction result = new com.google.apps.script.type.gmail.UniversalAction(this);
+      com.google.apps.script.type.gmail.UniversalAction result =
+          new com.google.apps.script.type.gmail.UniversalAction(this);
       result.text_ = text_;
       if (actionTypeCase_ == 2) {
         result.actionType_ = actionType_;
@@ -609,38 +659,39 @@ public com.google.apps.script.type.gmail.UniversalAction buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.apps.script.type.gmail.UniversalAction) {
-        return mergeFrom((com.google.apps.script.type.gmail.UniversalAction)other);
+        return mergeFrom((com.google.apps.script.type.gmail.UniversalAction) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -648,27 +699,31 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.apps.script.type.gmail.UniversalAction other) {
-      if (other == com.google.apps.script.type.gmail.UniversalAction.getDefaultInstance()) return this;
+      if (other == com.google.apps.script.type.gmail.UniversalAction.getDefaultInstance())
+        return this;
       if (!other.getText().isEmpty()) {
         text_ = other.text_;
         onChanged();
       }
       switch (other.getActionTypeCase()) {
-        case OPEN_LINK: {
-          actionTypeCase_ = 2;
-          actionType_ = other.actionType_;
-          onChanged();
-          break;
-        }
-        case RUN_FUNCTION: {
-          actionTypeCase_ = 3;
-          actionType_ = other.actionType_;
-          onChanged();
-          break;
-        }
-        case ACTIONTYPE_NOT_SET: {
-          break;
-        }
+        case OPEN_LINK:
+          {
+            actionTypeCase_ = 2;
+            actionType_ = other.actionType_;
+            onChanged();
+            break;
+          }
+        case RUN_FUNCTION:
+          {
+            actionTypeCase_ = 3;
+            actionType_ = other.actionType_;
+            onChanged();
+            break;
+          }
+        case ACTIONTYPE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -689,7 +744,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.apps.script.type.gmail.UniversalAction) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.apps.script.type.gmail.UniversalAction) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -698,12 +754,12 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int actionTypeCase_ = 0;
     private java.lang.Object actionType_;
-    public ActionTypeCase
-        getActionTypeCase() {
-      return ActionTypeCase.forNumber(
-          actionTypeCase_);
+
+    public ActionTypeCase getActionTypeCase() {
+      return ActionTypeCase.forNumber(actionTypeCase_);
     }
 
     public Builder clearActionType() {
@@ -713,22 +769,23 @@ public Builder clearActionType() {
       return this;
     }
 
-
     private java.lang.Object text_ = "";
     /**
+     *
+     *
      * 
      * Required. User-visible text describing the action, for example, "Add a new
      * contact."
      * 
* * string text = 1; + * * @return The text. */ public java.lang.String getText() { java.lang.Object ref = text_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); text_ = s; return s; @@ -737,21 +794,22 @@ public java.lang.String getText() { } } /** + * + * *
      * Required. User-visible text describing the action, for example, "Add a new
      * contact."
      * 
* * string text = 1; + * * @return The bytes for text. */ - public com.google.protobuf.ByteString - getTextBytes() { + public com.google.protobuf.ByteString getTextBytes() { java.lang.Object ref = text_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); text_ = b; return b; } else { @@ -759,68 +817,78 @@ public java.lang.String getText() { } } /** + * + * *
      * Required. User-visible text describing the action, for example, "Add a new
      * contact."
      * 
* * string text = 1; + * * @param value The text to set. * @return This builder for chaining. */ - public Builder setText( - java.lang.String value) { + public Builder setText(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + text_ = value; onChanged(); return this; } /** + * + * *
      * Required. User-visible text describing the action, for example, "Add a new
      * contact."
      * 
* * string text = 1; + * * @return This builder for chaining. */ public Builder clearText() { - + text_ = getDefaultInstance().getText(); onChanged(); return this; } /** + * + * *
      * Required. User-visible text describing the action, for example, "Add a new
      * contact."
      * 
* * string text = 1; + * * @param value The bytes for text to set. * @return This builder for chaining. */ - public Builder setTextBytes( - com.google.protobuf.ByteString value) { + public Builder setTextBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + text_ = value; onChanged(); return this; } /** + * + * *
      * A link that is opened by Gmail when the user triggers the action.
      * 
* * string open_link = 2; + * * @return Whether the openLink field is set. */ @java.lang.Override @@ -828,11 +896,14 @@ public boolean hasOpenLink() { return actionTypeCase_ == 2; } /** + * + * *
      * A link that is opened by Gmail when the user triggers the action.
      * 
* * string open_link = 2; + * * @return The openLink. */ @java.lang.Override @@ -842,8 +913,7 @@ public java.lang.String getOpenLink() { ref = actionType_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (actionTypeCase_ == 2) { actionType_ = s; @@ -854,24 +924,25 @@ public java.lang.String getOpenLink() { } } /** + * + * *
      * A link that is opened by Gmail when the user triggers the action.
      * 
* * string open_link = 2; + * * @return The bytes for openLink. */ @java.lang.Override - public com.google.protobuf.ByteString - getOpenLinkBytes() { + public com.google.protobuf.ByteString getOpenLinkBytes() { java.lang.Object ref = ""; if (actionTypeCase_ == 2) { ref = actionType_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (actionTypeCase_ == 2) { actionType_ = b; } @@ -881,30 +952,35 @@ public java.lang.String getOpenLink() { } } /** + * + * *
      * A link that is opened by Gmail when the user triggers the action.
      * 
* * string open_link = 2; + * * @param value The openLink to set. * @return This builder for chaining. */ - public Builder setOpenLink( - java.lang.String value) { + public Builder setOpenLink(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - actionTypeCase_ = 2; + throw new NullPointerException(); + } + actionTypeCase_ = 2; actionType_ = value; onChanged(); return this; } /** + * + * *
      * A link that is opened by Gmail when the user triggers the action.
      * 
* * string open_link = 2; + * * @return This builder for chaining. */ public Builder clearOpenLink() { @@ -916,20 +992,22 @@ public Builder clearOpenLink() { return this; } /** + * + * *
      * A link that is opened by Gmail when the user triggers the action.
      * 
* * string open_link = 2; + * * @param value The bytes for openLink to set. * @return This builder for chaining. */ - public Builder setOpenLinkBytes( - com.google.protobuf.ByteString value) { + public Builder setOpenLinkBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); actionTypeCase_ = 2; actionType_ = value; onChanged(); @@ -937,6 +1015,8 @@ public Builder setOpenLinkBytes( } /** + * + * *
      * An endpoint that is called when the user triggers the
      * action. See the [universal actions
@@ -944,6 +1024,7 @@ public Builder setOpenLinkBytes(
      * 
* * string run_function = 3; + * * @return Whether the runFunction field is set. */ @java.lang.Override @@ -951,6 +1032,8 @@ public boolean hasRunFunction() { return actionTypeCase_ == 3; } /** + * + * *
      * An endpoint that is called when the user triggers the
      * action. See the [universal actions
@@ -958,6 +1041,7 @@ public boolean hasRunFunction() {
      * 
* * string run_function = 3; + * * @return The runFunction. */ @java.lang.Override @@ -967,8 +1051,7 @@ public java.lang.String getRunFunction() { ref = actionType_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (actionTypeCase_ == 3) { actionType_ = s; @@ -979,6 +1062,8 @@ public java.lang.String getRunFunction() { } } /** + * + * *
      * An endpoint that is called when the user triggers the
      * action. See the [universal actions
@@ -986,19 +1071,18 @@ public java.lang.String getRunFunction() {
      * 
* * string run_function = 3; + * * @return The bytes for runFunction. */ @java.lang.Override - public com.google.protobuf.ByteString - getRunFunctionBytes() { + public com.google.protobuf.ByteString getRunFunctionBytes() { java.lang.Object ref = ""; if (actionTypeCase_ == 3) { ref = actionType_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (actionTypeCase_ == 3) { actionType_ = b; } @@ -1008,6 +1092,8 @@ public java.lang.String getRunFunction() { } } /** + * + * *
      * An endpoint that is called when the user triggers the
      * action. See the [universal actions
@@ -1015,20 +1101,22 @@ public java.lang.String getRunFunction() {
      * 
* * string run_function = 3; + * * @param value The runFunction to set. * @return This builder for chaining. */ - public Builder setRunFunction( - java.lang.String value) { + public Builder setRunFunction(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - actionTypeCase_ = 3; + throw new NullPointerException(); + } + actionTypeCase_ = 3; actionType_ = value; onChanged(); return this; } /** + * + * *
      * An endpoint that is called when the user triggers the
      * action. See the [universal actions
@@ -1036,6 +1124,7 @@ public Builder setRunFunction(
      * 
* * string run_function = 3; + * * @return This builder for chaining. */ public Builder clearRunFunction() { @@ -1047,6 +1136,8 @@ public Builder clearRunFunction() { return this; } /** + * + * *
      * An endpoint that is called when the user triggers the
      * action. See the [universal actions
@@ -1054,23 +1145,23 @@ public Builder clearRunFunction() {
      * 
* * string run_function = 3; + * * @param value The bytes for runFunction to set. * @return This builder for chaining. */ - public Builder setRunFunctionBytes( - com.google.protobuf.ByteString value) { + public Builder setRunFunctionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); actionTypeCase_ = 3; actionType_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1080,12 +1171,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.apps.script.type.gmail.UniversalAction) } // @@protoc_insertion_point(class_scope:google.apps.script.type.gmail.UniversalAction) private static final com.google.apps.script.type.gmail.UniversalAction DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.apps.script.type.gmail.UniversalAction(); } @@ -1094,16 +1185,16 @@ public static com.google.apps.script.type.gmail.UniversalAction getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UniversalAction parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UniversalAction(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UniversalAction parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UniversalAction(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1118,6 +1209,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.gmail.UniversalAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/UniversalActionOrBuilder.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/UniversalActionOrBuilder.java similarity index 72% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/UniversalActionOrBuilder.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/UniversalActionOrBuilder.java index 5eed5f90..2778d8f3 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/UniversalActionOrBuilder.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/gmail/UniversalActionOrBuilder.java @@ -1,64 +1,95 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/gmail/gmail_addon_manifest.proto package com.google.apps.script.type.gmail; -public interface UniversalActionOrBuilder extends +public interface UniversalActionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.gmail.UniversalAction) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. User-visible text describing the action, for example, "Add a new
    * contact."
    * 
* * string text = 1; + * * @return The text. */ java.lang.String getText(); /** + * + * *
    * Required. User-visible text describing the action, for example, "Add a new
    * contact."
    * 
* * string text = 1; + * * @return The bytes for text. */ - com.google.protobuf.ByteString - getTextBytes(); + com.google.protobuf.ByteString getTextBytes(); /** + * + * *
    * A link that is opened by Gmail when the user triggers the action.
    * 
* * string open_link = 2; + * * @return Whether the openLink field is set. */ boolean hasOpenLink(); /** + * + * *
    * A link that is opened by Gmail when the user triggers the action.
    * 
* * string open_link = 2; + * * @return The openLink. */ java.lang.String getOpenLink(); /** + * + * *
    * A link that is opened by Gmail when the user triggers the action.
    * 
* * string open_link = 2; + * * @return The bytes for openLink. */ - com.google.protobuf.ByteString - getOpenLinkBytes(); + com.google.protobuf.ByteString getOpenLinkBytes(); /** + * + * *
    * An endpoint that is called when the user triggers the
    * action. See the [universal actions
@@ -66,10 +97,13 @@ public interface UniversalActionOrBuilder extends
    * 
* * string run_function = 3; + * * @return Whether the runFunction field is set. */ boolean hasRunFunction(); /** + * + * *
    * An endpoint that is called when the user triggers the
    * action. See the [universal actions
@@ -77,10 +111,13 @@ public interface UniversalActionOrBuilder extends
    * 
* * string run_function = 3; + * * @return The runFunction. */ java.lang.String getRunFunction(); /** + * + * *
    * An endpoint that is called when the user triggers the
    * action. See the [universal actions
@@ -88,10 +125,10 @@ public interface UniversalActionOrBuilder extends
    * 
* * string run_function = 3; + * * @return The bytes for runFunction. */ - com.google.protobuf.ByteString - getRunFunctionBytes(); + com.google.protobuf.ByteString getRunFunctionBytes(); public com.google.apps.script.type.gmail.UniversalAction.ActionTypeCase getActionTypeCase(); } diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsAddOnManifest.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsAddOnManifest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsAddOnManifest.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsAddOnManifest.java index 6835bd9c..7254cf60 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsAddOnManifest.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsAddOnManifest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/sheets/sheets_addon_manifest.proto package com.google.apps.script.type.sheets; /** + * + * *
  * Sheets add-on manifest.
  * 
* * Protobuf type {@code google.apps.script.type.sheets.SheetsAddOnManifest} */ -public final class SheetsAddOnManifest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SheetsAddOnManifest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.apps.script.type.sheets.SheetsAddOnManifest) SheetsAddOnManifestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SheetsAddOnManifest.newBuilder() to construct. private SheetsAddOnManifest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SheetsAddOnManifest() { - } + + private SheetsAddOnManifest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SheetsAddOnManifest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SheetsAddOnManifest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,47 @@ private SheetsAddOnManifest( case 0: done = true; break; - case 26: { - com.google.apps.script.type.HomepageExtensionPoint.Builder subBuilder = null; - if (homepageTrigger_ != null) { - subBuilder = homepageTrigger_.toBuilder(); - } - homepageTrigger_ = input.readMessage(com.google.apps.script.type.HomepageExtensionPoint.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(homepageTrigger_); - homepageTrigger_ = subBuilder.buildPartial(); - } + case 26: + { + com.google.apps.script.type.HomepageExtensionPoint.Builder subBuilder = null; + if (homepageTrigger_ != null) { + subBuilder = homepageTrigger_.toBuilder(); + } + homepageTrigger_ = + input.readMessage( + com.google.apps.script.type.HomepageExtensionPoint.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(homepageTrigger_); + homepageTrigger_ = subBuilder.buildPartial(); + } - break; - } - case 42: { - com.google.apps.script.type.sheets.SheetsExtensionPoint.Builder subBuilder = null; - if (onFileScopeGrantedTrigger_ != null) { - subBuilder = onFileScopeGrantedTrigger_.toBuilder(); - } - onFileScopeGrantedTrigger_ = input.readMessage(com.google.apps.script.type.sheets.SheetsExtensionPoint.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(onFileScopeGrantedTrigger_); - onFileScopeGrantedTrigger_ = subBuilder.buildPartial(); + break; } + case 42: + { + com.google.apps.script.type.sheets.SheetsExtensionPoint.Builder subBuilder = null; + if (onFileScopeGrantedTrigger_ != null) { + subBuilder = onFileScopeGrantedTrigger_.toBuilder(); + } + onFileScopeGrantedTrigger_ = + input.readMessage( + com.google.apps.script.type.sheets.SheetsExtensionPoint.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(onFileScopeGrantedTrigger_); + onFileScopeGrantedTrigger_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,35 +116,40 @@ private SheetsAddOnManifest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.apps.script.type.sheets.SheetsAddOnManifestProto.internal_static_google_apps_script_type_sheets_SheetsAddOnManifest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.script.type.sheets.SheetsAddOnManifestProto + .internal_static_google_apps_script_type_sheets_SheetsAddOnManifest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.sheets.SheetsAddOnManifestProto.internal_static_google_apps_script_type_sheets_SheetsAddOnManifest_fieldAccessorTable + return com.google.apps.script.type.sheets.SheetsAddOnManifestProto + .internal_static_google_apps_script_type_sheets_SheetsAddOnManifest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.sheets.SheetsAddOnManifest.class, com.google.apps.script.type.sheets.SheetsAddOnManifest.Builder.class); + com.google.apps.script.type.sheets.SheetsAddOnManifest.class, + com.google.apps.script.type.sheets.SheetsAddOnManifest.Builder.class); } public static final int HOMEPAGE_TRIGGER_FIELD_NUMBER = 3; private com.google.apps.script.type.HomepageExtensionPoint homepageTrigger_; /** + * + * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 3; + * * @return Whether the homepageTrigger field is set. */ @java.lang.Override @@ -128,19 +157,26 @@ public boolean hasHomepageTrigger() { return homepageTrigger_ != null; } /** + * + * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 3; + * * @return The homepageTrigger. */ @java.lang.Override public com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger() { - return homepageTrigger_ == null ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_; + return homepageTrigger_ == null + ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() + : homepageTrigger_; } /** + * + * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
@@ -156,12 +192,16 @@ public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTr
   public static final int ON_FILE_SCOPE_GRANTED_TRIGGER_FIELD_NUMBER = 5;
   private com.google.apps.script.type.sheets.SheetsExtensionPoint onFileScopeGrantedTrigger_;
   /**
+   *
+   *
    * 
    * Endpoint to execute when file scope authorization is granted
    * for this document/user pair.
    * 
* - * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; + * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; + * + * * @return Whether the onFileScopeGrantedTrigger field is set. */ @java.lang.Override @@ -169,32 +209,43 @@ public boolean hasOnFileScopeGrantedTrigger() { return onFileScopeGrantedTrigger_ != null; } /** + * + * *
    * Endpoint to execute when file scope authorization is granted
    * for this document/user pair.
    * 
* - * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; + * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; + * + * * @return The onFileScopeGrantedTrigger. */ @java.lang.Override public com.google.apps.script.type.sheets.SheetsExtensionPoint getOnFileScopeGrantedTrigger() { - return onFileScopeGrantedTrigger_ == null ? com.google.apps.script.type.sheets.SheetsExtensionPoint.getDefaultInstance() : onFileScopeGrantedTrigger_; + return onFileScopeGrantedTrigger_ == null + ? com.google.apps.script.type.sheets.SheetsExtensionPoint.getDefaultInstance() + : onFileScopeGrantedTrigger_; } /** + * + * *
    * Endpoint to execute when file scope authorization is granted
    * for this document/user pair.
    * 
* - * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; + * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; + * */ @java.lang.Override - public com.google.apps.script.type.sheets.SheetsExtensionPointOrBuilder getOnFileScopeGrantedTriggerOrBuilder() { + public com.google.apps.script.type.sheets.SheetsExtensionPointOrBuilder + getOnFileScopeGrantedTriggerOrBuilder() { return getOnFileScopeGrantedTrigger(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +257,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (homepageTrigger_ != null) { output.writeMessage(3, getHomepageTrigger()); } @@ -224,12 +274,12 @@ public int getSerializedSize() { size = 0; if (homepageTrigger_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getHomepageTrigger()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getHomepageTrigger()); } if (onFileScopeGrantedTrigger_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getOnFileScopeGrantedTrigger()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, getOnFileScopeGrantedTrigger()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -239,22 +289,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.sheets.SheetsAddOnManifest)) { return super.equals(obj); } - com.google.apps.script.type.sheets.SheetsAddOnManifest other = (com.google.apps.script.type.sheets.SheetsAddOnManifest) obj; + com.google.apps.script.type.sheets.SheetsAddOnManifest other = + (com.google.apps.script.type.sheets.SheetsAddOnManifest) obj; if (hasHomepageTrigger() != other.hasHomepageTrigger()) return false; if (hasHomepageTrigger()) { - if (!getHomepageTrigger() - .equals(other.getHomepageTrigger())) return false; + if (!getHomepageTrigger().equals(other.getHomepageTrigger())) return false; } if (hasOnFileScopeGrantedTrigger() != other.hasOnFileScopeGrantedTrigger()) return false; if (hasOnFileScopeGrantedTrigger()) { - if (!getOnFileScopeGrantedTrigger() - .equals(other.getOnFileScopeGrantedTrigger())) return false; + if (!getOnFileScopeGrantedTrigger().equals(other.getOnFileScopeGrantedTrigger())) + return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -281,117 +331,127 @@ public int hashCode() { } public static com.google.apps.script.type.sheets.SheetsAddOnManifest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.sheets.SheetsAddOnManifest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.sheets.SheetsAddOnManifest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.sheets.SheetsAddOnManifest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.sheets.SheetsAddOnManifest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.sheets.SheetsAddOnManifest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.sheets.SheetsAddOnManifest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.apps.script.type.sheets.SheetsAddOnManifest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.sheets.SheetsAddOnManifest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.sheets.SheetsAddOnManifest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.apps.script.type.sheets.SheetsAddOnManifest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.apps.script.type.sheets.SheetsAddOnManifest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.apps.script.type.sheets.SheetsAddOnManifest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.sheets.SheetsAddOnManifest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.apps.script.type.sheets.SheetsAddOnManifest prototype) { + + public static Builder newBuilder( + com.google.apps.script.type.sheets.SheetsAddOnManifest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Sheets add-on manifest.
    * 
* * Protobuf type {@code google.apps.script.type.sheets.SheetsAddOnManifest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.apps.script.type.sheets.SheetsAddOnManifest) com.google.apps.script.type.sheets.SheetsAddOnManifestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.apps.script.type.sheets.SheetsAddOnManifestProto.internal_static_google_apps_script_type_sheets_SheetsAddOnManifest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.script.type.sheets.SheetsAddOnManifestProto + .internal_static_google_apps_script_type_sheets_SheetsAddOnManifest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.sheets.SheetsAddOnManifestProto.internal_static_google_apps_script_type_sheets_SheetsAddOnManifest_fieldAccessorTable + return com.google.apps.script.type.sheets.SheetsAddOnManifestProto + .internal_static_google_apps_script_type_sheets_SheetsAddOnManifest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.sheets.SheetsAddOnManifest.class, com.google.apps.script.type.sheets.SheetsAddOnManifest.Builder.class); + com.google.apps.script.type.sheets.SheetsAddOnManifest.class, + com.google.apps.script.type.sheets.SheetsAddOnManifest.Builder.class); } // Construct using com.google.apps.script.type.sheets.SheetsAddOnManifest.newBuilder() @@ -399,16 +459,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -428,9 +487,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.apps.script.type.sheets.SheetsAddOnManifestProto.internal_static_google_apps_script_type_sheets_SheetsAddOnManifest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.apps.script.type.sheets.SheetsAddOnManifestProto + .internal_static_google_apps_script_type_sheets_SheetsAddOnManifest_descriptor; } @java.lang.Override @@ -449,7 +508,8 @@ public com.google.apps.script.type.sheets.SheetsAddOnManifest build() { @java.lang.Override public com.google.apps.script.type.sheets.SheetsAddOnManifest buildPartial() { - com.google.apps.script.type.sheets.SheetsAddOnManifest result = new com.google.apps.script.type.sheets.SheetsAddOnManifest(this); + com.google.apps.script.type.sheets.SheetsAddOnManifest result = + new com.google.apps.script.type.sheets.SheetsAddOnManifest(this); if (homepageTriggerBuilder_ == null) { result.homepageTrigger_ = homepageTrigger_; } else { @@ -468,38 +528,39 @@ public com.google.apps.script.type.sheets.SheetsAddOnManifest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.script.type.sheets.SheetsAddOnManifest) { - return mergeFrom((com.google.apps.script.type.sheets.SheetsAddOnManifest)other); + return mergeFrom((com.google.apps.script.type.sheets.SheetsAddOnManifest) other); } else { super.mergeFrom(other); return this; @@ -507,7 +568,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.apps.script.type.sheets.SheetsAddOnManifest other) { - if (other == com.google.apps.script.type.sheets.SheetsAddOnManifest.getDefaultInstance()) return this; + if (other == com.google.apps.script.type.sheets.SheetsAddOnManifest.getDefaultInstance()) + return this; if (other.hasHomepageTrigger()) { mergeHomepageTrigger(other.getHomepageTrigger()); } @@ -533,7 +595,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.apps.script.type.sheets.SheetsAddOnManifest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.apps.script.type.sheets.SheetsAddOnManifest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -545,36 +608,49 @@ public Builder mergeFrom( private com.google.apps.script.type.HomepageExtensionPoint homepageTrigger_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder> homepageTriggerBuilder_; + com.google.apps.script.type.HomepageExtensionPoint, + com.google.apps.script.type.HomepageExtensionPoint.Builder, + com.google.apps.script.type.HomepageExtensionPointOrBuilder> + homepageTriggerBuilder_; /** + * + * *
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
      * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 3; + * * @return Whether the homepageTrigger field is set. */ public boolean hasHomepageTrigger() { return homepageTriggerBuilder_ != null || homepageTrigger_ != null; } /** + * + * *
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
      * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 3; + * * @return The homepageTrigger. */ public com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger() { if (homepageTriggerBuilder_ == null) { - return homepageTrigger_ == null ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_; + return homepageTrigger_ == null + ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() + : homepageTrigger_; } else { return homepageTriggerBuilder_.getMessage(); } } /** + * + * *
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -596,6 +672,8 @@ public Builder setHomepageTrigger(com.google.apps.script.type.HomepageExtensionP
       return this;
     }
     /**
+     *
+     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -615,6 +693,8 @@ public Builder setHomepageTrigger(
       return this;
     }
     /**
+     *
+     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -626,7 +706,9 @@ public Builder mergeHomepageTrigger(com.google.apps.script.type.HomepageExtensio
       if (homepageTriggerBuilder_ == null) {
         if (homepageTrigger_ != null) {
           homepageTrigger_ =
-            com.google.apps.script.type.HomepageExtensionPoint.newBuilder(homepageTrigger_).mergeFrom(value).buildPartial();
+              com.google.apps.script.type.HomepageExtensionPoint.newBuilder(homepageTrigger_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           homepageTrigger_ = value;
         }
@@ -638,6 +720,8 @@ public Builder mergeHomepageTrigger(com.google.apps.script.type.HomepageExtensio
       return this;
     }
     /**
+     *
+     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -657,6 +741,8 @@ public Builder clearHomepageTrigger() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -665,11 +751,13 @@ public Builder clearHomepageTrigger() {
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 3;
      */
     public com.google.apps.script.type.HomepageExtensionPoint.Builder getHomepageTriggerBuilder() {
-      
+
       onChanged();
       return getHomepageTriggerFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -677,15 +765,19 @@ public com.google.apps.script.type.HomepageExtensionPoint.Builder getHomepageTri
      *
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 3;
      */
-    public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder() {
+    public com.google.apps.script.type.HomepageExtensionPointOrBuilder
+        getHomepageTriggerOrBuilder() {
       if (homepageTriggerBuilder_ != null) {
         return homepageTriggerBuilder_.getMessageOrBuilder();
       } else {
-        return homepageTrigger_ == null ?
-            com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_;
+        return homepageTrigger_ == null
+            ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance()
+            : homepageTrigger_;
       }
     }
     /**
+     *
+     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -694,14 +786,17 @@ public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTr
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder> 
+            com.google.apps.script.type.HomepageExtensionPoint,
+            com.google.apps.script.type.HomepageExtensionPoint.Builder,
+            com.google.apps.script.type.HomepageExtensionPointOrBuilder>
         getHomepageTriggerFieldBuilder() {
       if (homepageTriggerBuilder_ == null) {
-        homepageTriggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder>(
-                getHomepageTrigger(),
-                getParentForChildren(),
-                isClean());
+        homepageTriggerBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.apps.script.type.HomepageExtensionPoint,
+                com.google.apps.script.type.HomepageExtensionPoint.Builder,
+                com.google.apps.script.type.HomepageExtensionPointOrBuilder>(
+                getHomepageTrigger(), getParentForChildren(), isClean());
         homepageTrigger_ = null;
       }
       return homepageTriggerBuilder_;
@@ -709,44 +804,61 @@ public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTr
 
     private com.google.apps.script.type.sheets.SheetsExtensionPoint onFileScopeGrantedTrigger_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.apps.script.type.sheets.SheetsExtensionPoint, com.google.apps.script.type.sheets.SheetsExtensionPoint.Builder, com.google.apps.script.type.sheets.SheetsExtensionPointOrBuilder> onFileScopeGrantedTriggerBuilder_;
+            com.google.apps.script.type.sheets.SheetsExtensionPoint,
+            com.google.apps.script.type.sheets.SheetsExtensionPoint.Builder,
+            com.google.apps.script.type.sheets.SheetsExtensionPointOrBuilder>
+        onFileScopeGrantedTriggerBuilder_;
     /**
+     *
+     *
      * 
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; + * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; + * + * * @return Whether the onFileScopeGrantedTrigger field is set. */ public boolean hasOnFileScopeGrantedTrigger() { return onFileScopeGrantedTriggerBuilder_ != null || onFileScopeGrantedTrigger_ != null; } /** + * + * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; + * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; + * + * * @return The onFileScopeGrantedTrigger. */ public com.google.apps.script.type.sheets.SheetsExtensionPoint getOnFileScopeGrantedTrigger() { if (onFileScopeGrantedTriggerBuilder_ == null) { - return onFileScopeGrantedTrigger_ == null ? com.google.apps.script.type.sheets.SheetsExtensionPoint.getDefaultInstance() : onFileScopeGrantedTrigger_; + return onFileScopeGrantedTrigger_ == null + ? com.google.apps.script.type.sheets.SheetsExtensionPoint.getDefaultInstance() + : onFileScopeGrantedTrigger_; } else { return onFileScopeGrantedTriggerBuilder_.getMessage(); } } /** + * + * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; + * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; + * */ - public Builder setOnFileScopeGrantedTrigger(com.google.apps.script.type.sheets.SheetsExtensionPoint value) { + public Builder setOnFileScopeGrantedTrigger( + com.google.apps.script.type.sheets.SheetsExtensionPoint value) { if (onFileScopeGrantedTriggerBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -760,12 +872,15 @@ public Builder setOnFileScopeGrantedTrigger(com.google.apps.script.type.sheets.S return this; } /** + * + * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; + * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; + * */ public Builder setOnFileScopeGrantedTrigger( com.google.apps.script.type.sheets.SheetsExtensionPoint.Builder builderForValue) { @@ -779,18 +894,25 @@ public Builder setOnFileScopeGrantedTrigger( return this; } /** + * + * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; + * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; + * */ - public Builder mergeOnFileScopeGrantedTrigger(com.google.apps.script.type.sheets.SheetsExtensionPoint value) { + public Builder mergeOnFileScopeGrantedTrigger( + com.google.apps.script.type.sheets.SheetsExtensionPoint value) { if (onFileScopeGrantedTriggerBuilder_ == null) { if (onFileScopeGrantedTrigger_ != null) { onFileScopeGrantedTrigger_ = - com.google.apps.script.type.sheets.SheetsExtensionPoint.newBuilder(onFileScopeGrantedTrigger_).mergeFrom(value).buildPartial(); + com.google.apps.script.type.sheets.SheetsExtensionPoint.newBuilder( + onFileScopeGrantedTrigger_) + .mergeFrom(value) + .buildPartial(); } else { onFileScopeGrantedTrigger_ = value; } @@ -802,12 +924,15 @@ public Builder mergeOnFileScopeGrantedTrigger(com.google.apps.script.type.sheets return this; } /** + * + * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; + * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; + * */ public Builder clearOnFileScopeGrantedTrigger() { if (onFileScopeGrantedTriggerBuilder_ == null) { @@ -821,58 +946,73 @@ public Builder clearOnFileScopeGrantedTrigger() { return this; } /** + * + * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; + * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; + * */ - public com.google.apps.script.type.sheets.SheetsExtensionPoint.Builder getOnFileScopeGrantedTriggerBuilder() { - + public com.google.apps.script.type.sheets.SheetsExtensionPoint.Builder + getOnFileScopeGrantedTriggerBuilder() { + onChanged(); return getOnFileScopeGrantedTriggerFieldBuilder().getBuilder(); } /** + * + * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; + * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; + * */ - public com.google.apps.script.type.sheets.SheetsExtensionPointOrBuilder getOnFileScopeGrantedTriggerOrBuilder() { + public com.google.apps.script.type.sheets.SheetsExtensionPointOrBuilder + getOnFileScopeGrantedTriggerOrBuilder() { if (onFileScopeGrantedTriggerBuilder_ != null) { return onFileScopeGrantedTriggerBuilder_.getMessageOrBuilder(); } else { - return onFileScopeGrantedTrigger_ == null ? - com.google.apps.script.type.sheets.SheetsExtensionPoint.getDefaultInstance() : onFileScopeGrantedTrigger_; + return onFileScopeGrantedTrigger_ == null + ? com.google.apps.script.type.sheets.SheetsExtensionPoint.getDefaultInstance() + : onFileScopeGrantedTrigger_; } } /** + * + * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; + * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.sheets.SheetsExtensionPoint, com.google.apps.script.type.sheets.SheetsExtensionPoint.Builder, com.google.apps.script.type.sheets.SheetsExtensionPointOrBuilder> + com.google.apps.script.type.sheets.SheetsExtensionPoint, + com.google.apps.script.type.sheets.SheetsExtensionPoint.Builder, + com.google.apps.script.type.sheets.SheetsExtensionPointOrBuilder> getOnFileScopeGrantedTriggerFieldBuilder() { if (onFileScopeGrantedTriggerBuilder_ == null) { - onFileScopeGrantedTriggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.sheets.SheetsExtensionPoint, com.google.apps.script.type.sheets.SheetsExtensionPoint.Builder, com.google.apps.script.type.sheets.SheetsExtensionPointOrBuilder>( - getOnFileScopeGrantedTrigger(), - getParentForChildren(), - isClean()); + onFileScopeGrantedTriggerBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.apps.script.type.sheets.SheetsExtensionPoint, + com.google.apps.script.type.sheets.SheetsExtensionPoint.Builder, + com.google.apps.script.type.sheets.SheetsExtensionPointOrBuilder>( + getOnFileScopeGrantedTrigger(), getParentForChildren(), isClean()); onFileScopeGrantedTrigger_ = null; } return onFileScopeGrantedTriggerBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -882,12 +1022,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.apps.script.type.sheets.SheetsAddOnManifest) } // @@protoc_insertion_point(class_scope:google.apps.script.type.sheets.SheetsAddOnManifest) private static final com.google.apps.script.type.sheets.SheetsAddOnManifest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.apps.script.type.sheets.SheetsAddOnManifest(); } @@ -896,16 +1036,16 @@ public static com.google.apps.script.type.sheets.SheetsAddOnManifest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SheetsAddOnManifest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SheetsAddOnManifest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SheetsAddOnManifest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SheetsAddOnManifest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -920,6 +1060,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.sheets.SheetsAddOnManifest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsAddOnManifestOrBuilder.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsAddOnManifestOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsAddOnManifestOrBuilder.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsAddOnManifestOrBuilder.java index 21accebf..bac8b376 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsAddOnManifestOrBuilder.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsAddOnManifestOrBuilder.java @@ -1,33 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/sheets/sheets_addon_manifest.proto package com.google.apps.script.type.sheets; -public interface SheetsAddOnManifestOrBuilder extends +public interface SheetsAddOnManifestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.sheets.SheetsAddOnManifest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 3; + * * @return Whether the homepageTrigger field is set. */ boolean hasHomepageTrigger(); /** + * + * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 3; + * * @return The homepageTrigger. */ com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger(); /** + * + * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
@@ -38,32 +62,44 @@ public interface SheetsAddOnManifestOrBuilder extends
   com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder();
 
   /**
+   *
+   *
    * 
    * Endpoint to execute when file scope authorization is granted
    * for this document/user pair.
    * 
* - * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; + * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; + * + * * @return Whether the onFileScopeGrantedTrigger field is set. */ boolean hasOnFileScopeGrantedTrigger(); /** + * + * *
    * Endpoint to execute when file scope authorization is granted
    * for this document/user pair.
    * 
* - * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; + * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; + * + * * @return The onFileScopeGrantedTrigger. */ com.google.apps.script.type.sheets.SheetsExtensionPoint getOnFileScopeGrantedTrigger(); /** + * + * *
    * Endpoint to execute when file scope authorization is granted
    * for this document/user pair.
    * 
* - * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; + * .google.apps.script.type.sheets.SheetsExtensionPoint on_file_scope_granted_trigger = 5; + * */ - com.google.apps.script.type.sheets.SheetsExtensionPointOrBuilder getOnFileScopeGrantedTriggerOrBuilder(); + com.google.apps.script.type.sheets.SheetsExtensionPointOrBuilder + getOnFileScopeGrantedTriggerOrBuilder(); } diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsAddOnManifestProto.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsAddOnManifestProto.java new file mode 100644 index 00000000..a4e55d92 --- /dev/null +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsAddOnManifestProto.java @@ -0,0 +1,98 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/apps/script/type/sheets/sheets_addon_manifest.proto + +package com.google.apps.script.type.sheets; + +public final class SheetsAddOnManifestProto { + private SheetsAddOnManifestProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_apps_script_type_sheets_SheetsAddOnManifest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_apps_script_type_sheets_SheetsAddOnManifest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_apps_script_type_sheets_SheetsExtensionPoint_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_apps_script_type_sheets_SheetsExtensionPoint_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n:google/apps/script/type/sheets/sheets_" + + "addon_manifest.proto\022\036google.apps.script" + + ".type.sheets\032\037google/api/field_behavior." + + "proto\032-google/apps/script/type/extension" + + "_point.proto\"\275\001\n\023SheetsAddOnManifest\022I\n\020" + + "homepage_trigger\030\003 \001(\0132/.google.apps.scr" + + "ipt.type.HomepageExtensionPoint\022[\n\035on_fi" + + "le_scope_granted_trigger\030\005 \001(\01324.google." + + "apps.script.type.sheets.SheetsExtensionP" + + "oint\"1\n\024SheetsExtensionPoint\022\031\n\014run_func" + + "tion\030\001 \001(\tB\003\340A\002B\346\001\n\"com.google.apps.scri" + + "pt.type.sheetsB\030SheetsAddOnManifestProto" + + "P\001Z=google.golang.org/genproto/googleapi" + + "s/apps/script/type/sheets\252\002\036Google.Apps." + + "Script.Type.Sheets\312\002\036Google\\Apps\\Script\\" + + "Type\\Sheets\352\002\"Google::Apps::Script::Type" + + "::Sheetsb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.apps.script.type.ExtensionPoint.getDescriptor(), + }); + internal_static_google_apps_script_type_sheets_SheetsAddOnManifest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_apps_script_type_sheets_SheetsAddOnManifest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_apps_script_type_sheets_SheetsAddOnManifest_descriptor, + new java.lang.String[] { + "HomepageTrigger", "OnFileScopeGrantedTrigger", + }); + internal_static_google_apps_script_type_sheets_SheetsExtensionPoint_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_apps_script_type_sheets_SheetsExtensionPoint_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_apps_script_type_sheets_SheetsExtensionPoint_descriptor, + new java.lang.String[] { + "RunFunction", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.apps.script.type.ExtensionPoint.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsExtensionPoint.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsExtensionPoint.java similarity index 70% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsExtensionPoint.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsExtensionPoint.java index bc4a79a1..6e9d091a 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsExtensionPoint.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsExtensionPoint.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/sheets/sheets_addon_manifest.proto package com.google.apps.script.type.sheets; /** + * + * *
  * Common format for declaring a Sheets add-on's triggers.
  * 
* * Protobuf type {@code google.apps.script.type.sheets.SheetsExtensionPoint} */ -public final class SheetsExtensionPoint extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SheetsExtensionPoint extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.apps.script.type.sheets.SheetsExtensionPoint) SheetsExtensionPointOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SheetsExtensionPoint.newBuilder() to construct. private SheetsExtensionPoint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SheetsExtensionPoint() { runFunction_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SheetsExtensionPoint(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SheetsExtensionPoint( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private SheetsExtensionPoint( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - runFunction_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + runFunction_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private SheetsExtensionPoint( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.apps.script.type.sheets.SheetsAddOnManifestProto.internal_static_google_apps_script_type_sheets_SheetsExtensionPoint_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.script.type.sheets.SheetsAddOnManifestProto + .internal_static_google_apps_script_type_sheets_SheetsExtensionPoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.sheets.SheetsAddOnManifestProto.internal_static_google_apps_script_type_sheets_SheetsExtensionPoint_fieldAccessorTable + return com.google.apps.script.type.sheets.SheetsAddOnManifestProto + .internal_static_google_apps_script_type_sheets_SheetsExtensionPoint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.sheets.SheetsExtensionPoint.class, com.google.apps.script.type.sheets.SheetsExtensionPoint.Builder.class); + com.google.apps.script.type.sheets.SheetsExtensionPoint.class, + com.google.apps.script.type.sheets.SheetsExtensionPoint.Builder.class); } public static final int RUN_FUNCTION_FIELD_NUMBER = 1; private volatile java.lang.Object runFunction_; /** + * + * *
    * Required. The endpoint to execute when this extension point is activated.
    * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The runFunction. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getRunFunction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); runFunction_ = s; return s; } } /** + * + * *
    * Required. The endpoint to execute when this extension point is activated.
    * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for runFunction. */ @java.lang.Override - public com.google.protobuf.ByteString - getRunFunctionBytes() { + public com.google.protobuf.ByteString getRunFunctionBytes() { java.lang.Object ref = runFunction_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); runFunction_ = b; return b; } else { @@ -140,6 +163,7 @@ public java.lang.String getRunFunction() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(runFunction_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, runFunction_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.sheets.SheetsExtensionPoint)) { return super.equals(obj); } - com.google.apps.script.type.sheets.SheetsExtensionPoint other = (com.google.apps.script.type.sheets.SheetsExtensionPoint) obj; + com.google.apps.script.type.sheets.SheetsExtensionPoint other = + (com.google.apps.script.type.sheets.SheetsExtensionPoint) obj; - if (!getRunFunction() - .equals(other.getRunFunction())) return false; + if (!getRunFunction().equals(other.getRunFunction())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.apps.script.type.sheets.SheetsExtensionPoint parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.sheets.SheetsExtensionPoint parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.sheets.SheetsExtensionPoint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.sheets.SheetsExtensionPoint parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.sheets.SheetsExtensionPoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.sheets.SheetsExtensionPoint parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.sheets.SheetsExtensionPoint parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.apps.script.type.sheets.SheetsExtensionPoint parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.sheets.SheetsExtensionPoint parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.sheets.SheetsExtensionPoint parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.apps.script.type.sheets.SheetsExtensionPoint parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.apps.script.type.sheets.SheetsExtensionPoint parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.apps.script.type.sheets.SheetsExtensionPoint parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.sheets.SheetsExtensionPoint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.apps.script.type.sheets.SheetsExtensionPoint prototype) { + + public static Builder newBuilder( + com.google.apps.script.type.sheets.SheetsExtensionPoint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Common format for declaring a Sheets add-on's triggers.
    * 
* * Protobuf type {@code google.apps.script.type.sheets.SheetsExtensionPoint} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.apps.script.type.sheets.SheetsExtensionPoint) com.google.apps.script.type.sheets.SheetsExtensionPointOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.apps.script.type.sheets.SheetsAddOnManifestProto.internal_static_google_apps_script_type_sheets_SheetsExtensionPoint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.script.type.sheets.SheetsAddOnManifestProto + .internal_static_google_apps_script_type_sheets_SheetsExtensionPoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.sheets.SheetsAddOnManifestProto.internal_static_google_apps_script_type_sheets_SheetsExtensionPoint_fieldAccessorTable + return com.google.apps.script.type.sheets.SheetsAddOnManifestProto + .internal_static_google_apps_script_type_sheets_SheetsExtensionPoint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.sheets.SheetsExtensionPoint.class, com.google.apps.script.type.sheets.SheetsExtensionPoint.Builder.class); + com.google.apps.script.type.sheets.SheetsExtensionPoint.class, + com.google.apps.script.type.sheets.SheetsExtensionPoint.Builder.class); } // Construct using com.google.apps.script.type.sheets.SheetsExtensionPoint.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.apps.script.type.sheets.SheetsAddOnManifestProto.internal_static_google_apps_script_type_sheets_SheetsExtensionPoint_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.apps.script.type.sheets.SheetsAddOnManifestProto + .internal_static_google_apps_script_type_sheets_SheetsExtensionPoint_descriptor; } @java.lang.Override @@ -362,7 +394,8 @@ public com.google.apps.script.type.sheets.SheetsExtensionPoint build() { @java.lang.Override public com.google.apps.script.type.sheets.SheetsExtensionPoint buildPartial() { - com.google.apps.script.type.sheets.SheetsExtensionPoint result = new com.google.apps.script.type.sheets.SheetsExtensionPoint(this); + com.google.apps.script.type.sheets.SheetsExtensionPoint result = + new com.google.apps.script.type.sheets.SheetsExtensionPoint(this); result.runFunction_ = runFunction_; onBuilt(); return result; @@ -372,38 +405,39 @@ public com.google.apps.script.type.sheets.SheetsExtensionPoint buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.script.type.sheets.SheetsExtensionPoint) { - return mergeFrom((com.google.apps.script.type.sheets.SheetsExtensionPoint)other); + return mergeFrom((com.google.apps.script.type.sheets.SheetsExtensionPoint) other); } else { super.mergeFrom(other); return this; @@ -411,7 +445,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.apps.script.type.sheets.SheetsExtensionPoint other) { - if (other == com.google.apps.script.type.sheets.SheetsExtensionPoint.getDefaultInstance()) return this; + if (other == com.google.apps.script.type.sheets.SheetsExtensionPoint.getDefaultInstance()) + return this; if (!other.getRunFunction().isEmpty()) { runFunction_ = other.runFunction_; onChanged(); @@ -435,7 +470,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.apps.script.type.sheets.SheetsExtensionPoint) e.getUnfinishedMessage(); + parsedMessage = + (com.google.apps.script.type.sheets.SheetsExtensionPoint) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +483,20 @@ public Builder mergeFrom( private java.lang.Object runFunction_ = ""; /** + * + * *
      * Required. The endpoint to execute when this extension point is activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The runFunction. */ public java.lang.String getRunFunction() { java.lang.Object ref = runFunction_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); runFunction_ = s; return s; @@ -467,20 +505,21 @@ public java.lang.String getRunFunction() { } } /** + * + * *
      * Required. The endpoint to execute when this extension point is activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for runFunction. */ - public com.google.protobuf.ByteString - getRunFunctionBytes() { + public com.google.protobuf.ByteString getRunFunctionBytes() { java.lang.Object ref = runFunction_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); runFunction_ = b; return b; } else { @@ -488,61 +527,68 @@ public java.lang.String getRunFunction() { } } /** + * + * *
      * Required. The endpoint to execute when this extension point is activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The runFunction to set. * @return This builder for chaining. */ - public Builder setRunFunction( - java.lang.String value) { + public Builder setRunFunction(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + runFunction_ = value; onChanged(); return this; } /** + * + * *
      * Required. The endpoint to execute when this extension point is activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearRunFunction() { - + runFunction_ = getDefaultInstance().getRunFunction(); onChanged(); return this; } /** + * + * *
      * Required. The endpoint to execute when this extension point is activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for runFunction to set. * @return This builder for chaining. */ - public Builder setRunFunctionBytes( - com.google.protobuf.ByteString value) { + public Builder setRunFunctionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + runFunction_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +598,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.apps.script.type.sheets.SheetsExtensionPoint) } // @@protoc_insertion_point(class_scope:google.apps.script.type.sheets.SheetsExtensionPoint) private static final com.google.apps.script.type.sheets.SheetsExtensionPoint DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.apps.script.type.sheets.SheetsExtensionPoint(); } @@ -566,16 +612,16 @@ public static com.google.apps.script.type.sheets.SheetsExtensionPoint getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SheetsExtensionPoint parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SheetsExtensionPoint(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SheetsExtensionPoint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SheetsExtensionPoint(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.sheets.SheetsExtensionPoint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsExtensionPointOrBuilder.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsExtensionPointOrBuilder.java similarity index 53% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsExtensionPointOrBuilder.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsExtensionPointOrBuilder.java index 902cb929..4d67daa6 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsExtensionPointOrBuilder.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/sheets/SheetsExtensionPointOrBuilder.java @@ -1,29 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/sheets/sheets_addon_manifest.proto package com.google.apps.script.type.sheets; -public interface SheetsExtensionPointOrBuilder extends +public interface SheetsExtensionPointOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.sheets.SheetsExtensionPoint) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The endpoint to execute when this extension point is activated.
    * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The runFunction. */ java.lang.String getRunFunction(); /** + * + * *
    * Required. The endpoint to execute when this extension point is activated.
    * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for runFunction. */ - com.google.protobuf.ByteString - getRunFunctionBytes(); + com.google.protobuf.ByteString getRunFunctionBytes(); } diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesAddOnManifest.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesAddOnManifest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesAddOnManifest.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesAddOnManifest.java index 7ca87445..6ba4c084 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesAddOnManifest.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesAddOnManifest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/slides/slides_addon_manifest.proto package com.google.apps.script.type.slides; /** + * + * *
  * Slides add-on manifest.
  * 
* * Protobuf type {@code google.apps.script.type.slides.SlidesAddOnManifest} */ -public final class SlidesAddOnManifest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SlidesAddOnManifest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.apps.script.type.slides.SlidesAddOnManifest) SlidesAddOnManifestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SlidesAddOnManifest.newBuilder() to construct. private SlidesAddOnManifest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SlidesAddOnManifest() { - } + + private SlidesAddOnManifest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SlidesAddOnManifest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SlidesAddOnManifest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,47 @@ private SlidesAddOnManifest( case 0: done = true; break; - case 10: { - com.google.apps.script.type.HomepageExtensionPoint.Builder subBuilder = null; - if (homepageTrigger_ != null) { - subBuilder = homepageTrigger_.toBuilder(); - } - homepageTrigger_ = input.readMessage(com.google.apps.script.type.HomepageExtensionPoint.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(homepageTrigger_); - homepageTrigger_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.apps.script.type.HomepageExtensionPoint.Builder subBuilder = null; + if (homepageTrigger_ != null) { + subBuilder = homepageTrigger_.toBuilder(); + } + homepageTrigger_ = + input.readMessage( + com.google.apps.script.type.HomepageExtensionPoint.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(homepageTrigger_); + homepageTrigger_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.apps.script.type.slides.SlidesExtensionPoint.Builder subBuilder = null; - if (onFileScopeGrantedTrigger_ != null) { - subBuilder = onFileScopeGrantedTrigger_.toBuilder(); - } - onFileScopeGrantedTrigger_ = input.readMessage(com.google.apps.script.type.slides.SlidesExtensionPoint.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(onFileScopeGrantedTrigger_); - onFileScopeGrantedTrigger_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.apps.script.type.slides.SlidesExtensionPoint.Builder subBuilder = null; + if (onFileScopeGrantedTrigger_ != null) { + subBuilder = onFileScopeGrantedTrigger_.toBuilder(); + } + onFileScopeGrantedTrigger_ = + input.readMessage( + com.google.apps.script.type.slides.SlidesExtensionPoint.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(onFileScopeGrantedTrigger_); + onFileScopeGrantedTrigger_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,35 +116,40 @@ private SlidesAddOnManifest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.apps.script.type.slides.SlidesAddOnManifestProto.internal_static_google_apps_script_type_slides_SlidesAddOnManifest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.script.type.slides.SlidesAddOnManifestProto + .internal_static_google_apps_script_type_slides_SlidesAddOnManifest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.slides.SlidesAddOnManifestProto.internal_static_google_apps_script_type_slides_SlidesAddOnManifest_fieldAccessorTable + return com.google.apps.script.type.slides.SlidesAddOnManifestProto + .internal_static_google_apps_script_type_slides_SlidesAddOnManifest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.slides.SlidesAddOnManifest.class, com.google.apps.script.type.slides.SlidesAddOnManifest.Builder.class); + com.google.apps.script.type.slides.SlidesAddOnManifest.class, + com.google.apps.script.type.slides.SlidesAddOnManifest.Builder.class); } public static final int HOMEPAGE_TRIGGER_FIELD_NUMBER = 1; private com.google.apps.script.type.HomepageExtensionPoint homepageTrigger_; /** + * + * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1; + * * @return Whether the homepageTrigger field is set. */ @java.lang.Override @@ -128,19 +157,26 @@ public boolean hasHomepageTrigger() { return homepageTrigger_ != null; } /** + * + * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1; + * * @return The homepageTrigger. */ @java.lang.Override public com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger() { - return homepageTrigger_ == null ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_; + return homepageTrigger_ == null + ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() + : homepageTrigger_; } /** + * + * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
@@ -156,12 +192,16 @@ public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTr
   public static final int ON_FILE_SCOPE_GRANTED_TRIGGER_FIELD_NUMBER = 2;
   private com.google.apps.script.type.slides.SlidesExtensionPoint onFileScopeGrantedTrigger_;
   /**
+   *
+   *
    * 
    * Endpoint to execute when file scope authorization is granted
    * for this document/user pair.
    * 
* - * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; + * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; + * + * * @return Whether the onFileScopeGrantedTrigger field is set. */ @java.lang.Override @@ -169,32 +209,43 @@ public boolean hasOnFileScopeGrantedTrigger() { return onFileScopeGrantedTrigger_ != null; } /** + * + * *
    * Endpoint to execute when file scope authorization is granted
    * for this document/user pair.
    * 
* - * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; + * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; + * + * * @return The onFileScopeGrantedTrigger. */ @java.lang.Override public com.google.apps.script.type.slides.SlidesExtensionPoint getOnFileScopeGrantedTrigger() { - return onFileScopeGrantedTrigger_ == null ? com.google.apps.script.type.slides.SlidesExtensionPoint.getDefaultInstance() : onFileScopeGrantedTrigger_; + return onFileScopeGrantedTrigger_ == null + ? com.google.apps.script.type.slides.SlidesExtensionPoint.getDefaultInstance() + : onFileScopeGrantedTrigger_; } /** + * + * *
    * Endpoint to execute when file scope authorization is granted
    * for this document/user pair.
    * 
* - * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; + * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; + * */ @java.lang.Override - public com.google.apps.script.type.slides.SlidesExtensionPointOrBuilder getOnFileScopeGrantedTriggerOrBuilder() { + public com.google.apps.script.type.slides.SlidesExtensionPointOrBuilder + getOnFileScopeGrantedTriggerOrBuilder() { return getOnFileScopeGrantedTrigger(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +257,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (homepageTrigger_ != null) { output.writeMessage(1, getHomepageTrigger()); } @@ -224,12 +274,12 @@ public int getSerializedSize() { size = 0; if (homepageTrigger_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getHomepageTrigger()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getHomepageTrigger()); } if (onFileScopeGrantedTrigger_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getOnFileScopeGrantedTrigger()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, getOnFileScopeGrantedTrigger()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -239,22 +289,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.slides.SlidesAddOnManifest)) { return super.equals(obj); } - com.google.apps.script.type.slides.SlidesAddOnManifest other = (com.google.apps.script.type.slides.SlidesAddOnManifest) obj; + com.google.apps.script.type.slides.SlidesAddOnManifest other = + (com.google.apps.script.type.slides.SlidesAddOnManifest) obj; if (hasHomepageTrigger() != other.hasHomepageTrigger()) return false; if (hasHomepageTrigger()) { - if (!getHomepageTrigger() - .equals(other.getHomepageTrigger())) return false; + if (!getHomepageTrigger().equals(other.getHomepageTrigger())) return false; } if (hasOnFileScopeGrantedTrigger() != other.hasOnFileScopeGrantedTrigger()) return false; if (hasOnFileScopeGrantedTrigger()) { - if (!getOnFileScopeGrantedTrigger() - .equals(other.getOnFileScopeGrantedTrigger())) return false; + if (!getOnFileScopeGrantedTrigger().equals(other.getOnFileScopeGrantedTrigger())) + return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -281,117 +331,127 @@ public int hashCode() { } public static com.google.apps.script.type.slides.SlidesAddOnManifest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.slides.SlidesAddOnManifest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.slides.SlidesAddOnManifest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.slides.SlidesAddOnManifest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.slides.SlidesAddOnManifest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.slides.SlidesAddOnManifest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.slides.SlidesAddOnManifest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.apps.script.type.slides.SlidesAddOnManifest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.slides.SlidesAddOnManifest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.slides.SlidesAddOnManifest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.apps.script.type.slides.SlidesAddOnManifest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.apps.script.type.slides.SlidesAddOnManifest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.apps.script.type.slides.SlidesAddOnManifest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.slides.SlidesAddOnManifest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.apps.script.type.slides.SlidesAddOnManifest prototype) { + + public static Builder newBuilder( + com.google.apps.script.type.slides.SlidesAddOnManifest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Slides add-on manifest.
    * 
* * Protobuf type {@code google.apps.script.type.slides.SlidesAddOnManifest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.apps.script.type.slides.SlidesAddOnManifest) com.google.apps.script.type.slides.SlidesAddOnManifestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.apps.script.type.slides.SlidesAddOnManifestProto.internal_static_google_apps_script_type_slides_SlidesAddOnManifest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.script.type.slides.SlidesAddOnManifestProto + .internal_static_google_apps_script_type_slides_SlidesAddOnManifest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.slides.SlidesAddOnManifestProto.internal_static_google_apps_script_type_slides_SlidesAddOnManifest_fieldAccessorTable + return com.google.apps.script.type.slides.SlidesAddOnManifestProto + .internal_static_google_apps_script_type_slides_SlidesAddOnManifest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.slides.SlidesAddOnManifest.class, com.google.apps.script.type.slides.SlidesAddOnManifest.Builder.class); + com.google.apps.script.type.slides.SlidesAddOnManifest.class, + com.google.apps.script.type.slides.SlidesAddOnManifest.Builder.class); } // Construct using com.google.apps.script.type.slides.SlidesAddOnManifest.newBuilder() @@ -399,16 +459,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -428,9 +487,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.apps.script.type.slides.SlidesAddOnManifestProto.internal_static_google_apps_script_type_slides_SlidesAddOnManifest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.apps.script.type.slides.SlidesAddOnManifestProto + .internal_static_google_apps_script_type_slides_SlidesAddOnManifest_descriptor; } @java.lang.Override @@ -449,7 +508,8 @@ public com.google.apps.script.type.slides.SlidesAddOnManifest build() { @java.lang.Override public com.google.apps.script.type.slides.SlidesAddOnManifest buildPartial() { - com.google.apps.script.type.slides.SlidesAddOnManifest result = new com.google.apps.script.type.slides.SlidesAddOnManifest(this); + com.google.apps.script.type.slides.SlidesAddOnManifest result = + new com.google.apps.script.type.slides.SlidesAddOnManifest(this); if (homepageTriggerBuilder_ == null) { result.homepageTrigger_ = homepageTrigger_; } else { @@ -468,38 +528,39 @@ public com.google.apps.script.type.slides.SlidesAddOnManifest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.script.type.slides.SlidesAddOnManifest) { - return mergeFrom((com.google.apps.script.type.slides.SlidesAddOnManifest)other); + return mergeFrom((com.google.apps.script.type.slides.SlidesAddOnManifest) other); } else { super.mergeFrom(other); return this; @@ -507,7 +568,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.apps.script.type.slides.SlidesAddOnManifest other) { - if (other == com.google.apps.script.type.slides.SlidesAddOnManifest.getDefaultInstance()) return this; + if (other == com.google.apps.script.type.slides.SlidesAddOnManifest.getDefaultInstance()) + return this; if (other.hasHomepageTrigger()) { mergeHomepageTrigger(other.getHomepageTrigger()); } @@ -533,7 +595,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.apps.script.type.slides.SlidesAddOnManifest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.apps.script.type.slides.SlidesAddOnManifest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -545,36 +608,49 @@ public Builder mergeFrom( private com.google.apps.script.type.HomepageExtensionPoint homepageTrigger_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder> homepageTriggerBuilder_; + com.google.apps.script.type.HomepageExtensionPoint, + com.google.apps.script.type.HomepageExtensionPoint.Builder, + com.google.apps.script.type.HomepageExtensionPointOrBuilder> + homepageTriggerBuilder_; /** + * + * *
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
      * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1; + * * @return Whether the homepageTrigger field is set. */ public boolean hasHomepageTrigger() { return homepageTriggerBuilder_ != null || homepageTrigger_ != null; } /** + * + * *
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
      * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1; + * * @return The homepageTrigger. */ public com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger() { if (homepageTriggerBuilder_ == null) { - return homepageTrigger_ == null ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_; + return homepageTrigger_ == null + ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() + : homepageTrigger_; } else { return homepageTriggerBuilder_.getMessage(); } } /** + * + * *
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -596,6 +672,8 @@ public Builder setHomepageTrigger(com.google.apps.script.type.HomepageExtensionP
       return this;
     }
     /**
+     *
+     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -615,6 +693,8 @@ public Builder setHomepageTrigger(
       return this;
     }
     /**
+     *
+     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -626,7 +706,9 @@ public Builder mergeHomepageTrigger(com.google.apps.script.type.HomepageExtensio
       if (homepageTriggerBuilder_ == null) {
         if (homepageTrigger_ != null) {
           homepageTrigger_ =
-            com.google.apps.script.type.HomepageExtensionPoint.newBuilder(homepageTrigger_).mergeFrom(value).buildPartial();
+              com.google.apps.script.type.HomepageExtensionPoint.newBuilder(homepageTrigger_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           homepageTrigger_ = value;
         }
@@ -638,6 +720,8 @@ public Builder mergeHomepageTrigger(com.google.apps.script.type.HomepageExtensio
       return this;
     }
     /**
+     *
+     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -657,6 +741,8 @@ public Builder clearHomepageTrigger() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -665,11 +751,13 @@ public Builder clearHomepageTrigger() {
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
      */
     public com.google.apps.script.type.HomepageExtensionPoint.Builder getHomepageTriggerBuilder() {
-      
+
       onChanged();
       return getHomepageTriggerFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -677,15 +765,19 @@ public com.google.apps.script.type.HomepageExtensionPoint.Builder getHomepageTri
      *
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
      */
-    public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder() {
+    public com.google.apps.script.type.HomepageExtensionPointOrBuilder
+        getHomepageTriggerOrBuilder() {
       if (homepageTriggerBuilder_ != null) {
         return homepageTriggerBuilder_.getMessageOrBuilder();
       } else {
-        return homepageTrigger_ == null ?
-            com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance() : homepageTrigger_;
+        return homepageTrigger_ == null
+            ? com.google.apps.script.type.HomepageExtensionPoint.getDefaultInstance()
+            : homepageTrigger_;
       }
     }
     /**
+     *
+     *
      * 
      * If present, this overrides the configuration from
      * `addOns.common.homepageTrigger`.
@@ -694,14 +786,17 @@ public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTr
      * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder> 
+            com.google.apps.script.type.HomepageExtensionPoint,
+            com.google.apps.script.type.HomepageExtensionPoint.Builder,
+            com.google.apps.script.type.HomepageExtensionPointOrBuilder>
         getHomepageTriggerFieldBuilder() {
       if (homepageTriggerBuilder_ == null) {
-        homepageTriggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.apps.script.type.HomepageExtensionPoint, com.google.apps.script.type.HomepageExtensionPoint.Builder, com.google.apps.script.type.HomepageExtensionPointOrBuilder>(
-                getHomepageTrigger(),
-                getParentForChildren(),
-                isClean());
+        homepageTriggerBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.apps.script.type.HomepageExtensionPoint,
+                com.google.apps.script.type.HomepageExtensionPoint.Builder,
+                com.google.apps.script.type.HomepageExtensionPointOrBuilder>(
+                getHomepageTrigger(), getParentForChildren(), isClean());
         homepageTrigger_ = null;
       }
       return homepageTriggerBuilder_;
@@ -709,44 +804,61 @@ public com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTr
 
     private com.google.apps.script.type.slides.SlidesExtensionPoint onFileScopeGrantedTrigger_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.apps.script.type.slides.SlidesExtensionPoint, com.google.apps.script.type.slides.SlidesExtensionPoint.Builder, com.google.apps.script.type.slides.SlidesExtensionPointOrBuilder> onFileScopeGrantedTriggerBuilder_;
+            com.google.apps.script.type.slides.SlidesExtensionPoint,
+            com.google.apps.script.type.slides.SlidesExtensionPoint.Builder,
+            com.google.apps.script.type.slides.SlidesExtensionPointOrBuilder>
+        onFileScopeGrantedTriggerBuilder_;
     /**
+     *
+     *
      * 
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; + * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; + * + * * @return Whether the onFileScopeGrantedTrigger field is set. */ public boolean hasOnFileScopeGrantedTrigger() { return onFileScopeGrantedTriggerBuilder_ != null || onFileScopeGrantedTrigger_ != null; } /** + * + * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; + * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; + * + * * @return The onFileScopeGrantedTrigger. */ public com.google.apps.script.type.slides.SlidesExtensionPoint getOnFileScopeGrantedTrigger() { if (onFileScopeGrantedTriggerBuilder_ == null) { - return onFileScopeGrantedTrigger_ == null ? com.google.apps.script.type.slides.SlidesExtensionPoint.getDefaultInstance() : onFileScopeGrantedTrigger_; + return onFileScopeGrantedTrigger_ == null + ? com.google.apps.script.type.slides.SlidesExtensionPoint.getDefaultInstance() + : onFileScopeGrantedTrigger_; } else { return onFileScopeGrantedTriggerBuilder_.getMessage(); } } /** + * + * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; + * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; + * */ - public Builder setOnFileScopeGrantedTrigger(com.google.apps.script.type.slides.SlidesExtensionPoint value) { + public Builder setOnFileScopeGrantedTrigger( + com.google.apps.script.type.slides.SlidesExtensionPoint value) { if (onFileScopeGrantedTriggerBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -760,12 +872,15 @@ public Builder setOnFileScopeGrantedTrigger(com.google.apps.script.type.slides.S return this; } /** + * + * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; + * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; + * */ public Builder setOnFileScopeGrantedTrigger( com.google.apps.script.type.slides.SlidesExtensionPoint.Builder builderForValue) { @@ -779,18 +894,25 @@ public Builder setOnFileScopeGrantedTrigger( return this; } /** + * + * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; + * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; + * */ - public Builder mergeOnFileScopeGrantedTrigger(com.google.apps.script.type.slides.SlidesExtensionPoint value) { + public Builder mergeOnFileScopeGrantedTrigger( + com.google.apps.script.type.slides.SlidesExtensionPoint value) { if (onFileScopeGrantedTriggerBuilder_ == null) { if (onFileScopeGrantedTrigger_ != null) { onFileScopeGrantedTrigger_ = - com.google.apps.script.type.slides.SlidesExtensionPoint.newBuilder(onFileScopeGrantedTrigger_).mergeFrom(value).buildPartial(); + com.google.apps.script.type.slides.SlidesExtensionPoint.newBuilder( + onFileScopeGrantedTrigger_) + .mergeFrom(value) + .buildPartial(); } else { onFileScopeGrantedTrigger_ = value; } @@ -802,12 +924,15 @@ public Builder mergeOnFileScopeGrantedTrigger(com.google.apps.script.type.slides return this; } /** + * + * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; + * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; + * */ public Builder clearOnFileScopeGrantedTrigger() { if (onFileScopeGrantedTriggerBuilder_ == null) { @@ -821,58 +946,73 @@ public Builder clearOnFileScopeGrantedTrigger() { return this; } /** + * + * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; + * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; + * */ - public com.google.apps.script.type.slides.SlidesExtensionPoint.Builder getOnFileScopeGrantedTriggerBuilder() { - + public com.google.apps.script.type.slides.SlidesExtensionPoint.Builder + getOnFileScopeGrantedTriggerBuilder() { + onChanged(); return getOnFileScopeGrantedTriggerFieldBuilder().getBuilder(); } /** + * + * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; + * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; + * */ - public com.google.apps.script.type.slides.SlidesExtensionPointOrBuilder getOnFileScopeGrantedTriggerOrBuilder() { + public com.google.apps.script.type.slides.SlidesExtensionPointOrBuilder + getOnFileScopeGrantedTriggerOrBuilder() { if (onFileScopeGrantedTriggerBuilder_ != null) { return onFileScopeGrantedTriggerBuilder_.getMessageOrBuilder(); } else { - return onFileScopeGrantedTrigger_ == null ? - com.google.apps.script.type.slides.SlidesExtensionPoint.getDefaultInstance() : onFileScopeGrantedTrigger_; + return onFileScopeGrantedTrigger_ == null + ? com.google.apps.script.type.slides.SlidesExtensionPoint.getDefaultInstance() + : onFileScopeGrantedTrigger_; } } /** + * + * *
      * Endpoint to execute when file scope authorization is granted
      * for this document/user pair.
      * 
* - * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; + * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.slides.SlidesExtensionPoint, com.google.apps.script.type.slides.SlidesExtensionPoint.Builder, com.google.apps.script.type.slides.SlidesExtensionPointOrBuilder> + com.google.apps.script.type.slides.SlidesExtensionPoint, + com.google.apps.script.type.slides.SlidesExtensionPoint.Builder, + com.google.apps.script.type.slides.SlidesExtensionPointOrBuilder> getOnFileScopeGrantedTriggerFieldBuilder() { if (onFileScopeGrantedTriggerBuilder_ == null) { - onFileScopeGrantedTriggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.slides.SlidesExtensionPoint, com.google.apps.script.type.slides.SlidesExtensionPoint.Builder, com.google.apps.script.type.slides.SlidesExtensionPointOrBuilder>( - getOnFileScopeGrantedTrigger(), - getParentForChildren(), - isClean()); + onFileScopeGrantedTriggerBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.apps.script.type.slides.SlidesExtensionPoint, + com.google.apps.script.type.slides.SlidesExtensionPoint.Builder, + com.google.apps.script.type.slides.SlidesExtensionPointOrBuilder>( + getOnFileScopeGrantedTrigger(), getParentForChildren(), isClean()); onFileScopeGrantedTrigger_ = null; } return onFileScopeGrantedTriggerBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -882,12 +1022,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.apps.script.type.slides.SlidesAddOnManifest) } // @@protoc_insertion_point(class_scope:google.apps.script.type.slides.SlidesAddOnManifest) private static final com.google.apps.script.type.slides.SlidesAddOnManifest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.apps.script.type.slides.SlidesAddOnManifest(); } @@ -896,16 +1036,16 @@ public static com.google.apps.script.type.slides.SlidesAddOnManifest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SlidesAddOnManifest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SlidesAddOnManifest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SlidesAddOnManifest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SlidesAddOnManifest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -920,6 +1060,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.slides.SlidesAddOnManifest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesAddOnManifestOrBuilder.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesAddOnManifestOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesAddOnManifestOrBuilder.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesAddOnManifestOrBuilder.java index a7dcf9c1..7c5aea6a 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesAddOnManifestOrBuilder.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesAddOnManifestOrBuilder.java @@ -1,33 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/slides/slides_addon_manifest.proto package com.google.apps.script.type.slides; -public interface SlidesAddOnManifestOrBuilder extends +public interface SlidesAddOnManifestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.slides.SlidesAddOnManifest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1; + * * @return Whether the homepageTrigger field is set. */ boolean hasHomepageTrigger(); /** + * + * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
    * 
* * .google.apps.script.type.HomepageExtensionPoint homepage_trigger = 1; + * * @return The homepageTrigger. */ com.google.apps.script.type.HomepageExtensionPoint getHomepageTrigger(); /** + * + * *
    * If present, this overrides the configuration from
    * `addOns.common.homepageTrigger`.
@@ -38,32 +62,44 @@ public interface SlidesAddOnManifestOrBuilder extends
   com.google.apps.script.type.HomepageExtensionPointOrBuilder getHomepageTriggerOrBuilder();
 
   /**
+   *
+   *
    * 
    * Endpoint to execute when file scope authorization is granted
    * for this document/user pair.
    * 
* - * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; + * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; + * + * * @return Whether the onFileScopeGrantedTrigger field is set. */ boolean hasOnFileScopeGrantedTrigger(); /** + * + * *
    * Endpoint to execute when file scope authorization is granted
    * for this document/user pair.
    * 
* - * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; + * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; + * + * * @return The onFileScopeGrantedTrigger. */ com.google.apps.script.type.slides.SlidesExtensionPoint getOnFileScopeGrantedTrigger(); /** + * + * *
    * Endpoint to execute when file scope authorization is granted
    * for this document/user pair.
    * 
* - * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; + * .google.apps.script.type.slides.SlidesExtensionPoint on_file_scope_granted_trigger = 2; + * */ - com.google.apps.script.type.slides.SlidesExtensionPointOrBuilder getOnFileScopeGrantedTriggerOrBuilder(); + com.google.apps.script.type.slides.SlidesExtensionPointOrBuilder + getOnFileScopeGrantedTriggerOrBuilder(); } diff --git a/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesAddOnManifestProto.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesAddOnManifestProto.java new file mode 100644 index 00000000..da37f07c --- /dev/null +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesAddOnManifestProto.java @@ -0,0 +1,98 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/apps/script/type/slides/slides_addon_manifest.proto + +package com.google.apps.script.type.slides; + +public final class SlidesAddOnManifestProto { + private SlidesAddOnManifestProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_apps_script_type_slides_SlidesAddOnManifest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_apps_script_type_slides_SlidesAddOnManifest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_apps_script_type_slides_SlidesExtensionPoint_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_apps_script_type_slides_SlidesExtensionPoint_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n:google/apps/script/type/slides/slides_" + + "addon_manifest.proto\022\036google.apps.script" + + ".type.slides\032\037google/api/field_behavior." + + "proto\032-google/apps/script/type/extension" + + "_point.proto\"\275\001\n\023SlidesAddOnManifest\022I\n\020" + + "homepage_trigger\030\001 \001(\0132/.google.apps.scr" + + "ipt.type.HomepageExtensionPoint\022[\n\035on_fi" + + "le_scope_granted_trigger\030\002 \001(\01324.google." + + "apps.script.type.slides.SlidesExtensionP" + + "oint\"1\n\024SlidesExtensionPoint\022\031\n\014run_func" + + "tion\030\001 \001(\tB\003\340A\002B\346\001\n\"com.google.apps.scri" + + "pt.type.slidesB\030SlidesAddOnManifestProto" + + "P\001Z=google.golang.org/genproto/googleapi" + + "s/apps/script/type/slides\252\002\036Google.Apps." + + "Script.Type.Slides\312\002\036Google\\Apps\\Script\\" + + "Type\\Slides\352\002\"Google::Apps::Script::Type" + + "::Slidesb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.apps.script.type.ExtensionPoint.getDescriptor(), + }); + internal_static_google_apps_script_type_slides_SlidesAddOnManifest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_apps_script_type_slides_SlidesAddOnManifest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_apps_script_type_slides_SlidesAddOnManifest_descriptor, + new java.lang.String[] { + "HomepageTrigger", "OnFileScopeGrantedTrigger", + }); + internal_static_google_apps_script_type_slides_SlidesExtensionPoint_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_apps_script_type_slides_SlidesExtensionPoint_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_apps_script_type_slides_SlidesExtensionPoint_descriptor, + new java.lang.String[] { + "RunFunction", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.apps.script.type.ExtensionPoint.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesExtensionPoint.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesExtensionPoint.java similarity index 70% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesExtensionPoint.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesExtensionPoint.java index eacfd96b..2615785a 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesExtensionPoint.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesExtensionPoint.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/slides/slides_addon_manifest.proto package com.google.apps.script.type.slides; /** + * + * *
  * Common format for declaring a Slides add-on's triggers.
  * 
* * Protobuf type {@code google.apps.script.type.slides.SlidesExtensionPoint} */ -public final class SlidesExtensionPoint extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SlidesExtensionPoint extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.apps.script.type.slides.SlidesExtensionPoint) SlidesExtensionPointOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SlidesExtensionPoint.newBuilder() to construct. private SlidesExtensionPoint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SlidesExtensionPoint() { runFunction_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SlidesExtensionPoint(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private SlidesExtensionPoint( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private SlidesExtensionPoint( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - runFunction_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + runFunction_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private SlidesExtensionPoint( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.apps.script.type.slides.SlidesAddOnManifestProto.internal_static_google_apps_script_type_slides_SlidesExtensionPoint_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.script.type.slides.SlidesAddOnManifestProto + .internal_static_google_apps_script_type_slides_SlidesExtensionPoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.slides.SlidesAddOnManifestProto.internal_static_google_apps_script_type_slides_SlidesExtensionPoint_fieldAccessorTable + return com.google.apps.script.type.slides.SlidesAddOnManifestProto + .internal_static_google_apps_script_type_slides_SlidesExtensionPoint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.slides.SlidesExtensionPoint.class, com.google.apps.script.type.slides.SlidesExtensionPoint.Builder.class); + com.google.apps.script.type.slides.SlidesExtensionPoint.class, + com.google.apps.script.type.slides.SlidesExtensionPoint.Builder.class); } public static final int RUN_FUNCTION_FIELD_NUMBER = 1; private volatile java.lang.Object runFunction_; /** + * + * *
    * Required. The endpoint to execute when this extension point is activated.
    * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The runFunction. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getRunFunction() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); runFunction_ = s; return s; } } /** + * + * *
    * Required. The endpoint to execute when this extension point is activated.
    * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for runFunction. */ @java.lang.Override - public com.google.protobuf.ByteString - getRunFunctionBytes() { + public com.google.protobuf.ByteString getRunFunctionBytes() { java.lang.Object ref = runFunction_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); runFunction_ = b; return b; } else { @@ -140,6 +163,7 @@ public java.lang.String getRunFunction() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(runFunction_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, runFunction_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.apps.script.type.slides.SlidesExtensionPoint)) { return super.equals(obj); } - com.google.apps.script.type.slides.SlidesExtensionPoint other = (com.google.apps.script.type.slides.SlidesExtensionPoint) obj; + com.google.apps.script.type.slides.SlidesExtensionPoint other = + (com.google.apps.script.type.slides.SlidesExtensionPoint) obj; - if (!getRunFunction() - .equals(other.getRunFunction())) return false; + if (!getRunFunction().equals(other.getRunFunction())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.apps.script.type.slides.SlidesExtensionPoint parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.slides.SlidesExtensionPoint parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.slides.SlidesExtensionPoint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.slides.SlidesExtensionPoint parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.apps.script.type.slides.SlidesExtensionPoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.apps.script.type.slides.SlidesExtensionPoint parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.apps.script.type.slides.SlidesExtensionPoint parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.apps.script.type.slides.SlidesExtensionPoint parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.slides.SlidesExtensionPoint parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.apps.script.type.slides.SlidesExtensionPoint parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.apps.script.type.slides.SlidesExtensionPoint parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.apps.script.type.slides.SlidesExtensionPoint parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.apps.script.type.slides.SlidesExtensionPoint parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.apps.script.type.slides.SlidesExtensionPoint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.apps.script.type.slides.SlidesExtensionPoint prototype) { + + public static Builder newBuilder( + com.google.apps.script.type.slides.SlidesExtensionPoint prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Common format for declaring a Slides add-on's triggers.
    * 
* * Protobuf type {@code google.apps.script.type.slides.SlidesExtensionPoint} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.apps.script.type.slides.SlidesExtensionPoint) com.google.apps.script.type.slides.SlidesExtensionPointOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.apps.script.type.slides.SlidesAddOnManifestProto.internal_static_google_apps_script_type_slides_SlidesExtensionPoint_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.apps.script.type.slides.SlidesAddOnManifestProto + .internal_static_google_apps_script_type_slides_SlidesExtensionPoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.apps.script.type.slides.SlidesAddOnManifestProto.internal_static_google_apps_script_type_slides_SlidesExtensionPoint_fieldAccessorTable + return com.google.apps.script.type.slides.SlidesAddOnManifestProto + .internal_static_google_apps_script_type_slides_SlidesExtensionPoint_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.apps.script.type.slides.SlidesExtensionPoint.class, com.google.apps.script.type.slides.SlidesExtensionPoint.Builder.class); + com.google.apps.script.type.slides.SlidesExtensionPoint.class, + com.google.apps.script.type.slides.SlidesExtensionPoint.Builder.class); } // Construct using com.google.apps.script.type.slides.SlidesExtensionPoint.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.apps.script.type.slides.SlidesAddOnManifestProto.internal_static_google_apps_script_type_slides_SlidesExtensionPoint_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.apps.script.type.slides.SlidesAddOnManifestProto + .internal_static_google_apps_script_type_slides_SlidesExtensionPoint_descriptor; } @java.lang.Override @@ -362,7 +394,8 @@ public com.google.apps.script.type.slides.SlidesExtensionPoint build() { @java.lang.Override public com.google.apps.script.type.slides.SlidesExtensionPoint buildPartial() { - com.google.apps.script.type.slides.SlidesExtensionPoint result = new com.google.apps.script.type.slides.SlidesExtensionPoint(this); + com.google.apps.script.type.slides.SlidesExtensionPoint result = + new com.google.apps.script.type.slides.SlidesExtensionPoint(this); result.runFunction_ = runFunction_; onBuilt(); return result; @@ -372,38 +405,39 @@ public com.google.apps.script.type.slides.SlidesExtensionPoint buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.apps.script.type.slides.SlidesExtensionPoint) { - return mergeFrom((com.google.apps.script.type.slides.SlidesExtensionPoint)other); + return mergeFrom((com.google.apps.script.type.slides.SlidesExtensionPoint) other); } else { super.mergeFrom(other); return this; @@ -411,7 +445,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.apps.script.type.slides.SlidesExtensionPoint other) { - if (other == com.google.apps.script.type.slides.SlidesExtensionPoint.getDefaultInstance()) return this; + if (other == com.google.apps.script.type.slides.SlidesExtensionPoint.getDefaultInstance()) + return this; if (!other.getRunFunction().isEmpty()) { runFunction_ = other.runFunction_; onChanged(); @@ -435,7 +470,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.apps.script.type.slides.SlidesExtensionPoint) e.getUnfinishedMessage(); + parsedMessage = + (com.google.apps.script.type.slides.SlidesExtensionPoint) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +483,20 @@ public Builder mergeFrom( private java.lang.Object runFunction_ = ""; /** + * + * *
      * Required. The endpoint to execute when this extension point is activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The runFunction. */ public java.lang.String getRunFunction() { java.lang.Object ref = runFunction_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); runFunction_ = s; return s; @@ -467,20 +505,21 @@ public java.lang.String getRunFunction() { } } /** + * + * *
      * Required. The endpoint to execute when this extension point is activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for runFunction. */ - public com.google.protobuf.ByteString - getRunFunctionBytes() { + public com.google.protobuf.ByteString getRunFunctionBytes() { java.lang.Object ref = runFunction_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); runFunction_ = b; return b; } else { @@ -488,61 +527,68 @@ public java.lang.String getRunFunction() { } } /** + * + * *
      * Required. The endpoint to execute when this extension point is activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The runFunction to set. * @return This builder for chaining. */ - public Builder setRunFunction( - java.lang.String value) { + public Builder setRunFunction(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + runFunction_ = value; onChanged(); return this; } /** + * + * *
      * Required. The endpoint to execute when this extension point is activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearRunFunction() { - + runFunction_ = getDefaultInstance().getRunFunction(); onChanged(); return this; } /** + * + * *
      * Required. The endpoint to execute when this extension point is activated.
      * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for runFunction to set. * @return This builder for chaining. */ - public Builder setRunFunctionBytes( - com.google.protobuf.ByteString value) { + public Builder setRunFunctionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + runFunction_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +598,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.apps.script.type.slides.SlidesExtensionPoint) } // @@protoc_insertion_point(class_scope:google.apps.script.type.slides.SlidesExtensionPoint) private static final com.google.apps.script.type.slides.SlidesExtensionPoint DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.apps.script.type.slides.SlidesExtensionPoint(); } @@ -566,16 +612,16 @@ public static com.google.apps.script.type.slides.SlidesExtensionPoint getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SlidesExtensionPoint parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SlidesExtensionPoint(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SlidesExtensionPoint parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SlidesExtensionPoint(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.apps.script.type.slides.SlidesExtensionPoint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesExtensionPointOrBuilder.java b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesExtensionPointOrBuilder.java similarity index 53% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesExtensionPointOrBuilder.java rename to proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesExtensionPointOrBuilder.java index ad7e3e5c..cd4a98fb 100644 --- a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesExtensionPointOrBuilder.java +++ b/proto-google-apps-script-type-protos/src/main/java/com/google/apps/script/type/slides/SlidesExtensionPointOrBuilder.java @@ -1,29 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/apps/script/type/slides/slides_addon_manifest.proto package com.google.apps.script.type.slides; -public interface SlidesExtensionPointOrBuilder extends +public interface SlidesExtensionPointOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.apps.script.type.slides.SlidesExtensionPoint) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The endpoint to execute when this extension point is activated.
    * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The runFunction. */ java.lang.String getRunFunction(); /** + * + * *
    * Required. The endpoint to execute when this extension point is activated.
    * 
* * string run_function = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for runFunction. */ - com.google.protobuf.ByteString - getRunFunctionBytes(); + com.google.protobuf.ByteString getRunFunctionBytes(); } diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/addon_widget_set.proto b/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/addon_widget_set.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/addon_widget_set.proto rename to proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/addon_widget_set.proto diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/calendar/calendar_addon_manifest.proto b/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/calendar/calendar_addon_manifest.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/calendar/calendar_addon_manifest.proto rename to proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/calendar/calendar_addon_manifest.proto diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/docs/docs_addon_manifest.proto b/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/docs/docs_addon_manifest.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/docs/docs_addon_manifest.proto rename to proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/docs/docs_addon_manifest.proto diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/drive/drive_addon_manifest.proto b/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/drive/drive_addon_manifest.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/drive/drive_addon_manifest.proto rename to proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/drive/drive_addon_manifest.proto diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/extension_point.proto b/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/extension_point.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/extension_point.proto rename to proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/extension_point.proto diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/gmail/gmail_addon_manifest.proto b/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/gmail/gmail_addon_manifest.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/gmail/gmail_addon_manifest.proto rename to proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/gmail/gmail_addon_manifest.proto diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/script_manifest.proto b/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/script_manifest.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/script_manifest.proto rename to proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/script_manifest.proto diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/sheets/sheets_addon_manifest.proto b/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/sheets/sheets_addon_manifest.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/sheets/sheets_addon_manifest.proto rename to proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/sheets/sheets_addon_manifest.proto diff --git a/owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/slides/slides_addon_manifest.proto b/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/slides/slides_addon_manifest.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/slides/slides_addon_manifest.proto rename to proto-google-apps-script-type-protos/src/main/proto/google/apps/script/type/slides/slides_addon_manifest.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AddOns.java b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AddOns.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AddOns.java rename to proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AddOns.java index 9e3f068f..fd69395d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AddOns.java +++ b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AddOns.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; /** + * + * *
  * A Google Workspace Add-on configuration.
  * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.AddOns} */ -public final class AddOns extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AddOns extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gsuiteaddons.v1.AddOns) AddOnsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AddOns.newBuilder() to construct. private AddOns(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AddOns() { - } + + private AddOns() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AddOns(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private AddOns( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,117 +68,147 @@ private AddOns( case 0: done = true; break; - case 10: { - com.google.apps.script.type.CommonAddOnManifest.Builder subBuilder = null; - if (common_ != null) { - subBuilder = common_.toBuilder(); - } - common_ = input.readMessage(com.google.apps.script.type.CommonAddOnManifest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(common_); - common_ = subBuilder.buildPartial(); - } - - break; - } - case 18: { - com.google.apps.script.type.gmail.GmailAddOnManifest.Builder subBuilder = null; - if (gmail_ != null) { - subBuilder = gmail_.toBuilder(); - } - gmail_ = input.readMessage(com.google.apps.script.type.gmail.GmailAddOnManifest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(gmail_); - gmail_ = subBuilder.buildPartial(); - } - - break; - } - case 42: { - com.google.apps.script.type.drive.DriveAddOnManifest.Builder subBuilder = null; - if (drive_ != null) { - subBuilder = drive_.toBuilder(); - } - drive_ = input.readMessage(com.google.apps.script.type.drive.DriveAddOnManifest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(drive_); - drive_ = subBuilder.buildPartial(); - } - - break; - } - case 50: { - com.google.apps.script.type.calendar.CalendarAddOnManifest.Builder subBuilder = null; - if (calendar_ != null) { - subBuilder = calendar_.toBuilder(); - } - calendar_ = input.readMessage(com.google.apps.script.type.calendar.CalendarAddOnManifest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(calendar_); - calendar_ = subBuilder.buildPartial(); - } - - break; - } - case 58: { - com.google.apps.script.type.docs.DocsAddOnManifest.Builder subBuilder = null; - if (docs_ != null) { - subBuilder = docs_.toBuilder(); + case 10: + { + com.google.apps.script.type.CommonAddOnManifest.Builder subBuilder = null; + if (common_ != null) { + subBuilder = common_.toBuilder(); + } + common_ = + input.readMessage( + com.google.apps.script.type.CommonAddOnManifest.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(common_); + common_ = subBuilder.buildPartial(); + } + + break; } - docs_ = input.readMessage(com.google.apps.script.type.docs.DocsAddOnManifest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(docs_); - docs_ = subBuilder.buildPartial(); + case 18: + { + com.google.apps.script.type.gmail.GmailAddOnManifest.Builder subBuilder = null; + if (gmail_ != null) { + subBuilder = gmail_.toBuilder(); + } + gmail_ = + input.readMessage( + com.google.apps.script.type.gmail.GmailAddOnManifest.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gmail_); + gmail_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 66: { - com.google.apps.script.type.sheets.SheetsAddOnManifest.Builder subBuilder = null; - if (sheets_ != null) { - subBuilder = sheets_.toBuilder(); + case 42: + { + com.google.apps.script.type.drive.DriveAddOnManifest.Builder subBuilder = null; + if (drive_ != null) { + subBuilder = drive_.toBuilder(); + } + drive_ = + input.readMessage( + com.google.apps.script.type.drive.DriveAddOnManifest.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(drive_); + drive_ = subBuilder.buildPartial(); + } + + break; } - sheets_ = input.readMessage(com.google.apps.script.type.sheets.SheetsAddOnManifest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(sheets_); - sheets_ = subBuilder.buildPartial(); + case 50: + { + com.google.apps.script.type.calendar.CalendarAddOnManifest.Builder subBuilder = null; + if (calendar_ != null) { + subBuilder = calendar_.toBuilder(); + } + calendar_ = + input.readMessage( + com.google.apps.script.type.calendar.CalendarAddOnManifest.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(calendar_); + calendar_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 82: { - com.google.apps.script.type.slides.SlidesAddOnManifest.Builder subBuilder = null; - if (slides_ != null) { - subBuilder = slides_.toBuilder(); + case 58: + { + com.google.apps.script.type.docs.DocsAddOnManifest.Builder subBuilder = null; + if (docs_ != null) { + subBuilder = docs_.toBuilder(); + } + docs_ = + input.readMessage( + com.google.apps.script.type.docs.DocsAddOnManifest.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(docs_); + docs_ = subBuilder.buildPartial(); + } + + break; } - slides_ = input.readMessage(com.google.apps.script.type.slides.SlidesAddOnManifest.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(slides_); - slides_ = subBuilder.buildPartial(); + case 66: + { + com.google.apps.script.type.sheets.SheetsAddOnManifest.Builder subBuilder = null; + if (sheets_ != null) { + subBuilder = sheets_.toBuilder(); + } + sheets_ = + input.readMessage( + com.google.apps.script.type.sheets.SheetsAddOnManifest.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(sheets_); + sheets_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 122: { - com.google.apps.script.type.HttpOptions.Builder subBuilder = null; - if (httpOptions_ != null) { - subBuilder = httpOptions_.toBuilder(); + case 82: + { + com.google.apps.script.type.slides.SlidesAddOnManifest.Builder subBuilder = null; + if (slides_ != null) { + subBuilder = slides_.toBuilder(); + } + slides_ = + input.readMessage( + com.google.apps.script.type.slides.SlidesAddOnManifest.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(slides_); + slides_ = subBuilder.buildPartial(); + } + + break; } - httpOptions_ = input.readMessage(com.google.apps.script.type.HttpOptions.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(httpOptions_); - httpOptions_ = subBuilder.buildPartial(); + case 122: + { + com.google.apps.script.type.HttpOptions.Builder subBuilder = null; + if (httpOptions_ != null) { + subBuilder = httpOptions_.toBuilder(); + } + httpOptions_ = + input.readMessage( + com.google.apps.script.type.HttpOptions.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(httpOptions_); + httpOptions_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -170,34 +216,39 @@ private AddOns( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_AddOns_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_AddOns_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_AddOns_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_AddOns_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.AddOns.class, com.google.cloud.gsuiteaddons.v1.AddOns.Builder.class); + com.google.cloud.gsuiteaddons.v1.AddOns.class, + com.google.cloud.gsuiteaddons.v1.AddOns.Builder.class); } public static final int COMMON_FIELD_NUMBER = 1; private com.google.apps.script.type.CommonAddOnManifest common_; /** + * + * *
    * Configuration that is common across all Google Workspace Add-ons.
    * 
* * .google.apps.script.type.CommonAddOnManifest common = 1; + * * @return Whether the common field is set. */ @java.lang.Override @@ -205,18 +256,25 @@ public boolean hasCommon() { return common_ != null; } /** + * + * *
    * Configuration that is common across all Google Workspace Add-ons.
    * 
* * .google.apps.script.type.CommonAddOnManifest common = 1; + * * @return The common. */ @java.lang.Override public com.google.apps.script.type.CommonAddOnManifest getCommon() { - return common_ == null ? com.google.apps.script.type.CommonAddOnManifest.getDefaultInstance() : common_; + return common_ == null + ? com.google.apps.script.type.CommonAddOnManifest.getDefaultInstance() + : common_; } /** + * + * *
    * Configuration that is common across all Google Workspace Add-ons.
    * 
@@ -231,11 +289,14 @@ public com.google.apps.script.type.CommonAddOnManifestOrBuilder getCommonOrBuild public static final int GMAIL_FIELD_NUMBER = 2; private com.google.apps.script.type.gmail.GmailAddOnManifest gmail_; /** + * + * *
    * Gmail add-on configuration.
    * 
* * .google.apps.script.type.gmail.GmailAddOnManifest gmail = 2; + * * @return Whether the gmail field is set. */ @java.lang.Override @@ -243,18 +304,25 @@ public boolean hasGmail() { return gmail_ != null; } /** + * + * *
    * Gmail add-on configuration.
    * 
* * .google.apps.script.type.gmail.GmailAddOnManifest gmail = 2; + * * @return The gmail. */ @java.lang.Override public com.google.apps.script.type.gmail.GmailAddOnManifest getGmail() { - return gmail_ == null ? com.google.apps.script.type.gmail.GmailAddOnManifest.getDefaultInstance() : gmail_; + return gmail_ == null + ? com.google.apps.script.type.gmail.GmailAddOnManifest.getDefaultInstance() + : gmail_; } /** + * + * *
    * Gmail add-on configuration.
    * 
@@ -269,11 +337,14 @@ public com.google.apps.script.type.gmail.GmailAddOnManifestOrBuilder getGmailOrB public static final int DRIVE_FIELD_NUMBER = 5; private com.google.apps.script.type.drive.DriveAddOnManifest drive_; /** + * + * *
    * Drive add-on configuration.
    * 
* * .google.apps.script.type.drive.DriveAddOnManifest drive = 5; + * * @return Whether the drive field is set. */ @java.lang.Override @@ -281,18 +352,25 @@ public boolean hasDrive() { return drive_ != null; } /** + * + * *
    * Drive add-on configuration.
    * 
* * .google.apps.script.type.drive.DriveAddOnManifest drive = 5; + * * @return The drive. */ @java.lang.Override public com.google.apps.script.type.drive.DriveAddOnManifest getDrive() { - return drive_ == null ? com.google.apps.script.type.drive.DriveAddOnManifest.getDefaultInstance() : drive_; + return drive_ == null + ? com.google.apps.script.type.drive.DriveAddOnManifest.getDefaultInstance() + : drive_; } /** + * + * *
    * Drive add-on configuration.
    * 
@@ -307,11 +385,14 @@ public com.google.apps.script.type.drive.DriveAddOnManifestOrBuilder getDriveOrB public static final int CALENDAR_FIELD_NUMBER = 6; private com.google.apps.script.type.calendar.CalendarAddOnManifest calendar_; /** + * + * *
    * Calendar add-on configuration.
    * 
* * .google.apps.script.type.calendar.CalendarAddOnManifest calendar = 6; + * * @return Whether the calendar field is set. */ @java.lang.Override @@ -319,18 +400,25 @@ public boolean hasCalendar() { return calendar_ != null; } /** + * + * *
    * Calendar add-on configuration.
    * 
* * .google.apps.script.type.calendar.CalendarAddOnManifest calendar = 6; + * * @return The calendar. */ @java.lang.Override public com.google.apps.script.type.calendar.CalendarAddOnManifest getCalendar() { - return calendar_ == null ? com.google.apps.script.type.calendar.CalendarAddOnManifest.getDefaultInstance() : calendar_; + return calendar_ == null + ? com.google.apps.script.type.calendar.CalendarAddOnManifest.getDefaultInstance() + : calendar_; } /** + * + * *
    * Calendar add-on configuration.
    * 
@@ -338,18 +426,22 @@ public com.google.apps.script.type.calendar.CalendarAddOnManifest getCalendar() * .google.apps.script.type.calendar.CalendarAddOnManifest calendar = 6; */ @java.lang.Override - public com.google.apps.script.type.calendar.CalendarAddOnManifestOrBuilder getCalendarOrBuilder() { + public com.google.apps.script.type.calendar.CalendarAddOnManifestOrBuilder + getCalendarOrBuilder() { return getCalendar(); } public static final int DOCS_FIELD_NUMBER = 7; private com.google.apps.script.type.docs.DocsAddOnManifest docs_; /** + * + * *
    * Docs add-on configuration.
    * 
* * .google.apps.script.type.docs.DocsAddOnManifest docs = 7; + * * @return Whether the docs field is set. */ @java.lang.Override @@ -357,18 +449,25 @@ public boolean hasDocs() { return docs_ != null; } /** + * + * *
    * Docs add-on configuration.
    * 
* * .google.apps.script.type.docs.DocsAddOnManifest docs = 7; + * * @return The docs. */ @java.lang.Override public com.google.apps.script.type.docs.DocsAddOnManifest getDocs() { - return docs_ == null ? com.google.apps.script.type.docs.DocsAddOnManifest.getDefaultInstance() : docs_; + return docs_ == null + ? com.google.apps.script.type.docs.DocsAddOnManifest.getDefaultInstance() + : docs_; } /** + * + * *
    * Docs add-on configuration.
    * 
@@ -383,11 +482,14 @@ public com.google.apps.script.type.docs.DocsAddOnManifestOrBuilder getDocsOrBuil public static final int SHEETS_FIELD_NUMBER = 8; private com.google.apps.script.type.sheets.SheetsAddOnManifest sheets_; /** + * + * *
    * Sheets add-on configuration.
    * 
* * .google.apps.script.type.sheets.SheetsAddOnManifest sheets = 8; + * * @return Whether the sheets field is set. */ @java.lang.Override @@ -395,18 +497,25 @@ public boolean hasSheets() { return sheets_ != null; } /** + * + * *
    * Sheets add-on configuration.
    * 
* * .google.apps.script.type.sheets.SheetsAddOnManifest sheets = 8; + * * @return The sheets. */ @java.lang.Override public com.google.apps.script.type.sheets.SheetsAddOnManifest getSheets() { - return sheets_ == null ? com.google.apps.script.type.sheets.SheetsAddOnManifest.getDefaultInstance() : sheets_; + return sheets_ == null + ? com.google.apps.script.type.sheets.SheetsAddOnManifest.getDefaultInstance() + : sheets_; } /** + * + * *
    * Sheets add-on configuration.
    * 
@@ -421,11 +530,14 @@ public com.google.apps.script.type.sheets.SheetsAddOnManifestOrBuilder getSheets public static final int SLIDES_FIELD_NUMBER = 10; private com.google.apps.script.type.slides.SlidesAddOnManifest slides_; /** + * + * *
    * Slides add-on configuration.
    * 
* * .google.apps.script.type.slides.SlidesAddOnManifest slides = 10; + * * @return Whether the slides field is set. */ @java.lang.Override @@ -433,18 +545,25 @@ public boolean hasSlides() { return slides_ != null; } /** + * + * *
    * Slides add-on configuration.
    * 
* * .google.apps.script.type.slides.SlidesAddOnManifest slides = 10; + * * @return The slides. */ @java.lang.Override public com.google.apps.script.type.slides.SlidesAddOnManifest getSlides() { - return slides_ == null ? com.google.apps.script.type.slides.SlidesAddOnManifest.getDefaultInstance() : slides_; + return slides_ == null + ? com.google.apps.script.type.slides.SlidesAddOnManifest.getDefaultInstance() + : slides_; } /** + * + * *
    * Slides add-on configuration.
    * 
@@ -459,11 +578,14 @@ public com.google.apps.script.type.slides.SlidesAddOnManifestOrBuilder getSlides public static final int HTTP_OPTIONS_FIELD_NUMBER = 15; private com.google.apps.script.type.HttpOptions httpOptions_; /** + * + * *
    * Options for sending requests to add-on HTTP endpoints
    * 
* * .google.apps.script.type.HttpOptions http_options = 15; + * * @return Whether the httpOptions field is set. */ @java.lang.Override @@ -471,18 +593,25 @@ public boolean hasHttpOptions() { return httpOptions_ != null; } /** + * + * *
    * Options for sending requests to add-on HTTP endpoints
    * 
* * .google.apps.script.type.HttpOptions http_options = 15; + * * @return The httpOptions. */ @java.lang.Override public com.google.apps.script.type.HttpOptions getHttpOptions() { - return httpOptions_ == null ? com.google.apps.script.type.HttpOptions.getDefaultInstance() : httpOptions_; + return httpOptions_ == null + ? com.google.apps.script.type.HttpOptions.getDefaultInstance() + : httpOptions_; } /** + * + * *
    * Options for sending requests to add-on HTTP endpoints
    * 
@@ -495,6 +624,7 @@ public com.google.apps.script.type.HttpOptionsOrBuilder getHttpOptionsOrBuilder( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -506,8 +636,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (common_ != null) { output.writeMessage(1, getCommon()); } @@ -542,36 +671,28 @@ public int getSerializedSize() { size = 0; if (common_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCommon()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCommon()); } if (gmail_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getGmail()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getGmail()); } if (drive_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getDrive()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDrive()); } if (calendar_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getCalendar()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCalendar()); } if (docs_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getDocs()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getDocs()); } if (sheets_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getSheets()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getSheets()); } if (slides_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getSlides()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getSlides()); } if (httpOptions_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(15, getHttpOptions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getHttpOptions()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -581,7 +702,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gsuiteaddons.v1.AddOns)) { return super.equals(obj); @@ -590,43 +711,35 @@ public boolean equals(final java.lang.Object obj) { if (hasCommon() != other.hasCommon()) return false; if (hasCommon()) { - if (!getCommon() - .equals(other.getCommon())) return false; + if (!getCommon().equals(other.getCommon())) return false; } if (hasGmail() != other.hasGmail()) return false; if (hasGmail()) { - if (!getGmail() - .equals(other.getGmail())) return false; + if (!getGmail().equals(other.getGmail())) return false; } if (hasDrive() != other.hasDrive()) return false; if (hasDrive()) { - if (!getDrive() - .equals(other.getDrive())) return false; + if (!getDrive().equals(other.getDrive())) return false; } if (hasCalendar() != other.hasCalendar()) return false; if (hasCalendar()) { - if (!getCalendar() - .equals(other.getCalendar())) return false; + if (!getCalendar().equals(other.getCalendar())) return false; } if (hasDocs() != other.hasDocs()) return false; if (hasDocs()) { - if (!getDocs() - .equals(other.getDocs())) return false; + if (!getDocs().equals(other.getDocs())) return false; } if (hasSheets() != other.hasSheets()) return false; if (hasSheets()) { - if (!getSheets() - .equals(other.getSheets())) return false; + if (!getSheets().equals(other.getSheets())) return false; } if (hasSlides() != other.hasSlides()) return false; if (hasSlides()) { - if (!getSlides() - .equals(other.getSlides())) return false; + if (!getSlides().equals(other.getSlides())) return false; } if (hasHttpOptions() != other.hasHttpOptions()) return false; if (hasHttpOptions()) { - if (!getHttpOptions() - .equals(other.getHttpOptions())) return false; + if (!getHttpOptions().equals(other.getHttpOptions())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -676,118 +789,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.gsuiteaddons.v1.AddOns parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.gsuiteaddons.v1.AddOns parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.AddOns parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.AddOns parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.AddOns parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.AddOns parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.AddOns parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.AddOns parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.AddOns parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.AddOns parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.gsuiteaddons.v1.AddOns parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.AddOns parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.AddOns parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.AddOns parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gsuiteaddons.v1.AddOns prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A Google Workspace Add-on configuration.
    * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.AddOns} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gsuiteaddons.v1.AddOns) com.google.cloud.gsuiteaddons.v1.AddOnsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_AddOns_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_AddOns_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_AddOns_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_AddOns_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.AddOns.class, com.google.cloud.gsuiteaddons.v1.AddOns.Builder.class); + com.google.cloud.gsuiteaddons.v1.AddOns.class, + com.google.cloud.gsuiteaddons.v1.AddOns.Builder.class); } // Construct using com.google.cloud.gsuiteaddons.v1.AddOns.newBuilder() @@ -795,16 +917,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -860,9 +981,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_AddOns_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_AddOns_descriptor; } @java.lang.Override @@ -881,7 +1002,8 @@ public com.google.cloud.gsuiteaddons.v1.AddOns build() { @java.lang.Override public com.google.cloud.gsuiteaddons.v1.AddOns buildPartial() { - com.google.cloud.gsuiteaddons.v1.AddOns result = new com.google.cloud.gsuiteaddons.v1.AddOns(this); + com.google.cloud.gsuiteaddons.v1.AddOns result = + new com.google.cloud.gsuiteaddons.v1.AddOns(this); if (commonBuilder_ == null) { result.common_ = common_; } else { @@ -930,38 +1052,39 @@ public com.google.cloud.gsuiteaddons.v1.AddOns buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gsuiteaddons.v1.AddOns) { - return mergeFrom((com.google.cloud.gsuiteaddons.v1.AddOns)other); + return mergeFrom((com.google.cloud.gsuiteaddons.v1.AddOns) other); } else { super.mergeFrom(other); return this; @@ -1025,34 +1148,47 @@ public Builder mergeFrom( private com.google.apps.script.type.CommonAddOnManifest common_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.CommonAddOnManifest, com.google.apps.script.type.CommonAddOnManifest.Builder, com.google.apps.script.type.CommonAddOnManifestOrBuilder> commonBuilder_; + com.google.apps.script.type.CommonAddOnManifest, + com.google.apps.script.type.CommonAddOnManifest.Builder, + com.google.apps.script.type.CommonAddOnManifestOrBuilder> + commonBuilder_; /** + * + * *
      * Configuration that is common across all Google Workspace Add-ons.
      * 
* * .google.apps.script.type.CommonAddOnManifest common = 1; + * * @return Whether the common field is set. */ public boolean hasCommon() { return commonBuilder_ != null || common_ != null; } /** + * + * *
      * Configuration that is common across all Google Workspace Add-ons.
      * 
* * .google.apps.script.type.CommonAddOnManifest common = 1; + * * @return The common. */ public com.google.apps.script.type.CommonAddOnManifest getCommon() { if (commonBuilder_ == null) { - return common_ == null ? com.google.apps.script.type.CommonAddOnManifest.getDefaultInstance() : common_; + return common_ == null + ? com.google.apps.script.type.CommonAddOnManifest.getDefaultInstance() + : common_; } else { return commonBuilder_.getMessage(); } } /** + * + * *
      * Configuration that is common across all Google Workspace Add-ons.
      * 
@@ -1073,6 +1209,8 @@ public Builder setCommon(com.google.apps.script.type.CommonAddOnManifest value) return this; } /** + * + * *
      * Configuration that is common across all Google Workspace Add-ons.
      * 
@@ -1091,6 +1229,8 @@ public Builder setCommon( return this; } /** + * + * *
      * Configuration that is common across all Google Workspace Add-ons.
      * 
@@ -1101,7 +1241,9 @@ public Builder mergeCommon(com.google.apps.script.type.CommonAddOnManifest value if (commonBuilder_ == null) { if (common_ != null) { common_ = - com.google.apps.script.type.CommonAddOnManifest.newBuilder(common_).mergeFrom(value).buildPartial(); + com.google.apps.script.type.CommonAddOnManifest.newBuilder(common_) + .mergeFrom(value) + .buildPartial(); } else { common_ = value; } @@ -1113,6 +1255,8 @@ public Builder mergeCommon(com.google.apps.script.type.CommonAddOnManifest value return this; } /** + * + * *
      * Configuration that is common across all Google Workspace Add-ons.
      * 
@@ -1131,6 +1275,8 @@ public Builder clearCommon() { return this; } /** + * + * *
      * Configuration that is common across all Google Workspace Add-ons.
      * 
@@ -1138,11 +1284,13 @@ public Builder clearCommon() { * .google.apps.script.type.CommonAddOnManifest common = 1; */ public com.google.apps.script.type.CommonAddOnManifest.Builder getCommonBuilder() { - + onChanged(); return getCommonFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration that is common across all Google Workspace Add-ons.
      * 
@@ -1153,11 +1301,14 @@ public com.google.apps.script.type.CommonAddOnManifestOrBuilder getCommonOrBuild if (commonBuilder_ != null) { return commonBuilder_.getMessageOrBuilder(); } else { - return common_ == null ? - com.google.apps.script.type.CommonAddOnManifest.getDefaultInstance() : common_; + return common_ == null + ? com.google.apps.script.type.CommonAddOnManifest.getDefaultInstance() + : common_; } } /** + * + * *
      * Configuration that is common across all Google Workspace Add-ons.
      * 
@@ -1165,14 +1316,17 @@ public com.google.apps.script.type.CommonAddOnManifestOrBuilder getCommonOrBuild * .google.apps.script.type.CommonAddOnManifest common = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.CommonAddOnManifest, com.google.apps.script.type.CommonAddOnManifest.Builder, com.google.apps.script.type.CommonAddOnManifestOrBuilder> + com.google.apps.script.type.CommonAddOnManifest, + com.google.apps.script.type.CommonAddOnManifest.Builder, + com.google.apps.script.type.CommonAddOnManifestOrBuilder> getCommonFieldBuilder() { if (commonBuilder_ == null) { - commonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.CommonAddOnManifest, com.google.apps.script.type.CommonAddOnManifest.Builder, com.google.apps.script.type.CommonAddOnManifestOrBuilder>( - getCommon(), - getParentForChildren(), - isClean()); + commonBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.apps.script.type.CommonAddOnManifest, + com.google.apps.script.type.CommonAddOnManifest.Builder, + com.google.apps.script.type.CommonAddOnManifestOrBuilder>( + getCommon(), getParentForChildren(), isClean()); common_ = null; } return commonBuilder_; @@ -1180,34 +1334,47 @@ public com.google.apps.script.type.CommonAddOnManifestOrBuilder getCommonOrBuild private com.google.apps.script.type.gmail.GmailAddOnManifest gmail_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.gmail.GmailAddOnManifest, com.google.apps.script.type.gmail.GmailAddOnManifest.Builder, com.google.apps.script.type.gmail.GmailAddOnManifestOrBuilder> gmailBuilder_; + com.google.apps.script.type.gmail.GmailAddOnManifest, + com.google.apps.script.type.gmail.GmailAddOnManifest.Builder, + com.google.apps.script.type.gmail.GmailAddOnManifestOrBuilder> + gmailBuilder_; /** + * + * *
      * Gmail add-on configuration.
      * 
* * .google.apps.script.type.gmail.GmailAddOnManifest gmail = 2; + * * @return Whether the gmail field is set. */ public boolean hasGmail() { return gmailBuilder_ != null || gmail_ != null; } /** + * + * *
      * Gmail add-on configuration.
      * 
* * .google.apps.script.type.gmail.GmailAddOnManifest gmail = 2; + * * @return The gmail. */ public com.google.apps.script.type.gmail.GmailAddOnManifest getGmail() { if (gmailBuilder_ == null) { - return gmail_ == null ? com.google.apps.script.type.gmail.GmailAddOnManifest.getDefaultInstance() : gmail_; + return gmail_ == null + ? com.google.apps.script.type.gmail.GmailAddOnManifest.getDefaultInstance() + : gmail_; } else { return gmailBuilder_.getMessage(); } } /** + * + * *
      * Gmail add-on configuration.
      * 
@@ -1228,6 +1395,8 @@ public Builder setGmail(com.google.apps.script.type.gmail.GmailAddOnManifest val return this; } /** + * + * *
      * Gmail add-on configuration.
      * 
@@ -1246,6 +1415,8 @@ public Builder setGmail( return this; } /** + * + * *
      * Gmail add-on configuration.
      * 
@@ -1256,7 +1427,9 @@ public Builder mergeGmail(com.google.apps.script.type.gmail.GmailAddOnManifest v if (gmailBuilder_ == null) { if (gmail_ != null) { gmail_ = - com.google.apps.script.type.gmail.GmailAddOnManifest.newBuilder(gmail_).mergeFrom(value).buildPartial(); + com.google.apps.script.type.gmail.GmailAddOnManifest.newBuilder(gmail_) + .mergeFrom(value) + .buildPartial(); } else { gmail_ = value; } @@ -1268,6 +1441,8 @@ public Builder mergeGmail(com.google.apps.script.type.gmail.GmailAddOnManifest v return this; } /** + * + * *
      * Gmail add-on configuration.
      * 
@@ -1286,6 +1461,8 @@ public Builder clearGmail() { return this; } /** + * + * *
      * Gmail add-on configuration.
      * 
@@ -1293,11 +1470,13 @@ public Builder clearGmail() { * .google.apps.script.type.gmail.GmailAddOnManifest gmail = 2; */ public com.google.apps.script.type.gmail.GmailAddOnManifest.Builder getGmailBuilder() { - + onChanged(); return getGmailFieldBuilder().getBuilder(); } /** + * + * *
      * Gmail add-on configuration.
      * 
@@ -1308,11 +1487,14 @@ public com.google.apps.script.type.gmail.GmailAddOnManifestOrBuilder getGmailOrB if (gmailBuilder_ != null) { return gmailBuilder_.getMessageOrBuilder(); } else { - return gmail_ == null ? - com.google.apps.script.type.gmail.GmailAddOnManifest.getDefaultInstance() : gmail_; + return gmail_ == null + ? com.google.apps.script.type.gmail.GmailAddOnManifest.getDefaultInstance() + : gmail_; } } /** + * + * *
      * Gmail add-on configuration.
      * 
@@ -1320,14 +1502,17 @@ public com.google.apps.script.type.gmail.GmailAddOnManifestOrBuilder getGmailOrB * .google.apps.script.type.gmail.GmailAddOnManifest gmail = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.gmail.GmailAddOnManifest, com.google.apps.script.type.gmail.GmailAddOnManifest.Builder, com.google.apps.script.type.gmail.GmailAddOnManifestOrBuilder> + com.google.apps.script.type.gmail.GmailAddOnManifest, + com.google.apps.script.type.gmail.GmailAddOnManifest.Builder, + com.google.apps.script.type.gmail.GmailAddOnManifestOrBuilder> getGmailFieldBuilder() { if (gmailBuilder_ == null) { - gmailBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.gmail.GmailAddOnManifest, com.google.apps.script.type.gmail.GmailAddOnManifest.Builder, com.google.apps.script.type.gmail.GmailAddOnManifestOrBuilder>( - getGmail(), - getParentForChildren(), - isClean()); + gmailBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.apps.script.type.gmail.GmailAddOnManifest, + com.google.apps.script.type.gmail.GmailAddOnManifest.Builder, + com.google.apps.script.type.gmail.GmailAddOnManifestOrBuilder>( + getGmail(), getParentForChildren(), isClean()); gmail_ = null; } return gmailBuilder_; @@ -1335,34 +1520,47 @@ public com.google.apps.script.type.gmail.GmailAddOnManifestOrBuilder getGmailOrB private com.google.apps.script.type.drive.DriveAddOnManifest drive_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.drive.DriveAddOnManifest, com.google.apps.script.type.drive.DriveAddOnManifest.Builder, com.google.apps.script.type.drive.DriveAddOnManifestOrBuilder> driveBuilder_; + com.google.apps.script.type.drive.DriveAddOnManifest, + com.google.apps.script.type.drive.DriveAddOnManifest.Builder, + com.google.apps.script.type.drive.DriveAddOnManifestOrBuilder> + driveBuilder_; /** + * + * *
      * Drive add-on configuration.
      * 
* * .google.apps.script.type.drive.DriveAddOnManifest drive = 5; + * * @return Whether the drive field is set. */ public boolean hasDrive() { return driveBuilder_ != null || drive_ != null; } /** + * + * *
      * Drive add-on configuration.
      * 
* * .google.apps.script.type.drive.DriveAddOnManifest drive = 5; + * * @return The drive. */ public com.google.apps.script.type.drive.DriveAddOnManifest getDrive() { if (driveBuilder_ == null) { - return drive_ == null ? com.google.apps.script.type.drive.DriveAddOnManifest.getDefaultInstance() : drive_; + return drive_ == null + ? com.google.apps.script.type.drive.DriveAddOnManifest.getDefaultInstance() + : drive_; } else { return driveBuilder_.getMessage(); } } /** + * + * *
      * Drive add-on configuration.
      * 
@@ -1383,6 +1581,8 @@ public Builder setDrive(com.google.apps.script.type.drive.DriveAddOnManifest val return this; } /** + * + * *
      * Drive add-on configuration.
      * 
@@ -1401,6 +1601,8 @@ public Builder setDrive( return this; } /** + * + * *
      * Drive add-on configuration.
      * 
@@ -1411,7 +1613,9 @@ public Builder mergeDrive(com.google.apps.script.type.drive.DriveAddOnManifest v if (driveBuilder_ == null) { if (drive_ != null) { drive_ = - com.google.apps.script.type.drive.DriveAddOnManifest.newBuilder(drive_).mergeFrom(value).buildPartial(); + com.google.apps.script.type.drive.DriveAddOnManifest.newBuilder(drive_) + .mergeFrom(value) + .buildPartial(); } else { drive_ = value; } @@ -1423,6 +1627,8 @@ public Builder mergeDrive(com.google.apps.script.type.drive.DriveAddOnManifest v return this; } /** + * + * *
      * Drive add-on configuration.
      * 
@@ -1441,6 +1647,8 @@ public Builder clearDrive() { return this; } /** + * + * *
      * Drive add-on configuration.
      * 
@@ -1448,11 +1656,13 @@ public Builder clearDrive() { * .google.apps.script.type.drive.DriveAddOnManifest drive = 5; */ public com.google.apps.script.type.drive.DriveAddOnManifest.Builder getDriveBuilder() { - + onChanged(); return getDriveFieldBuilder().getBuilder(); } /** + * + * *
      * Drive add-on configuration.
      * 
@@ -1463,11 +1673,14 @@ public com.google.apps.script.type.drive.DriveAddOnManifestOrBuilder getDriveOrB if (driveBuilder_ != null) { return driveBuilder_.getMessageOrBuilder(); } else { - return drive_ == null ? - com.google.apps.script.type.drive.DriveAddOnManifest.getDefaultInstance() : drive_; + return drive_ == null + ? com.google.apps.script.type.drive.DriveAddOnManifest.getDefaultInstance() + : drive_; } } /** + * + * *
      * Drive add-on configuration.
      * 
@@ -1475,14 +1688,17 @@ public com.google.apps.script.type.drive.DriveAddOnManifestOrBuilder getDriveOrB * .google.apps.script.type.drive.DriveAddOnManifest drive = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.drive.DriveAddOnManifest, com.google.apps.script.type.drive.DriveAddOnManifest.Builder, com.google.apps.script.type.drive.DriveAddOnManifestOrBuilder> + com.google.apps.script.type.drive.DriveAddOnManifest, + com.google.apps.script.type.drive.DriveAddOnManifest.Builder, + com.google.apps.script.type.drive.DriveAddOnManifestOrBuilder> getDriveFieldBuilder() { if (driveBuilder_ == null) { - driveBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.drive.DriveAddOnManifest, com.google.apps.script.type.drive.DriveAddOnManifest.Builder, com.google.apps.script.type.drive.DriveAddOnManifestOrBuilder>( - getDrive(), - getParentForChildren(), - isClean()); + driveBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.apps.script.type.drive.DriveAddOnManifest, + com.google.apps.script.type.drive.DriveAddOnManifest.Builder, + com.google.apps.script.type.drive.DriveAddOnManifestOrBuilder>( + getDrive(), getParentForChildren(), isClean()); drive_ = null; } return driveBuilder_; @@ -1490,34 +1706,47 @@ public com.google.apps.script.type.drive.DriveAddOnManifestOrBuilder getDriveOrB private com.google.apps.script.type.calendar.CalendarAddOnManifest calendar_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.calendar.CalendarAddOnManifest, com.google.apps.script.type.calendar.CalendarAddOnManifest.Builder, com.google.apps.script.type.calendar.CalendarAddOnManifestOrBuilder> calendarBuilder_; + com.google.apps.script.type.calendar.CalendarAddOnManifest, + com.google.apps.script.type.calendar.CalendarAddOnManifest.Builder, + com.google.apps.script.type.calendar.CalendarAddOnManifestOrBuilder> + calendarBuilder_; /** + * + * *
      * Calendar add-on configuration.
      * 
* * .google.apps.script.type.calendar.CalendarAddOnManifest calendar = 6; + * * @return Whether the calendar field is set. */ public boolean hasCalendar() { return calendarBuilder_ != null || calendar_ != null; } /** + * + * *
      * Calendar add-on configuration.
      * 
* * .google.apps.script.type.calendar.CalendarAddOnManifest calendar = 6; + * * @return The calendar. */ public com.google.apps.script.type.calendar.CalendarAddOnManifest getCalendar() { if (calendarBuilder_ == null) { - return calendar_ == null ? com.google.apps.script.type.calendar.CalendarAddOnManifest.getDefaultInstance() : calendar_; + return calendar_ == null + ? com.google.apps.script.type.calendar.CalendarAddOnManifest.getDefaultInstance() + : calendar_; } else { return calendarBuilder_.getMessage(); } } /** + * + * *
      * Calendar add-on configuration.
      * 
@@ -1538,6 +1767,8 @@ public Builder setCalendar(com.google.apps.script.type.calendar.CalendarAddOnMan return this; } /** + * + * *
      * Calendar add-on configuration.
      * 
@@ -1556,6 +1787,8 @@ public Builder setCalendar( return this; } /** + * + * *
      * Calendar add-on configuration.
      * 
@@ -1566,7 +1799,9 @@ public Builder mergeCalendar(com.google.apps.script.type.calendar.CalendarAddOnM if (calendarBuilder_ == null) { if (calendar_ != null) { calendar_ = - com.google.apps.script.type.calendar.CalendarAddOnManifest.newBuilder(calendar_).mergeFrom(value).buildPartial(); + com.google.apps.script.type.calendar.CalendarAddOnManifest.newBuilder(calendar_) + .mergeFrom(value) + .buildPartial(); } else { calendar_ = value; } @@ -1578,6 +1813,8 @@ public Builder mergeCalendar(com.google.apps.script.type.calendar.CalendarAddOnM return this; } /** + * + * *
      * Calendar add-on configuration.
      * 
@@ -1596,6 +1833,8 @@ public Builder clearCalendar() { return this; } /** + * + * *
      * Calendar add-on configuration.
      * 
@@ -1603,26 +1842,32 @@ public Builder clearCalendar() { * .google.apps.script.type.calendar.CalendarAddOnManifest calendar = 6; */ public com.google.apps.script.type.calendar.CalendarAddOnManifest.Builder getCalendarBuilder() { - + onChanged(); return getCalendarFieldBuilder().getBuilder(); } /** + * + * *
      * Calendar add-on configuration.
      * 
* * .google.apps.script.type.calendar.CalendarAddOnManifest calendar = 6; */ - public com.google.apps.script.type.calendar.CalendarAddOnManifestOrBuilder getCalendarOrBuilder() { + public com.google.apps.script.type.calendar.CalendarAddOnManifestOrBuilder + getCalendarOrBuilder() { if (calendarBuilder_ != null) { return calendarBuilder_.getMessageOrBuilder(); } else { - return calendar_ == null ? - com.google.apps.script.type.calendar.CalendarAddOnManifest.getDefaultInstance() : calendar_; + return calendar_ == null + ? com.google.apps.script.type.calendar.CalendarAddOnManifest.getDefaultInstance() + : calendar_; } } /** + * + * *
      * Calendar add-on configuration.
      * 
@@ -1630,14 +1875,17 @@ public com.google.apps.script.type.calendar.CalendarAddOnManifestOrBuilder getCa * .google.apps.script.type.calendar.CalendarAddOnManifest calendar = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.calendar.CalendarAddOnManifest, com.google.apps.script.type.calendar.CalendarAddOnManifest.Builder, com.google.apps.script.type.calendar.CalendarAddOnManifestOrBuilder> + com.google.apps.script.type.calendar.CalendarAddOnManifest, + com.google.apps.script.type.calendar.CalendarAddOnManifest.Builder, + com.google.apps.script.type.calendar.CalendarAddOnManifestOrBuilder> getCalendarFieldBuilder() { if (calendarBuilder_ == null) { - calendarBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.calendar.CalendarAddOnManifest, com.google.apps.script.type.calendar.CalendarAddOnManifest.Builder, com.google.apps.script.type.calendar.CalendarAddOnManifestOrBuilder>( - getCalendar(), - getParentForChildren(), - isClean()); + calendarBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.apps.script.type.calendar.CalendarAddOnManifest, + com.google.apps.script.type.calendar.CalendarAddOnManifest.Builder, + com.google.apps.script.type.calendar.CalendarAddOnManifestOrBuilder>( + getCalendar(), getParentForChildren(), isClean()); calendar_ = null; } return calendarBuilder_; @@ -1645,34 +1893,47 @@ public com.google.apps.script.type.calendar.CalendarAddOnManifestOrBuilder getCa private com.google.apps.script.type.docs.DocsAddOnManifest docs_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.docs.DocsAddOnManifest, com.google.apps.script.type.docs.DocsAddOnManifest.Builder, com.google.apps.script.type.docs.DocsAddOnManifestOrBuilder> docsBuilder_; + com.google.apps.script.type.docs.DocsAddOnManifest, + com.google.apps.script.type.docs.DocsAddOnManifest.Builder, + com.google.apps.script.type.docs.DocsAddOnManifestOrBuilder> + docsBuilder_; /** + * + * *
      * Docs add-on configuration.
      * 
* * .google.apps.script.type.docs.DocsAddOnManifest docs = 7; + * * @return Whether the docs field is set. */ public boolean hasDocs() { return docsBuilder_ != null || docs_ != null; } /** + * + * *
      * Docs add-on configuration.
      * 
* * .google.apps.script.type.docs.DocsAddOnManifest docs = 7; + * * @return The docs. */ public com.google.apps.script.type.docs.DocsAddOnManifest getDocs() { if (docsBuilder_ == null) { - return docs_ == null ? com.google.apps.script.type.docs.DocsAddOnManifest.getDefaultInstance() : docs_; + return docs_ == null + ? com.google.apps.script.type.docs.DocsAddOnManifest.getDefaultInstance() + : docs_; } else { return docsBuilder_.getMessage(); } } /** + * + * *
      * Docs add-on configuration.
      * 
@@ -1693,6 +1954,8 @@ public Builder setDocs(com.google.apps.script.type.docs.DocsAddOnManifest value) return this; } /** + * + * *
      * Docs add-on configuration.
      * 
@@ -1711,6 +1974,8 @@ public Builder setDocs( return this; } /** + * + * *
      * Docs add-on configuration.
      * 
@@ -1721,7 +1986,9 @@ public Builder mergeDocs(com.google.apps.script.type.docs.DocsAddOnManifest valu if (docsBuilder_ == null) { if (docs_ != null) { docs_ = - com.google.apps.script.type.docs.DocsAddOnManifest.newBuilder(docs_).mergeFrom(value).buildPartial(); + com.google.apps.script.type.docs.DocsAddOnManifest.newBuilder(docs_) + .mergeFrom(value) + .buildPartial(); } else { docs_ = value; } @@ -1733,6 +2000,8 @@ public Builder mergeDocs(com.google.apps.script.type.docs.DocsAddOnManifest valu return this; } /** + * + * *
      * Docs add-on configuration.
      * 
@@ -1751,6 +2020,8 @@ public Builder clearDocs() { return this; } /** + * + * *
      * Docs add-on configuration.
      * 
@@ -1758,11 +2029,13 @@ public Builder clearDocs() { * .google.apps.script.type.docs.DocsAddOnManifest docs = 7; */ public com.google.apps.script.type.docs.DocsAddOnManifest.Builder getDocsBuilder() { - + onChanged(); return getDocsFieldBuilder().getBuilder(); } /** + * + * *
      * Docs add-on configuration.
      * 
@@ -1773,11 +2046,14 @@ public com.google.apps.script.type.docs.DocsAddOnManifestOrBuilder getDocsOrBuil if (docsBuilder_ != null) { return docsBuilder_.getMessageOrBuilder(); } else { - return docs_ == null ? - com.google.apps.script.type.docs.DocsAddOnManifest.getDefaultInstance() : docs_; + return docs_ == null + ? com.google.apps.script.type.docs.DocsAddOnManifest.getDefaultInstance() + : docs_; } } /** + * + * *
      * Docs add-on configuration.
      * 
@@ -1785,14 +2061,17 @@ public com.google.apps.script.type.docs.DocsAddOnManifestOrBuilder getDocsOrBuil * .google.apps.script.type.docs.DocsAddOnManifest docs = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.docs.DocsAddOnManifest, com.google.apps.script.type.docs.DocsAddOnManifest.Builder, com.google.apps.script.type.docs.DocsAddOnManifestOrBuilder> + com.google.apps.script.type.docs.DocsAddOnManifest, + com.google.apps.script.type.docs.DocsAddOnManifest.Builder, + com.google.apps.script.type.docs.DocsAddOnManifestOrBuilder> getDocsFieldBuilder() { if (docsBuilder_ == null) { - docsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.docs.DocsAddOnManifest, com.google.apps.script.type.docs.DocsAddOnManifest.Builder, com.google.apps.script.type.docs.DocsAddOnManifestOrBuilder>( - getDocs(), - getParentForChildren(), - isClean()); + docsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.apps.script.type.docs.DocsAddOnManifest, + com.google.apps.script.type.docs.DocsAddOnManifest.Builder, + com.google.apps.script.type.docs.DocsAddOnManifestOrBuilder>( + getDocs(), getParentForChildren(), isClean()); docs_ = null; } return docsBuilder_; @@ -1800,34 +2079,47 @@ public com.google.apps.script.type.docs.DocsAddOnManifestOrBuilder getDocsOrBuil private com.google.apps.script.type.sheets.SheetsAddOnManifest sheets_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.sheets.SheetsAddOnManifest, com.google.apps.script.type.sheets.SheetsAddOnManifest.Builder, com.google.apps.script.type.sheets.SheetsAddOnManifestOrBuilder> sheetsBuilder_; + com.google.apps.script.type.sheets.SheetsAddOnManifest, + com.google.apps.script.type.sheets.SheetsAddOnManifest.Builder, + com.google.apps.script.type.sheets.SheetsAddOnManifestOrBuilder> + sheetsBuilder_; /** + * + * *
      * Sheets add-on configuration.
      * 
* * .google.apps.script.type.sheets.SheetsAddOnManifest sheets = 8; + * * @return Whether the sheets field is set. */ public boolean hasSheets() { return sheetsBuilder_ != null || sheets_ != null; } /** + * + * *
      * Sheets add-on configuration.
      * 
* * .google.apps.script.type.sheets.SheetsAddOnManifest sheets = 8; + * * @return The sheets. */ public com.google.apps.script.type.sheets.SheetsAddOnManifest getSheets() { if (sheetsBuilder_ == null) { - return sheets_ == null ? com.google.apps.script.type.sheets.SheetsAddOnManifest.getDefaultInstance() : sheets_; + return sheets_ == null + ? com.google.apps.script.type.sheets.SheetsAddOnManifest.getDefaultInstance() + : sheets_; } else { return sheetsBuilder_.getMessage(); } } /** + * + * *
      * Sheets add-on configuration.
      * 
@@ -1848,6 +2140,8 @@ public Builder setSheets(com.google.apps.script.type.sheets.SheetsAddOnManifest return this; } /** + * + * *
      * Sheets add-on configuration.
      * 
@@ -1866,6 +2160,8 @@ public Builder setSheets( return this; } /** + * + * *
      * Sheets add-on configuration.
      * 
@@ -1876,7 +2172,9 @@ public Builder mergeSheets(com.google.apps.script.type.sheets.SheetsAddOnManifes if (sheetsBuilder_ == null) { if (sheets_ != null) { sheets_ = - com.google.apps.script.type.sheets.SheetsAddOnManifest.newBuilder(sheets_).mergeFrom(value).buildPartial(); + com.google.apps.script.type.sheets.SheetsAddOnManifest.newBuilder(sheets_) + .mergeFrom(value) + .buildPartial(); } else { sheets_ = value; } @@ -1888,6 +2186,8 @@ public Builder mergeSheets(com.google.apps.script.type.sheets.SheetsAddOnManifes return this; } /** + * + * *
      * Sheets add-on configuration.
      * 
@@ -1906,6 +2206,8 @@ public Builder clearSheets() { return this; } /** + * + * *
      * Sheets add-on configuration.
      * 
@@ -1913,11 +2215,13 @@ public Builder clearSheets() { * .google.apps.script.type.sheets.SheetsAddOnManifest sheets = 8; */ public com.google.apps.script.type.sheets.SheetsAddOnManifest.Builder getSheetsBuilder() { - + onChanged(); return getSheetsFieldBuilder().getBuilder(); } /** + * + * *
      * Sheets add-on configuration.
      * 
@@ -1928,11 +2232,14 @@ public com.google.apps.script.type.sheets.SheetsAddOnManifestOrBuilder getSheets if (sheetsBuilder_ != null) { return sheetsBuilder_.getMessageOrBuilder(); } else { - return sheets_ == null ? - com.google.apps.script.type.sheets.SheetsAddOnManifest.getDefaultInstance() : sheets_; + return sheets_ == null + ? com.google.apps.script.type.sheets.SheetsAddOnManifest.getDefaultInstance() + : sheets_; } } /** + * + * *
      * Sheets add-on configuration.
      * 
@@ -1940,14 +2247,17 @@ public com.google.apps.script.type.sheets.SheetsAddOnManifestOrBuilder getSheets * .google.apps.script.type.sheets.SheetsAddOnManifest sheets = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.sheets.SheetsAddOnManifest, com.google.apps.script.type.sheets.SheetsAddOnManifest.Builder, com.google.apps.script.type.sheets.SheetsAddOnManifestOrBuilder> + com.google.apps.script.type.sheets.SheetsAddOnManifest, + com.google.apps.script.type.sheets.SheetsAddOnManifest.Builder, + com.google.apps.script.type.sheets.SheetsAddOnManifestOrBuilder> getSheetsFieldBuilder() { if (sheetsBuilder_ == null) { - sheetsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.sheets.SheetsAddOnManifest, com.google.apps.script.type.sheets.SheetsAddOnManifest.Builder, com.google.apps.script.type.sheets.SheetsAddOnManifestOrBuilder>( - getSheets(), - getParentForChildren(), - isClean()); + sheetsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.apps.script.type.sheets.SheetsAddOnManifest, + com.google.apps.script.type.sheets.SheetsAddOnManifest.Builder, + com.google.apps.script.type.sheets.SheetsAddOnManifestOrBuilder>( + getSheets(), getParentForChildren(), isClean()); sheets_ = null; } return sheetsBuilder_; @@ -1955,34 +2265,47 @@ public com.google.apps.script.type.sheets.SheetsAddOnManifestOrBuilder getSheets private com.google.apps.script.type.slides.SlidesAddOnManifest slides_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.slides.SlidesAddOnManifest, com.google.apps.script.type.slides.SlidesAddOnManifest.Builder, com.google.apps.script.type.slides.SlidesAddOnManifestOrBuilder> slidesBuilder_; + com.google.apps.script.type.slides.SlidesAddOnManifest, + com.google.apps.script.type.slides.SlidesAddOnManifest.Builder, + com.google.apps.script.type.slides.SlidesAddOnManifestOrBuilder> + slidesBuilder_; /** + * + * *
      * Slides add-on configuration.
      * 
* * .google.apps.script.type.slides.SlidesAddOnManifest slides = 10; + * * @return Whether the slides field is set. */ public boolean hasSlides() { return slidesBuilder_ != null || slides_ != null; } /** + * + * *
      * Slides add-on configuration.
      * 
* * .google.apps.script.type.slides.SlidesAddOnManifest slides = 10; + * * @return The slides. */ public com.google.apps.script.type.slides.SlidesAddOnManifest getSlides() { if (slidesBuilder_ == null) { - return slides_ == null ? com.google.apps.script.type.slides.SlidesAddOnManifest.getDefaultInstance() : slides_; + return slides_ == null + ? com.google.apps.script.type.slides.SlidesAddOnManifest.getDefaultInstance() + : slides_; } else { return slidesBuilder_.getMessage(); } } /** + * + * *
      * Slides add-on configuration.
      * 
@@ -2003,6 +2326,8 @@ public Builder setSlides(com.google.apps.script.type.slides.SlidesAddOnManifest return this; } /** + * + * *
      * Slides add-on configuration.
      * 
@@ -2021,6 +2346,8 @@ public Builder setSlides( return this; } /** + * + * *
      * Slides add-on configuration.
      * 
@@ -2031,7 +2358,9 @@ public Builder mergeSlides(com.google.apps.script.type.slides.SlidesAddOnManifes if (slidesBuilder_ == null) { if (slides_ != null) { slides_ = - com.google.apps.script.type.slides.SlidesAddOnManifest.newBuilder(slides_).mergeFrom(value).buildPartial(); + com.google.apps.script.type.slides.SlidesAddOnManifest.newBuilder(slides_) + .mergeFrom(value) + .buildPartial(); } else { slides_ = value; } @@ -2043,6 +2372,8 @@ public Builder mergeSlides(com.google.apps.script.type.slides.SlidesAddOnManifes return this; } /** + * + * *
      * Slides add-on configuration.
      * 
@@ -2061,6 +2392,8 @@ public Builder clearSlides() { return this; } /** + * + * *
      * Slides add-on configuration.
      * 
@@ -2068,11 +2401,13 @@ public Builder clearSlides() { * .google.apps.script.type.slides.SlidesAddOnManifest slides = 10; */ public com.google.apps.script.type.slides.SlidesAddOnManifest.Builder getSlidesBuilder() { - + onChanged(); return getSlidesFieldBuilder().getBuilder(); } /** + * + * *
      * Slides add-on configuration.
      * 
@@ -2083,11 +2418,14 @@ public com.google.apps.script.type.slides.SlidesAddOnManifestOrBuilder getSlides if (slidesBuilder_ != null) { return slidesBuilder_.getMessageOrBuilder(); } else { - return slides_ == null ? - com.google.apps.script.type.slides.SlidesAddOnManifest.getDefaultInstance() : slides_; + return slides_ == null + ? com.google.apps.script.type.slides.SlidesAddOnManifest.getDefaultInstance() + : slides_; } } /** + * + * *
      * Slides add-on configuration.
      * 
@@ -2095,14 +2433,17 @@ public com.google.apps.script.type.slides.SlidesAddOnManifestOrBuilder getSlides * .google.apps.script.type.slides.SlidesAddOnManifest slides = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.slides.SlidesAddOnManifest, com.google.apps.script.type.slides.SlidesAddOnManifest.Builder, com.google.apps.script.type.slides.SlidesAddOnManifestOrBuilder> + com.google.apps.script.type.slides.SlidesAddOnManifest, + com.google.apps.script.type.slides.SlidesAddOnManifest.Builder, + com.google.apps.script.type.slides.SlidesAddOnManifestOrBuilder> getSlidesFieldBuilder() { if (slidesBuilder_ == null) { - slidesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.slides.SlidesAddOnManifest, com.google.apps.script.type.slides.SlidesAddOnManifest.Builder, com.google.apps.script.type.slides.SlidesAddOnManifestOrBuilder>( - getSlides(), - getParentForChildren(), - isClean()); + slidesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.apps.script.type.slides.SlidesAddOnManifest, + com.google.apps.script.type.slides.SlidesAddOnManifest.Builder, + com.google.apps.script.type.slides.SlidesAddOnManifestOrBuilder>( + getSlides(), getParentForChildren(), isClean()); slides_ = null; } return slidesBuilder_; @@ -2110,34 +2451,47 @@ public com.google.apps.script.type.slides.SlidesAddOnManifestOrBuilder getSlides private com.google.apps.script.type.HttpOptions httpOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.HttpOptions, com.google.apps.script.type.HttpOptions.Builder, com.google.apps.script.type.HttpOptionsOrBuilder> httpOptionsBuilder_; + com.google.apps.script.type.HttpOptions, + com.google.apps.script.type.HttpOptions.Builder, + com.google.apps.script.type.HttpOptionsOrBuilder> + httpOptionsBuilder_; /** + * + * *
      * Options for sending requests to add-on HTTP endpoints
      * 
* * .google.apps.script.type.HttpOptions http_options = 15; + * * @return Whether the httpOptions field is set. */ public boolean hasHttpOptions() { return httpOptionsBuilder_ != null || httpOptions_ != null; } /** + * + * *
      * Options for sending requests to add-on HTTP endpoints
      * 
* * .google.apps.script.type.HttpOptions http_options = 15; + * * @return The httpOptions. */ public com.google.apps.script.type.HttpOptions getHttpOptions() { if (httpOptionsBuilder_ == null) { - return httpOptions_ == null ? com.google.apps.script.type.HttpOptions.getDefaultInstance() : httpOptions_; + return httpOptions_ == null + ? com.google.apps.script.type.HttpOptions.getDefaultInstance() + : httpOptions_; } else { return httpOptionsBuilder_.getMessage(); } } /** + * + * *
      * Options for sending requests to add-on HTTP endpoints
      * 
@@ -2158,14 +2512,15 @@ public Builder setHttpOptions(com.google.apps.script.type.HttpOptions value) { return this; } /** + * + * *
      * Options for sending requests to add-on HTTP endpoints
      * 
* * .google.apps.script.type.HttpOptions http_options = 15; */ - public Builder setHttpOptions( - com.google.apps.script.type.HttpOptions.Builder builderForValue) { + public Builder setHttpOptions(com.google.apps.script.type.HttpOptions.Builder builderForValue) { if (httpOptionsBuilder_ == null) { httpOptions_ = builderForValue.build(); onChanged(); @@ -2176,6 +2531,8 @@ public Builder setHttpOptions( return this; } /** + * + * *
      * Options for sending requests to add-on HTTP endpoints
      * 
@@ -2186,7 +2543,9 @@ public Builder mergeHttpOptions(com.google.apps.script.type.HttpOptions value) { if (httpOptionsBuilder_ == null) { if (httpOptions_ != null) { httpOptions_ = - com.google.apps.script.type.HttpOptions.newBuilder(httpOptions_).mergeFrom(value).buildPartial(); + com.google.apps.script.type.HttpOptions.newBuilder(httpOptions_) + .mergeFrom(value) + .buildPartial(); } else { httpOptions_ = value; } @@ -2198,6 +2557,8 @@ public Builder mergeHttpOptions(com.google.apps.script.type.HttpOptions value) { return this; } /** + * + * *
      * Options for sending requests to add-on HTTP endpoints
      * 
@@ -2216,6 +2577,8 @@ public Builder clearHttpOptions() { return this; } /** + * + * *
      * Options for sending requests to add-on HTTP endpoints
      * 
@@ -2223,11 +2586,13 @@ public Builder clearHttpOptions() { * .google.apps.script.type.HttpOptions http_options = 15; */ public com.google.apps.script.type.HttpOptions.Builder getHttpOptionsBuilder() { - + onChanged(); return getHttpOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Options for sending requests to add-on HTTP endpoints
      * 
@@ -2238,11 +2603,14 @@ public com.google.apps.script.type.HttpOptionsOrBuilder getHttpOptionsOrBuilder( if (httpOptionsBuilder_ != null) { return httpOptionsBuilder_.getMessageOrBuilder(); } else { - return httpOptions_ == null ? - com.google.apps.script.type.HttpOptions.getDefaultInstance() : httpOptions_; + return httpOptions_ == null + ? com.google.apps.script.type.HttpOptions.getDefaultInstance() + : httpOptions_; } } /** + * + * *
      * Options for sending requests to add-on HTTP endpoints
      * 
@@ -2250,21 +2618,24 @@ public com.google.apps.script.type.HttpOptionsOrBuilder getHttpOptionsOrBuilder( * .google.apps.script.type.HttpOptions http_options = 15; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.HttpOptions, com.google.apps.script.type.HttpOptions.Builder, com.google.apps.script.type.HttpOptionsOrBuilder> + com.google.apps.script.type.HttpOptions, + com.google.apps.script.type.HttpOptions.Builder, + com.google.apps.script.type.HttpOptionsOrBuilder> getHttpOptionsFieldBuilder() { if (httpOptionsBuilder_ == null) { - httpOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.apps.script.type.HttpOptions, com.google.apps.script.type.HttpOptions.Builder, com.google.apps.script.type.HttpOptionsOrBuilder>( - getHttpOptions(), - getParentForChildren(), - isClean()); + httpOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.apps.script.type.HttpOptions, + com.google.apps.script.type.HttpOptions.Builder, + com.google.apps.script.type.HttpOptionsOrBuilder>( + getHttpOptions(), getParentForChildren(), isClean()); httpOptions_ = null; } return httpOptionsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2274,12 +2645,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gsuiteaddons.v1.AddOns) } // @@protoc_insertion_point(class_scope:google.cloud.gsuiteaddons.v1.AddOns) private static final com.google.cloud.gsuiteaddons.v1.AddOns DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gsuiteaddons.v1.AddOns(); } @@ -2288,16 +2659,16 @@ public static com.google.cloud.gsuiteaddons.v1.AddOns getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AddOns parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AddOns(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AddOns parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AddOns(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2312,6 +2683,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gsuiteaddons.v1.AddOns getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AddOnsOrBuilder.java b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AddOnsOrBuilder.java similarity index 86% rename from owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AddOnsOrBuilder.java rename to proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AddOnsOrBuilder.java index 8fcc434f..ddaff241 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AddOnsOrBuilder.java +++ b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AddOnsOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; -public interface AddOnsOrBuilder extends +public interface AddOnsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.AddOns) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Configuration that is common across all Google Workspace Add-ons.
    * 
* * .google.apps.script.type.CommonAddOnManifest common = 1; + * * @return Whether the common field is set. */ boolean hasCommon(); /** + * + * *
    * Configuration that is common across all Google Workspace Add-ons.
    * 
* * .google.apps.script.type.CommonAddOnManifest common = 1; + * * @return The common. */ com.google.apps.script.type.CommonAddOnManifest getCommon(); /** + * + * *
    * Configuration that is common across all Google Workspace Add-ons.
    * 
@@ -35,24 +59,32 @@ public interface AddOnsOrBuilder extends com.google.apps.script.type.CommonAddOnManifestOrBuilder getCommonOrBuilder(); /** + * + * *
    * Gmail add-on configuration.
    * 
* * .google.apps.script.type.gmail.GmailAddOnManifest gmail = 2; + * * @return Whether the gmail field is set. */ boolean hasGmail(); /** + * + * *
    * Gmail add-on configuration.
    * 
* * .google.apps.script.type.gmail.GmailAddOnManifest gmail = 2; + * * @return The gmail. */ com.google.apps.script.type.gmail.GmailAddOnManifest getGmail(); /** + * + * *
    * Gmail add-on configuration.
    * 
@@ -62,24 +94,32 @@ public interface AddOnsOrBuilder extends com.google.apps.script.type.gmail.GmailAddOnManifestOrBuilder getGmailOrBuilder(); /** + * + * *
    * Drive add-on configuration.
    * 
* * .google.apps.script.type.drive.DriveAddOnManifest drive = 5; + * * @return Whether the drive field is set. */ boolean hasDrive(); /** + * + * *
    * Drive add-on configuration.
    * 
* * .google.apps.script.type.drive.DriveAddOnManifest drive = 5; + * * @return The drive. */ com.google.apps.script.type.drive.DriveAddOnManifest getDrive(); /** + * + * *
    * Drive add-on configuration.
    * 
@@ -89,24 +129,32 @@ public interface AddOnsOrBuilder extends com.google.apps.script.type.drive.DriveAddOnManifestOrBuilder getDriveOrBuilder(); /** + * + * *
    * Calendar add-on configuration.
    * 
* * .google.apps.script.type.calendar.CalendarAddOnManifest calendar = 6; + * * @return Whether the calendar field is set. */ boolean hasCalendar(); /** + * + * *
    * Calendar add-on configuration.
    * 
* * .google.apps.script.type.calendar.CalendarAddOnManifest calendar = 6; + * * @return The calendar. */ com.google.apps.script.type.calendar.CalendarAddOnManifest getCalendar(); /** + * + * *
    * Calendar add-on configuration.
    * 
@@ -116,24 +164,32 @@ public interface AddOnsOrBuilder extends com.google.apps.script.type.calendar.CalendarAddOnManifestOrBuilder getCalendarOrBuilder(); /** + * + * *
    * Docs add-on configuration.
    * 
* * .google.apps.script.type.docs.DocsAddOnManifest docs = 7; + * * @return Whether the docs field is set. */ boolean hasDocs(); /** + * + * *
    * Docs add-on configuration.
    * 
* * .google.apps.script.type.docs.DocsAddOnManifest docs = 7; + * * @return The docs. */ com.google.apps.script.type.docs.DocsAddOnManifest getDocs(); /** + * + * *
    * Docs add-on configuration.
    * 
@@ -143,24 +199,32 @@ public interface AddOnsOrBuilder extends com.google.apps.script.type.docs.DocsAddOnManifestOrBuilder getDocsOrBuilder(); /** + * + * *
    * Sheets add-on configuration.
    * 
* * .google.apps.script.type.sheets.SheetsAddOnManifest sheets = 8; + * * @return Whether the sheets field is set. */ boolean hasSheets(); /** + * + * *
    * Sheets add-on configuration.
    * 
* * .google.apps.script.type.sheets.SheetsAddOnManifest sheets = 8; + * * @return The sheets. */ com.google.apps.script.type.sheets.SheetsAddOnManifest getSheets(); /** + * + * *
    * Sheets add-on configuration.
    * 
@@ -170,24 +234,32 @@ public interface AddOnsOrBuilder extends com.google.apps.script.type.sheets.SheetsAddOnManifestOrBuilder getSheetsOrBuilder(); /** + * + * *
    * Slides add-on configuration.
    * 
* * .google.apps.script.type.slides.SlidesAddOnManifest slides = 10; + * * @return Whether the slides field is set. */ boolean hasSlides(); /** + * + * *
    * Slides add-on configuration.
    * 
* * .google.apps.script.type.slides.SlidesAddOnManifest slides = 10; + * * @return The slides. */ com.google.apps.script.type.slides.SlidesAddOnManifest getSlides(); /** + * + * *
    * Slides add-on configuration.
    * 
@@ -197,24 +269,32 @@ public interface AddOnsOrBuilder extends com.google.apps.script.type.slides.SlidesAddOnManifestOrBuilder getSlidesOrBuilder(); /** + * + * *
    * Options for sending requests to add-on HTTP endpoints
    * 
* * .google.apps.script.type.HttpOptions http_options = 15; + * * @return Whether the httpOptions field is set. */ boolean hasHttpOptions(); /** + * + * *
    * Options for sending requests to add-on HTTP endpoints
    * 
* * .google.apps.script.type.HttpOptions http_options = 15; + * * @return The httpOptions. */ com.google.apps.script.type.HttpOptions getHttpOptions(); /** + * + * *
    * Options for sending requests to add-on HTTP endpoints
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/Authorization.java b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/Authorization.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/Authorization.java rename to proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/Authorization.java index 0efd4c83..c2616505 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/Authorization.java +++ b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/Authorization.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; /** + * + * *
  * The authorization information used when invoking deployment endpoints.
  * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.Authorization} */ -public final class Authorization extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Authorization extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gsuiteaddons.v1.Authorization) AuthorizationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Authorization.newBuilder() to construct. private Authorization(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Authorization() { name_ = ""; serviceAccountEmail_ = ""; @@ -27,16 +45,15 @@ private Authorization() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Authorization(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Authorization( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,31 +72,34 @@ private Authorization( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - serviceAccountEmail_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + serviceAccountEmail_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - oauthClientId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + oauthClientId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,35 +107,40 @@ private Authorization( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_Authorization_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_Authorization_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_Authorization_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_Authorization_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.Authorization.class, com.google.cloud.gsuiteaddons.v1.Authorization.Builder.class); + com.google.cloud.gsuiteaddons.v1.Authorization.class, + com.google.cloud.gsuiteaddons.v1.Authorization.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The canonical full name of this resource.
    * Example:  `projects/123/authorization`
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -124,30 +149,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The canonical full name of this resource.
    * Example:  `projects/123/authorization`
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -158,12 +183,15 @@ public java.lang.String getName() { public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 2; private volatile java.lang.Object serviceAccountEmail_; /** + * + * *
    * The email address of the service account used to authenticate requests to
    * add-on callback endpoints.
    * 
* * string service_account_email = 2; + * * @return The serviceAccountEmail. */ @java.lang.Override @@ -172,30 +200,30 @@ public java.lang.String getServiceAccountEmail() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; } } /** + * + * *
    * The email address of the service account used to authenticate requests to
    * add-on callback endpoints.
    * 
* * string service_account_email = 2; + * * @return The bytes for serviceAccountEmail. */ @java.lang.Override - public com.google.protobuf.ByteString - getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -206,12 +234,15 @@ public java.lang.String getServiceAccountEmail() { public static final int OAUTH_CLIENT_ID_FIELD_NUMBER = 3; private volatile java.lang.Object oauthClientId_; /** + * + * *
    * The OAuth client ID used to obtain OAuth access tokens for a user on the
    * add-on's behalf.
    * 
* * string oauth_client_id = 3; + * * @return The oauthClientId. */ @java.lang.Override @@ -220,30 +251,30 @@ public java.lang.String getOauthClientId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); oauthClientId_ = s; return s; } } /** + * + * *
    * The OAuth client ID used to obtain OAuth access tokens for a user on the
    * add-on's behalf.
    * 
* * string oauth_client_id = 3; + * * @return The bytes for oauthClientId. */ @java.lang.Override - public com.google.protobuf.ByteString - getOauthClientIdBytes() { + public com.google.protobuf.ByteString getOauthClientIdBytes() { java.lang.Object ref = oauthClientId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); oauthClientId_ = b; return b; } else { @@ -252,6 +283,7 @@ public java.lang.String getOauthClientId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,8 +295,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -300,19 +331,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gsuiteaddons.v1.Authorization)) { return super.equals(obj); } - com.google.cloud.gsuiteaddons.v1.Authorization other = (com.google.cloud.gsuiteaddons.v1.Authorization) obj; + com.google.cloud.gsuiteaddons.v1.Authorization other = + (com.google.cloud.gsuiteaddons.v1.Authorization) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getServiceAccountEmail() - .equals(other.getServiceAccountEmail())) return false; - if (!getOauthClientId() - .equals(other.getOauthClientId())) return false; + if (!getName().equals(other.getName())) return false; + if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false; + if (!getOauthClientId().equals(other.getOauthClientId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -335,118 +364,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.gsuiteaddons.v1.Authorization parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.gsuiteaddons.v1.Authorization parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.Authorization parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.Authorization parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.Authorization parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.Authorization parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.Authorization parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.Authorization parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.Authorization parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.Authorization parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.gsuiteaddons.v1.Authorization parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.Authorization parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.Authorization parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.Authorization parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gsuiteaddons.v1.Authorization prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The authorization information used when invoking deployment endpoints.
    * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.Authorization} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gsuiteaddons.v1.Authorization) com.google.cloud.gsuiteaddons.v1.AuthorizationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_Authorization_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_Authorization_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_Authorization_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_Authorization_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.Authorization.class, com.google.cloud.gsuiteaddons.v1.Authorization.Builder.class); + com.google.cloud.gsuiteaddons.v1.Authorization.class, + com.google.cloud.gsuiteaddons.v1.Authorization.Builder.class); } // Construct using com.google.cloud.gsuiteaddons.v1.Authorization.newBuilder() @@ -454,16 +492,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -477,9 +514,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_Authorization_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_Authorization_descriptor; } @java.lang.Override @@ -498,7 +535,8 @@ public com.google.cloud.gsuiteaddons.v1.Authorization build() { @java.lang.Override public com.google.cloud.gsuiteaddons.v1.Authorization buildPartial() { - com.google.cloud.gsuiteaddons.v1.Authorization result = new com.google.cloud.gsuiteaddons.v1.Authorization(this); + com.google.cloud.gsuiteaddons.v1.Authorization result = + new com.google.cloud.gsuiteaddons.v1.Authorization(this); result.name_ = name_; result.serviceAccountEmail_ = serviceAccountEmail_; result.oauthClientId_ = oauthClientId_; @@ -510,38 +548,39 @@ public com.google.cloud.gsuiteaddons.v1.Authorization buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gsuiteaddons.v1.Authorization) { - return mergeFrom((com.google.cloud.gsuiteaddons.v1.Authorization)other); + return mergeFrom((com.google.cloud.gsuiteaddons.v1.Authorization) other); } else { super.mergeFrom(other); return this; @@ -593,19 +632,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The canonical full name of this resource.
      * Example:  `projects/123/authorization`
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -614,21 +655,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The canonical full name of this resource.
      * Example:  `projects/123/authorization`
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -636,57 +678,64 @@ public java.lang.String getName() { } } /** + * + * *
      * The canonical full name of this resource.
      * Example:  `projects/123/authorization`
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The canonical full name of this resource.
      * Example:  `projects/123/authorization`
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The canonical full name of this resource.
      * Example:  `projects/123/authorization`
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -694,19 +743,21 @@ public Builder setNameBytes( private java.lang.Object serviceAccountEmail_ = ""; /** + * + * *
      * The email address of the service account used to authenticate requests to
      * add-on callback endpoints.
      * 
* * string service_account_email = 2; + * * @return The serviceAccountEmail. */ public java.lang.String getServiceAccountEmail() { java.lang.Object ref = serviceAccountEmail_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAccountEmail_ = s; return s; @@ -715,21 +766,22 @@ public java.lang.String getServiceAccountEmail() { } } /** + * + * *
      * The email address of the service account used to authenticate requests to
      * add-on callback endpoints.
      * 
* * string service_account_email = 2; + * * @return The bytes for serviceAccountEmail. */ - public com.google.protobuf.ByteString - getServiceAccountEmailBytes() { + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { java.lang.Object ref = serviceAccountEmail_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); serviceAccountEmail_ = b; return b; } else { @@ -737,57 +789,64 @@ public java.lang.String getServiceAccountEmail() { } } /** + * + * *
      * The email address of the service account used to authenticate requests to
      * add-on callback endpoints.
      * 
* * string service_account_email = 2; + * * @param value The serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmail( - java.lang.String value) { + public Builder setServiceAccountEmail(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccountEmail_ = value; onChanged(); return this; } /** + * + * *
      * The email address of the service account used to authenticate requests to
      * add-on callback endpoints.
      * 
* * string service_account_email = 2; + * * @return This builder for chaining. */ public Builder clearServiceAccountEmail() { - + serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail(); onChanged(); return this; } /** + * + * *
      * The email address of the service account used to authenticate requests to
      * add-on callback endpoints.
      * 
* * string service_account_email = 2; + * * @param value The bytes for serviceAccountEmail to set. * @return This builder for chaining. */ - public Builder setServiceAccountEmailBytes( - com.google.protobuf.ByteString value) { + public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccountEmail_ = value; onChanged(); return this; @@ -795,19 +854,21 @@ public Builder setServiceAccountEmailBytes( private java.lang.Object oauthClientId_ = ""; /** + * + * *
      * The OAuth client ID used to obtain OAuth access tokens for a user on the
      * add-on's behalf.
      * 
* * string oauth_client_id = 3; + * * @return The oauthClientId. */ public java.lang.String getOauthClientId() { java.lang.Object ref = oauthClientId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); oauthClientId_ = s; return s; @@ -816,21 +877,22 @@ public java.lang.String getOauthClientId() { } } /** + * + * *
      * The OAuth client ID used to obtain OAuth access tokens for a user on the
      * add-on's behalf.
      * 
* * string oauth_client_id = 3; + * * @return The bytes for oauthClientId. */ - public com.google.protobuf.ByteString - getOauthClientIdBytes() { + public com.google.protobuf.ByteString getOauthClientIdBytes() { java.lang.Object ref = oauthClientId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); oauthClientId_ = b; return b; } else { @@ -838,64 +900,71 @@ public java.lang.String getOauthClientId() { } } /** + * + * *
      * The OAuth client ID used to obtain OAuth access tokens for a user on the
      * add-on's behalf.
      * 
* * string oauth_client_id = 3; + * * @param value The oauthClientId to set. * @return This builder for chaining. */ - public Builder setOauthClientId( - java.lang.String value) { + public Builder setOauthClientId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + oauthClientId_ = value; onChanged(); return this; } /** + * + * *
      * The OAuth client ID used to obtain OAuth access tokens for a user on the
      * add-on's behalf.
      * 
* * string oauth_client_id = 3; + * * @return This builder for chaining. */ public Builder clearOauthClientId() { - + oauthClientId_ = getDefaultInstance().getOauthClientId(); onChanged(); return this; } /** + * + * *
      * The OAuth client ID used to obtain OAuth access tokens for a user on the
      * add-on's behalf.
      * 
* * string oauth_client_id = 3; + * * @param value The bytes for oauthClientId to set. * @return This builder for chaining. */ - public Builder setOauthClientIdBytes( - com.google.protobuf.ByteString value) { + public Builder setOauthClientIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + oauthClientId_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -905,12 +974,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gsuiteaddons.v1.Authorization) } // @@protoc_insertion_point(class_scope:google.cloud.gsuiteaddons.v1.Authorization) private static final com.google.cloud.gsuiteaddons.v1.Authorization DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gsuiteaddons.v1.Authorization(); } @@ -919,16 +988,16 @@ public static com.google.cloud.gsuiteaddons.v1.Authorization getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Authorization parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Authorization(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Authorization parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Authorization(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -943,6 +1012,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gsuiteaddons.v1.Authorization getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AuthorizationName.java b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AuthorizationName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AuthorizationName.java rename to proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AuthorizationName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AuthorizationOrBuilder.java b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AuthorizationOrBuilder.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AuthorizationOrBuilder.java rename to proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AuthorizationOrBuilder.java index ed2a04f9..5a5e314d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AuthorizationOrBuilder.java +++ b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/AuthorizationOrBuilder.java @@ -1,75 +1,106 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; -public interface AuthorizationOrBuilder extends +public interface AuthorizationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.Authorization) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The canonical full name of this resource.
    * Example:  `projects/123/authorization`
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The canonical full name of this resource.
    * Example:  `projects/123/authorization`
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The email address of the service account used to authenticate requests to
    * add-on callback endpoints.
    * 
* * string service_account_email = 2; + * * @return The serviceAccountEmail. */ java.lang.String getServiceAccountEmail(); /** + * + * *
    * The email address of the service account used to authenticate requests to
    * add-on callback endpoints.
    * 
* * string service_account_email = 2; + * * @return The bytes for serviceAccountEmail. */ - com.google.protobuf.ByteString - getServiceAccountEmailBytes(); + com.google.protobuf.ByteString getServiceAccountEmailBytes(); /** + * + * *
    * The OAuth client ID used to obtain OAuth access tokens for a user on the
    * add-on's behalf.
    * 
* * string oauth_client_id = 3; + * * @return The oauthClientId. */ java.lang.String getOauthClientId(); /** + * + * *
    * The OAuth client ID used to obtain OAuth access tokens for a user on the
    * add-on's behalf.
    * 
* * string oauth_client_id = 3; + * * @return The bytes for oauthClientId. */ - com.google.protobuf.ByteString - getOauthClientIdBytes(); + com.google.protobuf.ByteString getOauthClientIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/CreateDeploymentRequest.java b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/CreateDeploymentRequest.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/CreateDeploymentRequest.java rename to proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/CreateDeploymentRequest.java index 38bf77a9..1e560c28 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/CreateDeploymentRequest.java +++ b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/CreateDeploymentRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; /** + * + * *
  * Request message to create a deployment.
  * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.CreateDeploymentRequest} */ -public final class CreateDeploymentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateDeploymentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gsuiteaddons.v1.CreateDeploymentRequest) CreateDeploymentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateDeploymentRequest.newBuilder() to construct. private CreateDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateDeploymentRequest() { parent_ = ""; deploymentId_ = ""; @@ -26,16 +44,15 @@ private CreateDeploymentRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,43 @@ private CreateDeploymentRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - deploymentId_ = s; - break; - } - case 26: { - com.google.cloud.gsuiteaddons.v1.Deployment.Builder subBuilder = null; - if (deployment_ != null) { - subBuilder = deployment_.toBuilder(); + parent_ = s; + break; } - deployment_ = input.readMessage(com.google.cloud.gsuiteaddons.v1.Deployment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(deployment_); - deployment_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + deploymentId_ = s; + break; } + case 26: + { + com.google.cloud.gsuiteaddons.v1.Deployment.Builder subBuilder = null; + if (deployment_ != null) { + subBuilder = deployment_.toBuilder(); + } + deployment_ = + input.readMessage( + com.google.cloud.gsuiteaddons.v1.Deployment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(deployment_); + deployment_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,35 +115,42 @@ private CreateDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_CreateDeploymentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_CreateDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_CreateDeploymentRequest_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_CreateDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest.class, com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest.Builder.class); + com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest.class, + com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Name of the project in which to create the deployment.
    * Example: `projects/my_project`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -130,30 +159,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Name of the project in which to create the deployment.
    * Example: `projects/my_project`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -164,12 +195,15 @@ public java.lang.String getParent() { public static final int DEPLOYMENT_ID_FIELD_NUMBER = 2; private volatile java.lang.Object deploymentId_; /** + * + * *
    * Required. The id to use for this deployment.  The full name of the created
    * resource will be `projects/<project_number>/deployments/<deployment_id>`.
    * 
* * string deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The deploymentId. */ @java.lang.Override @@ -178,30 +212,30 @@ public java.lang.String getDeploymentId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deploymentId_ = s; return s; } } /** + * + * *
    * Required. The id to use for this deployment.  The full name of the created
    * resource will be `projects/<project_number>/deployments/<deployment_id>`.
    * 
* * string deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for deploymentId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDeploymentIdBytes() { + public com.google.protobuf.ByteString getDeploymentIdBytes() { java.lang.Object ref = deploymentId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); deploymentId_ = b; return b; } else { @@ -212,11 +246,16 @@ public java.lang.String getDeploymentId() { public static final int DEPLOYMENT_FIELD_NUMBER = 3; private com.google.cloud.gsuiteaddons.v1.Deployment deployment_; /** + * + * *
    * Required. The deployment to create (deployment.name cannot be set).
    * 
* - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the deployment field is set. */ @java.lang.Override @@ -224,23 +263,34 @@ public boolean hasDeployment() { return deployment_ != null; } /** + * + * *
    * Required. The deployment to create (deployment.name cannot be set).
    * 
* - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The deployment. */ @java.lang.Override public com.google.cloud.gsuiteaddons.v1.Deployment getDeployment() { - return deployment_ == null ? com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance() : deployment_; + return deployment_ == null + ? com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance() + : deployment_; } /** + * + * *
    * Required. The deployment to create (deployment.name cannot be set).
    * 
* - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder getDeploymentOrBuilder() { @@ -248,6 +298,7 @@ public com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder getDeploymentOrBuild } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -259,8 +310,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -286,8 +336,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, deploymentId_); } if (deployment_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getDeployment()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDeployment()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -297,21 +346,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest other = (com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest) obj; + com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest other = + (com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getDeploymentId() - .equals(other.getDeploymentId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getDeploymentId().equals(other.getDeploymentId())) return false; if (hasDeployment() != other.hasDeployment()) return false; if (hasDeployment()) { - if (!getDeployment() - .equals(other.getDeployment())) return false; + if (!getDeployment().equals(other.getDeployment())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -338,117 +385,127 @@ public int hashCode() { } public static com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message to create a deployment.
    * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.CreateDeploymentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gsuiteaddons.v1.CreateDeploymentRequest) com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_CreateDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_CreateDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_CreateDeploymentRequest_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_CreateDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest.class, com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest.Builder.class); + com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest.class, + com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest.Builder.class); } // Construct using com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest.newBuilder() @@ -456,16 +513,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -483,9 +539,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_CreateDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_CreateDeploymentRequest_descriptor; } @java.lang.Override @@ -504,7 +560,8 @@ public com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest build() { @java.lang.Override public com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest buildPartial() { - com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest result = new com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest(this); + com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest result = + new com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest(this); result.parent_ = parent_; result.deploymentId_ = deploymentId_; if (deploymentBuilder_ == null) { @@ -520,38 +577,39 @@ public com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest) { - return mergeFrom((com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest)other); + return mergeFrom((com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest) other); } else { super.mergeFrom(other); return this; @@ -559,7 +617,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest other) { - if (other == com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -590,7 +649,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -602,19 +662,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Name of the project in which to create the deployment.
      * Example: `projects/my_project`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -623,21 +687,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Name of the project in which to create the deployment.
      * Example: `projects/my_project`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -645,57 +712,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Name of the project in which to create the deployment.
      * Example: `projects/my_project`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Name of the project in which to create the deployment.
      * Example: `projects/my_project`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Name of the project in which to create the deployment.
      * Example: `projects/my_project`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -703,19 +783,21 @@ public Builder setParentBytes( private java.lang.Object deploymentId_ = ""; /** + * + * *
      * Required. The id to use for this deployment.  The full name of the created
      * resource will be `projects/<project_number>/deployments/<deployment_id>`.
      * 
* * string deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The deploymentId. */ public java.lang.String getDeploymentId() { java.lang.Object ref = deploymentId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); deploymentId_ = s; return s; @@ -724,21 +806,22 @@ public java.lang.String getDeploymentId() { } } /** + * + * *
      * Required. The id to use for this deployment.  The full name of the created
      * resource will be `projects/<project_number>/deployments/<deployment_id>`.
      * 
* * string deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for deploymentId. */ - public com.google.protobuf.ByteString - getDeploymentIdBytes() { + public com.google.protobuf.ByteString getDeploymentIdBytes() { java.lang.Object ref = deploymentId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); deploymentId_ = b; return b; } else { @@ -746,57 +829,64 @@ public java.lang.String getDeploymentId() { } } /** + * + * *
      * Required. The id to use for this deployment.  The full name of the created
      * resource will be `projects/<project_number>/deployments/<deployment_id>`.
      * 
* * string deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The deploymentId to set. * @return This builder for chaining. */ - public Builder setDeploymentId( - java.lang.String value) { + public Builder setDeploymentId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + deploymentId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The id to use for this deployment.  The full name of the created
      * resource will be `projects/<project_number>/deployments/<deployment_id>`.
      * 
* * string deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDeploymentId() { - + deploymentId_ = getDefaultInstance().getDeploymentId(); onChanged(); return this; } /** + * + * *
      * Required. The id to use for this deployment.  The full name of the created
      * resource will be `projects/<project_number>/deployments/<deployment_id>`.
      * 
* * string deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for deploymentId to set. * @return This builder for chaining. */ - public Builder setDeploymentIdBytes( - com.google.protobuf.ByteString value) { + public Builder setDeploymentIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + deploymentId_ = value; onChanged(); return this; @@ -804,39 +894,58 @@ public Builder setDeploymentIdBytes( private com.google.cloud.gsuiteaddons.v1.Deployment deployment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gsuiteaddons.v1.Deployment, com.google.cloud.gsuiteaddons.v1.Deployment.Builder, com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder> deploymentBuilder_; + com.google.cloud.gsuiteaddons.v1.Deployment, + com.google.cloud.gsuiteaddons.v1.Deployment.Builder, + com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder> + deploymentBuilder_; /** + * + * *
      * Required. The deployment to create (deployment.name cannot be set).
      * 
* - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the deployment field is set. */ public boolean hasDeployment() { return deploymentBuilder_ != null || deployment_ != null; } /** + * + * *
      * Required. The deployment to create (deployment.name cannot be set).
      * 
* - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The deployment. */ public com.google.cloud.gsuiteaddons.v1.Deployment getDeployment() { if (deploymentBuilder_ == null) { - return deployment_ == null ? com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance() : deployment_; + return deployment_ == null + ? com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance() + : deployment_; } else { return deploymentBuilder_.getMessage(); } } /** + * + * *
      * Required. The deployment to create (deployment.name cannot be set).
      * 
* - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDeployment(com.google.cloud.gsuiteaddons.v1.Deployment value) { if (deploymentBuilder_ == null) { @@ -852,11 +961,15 @@ public Builder setDeployment(com.google.cloud.gsuiteaddons.v1.Deployment value) return this; } /** + * + * *
      * Required. The deployment to create (deployment.name cannot be set).
      * 
* - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDeployment( com.google.cloud.gsuiteaddons.v1.Deployment.Builder builderForValue) { @@ -870,17 +983,23 @@ public Builder setDeployment( return this; } /** + * + * *
      * Required. The deployment to create (deployment.name cannot be set).
      * 
* - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeDeployment(com.google.cloud.gsuiteaddons.v1.Deployment value) { if (deploymentBuilder_ == null) { if (deployment_ != null) { deployment_ = - com.google.cloud.gsuiteaddons.v1.Deployment.newBuilder(deployment_).mergeFrom(value).buildPartial(); + com.google.cloud.gsuiteaddons.v1.Deployment.newBuilder(deployment_) + .mergeFrom(value) + .buildPartial(); } else { deployment_ = value; } @@ -892,11 +1011,15 @@ public Builder mergeDeployment(com.google.cloud.gsuiteaddons.v1.Deployment value return this; } /** + * + * *
      * Required. The deployment to create (deployment.name cannot be set).
      * 
* - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDeployment() { if (deploymentBuilder_ == null) { @@ -910,55 +1033,71 @@ public Builder clearDeployment() { return this; } /** + * + * *
      * Required. The deployment to create (deployment.name cannot be set).
      * 
* - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gsuiteaddons.v1.Deployment.Builder getDeploymentBuilder() { - + onChanged(); return getDeploymentFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The deployment to create (deployment.name cannot be set).
      * 
* - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder getDeploymentOrBuilder() { if (deploymentBuilder_ != null) { return deploymentBuilder_.getMessageOrBuilder(); } else { - return deployment_ == null ? - com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance() : deployment_; + return deployment_ == null + ? com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance() + : deployment_; } } /** + * + * *
      * Required. The deployment to create (deployment.name cannot be set).
      * 
* - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gsuiteaddons.v1.Deployment, com.google.cloud.gsuiteaddons.v1.Deployment.Builder, com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder> + com.google.cloud.gsuiteaddons.v1.Deployment, + com.google.cloud.gsuiteaddons.v1.Deployment.Builder, + com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder> getDeploymentFieldBuilder() { if (deploymentBuilder_ == null) { - deploymentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gsuiteaddons.v1.Deployment, com.google.cloud.gsuiteaddons.v1.Deployment.Builder, com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder>( - getDeployment(), - getParentForChildren(), - isClean()); + deploymentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gsuiteaddons.v1.Deployment, + com.google.cloud.gsuiteaddons.v1.Deployment.Builder, + com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder>( + getDeployment(), getParentForChildren(), isClean()); deployment_ = null; } return deploymentBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -968,12 +1107,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gsuiteaddons.v1.CreateDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gsuiteaddons.v1.CreateDeploymentRequest) private static final com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest(); } @@ -982,16 +1121,16 @@ public static com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1006,6 +1145,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gsuiteaddons.v1.CreateDeploymentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/CreateDeploymentRequestOrBuilder.java b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/CreateDeploymentRequestOrBuilder.java similarity index 56% rename from owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/CreateDeploymentRequestOrBuilder.java rename to proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/CreateDeploymentRequestOrBuilder.java index acd801fa..1a86a642 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/CreateDeploymentRequestOrBuilder.java +++ b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/CreateDeploymentRequestOrBuilder.java @@ -1,80 +1,124 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; -public interface CreateDeploymentRequestOrBuilder extends +public interface CreateDeploymentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.CreateDeploymentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Name of the project in which to create the deployment.
    * Example: `projects/my_project`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Name of the project in which to create the deployment.
    * Example: `projects/my_project`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The id to use for this deployment.  The full name of the created
    * resource will be `projects/<project_number>/deployments/<deployment_id>`.
    * 
* * string deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The deploymentId. */ java.lang.String getDeploymentId(); /** + * + * *
    * Required. The id to use for this deployment.  The full name of the created
    * resource will be `projects/<project_number>/deployments/<deployment_id>`.
    * 
* * string deployment_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for deploymentId. */ - com.google.protobuf.ByteString - getDeploymentIdBytes(); + com.google.protobuf.ByteString getDeploymentIdBytes(); /** + * + * *
    * Required. The deployment to create (deployment.name cannot be set).
    * 
* - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the deployment field is set. */ boolean hasDeployment(); /** + * + * *
    * Required. The deployment to create (deployment.name cannot be set).
    * 
* - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The deployment. */ com.google.cloud.gsuiteaddons.v1.Deployment getDeployment(); /** + * + * *
    * Required. The deployment to create (deployment.name cannot be set).
    * 
* - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder getDeploymentOrBuilder(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeleteDeploymentRequest.java b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeleteDeploymentRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeleteDeploymentRequest.java rename to proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeleteDeploymentRequest.java index 7f093907..b1963cc2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeleteDeploymentRequest.java +++ b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeleteDeploymentRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; /** + * + * *
  * Request message to delete a deployment.
  * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest} */ -public final class DeleteDeploymentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteDeploymentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest) DeleteDeploymentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteDeploymentRequest.newBuilder() to construct. private DeleteDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteDeploymentRequest() { name_ = ""; etag_ = ""; @@ -26,16 +44,15 @@ private DeleteDeploymentRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private DeleteDeploymentRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - etag_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + etag_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,35 +99,42 @@ private DeleteDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_DeleteDeploymentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_DeleteDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_DeleteDeploymentRequest_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_DeleteDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest.class, com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest.Builder.class); + com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest.class, + com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The full resource name of the deployment to delete.
    * Example:  `projects/my_project/deployments/my_deployment`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -117,30 +143,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The full resource name of the deployment to delete.
    * Example:  `projects/my_project/deployments/my_deployment`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -151,12 +179,15 @@ public java.lang.String getName() { public static final int ETAG_FIELD_NUMBER = 2; private volatile java.lang.Object etag_; /** + * + * *
    * The etag of the deployment to delete.
    * If this is provided, it must match the server's etag.
    * 
* * string etag = 2; + * * @return The etag. */ @java.lang.Override @@ -165,30 +196,30 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** + * + * *
    * The etag of the deployment to delete.
    * If this is provided, it must match the server's etag.
    * 
* * string etag = 2; + * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -197,6 +228,7 @@ public java.lang.String getEtag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,8 +240,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -239,17 +270,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest other = (com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest) obj; + com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest other = + (com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getEtag() - .equals(other.getEtag())) return false; + if (!getName().equals(other.getName())) return false; + if (!getEtag().equals(other.getEtag())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -271,117 +301,127 @@ public int hashCode() { } public static com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message to delete a deployment.
    * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest) com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_DeleteDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_DeleteDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_DeleteDeploymentRequest_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_DeleteDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest.class, com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest.Builder.class); + com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest.class, + com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest.Builder.class); } // Construct using com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest.newBuilder() @@ -389,16 +429,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -410,9 +449,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_DeleteDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_DeleteDeploymentRequest_descriptor; } @java.lang.Override @@ -431,7 +470,8 @@ public com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest build() { @java.lang.Override public com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest buildPartial() { - com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest result = new com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest(this); + com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest result = + new com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest(this); result.name_ = name_; result.etag_ = etag_; onBuilt(); @@ -442,38 +482,39 @@ public com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest) { - return mergeFrom((com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest)other); + return mergeFrom((com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest) other); } else { super.mergeFrom(other); return this; @@ -481,7 +522,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest other) { - if (other == com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -509,7 +551,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -521,19 +564,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The full resource name of the deployment to delete.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -542,21 +589,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The full resource name of the deployment to delete.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -564,57 +614,70 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The full resource name of the deployment to delete.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The full resource name of the deployment to delete.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The full resource name of the deployment to delete.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -622,19 +685,21 @@ public Builder setNameBytes( private java.lang.Object etag_ = ""; /** + * + * *
      * The etag of the deployment to delete.
      * If this is provided, it must match the server's etag.
      * 
* * string etag = 2; + * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -643,21 +708,22 @@ public java.lang.String getEtag() { } } /** + * + * *
      * The etag of the deployment to delete.
      * If this is provided, it must match the server's etag.
      * 
* * string etag = 2; + * * @return The bytes for etag. */ - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -665,64 +731,71 @@ public java.lang.String getEtag() { } } /** + * + * *
      * The etag of the deployment to delete.
      * If this is provided, it must match the server's etag.
      * 
* * string etag = 2; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { + public Builder setEtag(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** + * + * *
      * The etag of the deployment to delete.
      * If this is provided, it must match the server's etag.
      * 
* * string etag = 2; + * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** + * + * *
      * The etag of the deployment to delete.
      * If this is provided, it must match the server's etag.
      * 
* * string etag = 2; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { + public Builder setEtagBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -732,12 +805,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest) private static final com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest(); } @@ -746,16 +819,16 @@ public static com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -770,6 +843,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeleteDeploymentRequestOrBuilder.java b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeleteDeploymentRequestOrBuilder.java similarity index 52% rename from owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeleteDeploymentRequestOrBuilder.java rename to proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeleteDeploymentRequestOrBuilder.java index 892d87ec..f499c1f3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeleteDeploymentRequestOrBuilder.java +++ b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeleteDeploymentRequestOrBuilder.java @@ -1,53 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; -public interface DeleteDeploymentRequestOrBuilder extends +public interface DeleteDeploymentRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The full resource name of the deployment to delete.
    * Example:  `projects/my_project/deployments/my_deployment`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The full resource name of the deployment to delete.
    * Example:  `projects/my_project/deployments/my_deployment`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The etag of the deployment to delete.
    * If this is provided, it must match the server's etag.
    * 
* * string etag = 2; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * The etag of the deployment to delete.
    * If this is provided, it must match the server's etag.
    * 
* * string etag = 2; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/Deployment.java b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/Deployment.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/Deployment.java rename to proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/Deployment.java index 15133910..f33c7917 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/Deployment.java +++ b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/Deployment.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; /** + * + * *
  * A Google Workspace Add-on deployment
  * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.Deployment} */ -public final class Deployment extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Deployment extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gsuiteaddons.v1.Deployment) DeploymentOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Deployment.newBuilder() to construct. private Deployment(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Deployment() { name_ = ""; oauthScopes_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -27,16 +45,15 @@ private Deployment() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Deployment(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Deployment( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,47 +73,53 @@ private Deployment( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - oauthScopes_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - oauthScopes_.add(s); - break; - } - case 26: { - com.google.cloud.gsuiteaddons.v1.AddOns.Builder subBuilder = null; - if (addOns_ != null) { - subBuilder = addOns_.toBuilder(); + name_ = s; + break; } - addOns_ = input.readMessage(com.google.cloud.gsuiteaddons.v1.AddOns.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(addOns_); - addOns_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + oauthScopes_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + oauthScopes_.add(s); + break; } + case 26: + { + com.google.cloud.gsuiteaddons.v1.AddOns.Builder subBuilder = null; + if (addOns_ != null) { + subBuilder = addOns_.toBuilder(); + } + addOns_ = + input.readMessage( + com.google.cloud.gsuiteaddons.v1.AddOns.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(addOns_); + addOns_ = subBuilder.buildPartial(); + } - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - etag_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + etag_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,8 +127,7 @@ private Deployment( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { oauthScopes_ = oauthScopes_.getUnmodifiableView(); @@ -114,28 +136,34 @@ private Deployment( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_Deployment_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_Deployment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_Deployment_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_Deployment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.Deployment.class, com.google.cloud.gsuiteaddons.v1.Deployment.Builder.class); + com.google.cloud.gsuiteaddons.v1.Deployment.class, + com.google.cloud.gsuiteaddons.v1.Deployment.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The deployment resource name.
    * Example:  projects/123/deployments/my_deployment.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -144,30 +172,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The deployment resource name.
    * Example:  projects/123/deployments/my_deployment.
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -178,37 +206,45 @@ public java.lang.String getName() { public static final int OAUTH_SCOPES_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList oauthScopes_; /** + * + * *
    * The list of Google OAuth scopes for which to request consent from the end
    * user before executing an add-on endpoint.
    * 
* * repeated string oauth_scopes = 2; + * * @return A list containing the oauthScopes. */ - public com.google.protobuf.ProtocolStringList - getOauthScopesList() { + public com.google.protobuf.ProtocolStringList getOauthScopesList() { return oauthScopes_; } /** + * + * *
    * The list of Google OAuth scopes for which to request consent from the end
    * user before executing an add-on endpoint.
    * 
* * repeated string oauth_scopes = 2; + * * @return The count of oauthScopes. */ public int getOauthScopesCount() { return oauthScopes_.size(); } /** + * + * *
    * The list of Google OAuth scopes for which to request consent from the end
    * user before executing an add-on endpoint.
    * 
* * repeated string oauth_scopes = 2; + * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ @@ -216,28 +252,33 @@ public java.lang.String getOauthScopes(int index) { return oauthScopes_.get(index); } /** + * + * *
    * The list of Google OAuth scopes for which to request consent from the end
    * user before executing an add-on endpoint.
    * 
* * repeated string oauth_scopes = 2; + * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - public com.google.protobuf.ByteString - getOauthScopesBytes(int index) { + public com.google.protobuf.ByteString getOauthScopesBytes(int index) { return oauthScopes_.getByteString(index); } public static final int ADD_ONS_FIELD_NUMBER = 3; private com.google.cloud.gsuiteaddons.v1.AddOns addOns_; /** + * + * *
    * The Google Workspace Add-on configuration.
    * 
* * .google.cloud.gsuiteaddons.v1.AddOns add_ons = 3; + * * @return Whether the addOns field is set. */ @java.lang.Override @@ -245,11 +286,14 @@ public boolean hasAddOns() { return addOns_ != null; } /** + * + * *
    * The Google Workspace Add-on configuration.
    * 
* * .google.cloud.gsuiteaddons.v1.AddOns add_ons = 3; + * * @return The addOns. */ @java.lang.Override @@ -257,6 +301,8 @@ public com.google.cloud.gsuiteaddons.v1.AddOns getAddOns() { return addOns_ == null ? com.google.cloud.gsuiteaddons.v1.AddOns.getDefaultInstance() : addOns_; } /** + * + * *
    * The Google Workspace Add-on configuration.
    * 
@@ -271,6 +317,8 @@ public com.google.cloud.gsuiteaddons.v1.AddOnsOrBuilder getAddOnsOrBuilder() { public static final int ETAG_FIELD_NUMBER = 5; private volatile java.lang.Object etag_; /** + * + * *
    * This value is computed by the server based on the version of the
    * deployment in storage, and may be sent on update and delete requests to
@@ -278,6 +326,7 @@ public com.google.cloud.gsuiteaddons.v1.AddOnsOrBuilder getAddOnsOrBuilder() {
    * 
* * string etag = 5; + * * @return The etag. */ @java.lang.Override @@ -286,14 +335,15 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** + * + * *
    * This value is computed by the server based on the version of the
    * deployment in storage, and may be sent on update and delete requests to
@@ -301,16 +351,15 @@ public java.lang.String getEtag() {
    * 
* * string etag = 5; + * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -319,6 +368,7 @@ public java.lang.String getEtag() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -330,8 +380,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -365,8 +414,7 @@ public int getSerializedSize() { size += 1 * getOauthScopesList().size(); } if (addOns_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getAddOns()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getAddOns()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, etag_); @@ -379,24 +427,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gsuiteaddons.v1.Deployment)) { return super.equals(obj); } - com.google.cloud.gsuiteaddons.v1.Deployment other = (com.google.cloud.gsuiteaddons.v1.Deployment) obj; + com.google.cloud.gsuiteaddons.v1.Deployment other = + (com.google.cloud.gsuiteaddons.v1.Deployment) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getOauthScopesList() - .equals(other.getOauthScopesList())) return false; + if (!getName().equals(other.getName())) return false; + if (!getOauthScopesList().equals(other.getOauthScopesList())) return false; if (hasAddOns() != other.hasAddOns()) return false; if (hasAddOns()) { - if (!getAddOns() - .equals(other.getAddOns())) return false; + if (!getAddOns().equals(other.getAddOns())) return false; } - if (!getEtag() - .equals(other.getEtag())) return false; + if (!getEtag().equals(other.getEtag())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -425,118 +470,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.gsuiteaddons.v1.Deployment parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.gsuiteaddons.v1.Deployment parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.Deployment parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.Deployment parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.Deployment parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.Deployment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.Deployment parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.Deployment parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.Deployment parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.Deployment parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.gsuiteaddons.v1.Deployment parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.Deployment parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.Deployment parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.Deployment parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gsuiteaddons.v1.Deployment prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A Google Workspace Add-on deployment
    * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.Deployment} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gsuiteaddons.v1.Deployment) com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_Deployment_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_Deployment_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_Deployment_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_Deployment_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.Deployment.class, com.google.cloud.gsuiteaddons.v1.Deployment.Builder.class); + com.google.cloud.gsuiteaddons.v1.Deployment.class, + com.google.cloud.gsuiteaddons.v1.Deployment.Builder.class); } // Construct using com.google.cloud.gsuiteaddons.v1.Deployment.newBuilder() @@ -544,16 +598,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -573,9 +626,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_Deployment_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_Deployment_descriptor; } @java.lang.Override @@ -594,7 +647,8 @@ public com.google.cloud.gsuiteaddons.v1.Deployment build() { @java.lang.Override public com.google.cloud.gsuiteaddons.v1.Deployment buildPartial() { - com.google.cloud.gsuiteaddons.v1.Deployment result = new com.google.cloud.gsuiteaddons.v1.Deployment(this); + com.google.cloud.gsuiteaddons.v1.Deployment result = + new com.google.cloud.gsuiteaddons.v1.Deployment(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (((bitField0_ & 0x00000001) != 0)) { @@ -616,38 +670,39 @@ public com.google.cloud.gsuiteaddons.v1.Deployment buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gsuiteaddons.v1.Deployment) { - return mergeFrom((com.google.cloud.gsuiteaddons.v1.Deployment)other); + return mergeFrom((com.google.cloud.gsuiteaddons.v1.Deployment) other); } else { super.mergeFrom(other); return this; @@ -705,23 +760,26 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * The deployment resource name.
      * Example:  projects/123/deployments/my_deployment.
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -730,21 +788,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The deployment resource name.
      * Example:  projects/123/deployments/my_deployment.
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -752,101 +811,118 @@ public java.lang.String getName() { } } /** + * + * *
      * The deployment resource name.
      * Example:  projects/123/deployments/my_deployment.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The deployment resource name.
      * Example:  projects/123/deployments/my_deployment.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The deployment resource name.
      * Example:  projects/123/deployments/my_deployment.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList oauthScopes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList oauthScopes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureOauthScopesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { oauthScopes_ = new com.google.protobuf.LazyStringArrayList(oauthScopes_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * The list of Google OAuth scopes for which to request consent from the end
      * user before executing an add-on endpoint.
      * 
* * repeated string oauth_scopes = 2; + * * @return A list containing the oauthScopes. */ - public com.google.protobuf.ProtocolStringList - getOauthScopesList() { + public com.google.protobuf.ProtocolStringList getOauthScopesList() { return oauthScopes_.getUnmodifiableView(); } /** + * + * *
      * The list of Google OAuth scopes for which to request consent from the end
      * user before executing an add-on endpoint.
      * 
* * repeated string oauth_scopes = 2; + * * @return The count of oauthScopes. */ public int getOauthScopesCount() { return oauthScopes_.size(); } /** + * + * *
      * The list of Google OAuth scopes for which to request consent from the end
      * user before executing an add-on endpoint.
      * 
* * repeated string oauth_scopes = 2; + * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ @@ -854,85 +930,95 @@ public java.lang.String getOauthScopes(int index) { return oauthScopes_.get(index); } /** + * + * *
      * The list of Google OAuth scopes for which to request consent from the end
      * user before executing an add-on endpoint.
      * 
* * repeated string oauth_scopes = 2; + * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - public com.google.protobuf.ByteString - getOauthScopesBytes(int index) { + public com.google.protobuf.ByteString getOauthScopesBytes(int index) { return oauthScopes_.getByteString(index); } /** + * + * *
      * The list of Google OAuth scopes for which to request consent from the end
      * user before executing an add-on endpoint.
      * 
* * repeated string oauth_scopes = 2; + * * @param index The index to set the value at. * @param value The oauthScopes to set. * @return This builder for chaining. */ - public Builder setOauthScopes( - int index, java.lang.String value) { + public Builder setOauthScopes(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureOauthScopesIsMutable(); + throw new NullPointerException(); + } + ensureOauthScopesIsMutable(); oauthScopes_.set(index, value); onChanged(); return this; } /** + * + * *
      * The list of Google OAuth scopes for which to request consent from the end
      * user before executing an add-on endpoint.
      * 
* * repeated string oauth_scopes = 2; + * * @param value The oauthScopes to add. * @return This builder for chaining. */ - public Builder addOauthScopes( - java.lang.String value) { + public Builder addOauthScopes(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureOauthScopesIsMutable(); + throw new NullPointerException(); + } + ensureOauthScopesIsMutable(); oauthScopes_.add(value); onChanged(); return this; } /** + * + * *
      * The list of Google OAuth scopes for which to request consent from the end
      * user before executing an add-on endpoint.
      * 
* * repeated string oauth_scopes = 2; + * * @param values The oauthScopes to add. * @return This builder for chaining. */ - public Builder addAllOauthScopes( - java.lang.Iterable values) { + public Builder addAllOauthScopes(java.lang.Iterable values) { ensureOauthScopesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, oauthScopes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, oauthScopes_); onChanged(); return this; } /** + * + * *
      * The list of Google OAuth scopes for which to request consent from the end
      * user before executing an add-on endpoint.
      * 
* * repeated string oauth_scopes = 2; + * * @return This builder for chaining. */ public Builder clearOauthScopes() { @@ -942,21 +1028,23 @@ public Builder clearOauthScopes() { return this; } /** + * + * *
      * The list of Google OAuth scopes for which to request consent from the end
      * user before executing an add-on endpoint.
      * 
* * repeated string oauth_scopes = 2; + * * @param value The bytes of the oauthScopes to add. * @return This builder for chaining. */ - public Builder addOauthScopesBytes( - com.google.protobuf.ByteString value) { + public Builder addOauthScopesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureOauthScopesIsMutable(); oauthScopes_.add(value); onChanged(); @@ -965,34 +1053,47 @@ public Builder addOauthScopesBytes( private com.google.cloud.gsuiteaddons.v1.AddOns addOns_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gsuiteaddons.v1.AddOns, com.google.cloud.gsuiteaddons.v1.AddOns.Builder, com.google.cloud.gsuiteaddons.v1.AddOnsOrBuilder> addOnsBuilder_; + com.google.cloud.gsuiteaddons.v1.AddOns, + com.google.cloud.gsuiteaddons.v1.AddOns.Builder, + com.google.cloud.gsuiteaddons.v1.AddOnsOrBuilder> + addOnsBuilder_; /** + * + * *
      * The Google Workspace Add-on configuration.
      * 
* * .google.cloud.gsuiteaddons.v1.AddOns add_ons = 3; + * * @return Whether the addOns field is set. */ public boolean hasAddOns() { return addOnsBuilder_ != null || addOns_ != null; } /** + * + * *
      * The Google Workspace Add-on configuration.
      * 
* * .google.cloud.gsuiteaddons.v1.AddOns add_ons = 3; + * * @return The addOns. */ public com.google.cloud.gsuiteaddons.v1.AddOns getAddOns() { if (addOnsBuilder_ == null) { - return addOns_ == null ? com.google.cloud.gsuiteaddons.v1.AddOns.getDefaultInstance() : addOns_; + return addOns_ == null + ? com.google.cloud.gsuiteaddons.v1.AddOns.getDefaultInstance() + : addOns_; } else { return addOnsBuilder_.getMessage(); } } /** + * + * *
      * The Google Workspace Add-on configuration.
      * 
@@ -1013,14 +1114,15 @@ public Builder setAddOns(com.google.cloud.gsuiteaddons.v1.AddOns value) { return this; } /** + * + * *
      * The Google Workspace Add-on configuration.
      * 
* * .google.cloud.gsuiteaddons.v1.AddOns add_ons = 3; */ - public Builder setAddOns( - com.google.cloud.gsuiteaddons.v1.AddOns.Builder builderForValue) { + public Builder setAddOns(com.google.cloud.gsuiteaddons.v1.AddOns.Builder builderForValue) { if (addOnsBuilder_ == null) { addOns_ = builderForValue.build(); onChanged(); @@ -1031,6 +1133,8 @@ public Builder setAddOns( return this; } /** + * + * *
      * The Google Workspace Add-on configuration.
      * 
@@ -1041,7 +1145,9 @@ public Builder mergeAddOns(com.google.cloud.gsuiteaddons.v1.AddOns value) { if (addOnsBuilder_ == null) { if (addOns_ != null) { addOns_ = - com.google.cloud.gsuiteaddons.v1.AddOns.newBuilder(addOns_).mergeFrom(value).buildPartial(); + com.google.cloud.gsuiteaddons.v1.AddOns.newBuilder(addOns_) + .mergeFrom(value) + .buildPartial(); } else { addOns_ = value; } @@ -1053,6 +1159,8 @@ public Builder mergeAddOns(com.google.cloud.gsuiteaddons.v1.AddOns value) { return this; } /** + * + * *
      * The Google Workspace Add-on configuration.
      * 
@@ -1071,6 +1179,8 @@ public Builder clearAddOns() { return this; } /** + * + * *
      * The Google Workspace Add-on configuration.
      * 
@@ -1078,11 +1188,13 @@ public Builder clearAddOns() { * .google.cloud.gsuiteaddons.v1.AddOns add_ons = 3; */ public com.google.cloud.gsuiteaddons.v1.AddOns.Builder getAddOnsBuilder() { - + onChanged(); return getAddOnsFieldBuilder().getBuilder(); } /** + * + * *
      * The Google Workspace Add-on configuration.
      * 
@@ -1093,11 +1205,14 @@ public com.google.cloud.gsuiteaddons.v1.AddOnsOrBuilder getAddOnsOrBuilder() { if (addOnsBuilder_ != null) { return addOnsBuilder_.getMessageOrBuilder(); } else { - return addOns_ == null ? - com.google.cloud.gsuiteaddons.v1.AddOns.getDefaultInstance() : addOns_; + return addOns_ == null + ? com.google.cloud.gsuiteaddons.v1.AddOns.getDefaultInstance() + : addOns_; } } /** + * + * *
      * The Google Workspace Add-on configuration.
      * 
@@ -1105,14 +1220,17 @@ public com.google.cloud.gsuiteaddons.v1.AddOnsOrBuilder getAddOnsOrBuilder() { * .google.cloud.gsuiteaddons.v1.AddOns add_ons = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gsuiteaddons.v1.AddOns, com.google.cloud.gsuiteaddons.v1.AddOns.Builder, com.google.cloud.gsuiteaddons.v1.AddOnsOrBuilder> + com.google.cloud.gsuiteaddons.v1.AddOns, + com.google.cloud.gsuiteaddons.v1.AddOns.Builder, + com.google.cloud.gsuiteaddons.v1.AddOnsOrBuilder> getAddOnsFieldBuilder() { if (addOnsBuilder_ == null) { - addOnsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gsuiteaddons.v1.AddOns, com.google.cloud.gsuiteaddons.v1.AddOns.Builder, com.google.cloud.gsuiteaddons.v1.AddOnsOrBuilder>( - getAddOns(), - getParentForChildren(), - isClean()); + addOnsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gsuiteaddons.v1.AddOns, + com.google.cloud.gsuiteaddons.v1.AddOns.Builder, + com.google.cloud.gsuiteaddons.v1.AddOnsOrBuilder>( + getAddOns(), getParentForChildren(), isClean()); addOns_ = null; } return addOnsBuilder_; @@ -1120,6 +1238,8 @@ public com.google.cloud.gsuiteaddons.v1.AddOnsOrBuilder getAddOnsOrBuilder() { private java.lang.Object etag_ = ""; /** + * + * *
      * This value is computed by the server based on the version of the
      * deployment in storage, and may be sent on update and delete requests to
@@ -1127,13 +1247,13 @@ public com.google.cloud.gsuiteaddons.v1.AddOnsOrBuilder getAddOnsOrBuilder() {
      * 
* * string etag = 5; + * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -1142,6 +1262,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * This value is computed by the server based on the version of the
      * deployment in storage, and may be sent on update and delete requests to
@@ -1149,15 +1271,14 @@ public java.lang.String getEtag() {
      * 
* * string etag = 5; + * * @return The bytes for etag. */ - public com.google.protobuf.ByteString - getEtagBytes() { + public com.google.protobuf.ByteString getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); etag_ = b; return b; } else { @@ -1165,6 +1286,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * This value is computed by the server based on the version of the
      * deployment in storage, and may be sent on update and delete requests to
@@ -1172,20 +1295,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 5; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { + public Builder setEtag(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** + * + * *
      * This value is computed by the server based on the version of the
      * deployment in storage, and may be sent on update and delete requests to
@@ -1193,15 +1318,18 @@ public Builder setEtag(
      * 
* * string etag = 5; + * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** + * + * *
      * This value is computed by the server based on the version of the
      * deployment in storage, and may be sent on update and delete requests to
@@ -1209,23 +1337,23 @@ public Builder clearEtag() {
      * 
* * string etag = 5; + * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes( - com.google.protobuf.ByteString value) { + public Builder setEtagBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1235,12 +1363,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gsuiteaddons.v1.Deployment) } // @@protoc_insertion_point(class_scope:google.cloud.gsuiteaddons.v1.Deployment) private static final com.google.cloud.gsuiteaddons.v1.Deployment DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gsuiteaddons.v1.Deployment(); } @@ -1249,16 +1377,16 @@ public static com.google.cloud.gsuiteaddons.v1.Deployment getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Deployment parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Deployment(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Deployment parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Deployment(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1273,6 +1401,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gsuiteaddons.v1.Deployment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeploymentName.java b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeploymentName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeploymentName.java rename to proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeploymentName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeploymentOrBuilder.java b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeploymentOrBuilder.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeploymentOrBuilder.java rename to proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeploymentOrBuilder.java index 23a78098..1c4abb97 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeploymentOrBuilder.java +++ b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/DeploymentOrBuilder.java @@ -1,98 +1,137 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; -public interface DeploymentOrBuilder extends +public interface DeploymentOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.Deployment) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The deployment resource name.
    * Example:  projects/123/deployments/my_deployment.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The deployment resource name.
    * Example:  projects/123/deployments/my_deployment.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The list of Google OAuth scopes for which to request consent from the end
    * user before executing an add-on endpoint.
    * 
* * repeated string oauth_scopes = 2; + * * @return A list containing the oauthScopes. */ - java.util.List - getOauthScopesList(); + java.util.List getOauthScopesList(); /** + * + * *
    * The list of Google OAuth scopes for which to request consent from the end
    * user before executing an add-on endpoint.
    * 
* * repeated string oauth_scopes = 2; + * * @return The count of oauthScopes. */ int getOauthScopesCount(); /** + * + * *
    * The list of Google OAuth scopes for which to request consent from the end
    * user before executing an add-on endpoint.
    * 
* * repeated string oauth_scopes = 2; + * * @param index The index of the element to return. * @return The oauthScopes at the given index. */ java.lang.String getOauthScopes(int index); /** + * + * *
    * The list of Google OAuth scopes for which to request consent from the end
    * user before executing an add-on endpoint.
    * 
* * repeated string oauth_scopes = 2; + * * @param index The index of the value to return. * @return The bytes of the oauthScopes at the given index. */ - com.google.protobuf.ByteString - getOauthScopesBytes(int index); + com.google.protobuf.ByteString getOauthScopesBytes(int index); /** + * + * *
    * The Google Workspace Add-on configuration.
    * 
* * .google.cloud.gsuiteaddons.v1.AddOns add_ons = 3; + * * @return Whether the addOns field is set. */ boolean hasAddOns(); /** + * + * *
    * The Google Workspace Add-on configuration.
    * 
* * .google.cloud.gsuiteaddons.v1.AddOns add_ons = 3; + * * @return The addOns. */ com.google.cloud.gsuiteaddons.v1.AddOns getAddOns(); /** + * + * *
    * The Google Workspace Add-on configuration.
    * 
@@ -102,6 +141,8 @@ public interface DeploymentOrBuilder extends com.google.cloud.gsuiteaddons.v1.AddOnsOrBuilder getAddOnsOrBuilder(); /** + * + * *
    * This value is computed by the server based on the version of the
    * deployment in storage, and may be sent on update and delete requests to
@@ -109,10 +150,13 @@ public interface DeploymentOrBuilder extends
    * 
* * string etag = 5; + * * @return The etag. */ java.lang.String getEtag(); /** + * + * *
    * This value is computed by the server based on the version of the
    * deployment in storage, and may be sent on update and delete requests to
@@ -120,8 +164,8 @@ public interface DeploymentOrBuilder extends
    * 
* * string etag = 5; + * * @return The bytes for etag. */ - com.google.protobuf.ByteString - getEtagBytes(); + com.google.protobuf.ByteString getEtagBytes(); } diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsProto.java b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsProto.java new file mode 100644 index 00000000..8b90acf4 --- /dev/null +++ b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GSuiteAddOnsProto.java @@ -0,0 +1,373 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto + +package com.google.cloud.gsuiteaddons.v1; + +public final class GSuiteAddOnsProto { + private GSuiteAddOnsProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gsuiteaddons_v1_GetAuthorizationRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gsuiteaddons_v1_GetAuthorizationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gsuiteaddons_v1_Authorization_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gsuiteaddons_v1_Authorization_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gsuiteaddons_v1_CreateDeploymentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gsuiteaddons_v1_CreateDeploymentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gsuiteaddons_v1_ReplaceDeploymentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gsuiteaddons_v1_ReplaceDeploymentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gsuiteaddons_v1_GetDeploymentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gsuiteaddons_v1_GetDeploymentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gsuiteaddons_v1_DeleteDeploymentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gsuiteaddons_v1_DeleteDeploymentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gsuiteaddons_v1_InstallDeploymentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gsuiteaddons_v1_InstallDeploymentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gsuiteaddons_v1_UninstallDeploymentRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gsuiteaddons_v1_UninstallDeploymentRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gsuiteaddons_v1_GetInstallStatusRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gsuiteaddons_v1_GetInstallStatusRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gsuiteaddons_v1_InstallStatus_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gsuiteaddons_v1_InstallStatus_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gsuiteaddons_v1_Deployment_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gsuiteaddons_v1_Deployment_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_gsuiteaddons_v1_AddOns_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_gsuiteaddons_v1_AddOns_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n/google/cloud/gsuiteaddons/v1/gsuiteadd" + + "ons.proto\022\034google.cloud.gsuiteaddons.v1\032" + + "\034google/api/annotations.proto\032\027google/ap" + + "i/client.proto\032\037google/api/field_behavio" + + "r.proto\032\031google/api/resource.proto\032>goog" + + "le/apps/script/type/calendar/calendar_ad" + + "don_manifest.proto\0326google/apps/script/t" + + "ype/docs/docs_addon_manifest.proto\0328goog" + + "le/apps/script/type/drive/drive_addon_ma" + + "nifest.proto\0328google/apps/script/type/gm" + + "ail/gmail_addon_manifest.proto\032-google/a" + + "pps/script/type/script_manifest.proto\032:g" + + "oogle/apps/script/type/sheets/sheets_add" + + "on_manifest.proto\032:google/apps/script/ty" + + "pe/slides/slides_addon_manifest.proto\032\033g" + + "oogle/protobuf/empty.proto\032\036google/proto" + + "buf/wrappers.proto\"Z\n\027GetAuthorizationRe" + + "quest\022?\n\004name\030\002 \001(\tB1\340A\002\372A+\n)gsuiteaddon" + + "s.googleapis.com/Authorization\"\247\001\n\rAutho" + + "rization\022\014\n\004name\030\001 \001(\t\022\035\n\025service_accoun" + + "t_email\030\002 \001(\t\022\027\n\017oauth_client_id\030\003 \001(\t:P" + + "\352AM\n)gsuiteaddons.googleapis.com/Authori" + + "zation\022 projects/{project}/authorization" + + "\"\275\001\n\027CreateDeploymentRequest\022C\n\006parent\030\001" + + " \001(\tB3\340A\002\372A-\n+cloudresourcemanager.googl" + + "eapis.com/Project\022\032\n\rdeployment_id\030\002 \001(\t" + + "B\003\340A\002\022A\n\ndeployment\030\003 \001(\0132(.google.cloud" + + ".gsuiteaddons.v1.DeploymentB\003\340A\002\"]\n\030Repl" + + "aceDeploymentRequest\022A\n\ndeployment\030\002 \001(\013" + + "2(.google.cloud.gsuiteaddons.v1.Deployme" + + "ntB\003\340A\002\"T\n\024GetDeploymentRequest\022<\n\004name\030" + + "\001 \001(\tB.\340A\002\372A(\n&gsuiteaddons.googleapis.c" + + "om/Deployment\"\204\001\n\026ListDeploymentsRequest" + + "\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudresourcem" + + "anager.googleapis.com/Project\022\021\n\tpage_si" + + "ze\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"q\n\027ListDepl" + + "oymentsResponse\022=\n\013deployments\030\001 \003(\0132(.g" + + "oogle.cloud.gsuiteaddons.v1.Deployment\022\027" + + "\n\017next_page_token\030\002 \001(\t\"e\n\027DeleteDeploym" + + "entRequest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&gsuite" + + "addons.googleapis.com/Deployment\022\014\n\004etag" + + "\030\002 \001(\t\"X\n\030InstallDeploymentRequest\022<\n\004na" + + "me\030\001 \001(\tB.\340A\002\372A(\n&gsuiteaddons.googleapi" + + "s.com/Deployment\"Z\n\032UninstallDeploymentR" + + "equest\022<\n\004name\030\001 \001(\tB.\340A\002\372A(\n&gsuiteaddo" + + "ns.googleapis.com/Deployment\"Z\n\027GetInsta" + + "llStatusRequest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)g" + + "suiteaddons.googleapis.com/InstallStatus" + + "\"\267\001\n\rInstallStatus\022\014\n\004name\030\001 \001(\t\022-\n\tinst" + + "alled\030\002 \001(\0132\032.google.protobuf.BoolValue:" + + "i\352Af\n)gsuiteaddons.googleapis.com/Instal" + + "lStatus\0229projects/{project}/deployments/" + + "{deployment}/installStatus\"\317\001\n\nDeploymen" + + "t\022\014\n\004name\030\001 \001(\t\022\024\n\014oauth_scopes\030\002 \003(\t\0225\n" + + "\007add_ons\030\003 \001(\0132$.google.cloud.gsuiteaddo" + + "ns.v1.AddOns\022\014\n\004etag\030\005 \001(\t:X\352AU\n&gsuitea" + + "ddons.googleapis.com/Deployment\022+project" + + "s/{project}/deployments/{deployment}\"\232\004\n" + + "\006AddOns\022<\n\006common\030\001 \001(\0132,.google.apps.sc" + + "ript.type.CommonAddOnManifest\022@\n\005gmail\030\002" + + " \001(\01321.google.apps.script.type.gmail.Gma" + + "ilAddOnManifest\022@\n\005drive\030\005 \001(\01321.google." + + "apps.script.type.drive.DriveAddOnManifes" + + "t\022I\n\010calendar\030\006 \001(\01327.google.apps.script" + + ".type.calendar.CalendarAddOnManifest\022=\n\004" + + "docs\030\007 \001(\0132/.google.apps.script.type.doc" + + "s.DocsAddOnManifest\022C\n\006sheets\030\010 \001(\01323.go" + + "ogle.apps.script.type.sheets.SheetsAddOn" + + "Manifest\022C\n\006slides\030\n \001(\01323.google.apps.s" + + "cript.type.slides.SlidesAddOnManifest\022:\n" + + "\014http_options\030\017 \001(\0132$.google.apps.script" + + ".type.HttpOptions2\244\r\n\014GSuiteAddOns\022\252\001\n\020G" + + "etAuthorization\0225.google.cloud.gsuiteadd" + + "ons.v1.GetAuthorizationRequest\032+.google." + + "cloud.gsuiteaddons.v1.Authorization\"2\202\323\344" + + "\223\002%\022#/v1/{name=projects/*/authorization}" + + "\332A\004name\022\316\001\n\020CreateDeployment\0225.google.cl" + + "oud.gsuiteaddons.v1.CreateDeploymentRequ" + + "est\032(.google.cloud.gsuiteaddons.v1.Deplo" + + "yment\"Y\202\323\344\223\0021\"#/v1/{parent=projects/*}/d" + + "eployments:\ndeployment\332A\037parent,deployme" + + "nt,deployment_id\022\306\001\n\021ReplaceDeployment\0226" + + ".google.cloud.gsuiteaddons.v1.ReplaceDep" + + "loymentRequest\032(.google.cloud.gsuiteaddo" + + "ns.v1.Deployment\"O\202\323\344\223\002<\032./v1/{deploymen" + + "t.name=projects/*/deployments/*}:\ndeploy" + + "ment\332A\ndeployment\022\241\001\n\rGetDeployment\0222.go" + + "ogle.cloud.gsuiteaddons.v1.GetDeployment" + + "Request\032(.google.cloud.gsuiteaddons.v1.D" + + "eployment\"2\202\323\344\223\002%\022#/v1/{name=projects/*/" + + "deployments/*}\332A\004name\022\264\001\n\017ListDeployment" + + "s\0224.google.cloud.gsuiteaddons.v1.ListDep" + + "loymentsRequest\0325.google.cloud.gsuiteadd" + + "ons.v1.ListDeploymentsResponse\"4\202\323\344\223\002%\022#" + + "/v1/{parent=projects/*}/deployments\332A\006pa" + + "rent\022\225\001\n\020DeleteDeployment\0225.google.cloud" + + ".gsuiteaddons.v1.DeleteDeploymentRequest" + + "\032\026.google.protobuf.Empty\"2\202\323\344\223\002%*#/v1/{n" + + "ame=projects/*/deployments/*}\332A\004name\022\242\001\n" + + "\021InstallDeployment\0226.google.cloud.gsuite" + + "addons.v1.InstallDeploymentRequest\032\026.goo" + + "gle.protobuf.Empty\"=\202\323\344\223\0020\"+/v1/{name=pr" + + "ojects/*/deployments/*}:install:\001*\332A\004nam" + + "e\022\250\001\n\023UninstallDeployment\0228.google.cloud" + + ".gsuiteaddons.v1.UninstallDeploymentRequ" + + "est\032\026.google.protobuf.Empty\"?\202\323\344\223\0022\"-/v1" + + "/{name=projects/*/deployments/*}:uninsta" + + "ll:\001*\332A\004name\022\270\001\n\020GetInstallStatus\0225.goog" + + "le.cloud.gsuiteaddons.v1.GetInstallStatu" + + "sRequest\032+.google.cloud.gsuiteaddons.v1." + + "InstallStatus\"@\202\323\344\223\0023\0221/v1/{name=project" + + "s/*/deployments/*/installStatus}\332A\004name\032" + + "O\312A\033gsuiteaddons.googleapis.com\322A.https:" + + "//www.googleapis.com/auth/cloud-platform" + + "B\341\001\n com.google.cloud.gsuiteaddons.v1B\021G" + + "SuiteAddOnsProtoP\001ZHgoogle.golang.org/ge" + + "nproto/googleapis/cloud/gsuiteaddons/v1;" + + "gsuiteaddons\252\002\034Google.Cloud.GSuiteAddOns" + + ".V1\312\002\034Google\\Cloud\\GSuiteAddOns\\V1\352\002\037Goo" + + "gle::Cloud::GSuiteAddOns::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.apps.script.type.calendar.CalendarAddOnManifestProto.getDescriptor(), + com.google.apps.script.type.docs.DocsAddOnManifestProto.getDescriptor(), + com.google.apps.script.type.drive.DriveAddOnManifestProto.getDescriptor(), + com.google.apps.script.type.gmail.GmailAddOnManifestProto.getDescriptor(), + com.google.apps.script.type.ScriptManifest.getDescriptor(), + com.google.apps.script.type.sheets.SheetsAddOnManifestProto.getDescriptor(), + com.google.apps.script.type.slides.SlidesAddOnManifestProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.WrappersProto.getDescriptor(), + }); + internal_static_google_cloud_gsuiteaddons_v1_GetAuthorizationRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_gsuiteaddons_v1_GetAuthorizationRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gsuiteaddons_v1_GetAuthorizationRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_gsuiteaddons_v1_Authorization_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_gsuiteaddons_v1_Authorization_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gsuiteaddons_v1_Authorization_descriptor, + new java.lang.String[] { + "Name", "ServiceAccountEmail", "OauthClientId", + }); + internal_static_google_cloud_gsuiteaddons_v1_CreateDeploymentRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_gsuiteaddons_v1_CreateDeploymentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gsuiteaddons_v1_CreateDeploymentRequest_descriptor, + new java.lang.String[] { + "Parent", "DeploymentId", "Deployment", + }); + internal_static_google_cloud_gsuiteaddons_v1_ReplaceDeploymentRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_gsuiteaddons_v1_ReplaceDeploymentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gsuiteaddons_v1_ReplaceDeploymentRequest_descriptor, + new java.lang.String[] { + "Deployment", + }); + internal_static_google_cloud_gsuiteaddons_v1_GetDeploymentRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_gsuiteaddons_v1_GetDeploymentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gsuiteaddons_v1_GetDeploymentRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsResponse_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsResponse_descriptor, + new java.lang.String[] { + "Deployments", "NextPageToken", + }); + internal_static_google_cloud_gsuiteaddons_v1_DeleteDeploymentRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_gsuiteaddons_v1_DeleteDeploymentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gsuiteaddons_v1_DeleteDeploymentRequest_descriptor, + new java.lang.String[] { + "Name", "Etag", + }); + internal_static_google_cloud_gsuiteaddons_v1_InstallDeploymentRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_gsuiteaddons_v1_InstallDeploymentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gsuiteaddons_v1_InstallDeploymentRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_gsuiteaddons_v1_UninstallDeploymentRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_gsuiteaddons_v1_UninstallDeploymentRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gsuiteaddons_v1_UninstallDeploymentRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_gsuiteaddons_v1_GetInstallStatusRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_gsuiteaddons_v1_GetInstallStatusRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gsuiteaddons_v1_GetInstallStatusRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_gsuiteaddons_v1_InstallStatus_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_gsuiteaddons_v1_InstallStatus_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gsuiteaddons_v1_InstallStatus_descriptor, + new java.lang.String[] { + "Name", "Installed", + }); + internal_static_google_cloud_gsuiteaddons_v1_Deployment_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_gsuiteaddons_v1_Deployment_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gsuiteaddons_v1_Deployment_descriptor, + new java.lang.String[] { + "Name", "OauthScopes", "AddOns", "Etag", + }); + internal_static_google_cloud_gsuiteaddons_v1_AddOns_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_gsuiteaddons_v1_AddOns_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_gsuiteaddons_v1_AddOns_descriptor, + new java.lang.String[] { + "Common", "Gmail", "Drive", "Calendar", "Docs", "Sheets", "Slides", "HttpOptions", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.apps.script.type.calendar.CalendarAddOnManifestProto.getDescriptor(); + com.google.apps.script.type.docs.DocsAddOnManifestProto.getDescriptor(); + com.google.apps.script.type.drive.DriveAddOnManifestProto.getDescriptor(); + com.google.apps.script.type.gmail.GmailAddOnManifestProto.getDescriptor(); + com.google.apps.script.type.ScriptManifest.getDescriptor(); + com.google.apps.script.type.sheets.SheetsAddOnManifestProto.getDescriptor(); + com.google.apps.script.type.slides.SlidesAddOnManifestProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.WrappersProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetAuthorizationRequest.java b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetAuthorizationRequest.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetAuthorizationRequest.java rename to proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetAuthorizationRequest.java index 1385003a..afa8d8b1 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetAuthorizationRequest.java +++ b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetAuthorizationRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; /** + * + * *
  * Request message to get Google Workspace Add-ons authorization information.
  * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.GetAuthorizationRequest} */ -public final class GetAuthorizationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetAuthorizationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gsuiteaddons.v1.GetAuthorizationRequest) GetAuthorizationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetAuthorizationRequest.newBuilder() to construct. private GetAuthorizationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetAuthorizationRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetAuthorizationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetAuthorizationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetAuthorizationRequest( case 0: done = true; break; - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,36 +91,43 @@ private GetAuthorizationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_GetAuthorizationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_GetAuthorizationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_GetAuthorizationRequest_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_GetAuthorizationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest.class, com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest.Builder.class); + com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest.class, + com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** + * + * *
    * Required. Name of the project for which to get the Google Workspace Add-ons
    * authorization information.
    * Example: `projects/my_project/authorization`.
    * 
* - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -111,31 +136,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Name of the project for which to get the Google Workspace Add-ons
    * authorization information.
    * Example: `projects/my_project/authorization`.
    * 
* - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -144,6 +171,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,8 +183,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); } @@ -180,15 +207,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest)) { return super.equals(obj); } - com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest other = (com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest) obj; + com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest other = + (com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -208,117 +235,127 @@ public int hashCode() { } public static com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message to get Google Workspace Add-ons authorization information.
    * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.GetAuthorizationRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gsuiteaddons.v1.GetAuthorizationRequest) com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_GetAuthorizationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_GetAuthorizationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_GetAuthorizationRequest_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_GetAuthorizationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest.class, com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest.Builder.class); + com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest.class, + com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest.Builder.class); } // Construct using com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest.newBuilder() @@ -326,16 +363,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -345,9 +381,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_GetAuthorizationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_GetAuthorizationRequest_descriptor; } @java.lang.Override @@ -366,7 +402,8 @@ public com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest build() { @java.lang.Override public com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest buildPartial() { - com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest result = new com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest(this); + com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest result = + new com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest(this); result.name_ = name_; onBuilt(); return result; @@ -376,38 +413,39 @@ public com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest) { - return mergeFrom((com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest)other); + return mergeFrom((com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest) other); } else { super.mergeFrom(other); return this; @@ -415,7 +453,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest other) { - if (other == com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -439,7 +478,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -451,20 +491,24 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. Name of the project for which to get the Google Workspace Add-ons
      * authorization information.
      * Example: `projects/my_project/authorization`.
      * 
* - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -473,22 +517,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the project for which to get the Google Workspace Add-ons
      * authorization information.
      * Example: `projects/my_project/authorization`.
      * 
* - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -496,67 +543,80 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the project for which to get the Google Workspace Add-ons
      * authorization information.
      * Example: `projects/my_project/authorization`.
      * 
* - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Name of the project for which to get the Google Workspace Add-ons
      * authorization information.
      * Example: `projects/my_project/authorization`.
      * 
* - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. Name of the project for which to get the Google Workspace Add-ons
      * authorization information.
      * Example: `projects/my_project/authorization`.
      * 
* - * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -566,12 +626,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gsuiteaddons.v1.GetAuthorizationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gsuiteaddons.v1.GetAuthorizationRequest) private static final com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest(); } @@ -580,16 +640,16 @@ public static com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAuthorizationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetAuthorizationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAuthorizationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetAuthorizationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -604,6 +664,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gsuiteaddons.v1.GetAuthorizationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetAuthorizationRequestOrBuilder.java b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetAuthorizationRequestOrBuilder.java new file mode 100644 index 00000000..508139f8 --- /dev/null +++ b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetAuthorizationRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto + +package com.google.cloud.gsuiteaddons.v1; + +public interface GetAuthorizationRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.GetAuthorizationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Name of the project for which to get the Google Workspace Add-ons
+   * authorization information.
+   * Example: `projects/my_project/authorization`.
+   * 
+ * + * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Name of the project for which to get the Google Workspace Add-ons
+   * authorization information.
+   * Example: `projects/my_project/authorization`.
+   * 
+ * + * + * string name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetDeploymentRequest.java b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetDeploymentRequest.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetDeploymentRequest.java rename to proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetDeploymentRequest.java index 97f9c73e..fca02956 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetDeploymentRequest.java +++ b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetDeploymentRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; /** + * + * *
  * Request message to get a deployment.
  * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.GetDeploymentRequest} */ -public final class GetDeploymentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetDeploymentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gsuiteaddons.v1.GetDeploymentRequest) GetDeploymentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetDeploymentRequest.newBuilder() to construct. private GetDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetDeploymentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetDeploymentRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private GetDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_GetDeploymentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_GetDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_GetDeploymentRequest_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_GetDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest.class, com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest.Builder.class); + com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest.class, + com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The full resource name of the deployment to get.
    * Example:  `projects/my_project/deployments/my_deployment`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The full resource name of the deployment to get.
    * Example:  `projects/my_project/deployments/my_deployment`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest other = (com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest) obj; + com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest other = + (com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ public int hashCode() { } public static com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message to get a deployment.
    * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.GetDeploymentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gsuiteaddons.v1.GetDeploymentRequest) com.google.cloud.gsuiteaddons.v1.GetDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_GetDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_GetDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_GetDeploymentRequest_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_GetDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest.class, com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest.Builder.class); + com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest.class, + com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest.Builder.class); } // Construct using com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest.newBuilder() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +379,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_GetDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_GetDeploymentRequest_descriptor; } @java.lang.Override @@ -364,7 +400,8 @@ public com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest build() { @java.lang.Override public com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest buildPartial() { - com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest result = new com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest(this); + com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest result = + new com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +411,39 @@ public com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest) { - return mergeFrom((com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest)other); + return mergeFrom((com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +451,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest other) { - if (other == com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +489,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The full resource name of the deployment to get.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +514,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The full resource name of the deployment to get.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +539,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The full resource name of the deployment to get.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The full resource name of the deployment to get.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The full resource name of the deployment to get.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +619,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gsuiteaddons.v1.GetDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gsuiteaddons.v1.GetDeploymentRequest) private static final com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest(); } @@ -573,16 +633,16 @@ public static com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +657,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gsuiteaddons.v1.GetDeploymentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetDeploymentRequestOrBuilder.java b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetDeploymentRequestOrBuilder.java new file mode 100644 index 00000000..3fbc2105 --- /dev/null +++ b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetDeploymentRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto + +package com.google.cloud.gsuiteaddons.v1; + +public interface GetDeploymentRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.GetDeploymentRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The full resource name of the deployment to get.
+   * Example:  `projects/my_project/deployments/my_deployment`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The full resource name of the deployment to get.
+   * Example:  `projects/my_project/deployments/my_deployment`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetInstallStatusRequest.java b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetInstallStatusRequest.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetInstallStatusRequest.java rename to proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetInstallStatusRequest.java index e69ee5ad..3bb34965 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetInstallStatusRequest.java +++ b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetInstallStatusRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; /** + * + * *
  * Request message to get the install status of a developer mode deployment.
  * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.GetInstallStatusRequest} */ -public final class GetInstallStatusRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetInstallStatusRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gsuiteaddons.v1.GetInstallStatusRequest) GetInstallStatusRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetInstallStatusRequest.newBuilder() to construct. private GetInstallStatusRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetInstallStatusRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetInstallStatusRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetInstallStatusRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetInstallStatusRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private GetInstallStatusRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_GetInstallStatusRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_GetInstallStatusRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_GetInstallStatusRequest_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_GetInstallStatusRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest.class, com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest.Builder.class); + com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest.class, + com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The full resource name of the deployment.
    * Example:  `projects/my_project/deployments/my_deployment/installStatus`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The full resource name of the deployment.
    * Example:  `projects/my_project/deployments/my_deployment/installStatus`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest)) { return super.equals(obj); } - com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest other = (com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest) obj; + com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest other = + (com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ public int hashCode() { } public static com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message to get the install status of a developer mode deployment.
    * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.GetInstallStatusRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gsuiteaddons.v1.GetInstallStatusRequest) com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_GetInstallStatusRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_GetInstallStatusRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_GetInstallStatusRequest_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_GetInstallStatusRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest.class, com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest.Builder.class); + com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest.class, + com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest.Builder.class); } // Construct using com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest.newBuilder() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +379,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_GetInstallStatusRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_GetInstallStatusRequest_descriptor; } @java.lang.Override @@ -364,7 +400,8 @@ public com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest build() { @java.lang.Override public com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest buildPartial() { - com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest result = new com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest(this); + com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest result = + new com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +411,39 @@ public com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest) { - return mergeFrom((com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest)other); + return mergeFrom((com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +451,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest other) { - if (other == com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +489,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The full resource name of the deployment.
      * Example:  `projects/my_project/deployments/my_deployment/installStatus`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +514,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The full resource name of the deployment.
      * Example:  `projects/my_project/deployments/my_deployment/installStatus`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +539,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The full resource name of the deployment.
      * Example:  `projects/my_project/deployments/my_deployment/installStatus`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The full resource name of the deployment.
      * Example:  `projects/my_project/deployments/my_deployment/installStatus`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The full resource name of the deployment.
      * Example:  `projects/my_project/deployments/my_deployment/installStatus`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +619,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gsuiteaddons.v1.GetInstallStatusRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gsuiteaddons.v1.GetInstallStatusRequest) private static final com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest(); } @@ -573,16 +633,16 @@ public static com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetInstallStatusRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetInstallStatusRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetInstallStatusRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetInstallStatusRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +657,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gsuiteaddons.v1.GetInstallStatusRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetInstallStatusRequestOrBuilder.java b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetInstallStatusRequestOrBuilder.java new file mode 100644 index 00000000..1f187ea5 --- /dev/null +++ b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/GetInstallStatusRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto + +package com.google.cloud.gsuiteaddons.v1; + +public interface GetInstallStatusRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.GetInstallStatusRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The full resource name of the deployment.
+   * Example:  `projects/my_project/deployments/my_deployment/installStatus`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The full resource name of the deployment.
+   * Example:  `projects/my_project/deployments/my_deployment/installStatus`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallDeploymentRequest.java b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallDeploymentRequest.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallDeploymentRequest.java rename to proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallDeploymentRequest.java index eff102ac..18c4f57c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallDeploymentRequest.java +++ b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallDeploymentRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; /** + * + * *
  * Request message to install a developer mode deployment.
  * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.InstallDeploymentRequest} */ -public final class InstallDeploymentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class InstallDeploymentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gsuiteaddons.v1.InstallDeploymentRequest) InstallDeploymentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InstallDeploymentRequest.newBuilder() to construct. private InstallDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private InstallDeploymentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InstallDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private InstallDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private InstallDeploymentRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private InstallDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_InstallDeploymentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_InstallDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_InstallDeploymentRequest_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_InstallDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest.class, com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest.Builder.class); + com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest.class, + com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The full resource name of the deployment to install.
    * Example:  `projects/my_project/deployments/my_deployment`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The full resource name of the deployment to install.
    * Example:  `projects/my_project/deployments/my_deployment`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest other = (com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest) obj; + com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest other = + (com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ public int hashCode() { } public static com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message to install a developer mode deployment.
    * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.InstallDeploymentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gsuiteaddons.v1.InstallDeploymentRequest) com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_InstallDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_InstallDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_InstallDeploymentRequest_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_InstallDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest.class, com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest.Builder.class); + com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest.class, + com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest.Builder.class); } // Construct using com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest.newBuilder() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +379,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_InstallDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_InstallDeploymentRequest_descriptor; } @java.lang.Override @@ -364,7 +400,8 @@ public com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest build() { @java.lang.Override public com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest buildPartial() { - com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest result = new com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest(this); + com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest result = + new com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +411,39 @@ public com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest) { - return mergeFrom((com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest)other); + return mergeFrom((com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +451,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest other) { - if (other == com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +489,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The full resource name of the deployment to install.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +514,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The full resource name of the deployment to install.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +539,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The full resource name of the deployment to install.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The full resource name of the deployment to install.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The full resource name of the deployment to install.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +619,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gsuiteaddons.v1.InstallDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gsuiteaddons.v1.InstallDeploymentRequest) private static final com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest(); } @@ -573,16 +633,16 @@ public static com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InstallDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InstallDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstallDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InstallDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +657,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallDeploymentRequestOrBuilder.java b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallDeploymentRequestOrBuilder.java new file mode 100644 index 00000000..def6f56e --- /dev/null +++ b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallDeploymentRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto + +package com.google.cloud.gsuiteaddons.v1; + +public interface InstallDeploymentRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.InstallDeploymentRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The full resource name of the deployment to install.
+   * Example:  `projects/my_project/deployments/my_deployment`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The full resource name of the deployment to install.
+   * Example:  `projects/my_project/deployments/my_deployment`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallStatus.java b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallStatus.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallStatus.java rename to proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallStatus.java index ba9b09e1..84375bc1 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallStatus.java +++ b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallStatus.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; /** + * + * *
  * Developer mode install status of a deployment
  * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.InstallStatus} */ -public final class InstallStatus extends - com.google.protobuf.GeneratedMessageV3 implements +public final class InstallStatus extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gsuiteaddons.v1.InstallStatus) InstallStatusOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InstallStatus.newBuilder() to construct. private InstallStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private InstallStatus() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InstallStatus(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private InstallStatus( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,35 @@ private InstallStatus( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.protobuf.BoolValue.Builder subBuilder = null; - if (installed_ != null) { - subBuilder = installed_.toBuilder(); + name_ = s; + break; } - installed_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(installed_); - installed_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.BoolValue.Builder subBuilder = null; + if (installed_ != null) { + subBuilder = installed_.toBuilder(); + } + installed_ = + input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(installed_); + installed_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,35 +106,40 @@ private InstallStatus( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_InstallStatus_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_InstallStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_InstallStatus_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_InstallStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.InstallStatus.class, com.google.cloud.gsuiteaddons.v1.InstallStatus.Builder.class); + com.google.cloud.gsuiteaddons.v1.InstallStatus.class, + com.google.cloud.gsuiteaddons.v1.InstallStatus.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The canonical full resource name of the deployment install status.
    * Example:  `projects/123/deployments/my_deployment/installStatus`.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -123,30 +148,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The canonical full resource name of the deployment install status.
    * Example:  `projects/123/deployments/my_deployment/installStatus`.
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -157,11 +182,14 @@ public java.lang.String getName() { public static final int INSTALLED_FIELD_NUMBER = 2; private com.google.protobuf.BoolValue installed_; /** + * + * *
    * True if the deployment is installed for the user
    * 
* * .google.protobuf.BoolValue installed = 2; + * * @return Whether the installed field is set. */ @java.lang.Override @@ -169,11 +197,14 @@ public boolean hasInstalled() { return installed_ != null; } /** + * + * *
    * True if the deployment is installed for the user
    * 
* * .google.protobuf.BoolValue installed = 2; + * * @return The installed. */ @java.lang.Override @@ -181,6 +212,8 @@ public com.google.protobuf.BoolValue getInstalled() { return installed_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : installed_; } /** + * + * *
    * True if the deployment is installed for the user
    * 
@@ -193,6 +226,7 @@ public com.google.protobuf.BoolValueOrBuilder getInstalledOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +238,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -225,8 +258,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (installed_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getInstalled()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getInstalled()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -236,19 +268,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gsuiteaddons.v1.InstallStatus)) { return super.equals(obj); } - com.google.cloud.gsuiteaddons.v1.InstallStatus other = (com.google.cloud.gsuiteaddons.v1.InstallStatus) obj; + com.google.cloud.gsuiteaddons.v1.InstallStatus other = + (com.google.cloud.gsuiteaddons.v1.InstallStatus) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasInstalled() != other.hasInstalled()) return false; if (hasInstalled()) { - if (!getInstalled() - .equals(other.getInstalled())) return false; + if (!getInstalled().equals(other.getInstalled())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -272,118 +303,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.gsuiteaddons.v1.InstallStatus parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.gsuiteaddons.v1.InstallStatus parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.InstallStatus parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.InstallStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.InstallStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.InstallStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.InstallStatus parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.InstallStatus parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.InstallStatus parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.InstallStatus parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.gsuiteaddons.v1.InstallStatus parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.InstallStatus parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.InstallStatus parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.InstallStatus parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.gsuiteaddons.v1.InstallStatus prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Developer mode install status of a deployment
    * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.InstallStatus} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gsuiteaddons.v1.InstallStatus) com.google.cloud.gsuiteaddons.v1.InstallStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_InstallStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_InstallStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_InstallStatus_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_InstallStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.InstallStatus.class, com.google.cloud.gsuiteaddons.v1.InstallStatus.Builder.class); + com.google.cloud.gsuiteaddons.v1.InstallStatus.class, + com.google.cloud.gsuiteaddons.v1.InstallStatus.Builder.class); } // Construct using com.google.cloud.gsuiteaddons.v1.InstallStatus.newBuilder() @@ -391,16 +431,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -416,9 +455,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_InstallStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_InstallStatus_descriptor; } @java.lang.Override @@ -437,7 +476,8 @@ public com.google.cloud.gsuiteaddons.v1.InstallStatus build() { @java.lang.Override public com.google.cloud.gsuiteaddons.v1.InstallStatus buildPartial() { - com.google.cloud.gsuiteaddons.v1.InstallStatus result = new com.google.cloud.gsuiteaddons.v1.InstallStatus(this); + com.google.cloud.gsuiteaddons.v1.InstallStatus result = + new com.google.cloud.gsuiteaddons.v1.InstallStatus(this); result.name_ = name_; if (installedBuilder_ == null) { result.installed_ = installed_; @@ -452,38 +492,39 @@ public com.google.cloud.gsuiteaddons.v1.InstallStatus buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gsuiteaddons.v1.InstallStatus) { - return mergeFrom((com.google.cloud.gsuiteaddons.v1.InstallStatus)other); + return mergeFrom((com.google.cloud.gsuiteaddons.v1.InstallStatus) other); } else { super.mergeFrom(other); return this; @@ -530,19 +571,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The canonical full resource name of the deployment install status.
      * Example:  `projects/123/deployments/my_deployment/installStatus`.
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -551,21 +594,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The canonical full resource name of the deployment install status.
      * Example:  `projects/123/deployments/my_deployment/installStatus`.
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -573,57 +617,64 @@ public java.lang.String getName() { } } /** + * + * *
      * The canonical full resource name of the deployment install status.
      * Example:  `projects/123/deployments/my_deployment/installStatus`.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The canonical full resource name of the deployment install status.
      * Example:  `projects/123/deployments/my_deployment/installStatus`.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The canonical full resource name of the deployment install status.
      * Example:  `projects/123/deployments/my_deployment/installStatus`.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -631,24 +682,33 @@ public Builder setNameBytes( private com.google.protobuf.BoolValue installed_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> installedBuilder_; + com.google.protobuf.BoolValue, + com.google.protobuf.BoolValue.Builder, + com.google.protobuf.BoolValueOrBuilder> + installedBuilder_; /** + * + * *
      * True if the deployment is installed for the user
      * 
* * .google.protobuf.BoolValue installed = 2; + * * @return Whether the installed field is set. */ public boolean hasInstalled() { return installedBuilder_ != null || installed_ != null; } /** + * + * *
      * True if the deployment is installed for the user
      * 
* * .google.protobuf.BoolValue installed = 2; + * * @return The installed. */ public com.google.protobuf.BoolValue getInstalled() { @@ -659,6 +719,8 @@ public com.google.protobuf.BoolValue getInstalled() { } } /** + * + * *
      * True if the deployment is installed for the user
      * 
@@ -679,14 +741,15 @@ public Builder setInstalled(com.google.protobuf.BoolValue value) { return this; } /** + * + * *
      * True if the deployment is installed for the user
      * 
* * .google.protobuf.BoolValue installed = 2; */ - public Builder setInstalled( - com.google.protobuf.BoolValue.Builder builderForValue) { + public Builder setInstalled(com.google.protobuf.BoolValue.Builder builderForValue) { if (installedBuilder_ == null) { installed_ = builderForValue.build(); onChanged(); @@ -697,6 +760,8 @@ public Builder setInstalled( return this; } /** + * + * *
      * True if the deployment is installed for the user
      * 
@@ -707,7 +772,7 @@ public Builder mergeInstalled(com.google.protobuf.BoolValue value) { if (installedBuilder_ == null) { if (installed_ != null) { installed_ = - com.google.protobuf.BoolValue.newBuilder(installed_).mergeFrom(value).buildPartial(); + com.google.protobuf.BoolValue.newBuilder(installed_).mergeFrom(value).buildPartial(); } else { installed_ = value; } @@ -719,6 +784,8 @@ public Builder mergeInstalled(com.google.protobuf.BoolValue value) { return this; } /** + * + * *
      * True if the deployment is installed for the user
      * 
@@ -737,6 +804,8 @@ public Builder clearInstalled() { return this; } /** + * + * *
      * True if the deployment is installed for the user
      * 
@@ -744,11 +813,13 @@ public Builder clearInstalled() { * .google.protobuf.BoolValue installed = 2; */ public com.google.protobuf.BoolValue.Builder getInstalledBuilder() { - + onChanged(); return getInstalledFieldBuilder().getBuilder(); } /** + * + * *
      * True if the deployment is installed for the user
      * 
@@ -759,11 +830,12 @@ public com.google.protobuf.BoolValueOrBuilder getInstalledOrBuilder() { if (installedBuilder_ != null) { return installedBuilder_.getMessageOrBuilder(); } else { - return installed_ == null ? - com.google.protobuf.BoolValue.getDefaultInstance() : installed_; + return installed_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : installed_; } } /** + * + * *
      * True if the deployment is installed for the user
      * 
@@ -771,21 +843,24 @@ public com.google.protobuf.BoolValueOrBuilder getInstalledOrBuilder() { * .google.protobuf.BoolValue installed = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> + com.google.protobuf.BoolValue, + com.google.protobuf.BoolValue.Builder, + com.google.protobuf.BoolValueOrBuilder> getInstalledFieldBuilder() { if (installedBuilder_ == null) { - installedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>( - getInstalled(), - getParentForChildren(), - isClean()); + installedBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.BoolValue, + com.google.protobuf.BoolValue.Builder, + com.google.protobuf.BoolValueOrBuilder>( + getInstalled(), getParentForChildren(), isClean()); installed_ = null; } return installedBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -795,12 +870,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gsuiteaddons.v1.InstallStatus) } // @@protoc_insertion_point(class_scope:google.cloud.gsuiteaddons.v1.InstallStatus) private static final com.google.cloud.gsuiteaddons.v1.InstallStatus DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gsuiteaddons.v1.InstallStatus(); } @@ -809,16 +884,16 @@ public static com.google.cloud.gsuiteaddons.v1.InstallStatus getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InstallStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InstallStatus(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstallStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InstallStatus(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -833,6 +908,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gsuiteaddons.v1.InstallStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallStatusName.java b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallStatusName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallStatusName.java rename to proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallStatusName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallStatusOrBuilder.java b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallStatusOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallStatusOrBuilder.java rename to proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallStatusOrBuilder.java index bf1f67e4..adc31ff7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallStatusOrBuilder.java +++ b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/InstallStatusOrBuilder.java @@ -1,53 +1,82 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; -public interface InstallStatusOrBuilder extends +public interface InstallStatusOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.InstallStatus) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The canonical full resource name of the deployment install status.
    * Example:  `projects/123/deployments/my_deployment/installStatus`.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The canonical full resource name of the deployment install status.
    * Example:  `projects/123/deployments/my_deployment/installStatus`.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * True if the deployment is installed for the user
    * 
* * .google.protobuf.BoolValue installed = 2; + * * @return Whether the installed field is set. */ boolean hasInstalled(); /** + * + * *
    * True if the deployment is installed for the user
    * 
* * .google.protobuf.BoolValue installed = 2; + * * @return The installed. */ com.google.protobuf.BoolValue getInstalled(); /** + * + * *
    * True if the deployment is installed for the user
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsRequest.java b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsRequest.java rename to proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsRequest.java index a3e820b8..7a1f3bf3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsRequest.java +++ b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; /** + * + * *
  * Request message to list deployments for a project.
  * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.ListDeploymentsRequest} */ -public final class ListDeploymentsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDeploymentsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gsuiteaddons.v1.ListDeploymentsRequest) ListDeploymentsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDeploymentsRequest.newBuilder() to construct. private ListDeploymentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDeploymentsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListDeploymentsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDeploymentsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListDeploymentsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private ListDeploymentsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,35 +104,42 @@ private ListDeploymentsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsRequest_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest.class, com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest.Builder.class); + com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest.class, + com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. Name of the project in which to create the deployment.
    * Example: `projects/my_project`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -122,30 +148,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. Name of the project in which to create the deployment.
    * Example: `projects/my_project`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -156,6 +184,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of deployments to return. The service may return fewer
    * than this value.
@@ -164,6 +194,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -174,6 +205,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * A page token, received from a previous `ListDeployments` call.
    * Provide this to retrieve the subsequent page.
@@ -182,6 +215,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -190,14 +224,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * A page token, received from a previous `ListDeployments` call.
    * Provide this to retrieve the subsequent page.
@@ -206,16 +241,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -224,6 +258,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -235,8 +270,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -259,8 +293,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -273,19 +306,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest)) { return super.equals(obj); } - com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest other = (com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest) obj; + com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest other = + (com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -309,117 +340,127 @@ public int hashCode() { } public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message to list deployments for a project.
    * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.ListDeploymentsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gsuiteaddons.v1.ListDeploymentsRequest) com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsRequest_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest.class, com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest.Builder.class); + com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest.class, + com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest.Builder.class); } // Construct using com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest.newBuilder() @@ -427,16 +468,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -450,9 +490,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsRequest_descriptor; } @java.lang.Override @@ -471,7 +511,8 @@ public com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest build() { @java.lang.Override public com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest buildPartial() { - com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest result = new com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest(this); + com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest result = + new com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -483,38 +524,39 @@ public com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest) { - return mergeFrom((com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest)other); + return mergeFrom((com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest) other); } else { super.mergeFrom(other); return this; @@ -522,7 +564,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest other) { - if (other == com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -553,7 +596,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -565,19 +609,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Name of the project in which to create the deployment.
      * Example: `projects/my_project`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -586,21 +634,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Name of the project in which to create the deployment.
      * Example: `projects/my_project`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -608,64 +659,79 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Name of the project in which to create the deployment.
      * Example: `projects/my_project`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. Name of the project in which to create the deployment.
      * Example: `projects/my_project`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. Name of the project in which to create the deployment.
      * Example: `projects/my_project`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of deployments to return. The service may return fewer
      * than this value.
@@ -674,6 +740,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -681,6 +748,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of deployments to return. The service may return fewer
      * than this value.
@@ -689,16 +758,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of deployments to return. The service may return fewer
      * than this value.
@@ -707,10 +779,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -718,6 +791,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListDeployments` call.
      * Provide this to retrieve the subsequent page.
@@ -726,13 +801,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -741,6 +816,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListDeployments` call.
      * Provide this to retrieve the subsequent page.
@@ -749,15 +826,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -765,6 +841,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListDeployments` call.
      * Provide this to retrieve the subsequent page.
@@ -773,20 +851,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListDeployments` call.
      * Provide this to retrieve the subsequent page.
@@ -795,15 +875,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListDeployments` call.
      * Provide this to retrieve the subsequent page.
@@ -812,23 +895,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -838,12 +921,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gsuiteaddons.v1.ListDeploymentsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gsuiteaddons.v1.ListDeploymentsRequest) private static final com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest(); } @@ -852,16 +935,16 @@ public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDeploymentsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDeploymentsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDeploymentsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListDeploymentsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -876,6 +959,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gsuiteaddons.v1.ListDeploymentsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsRequestOrBuilder.java b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsRequestOrBuilder.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsRequestOrBuilder.java rename to proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsRequestOrBuilder.java index aeee16ad..c924f869 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsRequestOrBuilder.java +++ b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; -public interface ListDeploymentsRequestOrBuilder extends +public interface ListDeploymentsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.ListDeploymentsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Name of the project in which to create the deployment.
    * Example: `projects/my_project`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. Name of the project in which to create the deployment.
    * Example: `projects/my_project`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of deployments to return. The service may return fewer
    * than this value.
@@ -38,11 +65,14 @@ public interface ListDeploymentsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListDeployments` call.
    * Provide this to retrieve the subsequent page.
@@ -51,10 +81,13 @@ public interface ListDeploymentsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListDeployments` call.
    * Provide this to retrieve the subsequent page.
@@ -63,8 +96,8 @@ public interface ListDeploymentsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsResponse.java b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsResponse.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsResponse.java rename to proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsResponse.java index 471216c9..8a3bf5a1 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsResponse.java +++ b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; /** + * + * *
  * Response message to list deployments.
  * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.ListDeploymentsResponse} */ -public final class ListDeploymentsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDeploymentsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gsuiteaddons.v1.ListDeploymentsResponse) ListDeploymentsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDeploymentsResponse.newBuilder() to construct. private ListDeploymentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDeploymentsResponse() { deployments_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListDeploymentsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDeploymentsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListDeploymentsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,32 @@ private ListDeploymentsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - deployments_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + deployments_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + deployments_.add( + input.readMessage( + com.google.cloud.gsuiteaddons.v1.Deployment.parser(), extensionRegistry)); + break; } - deployments_.add( - input.readMessage(com.google.cloud.gsuiteaddons.v1.Deployment.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +105,7 @@ private ListDeploymentsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { deployments_ = java.util.Collections.unmodifiableList(deployments_); @@ -94,22 +114,27 @@ private ListDeploymentsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsResponse_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse.class, com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse.Builder.class); + com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse.class, + com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse.Builder.class); } public static final int DEPLOYMENTS_FIELD_NUMBER = 1; private java.util.List deployments_; /** + * + * *
    * The list of deployments for the given project.
    * 
@@ -121,6 +146,8 @@ public java.util.List getDeployment return deployments_; } /** + * + * *
    * The list of deployments for the given project.
    * 
@@ -128,11 +155,13 @@ public java.util.List getDeployment * repeated .google.cloud.gsuiteaddons.v1.Deployment deployments = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDeploymentsOrBuilderList() { return deployments_; } /** + * + * *
    * The list of deployments for the given project.
    * 
@@ -144,6 +173,8 @@ public int getDeploymentsCount() { return deployments_.size(); } /** + * + * *
    * The list of deployments for the given project.
    * 
@@ -155,6 +186,8 @@ public com.google.cloud.gsuiteaddons.v1.Deployment getDeployments(int index) { return deployments_.get(index); } /** + * + * *
    * The list of deployments for the given project.
    * 
@@ -162,20 +195,22 @@ public com.google.cloud.gsuiteaddons.v1.Deployment getDeployments(int index) { * repeated .google.cloud.gsuiteaddons.v1.Deployment deployments = 1; */ @java.lang.Override - public com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder getDeploymentsOrBuilder( - int index) { + public com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder getDeploymentsOrBuilder(int index) { return deployments_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +219,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +251,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +263,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < deployments_.size(); i++) { output.writeMessage(1, deployments_.get(i)); } @@ -245,8 +280,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < deployments_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, deployments_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, deployments_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +293,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse)) { return super.equals(obj); } - com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse other = (com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse) obj; + com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse other = + (com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse) obj; - if (!getDeploymentsList() - .equals(other.getDeploymentsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getDeploymentsList().equals(other.getDeploymentsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +326,127 @@ public int hashCode() { } public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response message to list deployments.
    * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.ListDeploymentsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gsuiteaddons.v1.ListDeploymentsResponse) com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsResponse_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse.class, com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse.Builder.class); + com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse.class, + com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse.Builder.class); } // Construct using com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse.newBuilder() @@ -411,17 +454,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getDeploymentsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +480,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_ListDeploymentsResponse_descriptor; } @java.lang.Override @@ -458,7 +501,8 @@ public com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse build() { @java.lang.Override public com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse buildPartial() { - com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse result = new com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse(this); + com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse result = + new com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse(this); int from_bitField0_ = bitField0_; if (deploymentsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +522,39 @@ public com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse) { - return mergeFrom((com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse)other); + return mergeFrom((com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +562,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse other) { - if (other == com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse.getDefaultInstance()) + return this; if (deploymentsBuilder_ == null) { if (!other.deployments_.isEmpty()) { if (deployments_.isEmpty()) { @@ -536,9 +582,10 @@ public Builder mergeFrom(com.google.cloud.gsuiteaddons.v1.ListDeploymentsRespons deploymentsBuilder_ = null; deployments_ = other.deployments_; bitField0_ = (bitField0_ & ~0x00000001); - deploymentsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDeploymentsFieldBuilder() : null; + deploymentsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDeploymentsFieldBuilder() + : null; } else { deploymentsBuilder_.addAllMessages(other.deployments_); } @@ -567,7 +614,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +624,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List deployments_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDeploymentsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - deployments_ = new java.util.ArrayList(deployments_); + deployments_ = + new java.util.ArrayList(deployments_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gsuiteaddons.v1.Deployment, com.google.cloud.gsuiteaddons.v1.Deployment.Builder, com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder> deploymentsBuilder_; + com.google.cloud.gsuiteaddons.v1.Deployment, + com.google.cloud.gsuiteaddons.v1.Deployment.Builder, + com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder> + deploymentsBuilder_; /** + * + * *
      * The list of deployments for the given project.
      * 
@@ -605,6 +661,8 @@ public java.util.List getDeployment } } /** + * + * *
      * The list of deployments for the given project.
      * 
@@ -619,6 +677,8 @@ public int getDeploymentsCount() { } } /** + * + * *
      * The list of deployments for the given project.
      * 
@@ -633,14 +693,15 @@ public com.google.cloud.gsuiteaddons.v1.Deployment getDeployments(int index) { } } /** + * + * *
      * The list of deployments for the given project.
      * 
* * repeated .google.cloud.gsuiteaddons.v1.Deployment deployments = 1; */ - public Builder setDeployments( - int index, com.google.cloud.gsuiteaddons.v1.Deployment value) { + public Builder setDeployments(int index, com.google.cloud.gsuiteaddons.v1.Deployment value) { if (deploymentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,6 +715,8 @@ public Builder setDeployments( return this; } /** + * + * *
      * The list of deployments for the given project.
      * 
@@ -672,6 +735,8 @@ public Builder setDeployments( return this; } /** + * + * *
      * The list of deployments for the given project.
      * 
@@ -692,14 +757,15 @@ public Builder addDeployments(com.google.cloud.gsuiteaddons.v1.Deployment value) return this; } /** + * + * *
      * The list of deployments for the given project.
      * 
* * repeated .google.cloud.gsuiteaddons.v1.Deployment deployments = 1; */ - public Builder addDeployments( - int index, com.google.cloud.gsuiteaddons.v1.Deployment value) { + public Builder addDeployments(int index, com.google.cloud.gsuiteaddons.v1.Deployment value) { if (deploymentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,6 +779,8 @@ public Builder addDeployments( return this; } /** + * + * *
      * The list of deployments for the given project.
      * 
@@ -731,6 +799,8 @@ public Builder addDeployments( return this; } /** + * + * *
      * The list of deployments for the given project.
      * 
@@ -749,6 +819,8 @@ public Builder addDeployments( return this; } /** + * + * *
      * The list of deployments for the given project.
      * 
@@ -759,8 +831,7 @@ public Builder addAllDeployments( java.lang.Iterable values) { if (deploymentsBuilder_ == null) { ensureDeploymentsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, deployments_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, deployments_); onChanged(); } else { deploymentsBuilder_.addAllMessages(values); @@ -768,6 +839,8 @@ public Builder addAllDeployments( return this; } /** + * + * *
      * The list of deployments for the given project.
      * 
@@ -785,6 +858,8 @@ public Builder clearDeployments() { return this; } /** + * + * *
      * The list of deployments for the given project.
      * 
@@ -802,39 +877,44 @@ public Builder removeDeployments(int index) { return this; } /** + * + * *
      * The list of deployments for the given project.
      * 
* * repeated .google.cloud.gsuiteaddons.v1.Deployment deployments = 1; */ - public com.google.cloud.gsuiteaddons.v1.Deployment.Builder getDeploymentsBuilder( - int index) { + public com.google.cloud.gsuiteaddons.v1.Deployment.Builder getDeploymentsBuilder(int index) { return getDeploymentsFieldBuilder().getBuilder(index); } /** + * + * *
      * The list of deployments for the given project.
      * 
* * repeated .google.cloud.gsuiteaddons.v1.Deployment deployments = 1; */ - public com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder getDeploymentsOrBuilder( - int index) { + public com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder getDeploymentsOrBuilder(int index) { if (deploymentsBuilder_ == null) { - return deployments_.get(index); } else { + return deployments_.get(index); + } else { return deploymentsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The list of deployments for the given project.
      * 
* * repeated .google.cloud.gsuiteaddons.v1.Deployment deployments = 1; */ - public java.util.List - getDeploymentsOrBuilderList() { + public java.util.List + getDeploymentsOrBuilderList() { if (deploymentsBuilder_ != null) { return deploymentsBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +922,8 @@ public com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder getDeploymentsOrBuil } } /** + * + * *
      * The list of deployments for the given project.
      * 
@@ -849,42 +931,48 @@ public com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder getDeploymentsOrBuil * repeated .google.cloud.gsuiteaddons.v1.Deployment deployments = 1; */ public com.google.cloud.gsuiteaddons.v1.Deployment.Builder addDeploymentsBuilder() { - return getDeploymentsFieldBuilder().addBuilder( - com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance()); + return getDeploymentsFieldBuilder() + .addBuilder(com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance()); } /** + * + * *
      * The list of deployments for the given project.
      * 
* * repeated .google.cloud.gsuiteaddons.v1.Deployment deployments = 1; */ - public com.google.cloud.gsuiteaddons.v1.Deployment.Builder addDeploymentsBuilder( - int index) { - return getDeploymentsFieldBuilder().addBuilder( - index, com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance()); + public com.google.cloud.gsuiteaddons.v1.Deployment.Builder addDeploymentsBuilder(int index) { + return getDeploymentsFieldBuilder() + .addBuilder(index, com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance()); } /** + * + * *
      * The list of deployments for the given project.
      * 
* * repeated .google.cloud.gsuiteaddons.v1.Deployment deployments = 1; */ - public java.util.List - getDeploymentsBuilderList() { + public java.util.List + getDeploymentsBuilderList() { return getDeploymentsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gsuiteaddons.v1.Deployment, com.google.cloud.gsuiteaddons.v1.Deployment.Builder, com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder> + com.google.cloud.gsuiteaddons.v1.Deployment, + com.google.cloud.gsuiteaddons.v1.Deployment.Builder, + com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder> getDeploymentsFieldBuilder() { if (deploymentsBuilder_ == null) { - deploymentsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.gsuiteaddons.v1.Deployment, com.google.cloud.gsuiteaddons.v1.Deployment.Builder, com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder>( - deployments_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + deploymentsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.gsuiteaddons.v1.Deployment, + com.google.cloud.gsuiteaddons.v1.Deployment.Builder, + com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder>( + deployments_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); deployments_ = null; } return deploymentsBuilder_; @@ -892,19 +980,21 @@ public com.google.cloud.gsuiteaddons.v1.Deployment.Builder addDeploymentsBuilder private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1003,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1026,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,12 +1100,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gsuiteaddons.v1.ListDeploymentsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.gsuiteaddons.v1.ListDeploymentsResponse) private static final com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse(); } @@ -1016,16 +1114,16 @@ public static com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDeploymentsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDeploymentsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDeploymentsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListDeploymentsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1138,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gsuiteaddons.v1.ListDeploymentsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsResponseOrBuilder.java b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsResponseOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsResponseOrBuilder.java rename to proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsResponseOrBuilder.java index 00ca8670..f6b89e48 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsResponseOrBuilder.java +++ b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ListDeploymentsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; -public interface ListDeploymentsResponseOrBuilder extends +public interface ListDeploymentsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.ListDeploymentsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The list of deployments for the given project.
    * 
* * repeated .google.cloud.gsuiteaddons.v1.Deployment deployments = 1; */ - java.util.List - getDeploymentsList(); + java.util.List getDeploymentsList(); /** + * + * *
    * The list of deployments for the given project.
    * 
@@ -25,6 +44,8 @@ public interface ListDeploymentsResponseOrBuilder extends */ com.google.cloud.gsuiteaddons.v1.Deployment getDeployments(int index); /** + * + * *
    * The list of deployments for the given project.
    * 
@@ -33,43 +54,51 @@ public interface ListDeploymentsResponseOrBuilder extends */ int getDeploymentsCount(); /** + * + * *
    * The list of deployments for the given project.
    * 
* * repeated .google.cloud.gsuiteaddons.v1.Deployment deployments = 1; */ - java.util.List + java.util.List getDeploymentsOrBuilderList(); /** + * + * *
    * The list of deployments for the given project.
    * 
* * repeated .google.cloud.gsuiteaddons.v1.Deployment deployments = 1; */ - com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder getDeploymentsOrBuilder( - int index); + com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder getDeploymentsOrBuilder(int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ProjectName.java b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ProjectName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ProjectName.java rename to proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ProjectName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ReplaceDeploymentRequest.java b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ReplaceDeploymentRequest.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ReplaceDeploymentRequest.java rename to proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ReplaceDeploymentRequest.java index ade017c5..bd8176c2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ReplaceDeploymentRequest.java +++ b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ReplaceDeploymentRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; /** + * + * *
  * Request message to create or replace a deployment.
  * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest} */ -public final class ReplaceDeploymentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ReplaceDeploymentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest) ReplaceDeploymentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReplaceDeploymentRequest.newBuilder() to construct. private ReplaceDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReplaceDeploymentRequest() { - } + + private ReplaceDeploymentRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReplaceDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ReplaceDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,26 +68,29 @@ private ReplaceDeploymentRequest( case 0: done = true; break; - case 18: { - com.google.cloud.gsuiteaddons.v1.Deployment.Builder subBuilder = null; - if (deployment_ != null) { - subBuilder = deployment_.toBuilder(); + case 18: + { + com.google.cloud.gsuiteaddons.v1.Deployment.Builder subBuilder = null; + if (deployment_ != null) { + subBuilder = deployment_.toBuilder(); + } + deployment_ = + input.readMessage( + com.google.cloud.gsuiteaddons.v1.Deployment.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(deployment_); + deployment_ = subBuilder.buildPartial(); + } + + break; } - deployment_ = input.readMessage(com.google.cloud.gsuiteaddons.v1.Deployment.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(deployment_); - deployment_ = subBuilder.buildPartial(); - } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -79,34 +98,41 @@ private ReplaceDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_ReplaceDeploymentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_ReplaceDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_ReplaceDeploymentRequest_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_ReplaceDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest.class, com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest.Builder.class); + com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest.class, + com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest.Builder.class); } public static final int DEPLOYMENT_FIELD_NUMBER = 2; private com.google.cloud.gsuiteaddons.v1.Deployment deployment_; /** + * + * *
    * Required. The deployment to create or replace.
    * 
* - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the deployment field is set. */ @java.lang.Override @@ -114,23 +140,34 @@ public boolean hasDeployment() { return deployment_ != null; } /** + * + * *
    * Required. The deployment to create or replace.
    * 
* - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The deployment. */ @java.lang.Override public com.google.cloud.gsuiteaddons.v1.Deployment getDeployment() { - return deployment_ == null ? com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance() : deployment_; + return deployment_ == null + ? com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance() + : deployment_; } /** + * + * *
    * Required. The deployment to create or replace.
    * 
* - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder getDeploymentOrBuilder() { @@ -138,6 +175,7 @@ public com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder getDeploymentOrBuild } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,8 +187,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (deployment_ != null) { output.writeMessage(2, getDeployment()); } @@ -164,8 +201,7 @@ public int getSerializedSize() { size = 0; if (deployment_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getDeployment()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDeployment()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -175,17 +211,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest other = (com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest) obj; + com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest other = + (com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest) obj; if (hasDeployment() != other.hasDeployment()) return false; if (hasDeployment()) { - if (!getDeployment() - .equals(other.getDeployment())) return false; + if (!getDeployment().equals(other.getDeployment())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -208,117 +244,127 @@ public int hashCode() { } public static com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message to create or replace a deployment.
    * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest) com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_ReplaceDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_ReplaceDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_ReplaceDeploymentRequest_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_ReplaceDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest.class, com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest.Builder.class); + com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest.class, + com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest.Builder.class); } // Construct using com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest.newBuilder() @@ -326,16 +372,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -349,9 +394,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_ReplaceDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_ReplaceDeploymentRequest_descriptor; } @java.lang.Override @@ -370,7 +415,8 @@ public com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest build() { @java.lang.Override public com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest buildPartial() { - com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest result = new com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest(this); + com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest result = + new com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest(this); if (deploymentBuilder_ == null) { result.deployment_ = deployment_; } else { @@ -384,38 +430,39 @@ public com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest) { - return mergeFrom((com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest)other); + return mergeFrom((com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest) other); } else { super.mergeFrom(other); return this; @@ -423,7 +470,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest other) { - if (other == com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest.getDefaultInstance()) + return this; if (other.hasDeployment()) { mergeDeployment(other.getDeployment()); } @@ -446,7 +494,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -458,39 +507,58 @@ public Builder mergeFrom( private com.google.cloud.gsuiteaddons.v1.Deployment deployment_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gsuiteaddons.v1.Deployment, com.google.cloud.gsuiteaddons.v1.Deployment.Builder, com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder> deploymentBuilder_; + com.google.cloud.gsuiteaddons.v1.Deployment, + com.google.cloud.gsuiteaddons.v1.Deployment.Builder, + com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder> + deploymentBuilder_; /** + * + * *
      * Required. The deployment to create or replace.
      * 
* - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the deployment field is set. */ public boolean hasDeployment() { return deploymentBuilder_ != null || deployment_ != null; } /** + * + * *
      * Required. The deployment to create or replace.
      * 
* - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The deployment. */ public com.google.cloud.gsuiteaddons.v1.Deployment getDeployment() { if (deploymentBuilder_ == null) { - return deployment_ == null ? com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance() : deployment_; + return deployment_ == null + ? com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance() + : deployment_; } else { return deploymentBuilder_.getMessage(); } } /** + * + * *
      * Required. The deployment to create or replace.
      * 
* - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDeployment(com.google.cloud.gsuiteaddons.v1.Deployment value) { if (deploymentBuilder_ == null) { @@ -506,11 +574,15 @@ public Builder setDeployment(com.google.cloud.gsuiteaddons.v1.Deployment value) return this; } /** + * + * *
      * Required. The deployment to create or replace.
      * 
* - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDeployment( com.google.cloud.gsuiteaddons.v1.Deployment.Builder builderForValue) { @@ -524,17 +596,23 @@ public Builder setDeployment( return this; } /** + * + * *
      * Required. The deployment to create or replace.
      * 
* - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeDeployment(com.google.cloud.gsuiteaddons.v1.Deployment value) { if (deploymentBuilder_ == null) { if (deployment_ != null) { deployment_ = - com.google.cloud.gsuiteaddons.v1.Deployment.newBuilder(deployment_).mergeFrom(value).buildPartial(); + com.google.cloud.gsuiteaddons.v1.Deployment.newBuilder(deployment_) + .mergeFrom(value) + .buildPartial(); } else { deployment_ = value; } @@ -546,11 +624,15 @@ public Builder mergeDeployment(com.google.cloud.gsuiteaddons.v1.Deployment value return this; } /** + * + * *
      * Required. The deployment to create or replace.
      * 
* - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDeployment() { if (deploymentBuilder_ == null) { @@ -564,55 +646,71 @@ public Builder clearDeployment() { return this; } /** + * + * *
      * Required. The deployment to create or replace.
      * 
* - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gsuiteaddons.v1.Deployment.Builder getDeploymentBuilder() { - + onChanged(); return getDeploymentFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The deployment to create or replace.
      * 
* - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder getDeploymentOrBuilder() { if (deploymentBuilder_ != null) { return deploymentBuilder_.getMessageOrBuilder(); } else { - return deployment_ == null ? - com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance() : deployment_; + return deployment_ == null + ? com.google.cloud.gsuiteaddons.v1.Deployment.getDefaultInstance() + : deployment_; } } /** + * + * *
      * Required. The deployment to create or replace.
      * 
* - * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gsuiteaddons.v1.Deployment, com.google.cloud.gsuiteaddons.v1.Deployment.Builder, com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder> + com.google.cloud.gsuiteaddons.v1.Deployment, + com.google.cloud.gsuiteaddons.v1.Deployment.Builder, + com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder> getDeploymentFieldBuilder() { if (deploymentBuilder_ == null) { - deploymentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.gsuiteaddons.v1.Deployment, com.google.cloud.gsuiteaddons.v1.Deployment.Builder, com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder>( - getDeployment(), - getParentForChildren(), - isClean()); + deploymentBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.gsuiteaddons.v1.Deployment, + com.google.cloud.gsuiteaddons.v1.Deployment.Builder, + com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder>( + getDeployment(), getParentForChildren(), isClean()); deployment_ = null; } return deploymentBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -622,12 +720,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest) private static final com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest(); } @@ -636,16 +734,16 @@ public static com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReplaceDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ReplaceDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReplaceDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReplaceDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -660,6 +758,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ReplaceDeploymentRequestOrBuilder.java b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ReplaceDeploymentRequestOrBuilder.java new file mode 100644 index 00000000..7ab6578d --- /dev/null +++ b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/ReplaceDeploymentRequestOrBuilder.java @@ -0,0 +1,66 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto + +package com.google.cloud.gsuiteaddons.v1; + +public interface ReplaceDeploymentRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.ReplaceDeploymentRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The deployment to create or replace.
+   * 
+ * + * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the deployment field is set. + */ + boolean hasDeployment(); + /** + * + * + *
+   * Required. The deployment to create or replace.
+   * 
+ * + * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The deployment. + */ + com.google.cloud.gsuiteaddons.v1.Deployment getDeployment(); + /** + * + * + *
+   * Required. The deployment to create or replace.
+   * 
+ * + * + * .google.cloud.gsuiteaddons.v1.Deployment deployment = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.gsuiteaddons.v1.DeploymentOrBuilder getDeploymentOrBuilder(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/UninstallDeploymentRequest.java b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/UninstallDeploymentRequest.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/UninstallDeploymentRequest.java rename to proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/UninstallDeploymentRequest.java index 59598fa6..43cb2c27 100644 --- a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/UninstallDeploymentRequest.java +++ b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/UninstallDeploymentRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto package com.google.cloud.gsuiteaddons.v1; /** + * + * *
  * Request message to uninstall a developer mode deployment.
  * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest} */ -public final class UninstallDeploymentRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UninstallDeploymentRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest) UninstallDeploymentRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UninstallDeploymentRequest.newBuilder() to construct. private UninstallDeploymentRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UninstallDeploymentRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UninstallDeploymentRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UninstallDeploymentRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private UninstallDeploymentRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private UninstallDeploymentRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_UninstallDeploymentRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_UninstallDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_UninstallDeploymentRequest_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_UninstallDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest.class, com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest.Builder.class); + com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest.class, + com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The full resource name of the deployment to install.
    * Example:  `projects/my_project/deployments/my_deployment`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The full resource name of the deployment to install.
    * Example:  `projects/my_project/deployments/my_deployment`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest)) { return super.equals(obj); } - com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest other = (com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest) obj; + com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest other = + (com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ public int hashCode() { } public static com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request message to uninstall a developer mode deployment.
    * 
* * Protobuf type {@code google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest) com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_UninstallDeploymentRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_UninstallDeploymentRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_UninstallDeploymentRequest_fieldAccessorTable + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_UninstallDeploymentRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest.class, com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest.Builder.class); + com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest.class, + com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest.Builder.class); } // Construct using com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest.newBuilder() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,9 +379,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto.internal_static_google_cloud_gsuiteaddons_v1_UninstallDeploymentRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsProto + .internal_static_google_cloud_gsuiteaddons_v1_UninstallDeploymentRequest_descriptor; } @java.lang.Override @@ -364,7 +400,8 @@ public com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest build() { @java.lang.Override public com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest buildPartial() { - com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest result = new com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest(this); + com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest result = + new com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest(this); result.name_ = name_; onBuilt(); return result; @@ -374,38 +411,39 @@ public com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest) { - return mergeFrom((com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest)other); + return mergeFrom((com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest) other); } else { super.mergeFrom(other); return this; @@ -413,7 +451,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest other) { - if (other == com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -437,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +489,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The full resource name of the deployment to install.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -470,21 +514,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The full resource name of the deployment to install.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -492,64 +539,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The full resource name of the deployment to install.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The full resource name of the deployment to install.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The full resource name of the deployment to install.
      * Example:  `projects/my_project/deployments/my_deployment`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -559,12 +619,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest) } // @@protoc_insertion_point(class_scope:google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest) private static final com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest(); } @@ -573,16 +633,16 @@ public static com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UninstallDeploymentRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UninstallDeploymentRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UninstallDeploymentRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UninstallDeploymentRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +657,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/UninstallDeploymentRequestOrBuilder.java b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/UninstallDeploymentRequestOrBuilder.java new file mode 100644 index 00000000..8f3dd959 --- /dev/null +++ b/proto-google-cloud-gsuite-addons-v1/src/main/java/com/google/cloud/gsuiteaddons/v1/UninstallDeploymentRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/gsuiteaddons/v1/gsuiteaddons.proto + +package com.google.cloud.gsuiteaddons.v1; + +public interface UninstallDeploymentRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The full resource name of the deployment to install.
+   * Example:  `projects/my_project/deployments/my_deployment`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The full resource name of the deployment to install.
+   * Example:  `projects/my_project/deployments/my_deployment`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/proto/google/cloud/gsuiteaddons/v1/gsuiteaddons.proto b/proto-google-cloud-gsuite-addons-v1/src/main/proto/google/cloud/gsuiteaddons/v1/gsuiteaddons.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-gsuite-addons-v1/src/main/proto/google/cloud/gsuiteaddons/v1/gsuiteaddons.proto rename to proto-google-cloud-gsuite-addons-v1/src/main/proto/google/cloud/gsuiteaddons/v1/gsuiteaddons.proto diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/create/SyncCreateSetCredentialsProvider.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/create/SyncCreateSetCredentialsProvider1.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/create/SyncCreateSetEndpoint.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/createdeployment/AsyncCreateDeployment.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/createdeployment/AsyncCreateDeployment.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/createdeployment/AsyncCreateDeployment.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/createdeployment/AsyncCreateDeployment.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/createdeployment/SyncCreateDeployment.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/createdeployment/SyncCreateDeployment.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/createdeployment/SyncCreateDeployment.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/createdeployment/SyncCreateDeployment.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/createdeployment/SyncCreateDeploymentProjectnameDeploymentString.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/createdeployment/SyncCreateDeploymentProjectnameDeploymentString.java similarity index 88% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/createdeployment/SyncCreateDeploymentProjectnameDeploymentString.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/createdeployment/SyncCreateDeploymentProjectnameDeploymentString.java index dcc5a37b..1ca05546 100644 --- a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/createdeployment/SyncCreateDeploymentProjectnameDeploymentString.java +++ b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/createdeployment/SyncCreateDeploymentProjectnameDeploymentString.java @@ -16,7 +16,8 @@ package com.google.cloud.gsuiteaddons.v1.samples; -// [START gsuiteaddons_v1_generated_gsuiteaddonsclient_createdeployment_projectnamedeploymentstring_sync] +// [START +// gsuiteaddons_v1_generated_gsuiteaddonsclient_createdeployment_projectnamedeploymentstring_sync] import com.google.cloud.gsuiteaddons.v1.Deployment; import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; import com.google.cloud.gsuiteaddons.v1.ProjectName; @@ -38,4 +39,5 @@ public static void syncCreateDeploymentProjectnameDeploymentString() throws Exce } } } -// [END gsuiteaddons_v1_generated_gsuiteaddonsclient_createdeployment_projectnamedeploymentstring_sync] +// [END +// gsuiteaddons_v1_generated_gsuiteaddonsclient_createdeployment_projectnamedeploymentstring_sync] diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/createdeployment/SyncCreateDeploymentStringDeploymentString.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/createdeployment/SyncCreateDeploymentStringDeploymentString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/createdeployment/SyncCreateDeploymentStringDeploymentString.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/createdeployment/SyncCreateDeploymentStringDeploymentString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/AsyncDeleteDeployment.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/AsyncDeleteDeployment.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/AsyncDeleteDeployment.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/AsyncDeleteDeployment.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/SyncDeleteDeployment.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/SyncDeleteDeployment.java similarity index 98% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/SyncDeleteDeployment.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/SyncDeleteDeployment.java index 59539555..4dbfdda3 100644 --- a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/SyncDeleteDeployment.java +++ b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/SyncDeleteDeployment.java @@ -20,7 +20,6 @@ import com.google.cloud.gsuiteaddons.v1.DeleteDeploymentRequest; import com.google.cloud.gsuiteaddons.v1.DeploymentName; import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; -import com.google.protobuf.Empty; public class SyncDeleteDeployment { diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/SyncDeleteDeploymentDeploymentname.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/SyncDeleteDeploymentDeploymentname.java similarity index 97% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/SyncDeleteDeploymentDeploymentname.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/SyncDeleteDeploymentDeploymentname.java index fb509918..4a4200ea 100644 --- a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/SyncDeleteDeploymentDeploymentname.java +++ b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/SyncDeleteDeploymentDeploymentname.java @@ -19,7 +19,6 @@ // [START gsuiteaddons_v1_generated_gsuiteaddonsclient_deletedeployment_deploymentname_sync] import com.google.cloud.gsuiteaddons.v1.DeploymentName; import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; -import com.google.protobuf.Empty; public class SyncDeleteDeploymentDeploymentname { diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/SyncDeleteDeploymentString.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/SyncDeleteDeploymentString.java similarity index 97% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/SyncDeleteDeploymentString.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/SyncDeleteDeploymentString.java index 53d920ed..a39e11e7 100644 --- a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/SyncDeleteDeploymentString.java +++ b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/deletedeployment/SyncDeleteDeploymentString.java @@ -19,7 +19,6 @@ // [START gsuiteaddons_v1_generated_gsuiteaddonsclient_deletedeployment_string_sync] import com.google.cloud.gsuiteaddons.v1.DeploymentName; import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; -import com.google.protobuf.Empty; public class SyncDeleteDeploymentString { diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getauthorization/AsyncGetAuthorization.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getauthorization/AsyncGetAuthorization.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getauthorization/AsyncGetAuthorization.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getauthorization/AsyncGetAuthorization.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getauthorization/SyncGetAuthorization.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getauthorization/SyncGetAuthorization.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getauthorization/SyncGetAuthorization.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getauthorization/SyncGetAuthorization.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getauthorization/SyncGetAuthorizationAuthorizationname.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getauthorization/SyncGetAuthorizationAuthorizationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getauthorization/SyncGetAuthorizationAuthorizationname.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getauthorization/SyncGetAuthorizationAuthorizationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getauthorization/SyncGetAuthorizationString.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getauthorization/SyncGetAuthorizationString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getauthorization/SyncGetAuthorizationString.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getauthorization/SyncGetAuthorizationString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getdeployment/AsyncGetDeployment.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getdeployment/AsyncGetDeployment.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getdeployment/AsyncGetDeployment.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getdeployment/AsyncGetDeployment.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getdeployment/SyncGetDeployment.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getdeployment/SyncGetDeployment.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getdeployment/SyncGetDeployment.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getdeployment/SyncGetDeployment.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getdeployment/SyncGetDeploymentDeploymentname.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getdeployment/SyncGetDeploymentDeploymentname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getdeployment/SyncGetDeploymentDeploymentname.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getdeployment/SyncGetDeploymentDeploymentname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getdeployment/SyncGetDeploymentString.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getdeployment/SyncGetDeploymentString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getdeployment/SyncGetDeploymentString.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getdeployment/SyncGetDeploymentString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getinstallstatus/AsyncGetInstallStatus.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getinstallstatus/AsyncGetInstallStatus.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getinstallstatus/AsyncGetInstallStatus.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getinstallstatus/AsyncGetInstallStatus.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getinstallstatus/SyncGetInstallStatus.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getinstallstatus/SyncGetInstallStatus.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getinstallstatus/SyncGetInstallStatus.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getinstallstatus/SyncGetInstallStatus.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getinstallstatus/SyncGetInstallStatusInstallstatusname.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getinstallstatus/SyncGetInstallStatusInstallstatusname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getinstallstatus/SyncGetInstallStatusInstallstatusname.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getinstallstatus/SyncGetInstallStatusInstallstatusname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getinstallstatus/SyncGetInstallStatusString.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getinstallstatus/SyncGetInstallStatusString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getinstallstatus/SyncGetInstallStatusString.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/getinstallstatus/SyncGetInstallStatusString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/AsyncInstallDeployment.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/AsyncInstallDeployment.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/AsyncInstallDeployment.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/AsyncInstallDeployment.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/SyncInstallDeployment.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/SyncInstallDeployment.java similarity index 98% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/SyncInstallDeployment.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/SyncInstallDeployment.java index 170c8609..c3f697ca 100644 --- a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/SyncInstallDeployment.java +++ b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/SyncInstallDeployment.java @@ -20,7 +20,6 @@ import com.google.cloud.gsuiteaddons.v1.DeploymentName; import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; import com.google.cloud.gsuiteaddons.v1.InstallDeploymentRequest; -import com.google.protobuf.Empty; public class SyncInstallDeployment { diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/SyncInstallDeploymentDeploymentname.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/SyncInstallDeploymentDeploymentname.java similarity index 97% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/SyncInstallDeploymentDeploymentname.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/SyncInstallDeploymentDeploymentname.java index 5348e617..1d8f1c49 100644 --- a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/SyncInstallDeploymentDeploymentname.java +++ b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/SyncInstallDeploymentDeploymentname.java @@ -19,7 +19,6 @@ // [START gsuiteaddons_v1_generated_gsuiteaddonsclient_installdeployment_deploymentname_sync] import com.google.cloud.gsuiteaddons.v1.DeploymentName; import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; -import com.google.protobuf.Empty; public class SyncInstallDeploymentDeploymentname { diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/SyncInstallDeploymentString.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/SyncInstallDeploymentString.java similarity index 97% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/SyncInstallDeploymentString.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/SyncInstallDeploymentString.java index 474c4c14..d83b406e 100644 --- a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/SyncInstallDeploymentString.java +++ b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/installdeployment/SyncInstallDeploymentString.java @@ -19,7 +19,6 @@ // [START gsuiteaddons_v1_generated_gsuiteaddonsclient_installdeployment_string_sync] import com.google.cloud.gsuiteaddons.v1.DeploymentName; import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; -import com.google.protobuf.Empty; public class SyncInstallDeploymentString { diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/AsyncListDeployments.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/AsyncListDeployments.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/AsyncListDeployments.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/AsyncListDeployments.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/AsyncListDeploymentsPaged.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/AsyncListDeploymentsPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/AsyncListDeploymentsPaged.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/AsyncListDeploymentsPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/SyncListDeployments.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/SyncListDeployments.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/SyncListDeployments.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/SyncListDeployments.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/SyncListDeploymentsProjectname.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/SyncListDeploymentsProjectname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/SyncListDeploymentsProjectname.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/SyncListDeploymentsProjectname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/SyncListDeploymentsString.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/SyncListDeploymentsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/SyncListDeploymentsString.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/listdeployments/SyncListDeploymentsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/replacedeployment/AsyncReplaceDeployment.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/replacedeployment/AsyncReplaceDeployment.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/replacedeployment/AsyncReplaceDeployment.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/replacedeployment/AsyncReplaceDeployment.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/replacedeployment/SyncReplaceDeployment.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/replacedeployment/SyncReplaceDeployment.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/replacedeployment/SyncReplaceDeployment.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/replacedeployment/SyncReplaceDeployment.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/replacedeployment/SyncReplaceDeploymentDeployment.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/replacedeployment/SyncReplaceDeploymentDeployment.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/replacedeployment/SyncReplaceDeploymentDeployment.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/replacedeployment/SyncReplaceDeploymentDeployment.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/AsyncUninstallDeployment.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/AsyncUninstallDeployment.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/AsyncUninstallDeployment.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/AsyncUninstallDeployment.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/SyncUninstallDeployment.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/SyncUninstallDeployment.java similarity index 98% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/SyncUninstallDeployment.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/SyncUninstallDeployment.java index 30921336..b1934290 100644 --- a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/SyncUninstallDeployment.java +++ b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/SyncUninstallDeployment.java @@ -20,7 +20,6 @@ import com.google.cloud.gsuiteaddons.v1.DeploymentName; import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; import com.google.cloud.gsuiteaddons.v1.UninstallDeploymentRequest; -import com.google.protobuf.Empty; public class SyncUninstallDeployment { diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/SyncUninstallDeploymentDeploymentname.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/SyncUninstallDeploymentDeploymentname.java similarity index 97% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/SyncUninstallDeploymentDeploymentname.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/SyncUninstallDeploymentDeploymentname.java index ed27582e..7a1b0d42 100644 --- a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/SyncUninstallDeploymentDeploymentname.java +++ b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/SyncUninstallDeploymentDeploymentname.java @@ -19,7 +19,6 @@ // [START gsuiteaddons_v1_generated_gsuiteaddonsclient_uninstalldeployment_deploymentname_sync] import com.google.cloud.gsuiteaddons.v1.DeploymentName; import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; -import com.google.protobuf.Empty; public class SyncUninstallDeploymentDeploymentname { diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/SyncUninstallDeploymentString.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/SyncUninstallDeploymentString.java similarity index 97% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/SyncUninstallDeploymentString.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/SyncUninstallDeploymentString.java index 4b003784..df6c6386 100644 --- a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/SyncUninstallDeploymentString.java +++ b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonsclient/uninstalldeployment/SyncUninstallDeploymentString.java @@ -19,7 +19,6 @@ // [START gsuiteaddons_v1_generated_gsuiteaddonsclient_uninstalldeployment_string_sync] import com.google.cloud.gsuiteaddons.v1.DeploymentName; import com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClient; -import com.google.protobuf.Empty; public class SyncUninstallDeploymentString { diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonssettings/getauthorization/SyncGetAuthorization.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonssettings/getauthorization/SyncGetAuthorization.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonssettings/getauthorization/SyncGetAuthorization.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/gsuiteaddonssettings/getauthorization/SyncGetAuthorization.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/stub/gsuiteaddonsstubsettings/getauthorization/SyncGetAuthorization.java b/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/stub/gsuiteaddonsstubsettings/getauthorization/SyncGetAuthorization.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/stub/gsuiteaddonsstubsettings/getauthorization/SyncGetAuthorization.java rename to samples/snippets/generated/com/google/cloud/gsuiteaddons/v1/stub/gsuiteaddonsstubsettings/getauthorization/SyncGetAuthorization.java From 25fe4fe42c792dbd34f333d71c79771c1923f5f2 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Thu, 23 Jun 2022 21:00:21 +0000 Subject: [PATCH 3/4] deps: adding gax-httpjson --- google-cloud-gsuite-addons/pom.xml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/google-cloud-gsuite-addons/pom.xml b/google-cloud-gsuite-addons/pom.xml index e0f7c210..c6c95e75 100644 --- a/google-cloud-gsuite-addons/pom.xml +++ b/google-cloud-gsuite-addons/pom.xml @@ -58,6 +58,10 @@ com.google.api gax-grpc + + com.google.api + gax-httpjson + org.threeten threetenbp @@ -77,12 +81,24 @@ test + + com.google.api + gax + testlib + test + com.google.api gax-grpc testlib test + + com.google.api + gax-httpjson + testlib + test + From d8c58f696c5139464506a8391b3ed85ce3df18ab Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 23 Jun 2022 21:02:39 +0000 Subject: [PATCH 4/4] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f0e9cf2f..7b456a44 100644 --- a/README.md +++ b/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-gsuite-addons - 2.2.0 + 2.2.1 ``` If you are using Gradle without BOM, add this to your dependencies ```Groovy -implementation 'com.google.cloud:google-cloud-gsuite-addons:2.2.0' +implementation 'com.google.cloud:google-cloud-gsuite-addons:2.2.1' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-gsuite-addons" % "2.2.0" +libraryDependencies += "com.google.cloud" % "google-cloud-gsuite-addons" % "2.2.1" ``` ## Authentication