diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ApplicationsClient.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ApplicationsClient.java index 5cba4559..e816f70a 100644 --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ApplicationsClient.java +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ApplicationsClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2021 Google LLC + * 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. @@ -37,10 +37,11 @@ * calls that map to API methods. Sample code to get started: * *
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * try (ApplicationsClient applicationsClient = ApplicationsClient.create()) {
- *   GetApplicationRequest request =
- *       GetApplicationRequest.newBuilder().setName("name3373707").build();
- *   Application response = applicationsClient.getApplication(request);
+ *   String name = "name3373707";
+ *   Application response = applicationsClient.getApplication(name);
  * }
  * }
* @@ -73,6 +74,8 @@ *

To customize credentials: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * ApplicationsSettings applicationsSettings =
  *     ApplicationsSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -83,6 +86,8 @@
  * 

To customize the endpoint: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * ApplicationsSettings applicationsSettings =
  *     ApplicationsSettings.newBuilder().setEndpoint(myEndpoint).build();
  * ApplicationsClient applicationsClient = ApplicationsClient.create(applicationsSettings);
@@ -160,6 +165,31 @@ public final OperationsClient getOperationsClient() {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (ApplicationsClient applicationsClient = ApplicationsClient.create()) {
+   *   String name = "name3373707";
+   *   Application response = applicationsClient.getApplication(name);
+   * }
+   * }
+ * + * @param name Name of the Application resource to get. Example: `apps/myapp`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Application getApplication(String name) { + GetApplicationRequest request = GetApplicationRequest.newBuilder().setName(name).build(); + return getApplication(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about an application. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApplicationsClient applicationsClient = ApplicationsClient.create()) {
    *   GetApplicationRequest request =
    *       GetApplicationRequest.newBuilder().setName("name3373707").build();
@@ -181,6 +211,8 @@ public final Application getApplication(GetApplicationRequest request) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApplicationsClient applicationsClient = ApplicationsClient.create()) {
    *   GetApplicationRequest request =
    *       GetApplicationRequest.newBuilder().setName("name3373707").build();
@@ -211,6 +243,8 @@ public final UnaryCallable getApplicationCal
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApplicationsClient applicationsClient = ApplicationsClient.create()) {
    *   CreateApplicationRequest request =
    *       CreateApplicationRequest.newBuilder()
@@ -244,6 +278,8 @@ public final OperationFuture createApplication
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApplicationsClient applicationsClient = ApplicationsClient.create()) {
    *   CreateApplicationRequest request =
    *       CreateApplicationRequest.newBuilder()
@@ -277,6 +313,8 @@ public final OperationFuture createApplication
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApplicationsClient applicationsClient = ApplicationsClient.create()) {
    *   CreateApplicationRequest request =
    *       CreateApplicationRequest.newBuilder()
@@ -301,11 +339,14 @@ public final UnaryCallable createApplicatio
    *   
  • `auth_domain` - Google authentication domain for controlling user access to the * application. *
  • `default_cookie_expiration` - Cookie expiration policy for the application. + *
  • `iap` - Identity-Aware Proxy properties for the application. * * *

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (ApplicationsClient applicationsClient = ApplicationsClient.create()) {
        *   UpdateApplicationRequest request =
        *       UpdateApplicationRequest.newBuilder()
    @@ -333,11 +374,14 @@ public final OperationFuture updateApplication
        *   
  • `auth_domain` - Google authentication domain for controlling user access to the * application. *
  • `default_cookie_expiration` - Cookie expiration policy for the application. + *
  • `iap` - Identity-Aware Proxy properties for the application. * * *

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (ApplicationsClient applicationsClient = ApplicationsClient.create()) {
        *   UpdateApplicationRequest request =
        *       UpdateApplicationRequest.newBuilder()
    @@ -365,11 +409,14 @@ public final OperationFuture updateApplication
        *   
  • `auth_domain` - Google authentication domain for controlling user access to the * application. *
  • `default_cookie_expiration` - Cookie expiration policy for the application. + *
  • `iap` - Identity-Aware Proxy properties for the application. * * *

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (ApplicationsClient applicationsClient = ApplicationsClient.create()) {
        *   UpdateApplicationRequest request =
        *       UpdateApplicationRequest.newBuilder()
    @@ -401,6 +448,8 @@ public final UnaryCallable updateApplicatio
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (ApplicationsClient applicationsClient = ApplicationsClient.create()) {
        *   RepairApplicationRequest request =
        *       RepairApplicationRequest.newBuilder().setName("name3373707").build();
    @@ -429,6 +478,8 @@ public final OperationFuture repairApplication
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (ApplicationsClient applicationsClient = ApplicationsClient.create()) {
        *   RepairApplicationRequest request =
        *       RepairApplicationRequest.newBuilder().setName("name3373707").build();
    @@ -457,6 +508,8 @@ public final OperationFuture repairApplication
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (ApplicationsClient applicationsClient = ApplicationsClient.create()) {
        *   RepairApplicationRequest request =
        *       RepairApplicationRequest.newBuilder().setName("name3373707").build();
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ApplicationsSettings.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ApplicationsSettings.java
    index 6952757d..b0691a46 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ApplicationsSettings.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ApplicationsSettings.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    @@ -51,6 +51,8 @@
      * 

    For example, to set the total timeout of getApplication to 30 seconds: * *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * ApplicationsSettings.Builder applicationsSettingsBuilder = ApplicationsSettings.newBuilder();
      * applicationsSettingsBuilder
      *     .getApplicationSettings()
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedCertificatesClient.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedCertificatesClient.java
    index a9f98893..7f3ee6f4 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedCertificatesClient.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedCertificatesClient.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    @@ -43,6 +43,8 @@
      * calls that map to API methods. Sample code to get started:
      *
      * 
    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * try (AuthorizedCertificatesClient authorizedCertificatesClient =
      *     AuthorizedCertificatesClient.create()) {
      *   GetAuthorizedCertificateRequest request =
    @@ -85,6 +87,8 @@
      * 

    To customize credentials: * *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * AuthorizedCertificatesSettings authorizedCertificatesSettings =
      *     AuthorizedCertificatesSettings.newBuilder()
      *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
    @@ -96,6 +100,8 @@
      * 

    To customize the endpoint: * *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * AuthorizedCertificatesSettings authorizedCertificatesSettings =
      *     AuthorizedCertificatesSettings.newBuilder().setEndpoint(myEndpoint).build();
      * AuthorizedCertificatesClient authorizedCertificatesClient =
    @@ -165,6 +171,8 @@ public AuthorizedCertificatesStub getStub() {
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (AuthorizedCertificatesClient authorizedCertificatesClient =
        *     AuthorizedCertificatesClient.create()) {
        *   ListAuthorizedCertificatesRequest request =
    @@ -196,6 +204,8 @@ public final ListAuthorizedCertificatesPagedResponse listAuthorizedCertificates(
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (AuthorizedCertificatesClient authorizedCertificatesClient =
        *     AuthorizedCertificatesClient.create()) {
        *   ListAuthorizedCertificatesRequest request =
    @@ -229,6 +239,8 @@ public final ListAuthorizedCertificatesPagedResponse listAuthorizedCertificates(
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (AuthorizedCertificatesClient authorizedCertificatesClient =
        *     AuthorizedCertificatesClient.create()) {
        *   ListAuthorizedCertificatesRequest request =
    @@ -266,6 +278,8 @@ public final ListAuthorizedCertificatesPagedResponse listAuthorizedCertificates(
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (AuthorizedCertificatesClient authorizedCertificatesClient =
        *     AuthorizedCertificatesClient.create()) {
        *   GetAuthorizedCertificateRequest request =
    @@ -293,6 +307,8 @@ public final AuthorizedCertificate getAuthorizedCertificate(
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (AuthorizedCertificatesClient authorizedCertificatesClient =
        *     AuthorizedCertificatesClient.create()) {
        *   GetAuthorizedCertificateRequest request =
    @@ -319,6 +335,8 @@ public final AuthorizedCertificate getAuthorizedCertificate(
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (AuthorizedCertificatesClient authorizedCertificatesClient =
        *     AuthorizedCertificatesClient.create()) {
        *   CreateAuthorizedCertificateRequest request =
    @@ -346,6 +364,8 @@ public final AuthorizedCertificate createAuthorizedCertificate(
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (AuthorizedCertificatesClient authorizedCertificatesClient =
        *     AuthorizedCertificatesClient.create()) {
        *   CreateAuthorizedCertificateRequest request =
    @@ -375,6 +395,8 @@ public final AuthorizedCertificate createAuthorizedCertificate(
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (AuthorizedCertificatesClient authorizedCertificatesClient =
        *     AuthorizedCertificatesClient.create()) {
        *   UpdateAuthorizedCertificateRequest request =
    @@ -406,6 +428,8 @@ public final AuthorizedCertificate updateAuthorizedCertificate(
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (AuthorizedCertificatesClient authorizedCertificatesClient =
        *     AuthorizedCertificatesClient.create()) {
        *   UpdateAuthorizedCertificateRequest request =
    @@ -433,6 +457,8 @@ public final AuthorizedCertificate updateAuthorizedCertificate(
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (AuthorizedCertificatesClient authorizedCertificatesClient =
        *     AuthorizedCertificatesClient.create()) {
        *   DeleteAuthorizedCertificateRequest request =
    @@ -455,6 +481,8 @@ public final void deleteAuthorizedCertificate(DeleteAuthorizedCertificateRequest
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (AuthorizedCertificatesClient authorizedCertificatesClient =
        *     AuthorizedCertificatesClient.create()) {
        *   DeleteAuthorizedCertificateRequest request =
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedCertificatesSettings.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedCertificatesSettings.java
    index 11698915..bd859c29 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedCertificatesSettings.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedCertificatesSettings.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    @@ -53,6 +53,8 @@
      * 

    For example, to set the total timeout of getAuthorizedCertificate to 30 seconds: * *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * AuthorizedCertificatesSettings.Builder authorizedCertificatesSettingsBuilder =
      *     AuthorizedCertificatesSettings.newBuilder();
      * authorizedCertificatesSettingsBuilder
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedDomainsClient.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedDomainsClient.java
    index 69d7772b..431aa52f 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedDomainsClient.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedDomainsClient.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    @@ -43,6 +43,8 @@
      * calls that map to API methods. Sample code to get started:
      *
      * 
    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * try (AuthorizedDomainsClient authorizedDomainsClient = AuthorizedDomainsClient.create()) {
      *   ListAuthorizedDomainsRequest request =
      *       ListAuthorizedDomainsRequest.newBuilder()
    @@ -87,6 +89,8 @@
      * 

    To customize credentials: * *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * AuthorizedDomainsSettings authorizedDomainsSettings =
      *     AuthorizedDomainsSettings.newBuilder()
      *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
    @@ -98,6 +102,8 @@
      * 

    To customize the endpoint: * *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * AuthorizedDomainsSettings authorizedDomainsSettings =
      *     AuthorizedDomainsSettings.newBuilder().setEndpoint(myEndpoint).build();
      * AuthorizedDomainsClient authorizedDomainsClient =
    @@ -166,6 +172,8 @@ public AuthorizedDomainsStub getStub() {
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (AuthorizedDomainsClient authorizedDomainsClient = AuthorizedDomainsClient.create()) {
        *   ListAuthorizedDomainsRequest request =
        *       ListAuthorizedDomainsRequest.newBuilder()
    @@ -195,6 +203,8 @@ public final ListAuthorizedDomainsPagedResponse listAuthorizedDomains(
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (AuthorizedDomainsClient authorizedDomainsClient = AuthorizedDomainsClient.create()) {
        *   ListAuthorizedDomainsRequest request =
        *       ListAuthorizedDomainsRequest.newBuilder()
    @@ -223,6 +233,8 @@ public final ListAuthorizedDomainsPagedResponse listAuthorizedDomains(
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (AuthorizedDomainsClient authorizedDomainsClient = AuthorizedDomainsClient.create()) {
        *   ListAuthorizedDomainsRequest request =
        *       ListAuthorizedDomainsRequest.newBuilder()
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedDomainsSettings.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedDomainsSettings.java
    index 73820891..35cd464d 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedDomainsSettings.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedDomainsSettings.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    @@ -52,6 +52,8 @@
      * 

    For example, to set the total timeout of listAuthorizedDomains to 30 seconds: * *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * AuthorizedDomainsSettings.Builder authorizedDomainsSettingsBuilder =
      *     AuthorizedDomainsSettings.newBuilder();
      * authorizedDomainsSettingsBuilder
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/DomainMappingsClient.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/DomainMappingsClient.java
    index 878ca4dd..4e081faa 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/DomainMappingsClient.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/DomainMappingsClient.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    @@ -46,6 +46,8 @@
      * calls that map to API methods. Sample code to get started:
      *
      * 
    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * try (DomainMappingsClient domainMappingsClient = DomainMappingsClient.create()) {
      *   GetDomainMappingRequest request =
      *       GetDomainMappingRequest.newBuilder().setName("name3373707").build();
    @@ -82,6 +84,8 @@
      * 

    To customize credentials: * *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * DomainMappingsSettings domainMappingsSettings =
      *     DomainMappingsSettings.newBuilder()
      *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
    @@ -92,6 +96,8 @@
      * 

    To customize the endpoint: * *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * DomainMappingsSettings domainMappingsSettings =
      *     DomainMappingsSettings.newBuilder().setEndpoint(myEndpoint).build();
      * DomainMappingsClient domainMappingsClient = DomainMappingsClient.create(domainMappingsSettings);
    @@ -170,6 +176,8 @@ public final OperationsClient getOperationsClient() {
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (DomainMappingsClient domainMappingsClient = DomainMappingsClient.create()) {
        *   ListDomainMappingsRequest request =
        *       ListDomainMappingsRequest.newBuilder()
    @@ -198,6 +206,8 @@ public final ListDomainMappingsPagedResponse listDomainMappings(
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (DomainMappingsClient domainMappingsClient = DomainMappingsClient.create()) {
        *   ListDomainMappingsRequest request =
        *       ListDomainMappingsRequest.newBuilder()
    @@ -226,6 +236,8 @@ public final ListDomainMappingsPagedResponse listDomainMappings(
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (DomainMappingsClient domainMappingsClient = DomainMappingsClient.create()) {
        *   ListDomainMappingsRequest request =
        *       ListDomainMappingsRequest.newBuilder()
    @@ -261,6 +273,8 @@ public final ListDomainMappingsPagedResponse listDomainMappings(
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (DomainMappingsClient domainMappingsClient = DomainMappingsClient.create()) {
        *   GetDomainMappingRequest request =
        *       GetDomainMappingRequest.newBuilder().setName("name3373707").build();
    @@ -282,6 +296,8 @@ public final DomainMapping getDomainMapping(GetDomainMappingRequest request) {
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (DomainMappingsClient domainMappingsClient = DomainMappingsClient.create()) {
        *   GetDomainMappingRequest request =
        *       GetDomainMappingRequest.newBuilder().setName("name3373707").build();
    @@ -305,6 +321,8 @@ public final UnaryCallable getDomainMapp
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (DomainMappingsClient domainMappingsClient = DomainMappingsClient.create()) {
        *   CreateDomainMappingRequest request =
        *       CreateDomainMappingRequest.newBuilder()
    @@ -333,6 +351,8 @@ public final OperationFuture createDomainMap
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (DomainMappingsClient domainMappingsClient = DomainMappingsClient.create()) {
        *   CreateDomainMappingRequest request =
        *       CreateDomainMappingRequest.newBuilder()
    @@ -361,6 +381,8 @@ public final OperationFuture createDomainMap
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (DomainMappingsClient domainMappingsClient = DomainMappingsClient.create()) {
        *   CreateDomainMappingRequest request =
        *       CreateDomainMappingRequest.newBuilder()
    @@ -388,6 +410,8 @@ public final UnaryCallable createDomainMa
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (DomainMappingsClient domainMappingsClient = DomainMappingsClient.create()) {
        *   UpdateDomainMappingRequest request =
        *       UpdateDomainMappingRequest.newBuilder()
    @@ -416,6 +440,8 @@ public final OperationFuture updateDomainMap
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (DomainMappingsClient domainMappingsClient = DomainMappingsClient.create()) {
        *   UpdateDomainMappingRequest request =
        *       UpdateDomainMappingRequest.newBuilder()
    @@ -444,6 +470,8 @@ public final OperationFuture updateDomainMap
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (DomainMappingsClient domainMappingsClient = DomainMappingsClient.create()) {
        *   UpdateDomainMappingRequest request =
        *       UpdateDomainMappingRequest.newBuilder()
    @@ -470,6 +498,8 @@ public final UnaryCallable updateDomainMa
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (DomainMappingsClient domainMappingsClient = DomainMappingsClient.create()) {
        *   DeleteDomainMappingRequest request =
        *       DeleteDomainMappingRequest.newBuilder().setName("name3373707").build();
    @@ -493,6 +523,8 @@ public final OperationFuture deleteDomainMappingAsyn
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (DomainMappingsClient domainMappingsClient = DomainMappingsClient.create()) {
        *   DeleteDomainMappingRequest request =
        *       DeleteDomainMappingRequest.newBuilder().setName("name3373707").build();
    @@ -516,6 +548,8 @@ public final OperationFuture deleteDomainMappingAsyn
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (DomainMappingsClient domainMappingsClient = DomainMappingsClient.create()) {
        *   DeleteDomainMappingRequest request =
        *       DeleteDomainMappingRequest.newBuilder().setName("name3373707").build();
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/DomainMappingsSettings.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/DomainMappingsSettings.java
    index 205fd58e..cd13c623 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/DomainMappingsSettings.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/DomainMappingsSettings.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    @@ -55,6 +55,8 @@
      * 

    For example, to set the total timeout of getDomainMapping to 30 seconds: * *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * DomainMappingsSettings.Builder domainMappingsSettingsBuilder =
      *     DomainMappingsSettings.newBuilder();
      * domainMappingsSettingsBuilder
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/FirewallClient.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/FirewallClient.java
    index f7be218f..d73c5a8b 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/FirewallClient.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/FirewallClient.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    @@ -51,6 +51,8 @@
      * calls that map to API methods. Sample code to get started:
      *
      * 
    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * try (FirewallClient firewallClient = FirewallClient.create()) {
      *   BatchUpdateIngressRulesRequest request =
      *       BatchUpdateIngressRulesRequest.newBuilder()
    @@ -90,6 +92,8 @@
      * 

    To customize credentials: * *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * FirewallSettings firewallSettings =
      *     FirewallSettings.newBuilder()
      *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
    @@ -100,6 +104,8 @@
      * 

    To customize the endpoint: * *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * FirewallSettings firewallSettings =
      *     FirewallSettings.newBuilder().setEndpoint(myEndpoint).build();
      * FirewallClient firewallClient = FirewallClient.create(firewallSettings);
    @@ -165,6 +171,8 @@ public FirewallStub getStub() {
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (FirewallClient firewallClient = FirewallClient.create()) {
        *   ListIngressRulesRequest request =
        *       ListIngressRulesRequest.newBuilder()
    @@ -193,6 +201,8 @@ public final ListIngressRulesPagedResponse listIngressRules(ListIngressRulesRequ
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (FirewallClient firewallClient = FirewallClient.create()) {
        *   ListIngressRulesRequest request =
        *       ListIngressRulesRequest.newBuilder()
    @@ -222,6 +232,8 @@ public final ListIngressRulesPagedResponse listIngressRules(ListIngressRulesRequ
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (FirewallClient firewallClient = FirewallClient.create()) {
        *   ListIngressRulesRequest request =
        *       ListIngressRulesRequest.newBuilder()
    @@ -261,6 +273,8 @@ public final ListIngressRulesPagedResponse listIngressRules(ListIngressRulesRequ
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (FirewallClient firewallClient = FirewallClient.create()) {
        *   BatchUpdateIngressRulesRequest request =
        *       BatchUpdateIngressRulesRequest.newBuilder()
    @@ -290,6 +304,8 @@ public final BatchUpdateIngressRulesResponse batchUpdateIngressRules(
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (FirewallClient firewallClient = FirewallClient.create()) {
        *   BatchUpdateIngressRulesRequest request =
        *       BatchUpdateIngressRulesRequest.newBuilder()
    @@ -315,6 +331,8 @@ public final BatchUpdateIngressRulesResponse batchUpdateIngressRules(
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (FirewallClient firewallClient = FirewallClient.create()) {
        *   CreateIngressRuleRequest request =
        *       CreateIngressRuleRequest.newBuilder()
    @@ -339,6 +357,8 @@ public final FirewallRule createIngressRule(CreateIngressRuleRequest request) {
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (FirewallClient firewallClient = FirewallClient.create()) {
        *   CreateIngressRuleRequest request =
        *       CreateIngressRuleRequest.newBuilder()
    @@ -363,6 +383,8 @@ public final UnaryCallable createIngress
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (FirewallClient firewallClient = FirewallClient.create()) {
        *   GetIngressRuleRequest request =
        *       GetIngressRuleRequest.newBuilder().setName("name3373707").build();
    @@ -384,6 +406,8 @@ public final FirewallRule getIngressRule(GetIngressRuleRequest request) {
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (FirewallClient firewallClient = FirewallClient.create()) {
        *   GetIngressRuleRequest request =
        *       GetIngressRuleRequest.newBuilder().setName("name3373707").build();
    @@ -404,6 +428,8 @@ public final UnaryCallable getIngressRuleCa
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (FirewallClient firewallClient = FirewallClient.create()) {
        *   UpdateIngressRuleRequest request =
        *       UpdateIngressRuleRequest.newBuilder()
    @@ -429,6 +455,8 @@ public final FirewallRule updateIngressRule(UpdateIngressRuleRequest request) {
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (FirewallClient firewallClient = FirewallClient.create()) {
        *   UpdateIngressRuleRequest request =
        *       UpdateIngressRuleRequest.newBuilder()
    @@ -454,6 +482,8 @@ public final UnaryCallable updateIngress
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (FirewallClient firewallClient = FirewallClient.create()) {
        *   DeleteIngressRuleRequest request =
        *       DeleteIngressRuleRequest.newBuilder().setName("name3373707").build();
    @@ -475,6 +505,8 @@ public final void deleteIngressRule(DeleteIngressRuleRequest request) {
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (FirewallClient firewallClient = FirewallClient.create()) {
        *   DeleteIngressRuleRequest request =
        *       DeleteIngressRuleRequest.newBuilder().setName("name3373707").build();
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/FirewallSettings.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/FirewallSettings.java
    index 36d53a96..0898e161 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/FirewallSettings.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/FirewallSettings.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    @@ -54,6 +54,8 @@
      * 

    For example, to set the total timeout of batchUpdateIngressRules to 30 seconds: * *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * FirewallSettings.Builder firewallSettingsBuilder = FirewallSettings.newBuilder();
      * firewallSettingsBuilder
      *     .batchUpdateIngressRulesSettings()
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/InstancesClient.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/InstancesClient.java
    index 7f671fee..322ddddc 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/InstancesClient.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/InstancesClient.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    @@ -46,6 +46,8 @@
      * calls that map to API methods. Sample code to get started:
      *
      * 
    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * try (InstancesClient instancesClient = InstancesClient.create()) {
      *   GetInstanceRequest request = GetInstanceRequest.newBuilder().setName("name3373707").build();
      *   Instance response = instancesClient.getInstance(request);
    @@ -81,6 +83,8 @@
      * 

    To customize credentials: * *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * InstancesSettings instancesSettings =
      *     InstancesSettings.newBuilder()
      *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
    @@ -91,6 +95,8 @@
      * 

    To customize the endpoint: * *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * InstancesSettings instancesSettings =
      *     InstancesSettings.newBuilder().setEndpoint(myEndpoint).build();
      * InstancesClient instancesClient = InstancesClient.create(instancesSettings);
    @@ -170,6 +176,8 @@ public final OperationsClient getOperationsClient() {
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (InstancesClient instancesClient = InstancesClient.create()) {
        *   ListInstancesRequest request =
        *       ListInstancesRequest.newBuilder()
    @@ -200,6 +208,8 @@ public final ListInstancesPagedResponse listInstances(ListInstancesRequest reque
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (InstancesClient instancesClient = InstancesClient.create()) {
        *   ListInstancesRequest request =
        *       ListInstancesRequest.newBuilder()
    @@ -230,6 +240,8 @@ public final ListInstancesPagedResponse listInstances(ListInstancesRequest reque
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (InstancesClient instancesClient = InstancesClient.create()) {
        *   ListInstancesRequest request =
        *       ListInstancesRequest.newBuilder()
    @@ -263,6 +275,8 @@ public final UnaryCallable listInst
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (InstancesClient instancesClient = InstancesClient.create()) {
        *   GetInstanceRequest request = GetInstanceRequest.newBuilder().setName("name3373707").build();
        *   Instance response = instancesClient.getInstance(request);
    @@ -283,6 +297,8 @@ public final Instance getInstance(GetInstanceRequest request) {
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (InstancesClient instancesClient = InstancesClient.create()) {
        *   GetInstanceRequest request = GetInstanceRequest.newBuilder().setName("name3373707").build();
        *   ApiFuture future = instancesClient.getInstanceCallable().futureCall(request);
    @@ -314,6 +330,8 @@ public final UnaryCallable getInstanceCallable() {
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (InstancesClient instancesClient = InstancesClient.create()) {
        *   DeleteInstanceRequest request =
        *       DeleteInstanceRequest.newBuilder().setName("name3373707").build();
    @@ -348,6 +366,8 @@ public final OperationFuture deleteInstanceAsync(
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (InstancesClient instancesClient = InstancesClient.create()) {
        *   DeleteInstanceRequest request =
        *       DeleteInstanceRequest.newBuilder().setName("name3373707").build();
    @@ -382,6 +402,8 @@ public final OperationFuture deleteInstanceAsync(
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (InstancesClient instancesClient = InstancesClient.create()) {
        *   DeleteInstanceRequest request =
        *       DeleteInstanceRequest.newBuilder().setName("name3373707").build();
    @@ -407,6 +429,8 @@ public final UnaryCallable deleteInstanceCalla
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (InstancesClient instancesClient = InstancesClient.create()) {
        *   DebugInstanceRequest request =
        *       DebugInstanceRequest.newBuilder()
    @@ -437,6 +461,8 @@ public final OperationFuture debugInstanceAsync(
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (InstancesClient instancesClient = InstancesClient.create()) {
        *   DebugInstanceRequest request =
        *       DebugInstanceRequest.newBuilder()
    @@ -467,6 +493,8 @@ public final OperationFuture debugInstanceAsync(
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (InstancesClient instancesClient = InstancesClient.create()) {
        *   DebugInstanceRequest request =
        *       DebugInstanceRequest.newBuilder()
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/InstancesSettings.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/InstancesSettings.java
    index 2d57b69e..192c896b 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/InstancesSettings.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/InstancesSettings.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    @@ -55,6 +55,8 @@
      * 

    For example, to set the total timeout of getInstance to 30 seconds: * *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * InstancesSettings.Builder instancesSettingsBuilder = InstancesSettings.newBuilder();
      * instancesSettingsBuilder
      *     .getInstanceSettings()
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ServicesClient.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ServicesClient.java
    index b70684ef..5b457010 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ServicesClient.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ServicesClient.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    @@ -46,6 +46,8 @@
      * calls that map to API methods. Sample code to get started:
      *
      * 
    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * try (ServicesClient servicesClient = ServicesClient.create()) {
      *   GetServiceRequest request = GetServiceRequest.newBuilder().setName("name3373707").build();
      *   Service response = servicesClient.getService(request);
    @@ -81,6 +83,8 @@
      * 

    To customize credentials: * *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * ServicesSettings servicesSettings =
      *     ServicesSettings.newBuilder()
      *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
    @@ -91,6 +95,8 @@
      * 

    To customize the endpoint: * *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * ServicesSettings servicesSettings =
      *     ServicesSettings.newBuilder().setEndpoint(myEndpoint).build();
      * ServicesClient servicesClient = ServicesClient.create(servicesSettings);
    @@ -167,6 +173,8 @@ public final OperationsClient getOperationsClient() {
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (ServicesClient servicesClient = ServicesClient.create()) {
        *   ListServicesRequest request =
        *       ListServicesRequest.newBuilder()
    @@ -194,6 +202,8 @@ public final ListServicesPagedResponse listServices(ListServicesRequest request)
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (ServicesClient servicesClient = ServicesClient.create()) {
        *   ListServicesRequest request =
        *       ListServicesRequest.newBuilder()
    @@ -221,6 +231,8 @@ public final ListServicesPagedResponse listServices(ListServicesRequest request)
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (ServicesClient servicesClient = ServicesClient.create()) {
        *   ListServicesRequest request =
        *       ListServicesRequest.newBuilder()
    @@ -254,6 +266,8 @@ public final UnaryCallable listServic
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (ServicesClient servicesClient = ServicesClient.create()) {
        *   GetServiceRequest request = GetServiceRequest.newBuilder().setName("name3373707").build();
        *   Service response = servicesClient.getService(request);
    @@ -274,6 +288,8 @@ public final Service getService(GetServiceRequest request) {
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (ServicesClient servicesClient = ServicesClient.create()) {
        *   GetServiceRequest request = GetServiceRequest.newBuilder().setName("name3373707").build();
        *   ApiFuture future = servicesClient.getServiceCallable().futureCall(request);
    @@ -293,6 +309,8 @@ public final UnaryCallable getServiceCallable() {
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (ServicesClient servicesClient = ServicesClient.create()) {
        *   UpdateServiceRequest request =
        *       UpdateServiceRequest.newBuilder()
    @@ -320,6 +338,8 @@ public final OperationFuture updateServiceAsync(
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (ServicesClient servicesClient = ServicesClient.create()) {
        *   UpdateServiceRequest request =
        *       UpdateServiceRequest.newBuilder()
    @@ -347,6 +367,8 @@ public final OperationFuture updateServiceAsync(
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (ServicesClient servicesClient = ServicesClient.create()) {
        *   UpdateServiceRequest request =
        *       UpdateServiceRequest.newBuilder()
    @@ -372,6 +394,8 @@ public final UnaryCallable updateServiceCallabl
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (ServicesClient servicesClient = ServicesClient.create()) {
        *   DeleteServiceRequest request =
        *       DeleteServiceRequest.newBuilder().setName("name3373707").build();
    @@ -394,6 +418,8 @@ public final OperationFuture deleteServiceAsync(
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (ServicesClient servicesClient = ServicesClient.create()) {
        *   DeleteServiceRequest request =
        *       DeleteServiceRequest.newBuilder().setName("name3373707").build();
    @@ -416,6 +442,8 @@ public final OperationFuture deleteServiceAsync(
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (ServicesClient servicesClient = ServicesClient.create()) {
        *   DeleteServiceRequest request =
        *       DeleteServiceRequest.newBuilder().setName("name3373707").build();
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ServicesSettings.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ServicesSettings.java
    index bbb0af0c..8a795c72 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ServicesSettings.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ServicesSettings.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    @@ -55,6 +55,8 @@
      * 

    For example, to set the total timeout of getService to 30 seconds: * *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * ServicesSettings.Builder servicesSettingsBuilder = ServicesSettings.newBuilder();
      * servicesSettingsBuilder
      *     .getServiceSettings()
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/VersionsClient.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/VersionsClient.java
    index cade424d..f9f6f048 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/VersionsClient.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/VersionsClient.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    @@ -46,6 +46,8 @@
      * calls that map to API methods. Sample code to get started:
      *
      * 
    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * try (VersionsClient versionsClient = VersionsClient.create()) {
      *   GetVersionRequest request =
      *       GetVersionRequest.newBuilder()
    @@ -85,6 +87,8 @@
      * 

    To customize credentials: * *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * VersionsSettings versionsSettings =
      *     VersionsSettings.newBuilder()
      *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
    @@ -95,6 +99,8 @@
      * 

    To customize the endpoint: * *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * VersionsSettings versionsSettings =
      *     VersionsSettings.newBuilder().setEndpoint(myEndpoint).build();
      * VersionsClient versionsClient = VersionsClient.create(versionsSettings);
    @@ -171,6 +177,8 @@ public final OperationsClient getOperationsClient() {
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (VersionsClient versionsClient = VersionsClient.create()) {
        *   ListVersionsRequest request =
        *       ListVersionsRequest.newBuilder()
    @@ -199,6 +207,8 @@ public final ListVersionsPagedResponse listVersions(ListVersionsRequest request)
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (VersionsClient versionsClient = VersionsClient.create()) {
        *   ListVersionsRequest request =
        *       ListVersionsRequest.newBuilder()
    @@ -227,6 +237,8 @@ public final ListVersionsPagedResponse listVersions(ListVersionsRequest request)
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (VersionsClient versionsClient = VersionsClient.create()) {
        *   ListVersionsRequest request =
        *       ListVersionsRequest.newBuilder()
    @@ -262,6 +274,8 @@ public final UnaryCallable listVersio
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (VersionsClient versionsClient = VersionsClient.create()) {
        *   GetVersionRequest request =
        *       GetVersionRequest.newBuilder()
    @@ -287,6 +301,8 @@ public final Version getVersion(GetVersionRequest request) {
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (VersionsClient versionsClient = VersionsClient.create()) {
        *   GetVersionRequest request =
        *       GetVersionRequest.newBuilder()
    @@ -310,6 +326,8 @@ public final UnaryCallable getVersionCallable() {
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (VersionsClient versionsClient = VersionsClient.create()) {
        *   CreateVersionRequest request =
        *       CreateVersionRequest.newBuilder()
    @@ -335,6 +353,8 @@ public final OperationFuture createVersionAsyn
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (VersionsClient versionsClient = VersionsClient.create()) {
        *   CreateVersionRequest request =
        *       CreateVersionRequest.newBuilder()
    @@ -360,6 +380,8 @@ public final OperationFuture createVersionAsyn
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (VersionsClient versionsClient = VersionsClient.create()) {
        *   CreateVersionRequest request =
        *       CreateVersionRequest.newBuilder()
    @@ -429,6 +451,8 @@ public final UnaryCallable createVersionCallabl
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (VersionsClient versionsClient = VersionsClient.create()) {
        *   UpdateVersionRequest request =
        *       UpdateVersionRequest.newBuilder()
    @@ -501,6 +525,8 @@ public final OperationFuture updateVersionAsync(
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (VersionsClient versionsClient = VersionsClient.create()) {
        *   UpdateVersionRequest request =
        *       UpdateVersionRequest.newBuilder()
    @@ -573,6 +599,8 @@ public final OperationFuture updateVersionAsync(
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (VersionsClient versionsClient = VersionsClient.create()) {
        *   UpdateVersionRequest request =
        *       UpdateVersionRequest.newBuilder()
    @@ -597,6 +625,8 @@ public final UnaryCallable updateVersionCallabl
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (VersionsClient versionsClient = VersionsClient.create()) {
        *   DeleteVersionRequest request =
        *       DeleteVersionRequest.newBuilder().setName("name3373707").build();
    @@ -619,6 +649,8 @@ public final OperationFuture deleteVersionAsync(
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (VersionsClient versionsClient = VersionsClient.create()) {
        *   DeleteVersionRequest request =
        *       DeleteVersionRequest.newBuilder().setName("name3373707").build();
    @@ -641,6 +673,8 @@ public final OperationFuture deleteVersionAsync(
        * 

    Sample code: * *

    {@code
    +   * // This snippet has been automatically generated for illustrative purposes only.
    +   * // It may require modifications to work in your environment.
        * try (VersionsClient versionsClient = VersionsClient.create()) {
        *   DeleteVersionRequest request =
        *       DeleteVersionRequest.newBuilder().setName("name3373707").build();
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/VersionsSettings.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/VersionsSettings.java
    index 5b08e1f7..7e06dff7 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/VersionsSettings.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/VersionsSettings.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    @@ -55,6 +55,8 @@
      * 

    For example, to set the total timeout of getVersion to 30 seconds: * *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * VersionsSettings.Builder versionsSettingsBuilder = VersionsSettings.newBuilder();
      * versionsSettingsBuilder
      *     .getVersionSettings()
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/gapic_metadata.json b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/gapic_metadata.json
    index bf17a3cb..935b2ec1 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/gapic_metadata.json
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/gapic_metadata.json
    @@ -14,7 +14,7 @@
                   "methods": ["createApplicationAsync", "createApplicationOperationCallable", "createApplicationCallable"]
                 },
                 "GetApplication": {
    -              "methods": ["getApplication", "getApplicationCallable"]
    +              "methods": ["getApplication", "getApplication", "getApplicationCallable"]
                 },
                 "RepairApplication": {
                   "methods": ["repairApplicationAsync", "repairApplicationOperationCallable", "repairApplicationCallable"]
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/package-info.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/package-info.java
    index d38fb257..34c5a5b2 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/package-info.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/package-info.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    @@ -24,10 +24,11 @@
      * 

    Sample for ApplicationsClient: * *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * try (ApplicationsClient applicationsClient = ApplicationsClient.create()) {
    - *   GetApplicationRequest request =
    - *       GetApplicationRequest.newBuilder().setName("name3373707").build();
    - *   Application response = applicationsClient.getApplication(request);
    + *   String name = "name3373707";
    + *   Application response = applicationsClient.getApplication(name);
      * }
      * }
    * @@ -38,6 +39,8 @@ *

    Sample for ServicesClient: * *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * try (ServicesClient servicesClient = ServicesClient.create()) {
      *   GetServiceRequest request = GetServiceRequest.newBuilder().setName("name3373707").build();
      *   Service response = servicesClient.getService(request);
    @@ -51,6 +54,8 @@
      * 

    Sample for VersionsClient: * *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * try (VersionsClient versionsClient = VersionsClient.create()) {
      *   GetVersionRequest request =
      *       GetVersionRequest.newBuilder()
    @@ -68,6 +73,8 @@
      * 

    Sample for InstancesClient: * *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * try (InstancesClient instancesClient = InstancesClient.create()) {
      *   GetInstanceRequest request = GetInstanceRequest.newBuilder().setName("name3373707").build();
      *   Instance response = instancesClient.getInstance(request);
    @@ -89,6 +96,8 @@
      * 

    Sample for FirewallClient: * *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * try (FirewallClient firewallClient = FirewallClient.create()) {
      *   BatchUpdateIngressRulesRequest request =
      *       BatchUpdateIngressRulesRequest.newBuilder()
    @@ -108,6 +117,8 @@
      * 

    Sample for AuthorizedDomainsClient: * *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * try (AuthorizedDomainsClient authorizedDomainsClient = AuthorizedDomainsClient.create()) {
      *   ListAuthorizedDomainsRequest request =
      *       ListAuthorizedDomainsRequest.newBuilder()
    @@ -130,6 +141,8 @@
      * 

    Sample for AuthorizedCertificatesClient: * *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * try (AuthorizedCertificatesClient authorizedCertificatesClient =
      *     AuthorizedCertificatesClient.create()) {
      *   GetAuthorizedCertificateRequest request =
    @@ -149,6 +162,8 @@
      * 

    Sample for DomainMappingsClient: * *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * try (DomainMappingsClient domainMappingsClient = DomainMappingsClient.create()) {
      *   GetDomainMappingRequest request =
      *       GetDomainMappingRequest.newBuilder().setName("name3373707").build();
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/ApplicationsStub.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/ApplicationsStub.java
    index 28db033b..714a4ed6 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/ApplicationsStub.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/ApplicationsStub.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/ApplicationsStubSettings.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/ApplicationsStubSettings.java
    index 1bb9a0aa..09a787f2 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/ApplicationsStubSettings.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/ApplicationsStubSettings.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    @@ -69,6 +69,8 @@
      * 

    For example, to set the total timeout of getApplication to 30 seconds: * *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * ApplicationsStubSettings.Builder applicationsSettingsBuilder =
      *     ApplicationsStubSettings.newBuilder();
      * applicationsSettingsBuilder
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/AuthorizedCertificatesStub.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/AuthorizedCertificatesStub.java
    index 1d5d1f08..d70eacd1 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/AuthorizedCertificatesStub.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/AuthorizedCertificatesStub.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/AuthorizedCertificatesStubSettings.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/AuthorizedCertificatesStubSettings.java
    index 826957fa..59190f65 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/AuthorizedCertificatesStubSettings.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/AuthorizedCertificatesStubSettings.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    @@ -75,6 +75,8 @@
      * 

    For example, to set the total timeout of getAuthorizedCertificate to 30 seconds: * *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * AuthorizedCertificatesStubSettings.Builder authorizedCertificatesSettingsBuilder =
      *     AuthorizedCertificatesStubSettings.newBuilder();
      * authorizedCertificatesSettingsBuilder
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/AuthorizedDomainsStub.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/AuthorizedDomainsStub.java
    index 439219bc..82a9cdd4 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/AuthorizedDomainsStub.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/AuthorizedDomainsStub.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/AuthorizedDomainsStubSettings.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/AuthorizedDomainsStubSettings.java
    index c566364c..24f0a5b9 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/AuthorizedDomainsStubSettings.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/AuthorizedDomainsStubSettings.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    @@ -70,6 +70,8 @@
      * 

    For example, to set the total timeout of listAuthorizedDomains to 30 seconds: * *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * AuthorizedDomainsStubSettings.Builder authorizedDomainsSettingsBuilder =
      *     AuthorizedDomainsStubSettings.newBuilder();
      * authorizedDomainsSettingsBuilder
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/DomainMappingsStub.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/DomainMappingsStub.java
    index 638416d8..a69ff29e 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/DomainMappingsStub.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/DomainMappingsStub.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/DomainMappingsStubSettings.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/DomainMappingsStubSettings.java
    index 7419c684..d927ef37 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/DomainMappingsStubSettings.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/DomainMappingsStubSettings.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    @@ -81,6 +81,8 @@
      * 

    For example, to set the total timeout of getDomainMapping to 30 seconds: * *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * DomainMappingsStubSettings.Builder domainMappingsSettingsBuilder =
      *     DomainMappingsStubSettings.newBuilder();
      * domainMappingsSettingsBuilder
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/FirewallStub.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/FirewallStub.java
    index c1759525..5560c444 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/FirewallStub.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/FirewallStub.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/FirewallStubSettings.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/FirewallStubSettings.java
    index 10ccaa5f..6dfdc8e2 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/FirewallStubSettings.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/FirewallStubSettings.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    @@ -77,6 +77,8 @@
      * 

    For example, to set the total timeout of batchUpdateIngressRules to 30 seconds: * *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * FirewallStubSettings.Builder firewallSettingsBuilder = FirewallStubSettings.newBuilder();
      * firewallSettingsBuilder
      *     .batchUpdateIngressRulesSettings()
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcApplicationsCallableFactory.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcApplicationsCallableFactory.java
    index 0cd9226c..18070141 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcApplicationsCallableFactory.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcApplicationsCallableFactory.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcApplicationsStub.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcApplicationsStub.java
    index 6b8bfcc3..acaa55bb 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcApplicationsStub.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcApplicationsStub.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcAuthorizedCertificatesCallableFactory.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcAuthorizedCertificatesCallableFactory.java
    index 033d875f..e98c59b0 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcAuthorizedCertificatesCallableFactory.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcAuthorizedCertificatesCallableFactory.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcAuthorizedCertificatesStub.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcAuthorizedCertificatesStub.java
    index 545310b5..3101fe63 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcAuthorizedCertificatesStub.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcAuthorizedCertificatesStub.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcAuthorizedDomainsCallableFactory.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcAuthorizedDomainsCallableFactory.java
    index 332d765d..d9c42195 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcAuthorizedDomainsCallableFactory.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcAuthorizedDomainsCallableFactory.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcAuthorizedDomainsStub.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcAuthorizedDomainsStub.java
    index 19f56dba..05878e42 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcAuthorizedDomainsStub.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcAuthorizedDomainsStub.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcDomainMappingsCallableFactory.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcDomainMappingsCallableFactory.java
    index cdb83a0e..b17227fc 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcDomainMappingsCallableFactory.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcDomainMappingsCallableFactory.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcDomainMappingsStub.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcDomainMappingsStub.java
    index b0493a33..c84325a8 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcDomainMappingsStub.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcDomainMappingsStub.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcFirewallCallableFactory.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcFirewallCallableFactory.java
    index 71d621f8..71c22ed4 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcFirewallCallableFactory.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcFirewallCallableFactory.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcFirewallStub.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcFirewallStub.java
    index ddc97de2..e9154647 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcFirewallStub.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcFirewallStub.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcInstancesCallableFactory.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcInstancesCallableFactory.java
    index 156d8a1c..9d8d26c2 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcInstancesCallableFactory.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcInstancesCallableFactory.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcInstancesStub.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcInstancesStub.java
    index dbcbea78..38b81710 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcInstancesStub.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcInstancesStub.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcServicesCallableFactory.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcServicesCallableFactory.java
    index a8bcd2a3..4a3fe58a 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcServicesCallableFactory.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcServicesCallableFactory.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcServicesStub.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcServicesStub.java
    index c59d0af0..399138f9 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcServicesStub.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcServicesStub.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcVersionsCallableFactory.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcVersionsCallableFactory.java
    index bbf37c0d..5f296749 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcVersionsCallableFactory.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcVersionsCallableFactory.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcVersionsStub.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcVersionsStub.java
    index 876a08b8..0425d5a1 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcVersionsStub.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/GrpcVersionsStub.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/InstancesStub.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/InstancesStub.java
    index e17643bb..0941c528 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/InstancesStub.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/InstancesStub.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/InstancesStubSettings.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/InstancesStubSettings.java
    index 9771ebd6..37f96893 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/InstancesStubSettings.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/InstancesStubSettings.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    @@ -80,6 +80,8 @@
      * 

    For example, to set the total timeout of getInstance to 30 seconds: * *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * InstancesStubSettings.Builder instancesSettingsBuilder = InstancesStubSettings.newBuilder();
      * instancesSettingsBuilder
      *     .getInstanceSettings()
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/ServicesStub.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/ServicesStub.java
    index 0567462d..c5f60ff4 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/ServicesStub.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/ServicesStub.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/ServicesStubSettings.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/ServicesStubSettings.java
    index fe4a5f60..c56bfae1 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/ServicesStubSettings.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/ServicesStubSettings.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    @@ -80,6 +80,8 @@
      * 

    For example, to set the total timeout of getService to 30 seconds: * *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * ServicesStubSettings.Builder servicesSettingsBuilder = ServicesStubSettings.newBuilder();
      * servicesSettingsBuilder
      *     .getServiceSettings()
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/VersionsStub.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/VersionsStub.java
    index 63a6a77f..3c18ea1b 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/VersionsStub.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/VersionsStub.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/VersionsStubSettings.java b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/VersionsStubSettings.java
    index 89288bbb..ca8b9e42 100644
    --- a/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/VersionsStubSettings.java
    +++ b/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/VersionsStubSettings.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    @@ -82,6 +82,8 @@
      * 

    For example, to set the total timeout of getVersion to 30 seconds: * *

    {@code
    + * // This snippet has been automatically generated for illustrative purposes only.
    + * // It may require modifications to work in your environment.
      * VersionsStubSettings.Builder versionsSettingsBuilder = VersionsStubSettings.newBuilder();
      * versionsSettingsBuilder
      *     .getVersionSettings()
    diff --git a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/ApplicationsClientTest.java b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/ApplicationsClientTest.java
    index ec3fae2c..46d6e8b5 100644
    --- a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/ApplicationsClientTest.java
    +++ b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/ApplicationsClientTest.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    @@ -95,23 +95,23 @@ public void getApplicationTest() throws Exception {
                 .setDefaultCookieExpiration(Duration.newBuilder().build())
                 .setDefaultHostname("defaultHostname1698284948")
                 .setDefaultBucket("defaultBucket487561099")
    +            .setServiceAccount("serviceAccount1079137720")
                 .setIap(Application.IdentityAwareProxy.newBuilder().build())
                 .setGcrDomain("gcrDomain-595843206")
                 .setFeatureSettings(Application.FeatureSettings.newBuilder().build())
                 .build();
         mockApplications.addResponse(expectedResponse);
     
    -    GetApplicationRequest request =
    -        GetApplicationRequest.newBuilder().setName("name3373707").build();
    +    String name = "name3373707";
     
    -    Application actualResponse = client.getApplication(request);
    +    Application actualResponse = client.getApplication(name);
         Assert.assertEquals(expectedResponse, actualResponse);
     
         List actualRequests = mockApplications.getRequests();
         Assert.assertEquals(1, actualRequests.size());
         GetApplicationRequest actualRequest = ((GetApplicationRequest) actualRequests.get(0));
     
    -    Assert.assertEquals(request.getName(), actualRequest.getName());
    +    Assert.assertEquals(name, actualRequest.getName());
         Assert.assertTrue(
             channelProvider.isHeaderSent(
                 ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
    @@ -124,9 +124,8 @@ public void getApplicationExceptionTest() throws Exception {
         mockApplications.addException(exception);
     
         try {
    -      GetApplicationRequest request =
    -          GetApplicationRequest.newBuilder().setName("name3373707").build();
    -      client.getApplication(request);
    +      String name = "name3373707";
    +      client.getApplication(name);
           Assert.fail("No exception raised");
         } catch (InvalidArgumentException e) {
           // Expected exception.
    @@ -146,6 +145,7 @@ public void createApplicationTest() throws Exception {
                 .setDefaultCookieExpiration(Duration.newBuilder().build())
                 .setDefaultHostname("defaultHostname1698284948")
                 .setDefaultBucket("defaultBucket487561099")
    +            .setServiceAccount("serviceAccount1079137720")
                 .setIap(Application.IdentityAwareProxy.newBuilder().build())
                 .setGcrDomain("gcrDomain-595843206")
                 .setFeatureSettings(Application.FeatureSettings.newBuilder().build())
    @@ -209,6 +209,7 @@ public void updateApplicationTest() throws Exception {
                 .setDefaultCookieExpiration(Duration.newBuilder().build())
                 .setDefaultHostname("defaultHostname1698284948")
                 .setDefaultBucket("defaultBucket487561099")
    +            .setServiceAccount("serviceAccount1079137720")
                 .setIap(Application.IdentityAwareProxy.newBuilder().build())
                 .setGcrDomain("gcrDomain-595843206")
                 .setFeatureSettings(Application.FeatureSettings.newBuilder().build())
    @@ -278,6 +279,7 @@ public void repairApplicationTest() throws Exception {
                 .setDefaultCookieExpiration(Duration.newBuilder().build())
                 .setDefaultHostname("defaultHostname1698284948")
                 .setDefaultBucket("defaultBucket487561099")
    +            .setServiceAccount("serviceAccount1079137720")
                 .setIap(Application.IdentityAwareProxy.newBuilder().build())
                 .setGcrDomain("gcrDomain-595843206")
                 .setFeatureSettings(Application.FeatureSettings.newBuilder().build())
    diff --git a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/AuthorizedCertificatesClientTest.java b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/AuthorizedCertificatesClientTest.java
    index 1ecd5c78..007a8739 100644
    --- a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/AuthorizedCertificatesClientTest.java
    +++ b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/AuthorizedCertificatesClientTest.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/AuthorizedDomainsClientTest.java b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/AuthorizedDomainsClientTest.java
    index 52497fe5..25d74cf3 100644
    --- a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/AuthorizedDomainsClientTest.java
    +++ b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/AuthorizedDomainsClientTest.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/DomainMappingsClientTest.java b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/DomainMappingsClientTest.java
    index 03f57d73..e2ed8ef1 100644
    --- a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/DomainMappingsClientTest.java
    +++ b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/DomainMappingsClientTest.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/FirewallClientTest.java b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/FirewallClientTest.java
    index b40d0861..c3adeab5 100644
    --- a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/FirewallClientTest.java
    +++ b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/FirewallClientTest.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/InstancesClientTest.java b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/InstancesClientTest.java
    index fc99e90b..03bd9380 100644
    --- a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/InstancesClientTest.java
    +++ b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/InstancesClientTest.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockApplications.java b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockApplications.java
    index f79cb634..9596ae34 100644
    --- a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockApplications.java
    +++ b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockApplications.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockApplicationsImpl.java b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockApplicationsImpl.java
    index afeeb235..8b8db5ac 100644
    --- a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockApplicationsImpl.java
    +++ b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockApplicationsImpl.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockAuthorizedCertificates.java b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockAuthorizedCertificates.java
    index 7e7956f6..0f514a1c 100644
    --- a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockAuthorizedCertificates.java
    +++ b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockAuthorizedCertificates.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockAuthorizedCertificatesImpl.java b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockAuthorizedCertificatesImpl.java
    index 49403425..49feb643 100644
    --- a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockAuthorizedCertificatesImpl.java
    +++ b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockAuthorizedCertificatesImpl.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockAuthorizedDomains.java b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockAuthorizedDomains.java
    index 36fcc992..360b85ad 100644
    --- a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockAuthorizedDomains.java
    +++ b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockAuthorizedDomains.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockAuthorizedDomainsImpl.java b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockAuthorizedDomainsImpl.java
    index febbf6cd..8abec205 100644
    --- a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockAuthorizedDomainsImpl.java
    +++ b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockAuthorizedDomainsImpl.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockDomainMappings.java b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockDomainMappings.java
    index c251c926..568e5e94 100644
    --- a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockDomainMappings.java
    +++ b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockDomainMappings.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockDomainMappingsImpl.java b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockDomainMappingsImpl.java
    index 3ce3accb..ab37ccaf 100644
    --- a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockDomainMappingsImpl.java
    +++ b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockDomainMappingsImpl.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockFirewall.java b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockFirewall.java
    index 8126779f..c575141d 100644
    --- a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockFirewall.java
    +++ b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockFirewall.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockFirewallImpl.java b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockFirewallImpl.java
    index b085845a..c1ac50c0 100644
    --- a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockFirewallImpl.java
    +++ b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockFirewallImpl.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockInstances.java b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockInstances.java
    index 8f1bf9e8..202e5509 100644
    --- a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockInstances.java
    +++ b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockInstances.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockInstancesImpl.java b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockInstancesImpl.java
    index eb968635..8c10fe01 100644
    --- a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockInstancesImpl.java
    +++ b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockInstancesImpl.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockServices.java b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockServices.java
    index a7026cb8..5150e060 100644
    --- a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockServices.java
    +++ b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockServices.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockServicesImpl.java b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockServicesImpl.java
    index 01fa664a..afd44c3c 100644
    --- a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockServicesImpl.java
    +++ b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockServicesImpl.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockVersions.java b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockVersions.java
    index aaf96e2d..954b9872 100644
    --- a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockVersions.java
    +++ b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockVersions.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockVersionsImpl.java b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockVersionsImpl.java
    index 0cc4f6db..69757f83 100644
    --- a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockVersionsImpl.java
    +++ b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/MockVersionsImpl.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    diff --git a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/ServicesClientTest.java b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/ServicesClientTest.java
    index 9397885c..7acf9039 100644
    --- a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/ServicesClientTest.java
    +++ b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/ServicesClientTest.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    @@ -35,6 +35,7 @@
     import io.grpc.StatusRuntimeException;
     import java.io.IOException;
     import java.util.Arrays;
    +import java.util.HashMap;
     import java.util.List;
     import java.util.UUID;
     import java.util.concurrent.ExecutionException;
    @@ -147,6 +148,7 @@ public void getServiceTest() throws Exception {
                 .setName("name3373707")
                 .setId("id3355")
                 .setSplit(TrafficSplit.newBuilder().build())
    +            .putAllLabels(new HashMap())
                 .setNetworkSettings(NetworkSettings.newBuilder().build())
                 .build();
         mockServices.addResponse(expectedResponse);
    @@ -188,6 +190,7 @@ public void updateServiceTest() throws Exception {
                 .setName("name3373707")
                 .setId("id3355")
                 .setSplit(TrafficSplit.newBuilder().build())
    +            .putAllLabels(new HashMap())
                 .setNetworkSettings(NetworkSettings.newBuilder().build())
                 .build();
         Operation resultOperation =
    diff --git a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/VersionsClientTest.java b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/VersionsClientTest.java
    index 525d379b..7fd09bae 100644
    --- a/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/VersionsClientTest.java
    +++ b/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/VersionsClientTest.java
    @@ -1,5 +1,5 @@
     /*
    - * Copyright 2021 Google LLC
    + * 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.
    @@ -162,6 +162,7 @@ public void getVersionTest() throws Exception {
                 .setRuntimeChannel("runtimeChannel989413899")
                 .setThreadsafe(true)
                 .setVm(true)
    +            .setAppEngineApis(true)
                 .putAllBetaSettings(new HashMap())
                 .setEnv("env100589")
                 .setServingStatus(ServingStatus.forNumber(0))
    @@ -244,6 +245,7 @@ public void createVersionTest() throws Exception {
                 .setRuntimeChannel("runtimeChannel989413899")
                 .setThreadsafe(true)
                 .setVm(true)
    +            .setAppEngineApis(true)
                 .putAllBetaSettings(new HashMap())
                 .setEnv("env100589")
                 .setServingStatus(ServingStatus.forNumber(0))
    @@ -334,6 +336,7 @@ public void updateVersionTest() throws Exception {
                 .setRuntimeChannel("runtimeChannel989413899")
                 .setThreadsafe(true)
                 .setVm(true)
    +            .setAppEngineApis(true)
                 .putAllBetaSettings(new HashMap())
                 .setEnv("env100589")
                 .setServingStatus(ServingStatus.forNumber(0))
    diff --git a/grpc-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ApplicationsGrpc.java b/grpc-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ApplicationsGrpc.java
    index 16182937..80bace8d 100644
    --- a/grpc-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ApplicationsGrpc.java
    +++ b/grpc-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ApplicationsGrpc.java
    @@ -296,6 +296,7 @@ public void createApplication(
          * You can update the following fields:
          * * `auth_domain` - Google authentication domain for controlling user access to the application.
          * * `default_cookie_expiration` - Cookie expiration policy for the application.
    +     * * `iap` - Identity-Aware Proxy properties for the application.
          * 
    */ public void updateApplication( @@ -421,6 +422,7 @@ public void createApplication( * You can update the following fields: * * `auth_domain` - Google authentication domain for controlling user access to the application. * * `default_cookie_expiration` - Cookie expiration policy for the application. + * * `iap` - Identity-Aware Proxy properties for the application. *
    */ public void updateApplication( @@ -515,6 +517,7 @@ public com.google.longrunning.Operation createApplication( * You can update the following fields: * * `auth_domain` - Google authentication domain for controlling user access to the application. * * `default_cookie_expiration` - Cookie expiration policy for the application. + * * `iap` - Identity-Aware Proxy properties for the application. *
    */ public com.google.longrunning.Operation updateApplication( @@ -603,6 +606,7 @@ protected ApplicationsFutureStub build( * You can update the following fields: * * `auth_domain` - Google authentication domain for controlling user access to the application. * * `default_cookie_expiration` - Cookie expiration policy for the application. + * * `iap` - Identity-Aware Proxy properties for the application. *
    */ public com.google.common.util.concurrent.ListenableFuture diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ApiConfigHandler.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ApiConfigHandler.java index e1c9e152..fc02044b 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ApiConfigHandler.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ApiConfigHandler.java @@ -121,6 +121,8 @@ private ApiConfigHandler( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ApiEndpointHandler.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ApiEndpointHandler.java index c5848cf7..ac7e7999 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ApiEndpointHandler.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ApiEndpointHandler.java @@ -88,6 +88,8 @@ private ApiEndpointHandler( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/AppengineProto.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/AppengineProto.java index 198235ac..d51cd835 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/AppengineProto.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/AppengineProto.java @@ -205,329 +205,331 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n#google/appengine/v1/appengine.proto\022\023g" - + "oogle.appengine.v1\032%google/appengine/v1/" - + "application.proto\032%google/appengine/v1/c" - + "ertificate.proto\032 google/appengine/v1/do" - + "main.proto\032(google/appengine/v1/domain_m" - + "apping.proto\032\"google/appengine/v1/firewa" - + "ll.proto\032\"google/appengine/v1/instance.p" - + "roto\032!google/appengine/v1/version.proto\032" - + "!google/appengine/v1/service.proto\032\034goog" - + "le/api/annotations.proto\032#google/longrun" - + "ning/operations.proto\032\033google/protobuf/e" - + "mpty.proto\032 google/protobuf/field_mask.p" - + "roto\032\027google/api/client.proto\"%\n\025GetAppl" - + "icationRequest\022\014\n\004name\030\001 \001(\t\"Q\n\030CreateAp" - + "plicationRequest\0225\n\013application\030\002 \001(\0132 ." - + "google.appengine.v1.Application\"\220\001\n\030Upda" - + "teApplicationRequest\022\014\n\004name\030\001 \001(\t\0225\n\013ap" - + "plication\030\002 \001(\0132 .google.appengine.v1.Ap" - + "plication\022/\n\013update_mask\030\003 \001(\0132\032.google." - + "protobuf.FieldMask\"(\n\030RepairApplicationR" - + "equest\022\014\n\004name\030\001 \001(\t\"L\n\023ListServicesRequ" - + "est\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022" - + "\n\npage_token\030\003 \001(\t\"_\n\024ListServicesRespon" - + "se\022.\n\010services\030\001 \003(\0132\034.google.appengine." - + "v1.Service\022\027\n\017next_page_token\030\002 \001(\t\"!\n\021G" - + "etServiceRequest\022\014\n\004name\030\001 \001(\t\"\235\001\n\024Updat" - + "eServiceRequest\022\014\n\004name\030\001 \001(\t\022-\n\007service" - + "\030\002 \001(\0132\034.google.appengine.v1.Service\022/\n\013" + + "oogle.appengine.v1\032\034google/api/annotatio" + + "ns.proto\032\027google/api/client.proto\032\031googl" + + "e/api/resource.proto\032%google/appengine/v" + + "1/application.proto\032%google/appengine/v1" + + "/certificate.proto\032 google/appengine/v1/" + + "domain.proto\032(google/appengine/v1/domain" + + "_mapping.proto\032\"google/appengine/v1/fire" + + "wall.proto\032\"google/appengine/v1/instance" + + ".proto\032!google/appengine/v1/service.prot" + + "o\032!google/appengine/v1/version.proto\032#go" + + "ogle/longrunning/operations.proto\032\033googl" + + "e/protobuf/empty.proto\032 google/protobuf/" + + "field_mask.proto\"%\n\025GetApplicationReques" + + "t\022\014\n\004name\030\001 \001(\t\"Q\n\030CreateApplicationRequ" + + "est\0225\n\013application\030\002 \001(\0132 .google.appeng" + + "ine.v1.Application\"\220\001\n\030UpdateApplication" + + "Request\022\014\n\004name\030\001 \001(\t\0225\n\013application\030\002 \001" + + "(\0132 .google.appengine.v1.Application\022/\n\013" + "update_mask\030\003 \001(\0132\032.google.protobuf.Fiel" - + "dMask\022\027\n\017migrate_traffic\030\004 \001(\010\"$\n\024Delete" - + "ServiceRequest\022\014\n\004name\030\001 \001(\t\"|\n\023ListVers" - + "ionsRequest\022\016\n\006parent\030\001 \001(\t\022.\n\004view\030\002 \001(" - + "\0162 .google.appengine.v1.VersionView\022\021\n\tp" - + "age_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"_\n\024Li" - + "stVersionsResponse\022.\n\010versions\030\001 \003(\0132\034.g" - + "oogle.appengine.v1.Version\022\027\n\017next_page_" - + "token\030\002 \001(\t\"Q\n\021GetVersionRequest\022\014\n\004name" - + "\030\001 \001(\t\022.\n\004view\030\002 \001(\0162 .google.appengine." - + "v1.VersionView\"U\n\024CreateVersionRequest\022\016" - + "\n\006parent\030\001 \001(\t\022-\n\007version\030\002 \001(\0132\034.google" - + ".appengine.v1.Version\"\204\001\n\024UpdateVersionR" - + "equest\022\014\n\004name\030\001 \001(\t\022-\n\007version\030\002 \001(\0132\034." - + "google.appengine.v1.Version\022/\n\013update_ma" - + "sk\030\003 \001(\0132\032.google.protobuf.FieldMask\"$\n\024" - + "DeleteVersionRequest\022\014\n\004name\030\001 \001(\t\"M\n\024Li" - + "stInstancesRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpa" - + "ge_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"b\n\025Lis" - + "tInstancesResponse\0220\n\tinstances\030\001 \003(\0132\035." - + "google.appengine.v1.Instance\022\027\n\017next_pag" - + "e_token\030\002 \001(\t\"\"\n\022GetInstanceRequest\022\014\n\004n" - + "ame\030\001 \001(\t\"%\n\025DeleteInstanceRequest\022\014\n\004na" - + "me\030\001 \001(\t\"5\n\024DebugInstanceRequest\022\014\n\004name" - + "\030\001 \001(\t\022\017\n\007ssh_key\030\002 \001(\t\"j\n\027ListIngressRu" - + "lesRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_size\030" - + "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\030\n\020matching_ad" - + "dress\030\004 \001(\t\"m\n\030ListIngressRulesResponse\022" - + "8\n\ringress_rules\030\001 \003(\0132!.google.appengin" - + "e.v1.FirewallRule\022\027\n\017next_page_token\030\002 \001" - + "(\t\"h\n\036BatchUpdateIngressRulesRequest\022\014\n\004" - + "name\030\001 \001(\t\0228\n\ringress_rules\030\002 \003(\0132!.goog" - + "le.appengine.v1.FirewallRule\"[\n\037BatchUpd" - + "ateIngressRulesResponse\0228\n\ringress_rules" - + "\030\001 \003(\0132!.google.appengine.v1.FirewallRul" - + "e\"[\n\030CreateIngressRuleRequest\022\016\n\006parent\030" - + "\001 \001(\t\022/\n\004rule\030\002 \001(\0132!.google.appengine.v" - + "1.FirewallRule\"%\n\025GetIngressRuleRequest\022" - + "\014\n\004name\030\001 \001(\t\"\212\001\n\030UpdateIngressRuleReque" - + "st\022\014\n\004name\030\001 \001(\t\022/\n\004rule\030\002 \001(\0132!.google." - + "appengine.v1.FirewallRule\022/\n\013update_mask" - + "\030\003 \001(\0132\032.google.protobuf.FieldMask\"(\n\030De" - + "leteIngressRuleRequest\022\014\n\004name\030\001 \001(\t\"U\n\034" - + "ListAuthorizedDomainsRequest\022\016\n\006parent\030\001" - + " \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 " - + "\001(\t\"p\n\035ListAuthorizedDomainsResponse\0226\n\007" - + "domains\030\001 \003(\0132%.google.appengine.v1.Auth" - + "orizedDomain\022\027\n\017next_page_token\030\002 \001(\t\"\230\001" - + "\n!ListAuthorizedCertificatesRequest\022\016\n\006p" - + "arent\030\001 \001(\t\022<\n\004view\030\004 \001(\0162..google.appen" - + "gine.v1.AuthorizedCertificateView\022\021\n\tpag" - + "e_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\177\n\"List" - + "AuthorizedCertificatesResponse\022@\n\014certif" - + "icates\030\001 \003(\0132*.google.appengine.v1.Autho" - + "rizedCertificate\022\027\n\017next_page_token\030\002 \001(" - + "\t\"m\n\037GetAuthorizedCertificateRequest\022\014\n\004" - + "name\030\001 \001(\t\022<\n\004view\030\002 \001(\0162..google.appeng" - + "ine.v1.AuthorizedCertificateView\"u\n\"Crea" - + "teAuthorizedCertificateRequest\022\016\n\006parent" - + "\030\001 \001(\t\022?\n\013certificate\030\002 \001(\0132*.google.app" - + "engine.v1.AuthorizedCertificate\"\244\001\n\"Upda" - + "teAuthorizedCertificateRequest\022\014\n\004name\030\001" - + " \001(\t\022?\n\013certificate\030\002 \001(\0132*.google.appen" - + "gine.v1.AuthorizedCertificate\022/\n\013update_" - + "mask\030\003 \001(\0132\032.google.protobuf.FieldMask\"2" - + "\n\"DeleteAuthorizedCertificateRequest\022\014\n\004" - + "name\030\001 \001(\t\"R\n\031ListDomainMappingsRequest\022" - + "\016\n\006parent\030\001 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npa" - + "ge_token\030\003 \001(\t\"r\n\032ListDomainMappingsResp" - + "onse\022;\n\017domain_mappings\030\001 \003(\0132\".google.a" - + "ppengine.v1.DomainMapping\022\027\n\017next_page_t" - + "oken\030\002 \001(\t\"\'\n\027GetDomainMappingRequest\022\014\n" - + "\004name\030\001 \001(\t\"\260\001\n\032CreateDomainMappingReque" - + "st\022\016\n\006parent\030\001 \001(\t\022:\n\016domain_mapping\030\002 \001" - + "(\0132\".google.appengine.v1.DomainMapping\022F" - + "\n\021override_strategy\030\004 \001(\0162+.google.appen" - + "gine.v1.DomainOverrideStrategy\"\227\001\n\032Updat" - + "eDomainMappingRequest\022\014\n\004name\030\001 \001(\t\022:\n\016d" - + "omain_mapping\030\002 \001(\0132\".google.appengine.v" - + "1.DomainMapping\022/\n\013update_mask\030\003 \001(\0132\032.g" - + "oogle.protobuf.FieldMask\"*\n\032DeleteDomain" - + "MappingRequest\022\014\n\004name\030\001 \001(\t*\"\n\013VersionV" - + "iew\022\t\n\005BASIC\020\000\022\010\n\004FULL\020\001*H\n\031AuthorizedCe" - + "rtificateView\022\025\n\021BASIC_CERTIFICATE\020\000\022\024\n\020" - + "FULL_CERTIFICATE\020\001*\\\n\026DomainOverrideStra" - + "tegy\022(\n$UNSPECIFIED_DOMAIN_OVERRIDE_STRA" - + "TEGY\020\000\022\n\n\006STRICT\020\001\022\014\n\010OVERRIDE\020\0022\311\006\n\014App" - + "lications\022y\n\016GetApplication\022*.google.app" - + "engine.v1.GetApplicationRequest\032 .google" - + ".appengine.v1.Application\"\031\202\323\344\223\002\023\022\021/v1/{" - + "name=apps/*}\022\245\001\n\021CreateApplication\022-.goo" - + "gle.appengine.v1.CreateApplicationReques" - + "t\032\035.google.longrunning.Operation\"B\202\323\344\223\002\027" - + "\"\010/v1/apps:\013application\312A\"\n\013Application\022" - + "\023OperationMetadataV1\022\256\001\n\021UpdateApplicati" - + "on\022-.google.appengine.v1.UpdateApplicati" + + "dMask\"(\n\030RepairApplicationRequest\022\014\n\004nam" + + "e\030\001 \001(\t\"L\n\023ListServicesRequest\022\016\n\006parent" + + "\030\001 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030" + + "\003 \001(\t\"_\n\024ListServicesResponse\022.\n\010service" + + "s\030\001 \003(\0132\034.google.appengine.v1.Service\022\027\n" + + "\017next_page_token\030\002 \001(\t\"!\n\021GetServiceRequ" + + "est\022\014\n\004name\030\001 \001(\t\"\235\001\n\024UpdateServiceReque" + + "st\022\014\n\004name\030\001 \001(\t\022-\n\007service\030\002 \001(\0132\034.goog" + + "le.appengine.v1.Service\022/\n\013update_mask\030\003" + + " \001(\0132\032.google.protobuf.FieldMask\022\027\n\017migr" + + "ate_traffic\030\004 \001(\010\"$\n\024DeleteServiceReques" + + "t\022\014\n\004name\030\001 \001(\t\"|\n\023ListVersionsRequest\022\016" + + "\n\006parent\030\001 \001(\t\022.\n\004view\030\002 \001(\0162 .google.ap" + + "pengine.v1.VersionView\022\021\n\tpage_size\030\003 \001(" + + "\005\022\022\n\npage_token\030\004 \001(\t\"_\n\024ListVersionsRes" + + "ponse\022.\n\010versions\030\001 \003(\0132\034.google.appengi" + + "ne.v1.Version\022\027\n\017next_page_token\030\002 \001(\t\"Q" + + "\n\021GetVersionRequest\022\014\n\004name\030\001 \001(\t\022.\n\004vie" + + "w\030\002 \001(\0162 .google.appengine.v1.VersionVie" + + "w\"U\n\024CreateVersionRequest\022\016\n\006parent\030\001 \001(" + + "\t\022-\n\007version\030\002 \001(\0132\034.google.appengine.v1" + + ".Version\"\204\001\n\024UpdateVersionRequest\022\014\n\004nam" + + "e\030\001 \001(\t\022-\n\007version\030\002 \001(\0132\034.google.appeng" + + "ine.v1.Version\022/\n\013update_mask\030\003 \001(\0132\032.go" + + "ogle.protobuf.FieldMask\"$\n\024DeleteVersion" + + "Request\022\014\n\004name\030\001 \001(\t\"M\n\024ListInstancesRe" + + "quest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_size\030\002 \001(\005" + + "\022\022\n\npage_token\030\003 \001(\t\"b\n\025ListInstancesRes" + + "ponse\0220\n\tinstances\030\001 \003(\0132\035.google.appeng" + + "ine.v1.Instance\022\027\n\017next_page_token\030\002 \001(\t" + + "\"\"\n\022GetInstanceRequest\022\014\n\004name\030\001 \001(\t\"%\n\025" + + "DeleteInstanceRequest\022\014\n\004name\030\001 \001(\t\"5\n\024D" + + "ebugInstanceRequest\022\014\n\004name\030\001 \001(\t\022\017\n\007ssh" + + "_key\030\002 \001(\t\"j\n\027ListIngressRulesRequest\022\016\n" + + "\006parent\030\001 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage" + + "_token\030\003 \001(\t\022\030\n\020matching_address\030\004 \001(\t\"m" + + "\n\030ListIngressRulesResponse\0228\n\ringress_ru" + + "les\030\001 \003(\0132!.google.appengine.v1.Firewall" + + "Rule\022\027\n\017next_page_token\030\002 \001(\t\"h\n\036BatchUp" + + "dateIngressRulesRequest\022\014\n\004name\030\001 \001(\t\0228\n" + + "\ringress_rules\030\002 \003(\0132!.google.appengine." + + "v1.FirewallRule\"[\n\037BatchUpdateIngressRul" + + "esResponse\0228\n\ringress_rules\030\001 \003(\0132!.goog" + + "le.appengine.v1.FirewallRule\"[\n\030CreateIn" + + "gressRuleRequest\022\016\n\006parent\030\001 \001(\t\022/\n\004rule" + + "\030\002 \001(\0132!.google.appengine.v1.FirewallRul" + + "e\"%\n\025GetIngressRuleRequest\022\014\n\004name\030\001 \001(\t" + + "\"\212\001\n\030UpdateIngressRuleRequest\022\014\n\004name\030\001 " + + "\001(\t\022/\n\004rule\030\002 \001(\0132!.google.appengine.v1." + + "FirewallRule\022/\n\013update_mask\030\003 \001(\0132\032.goog" + + "le.protobuf.FieldMask\"(\n\030DeleteIngressRu" + + "leRequest\022\014\n\004name\030\001 \001(\t\"U\n\034ListAuthorize" + + "dDomainsRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_" + + "size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"p\n\035ListAu" + + "thorizedDomainsResponse\0226\n\007domains\030\001 \003(\013" + + "2%.google.appengine.v1.AuthorizedDomain\022" + + "\027\n\017next_page_token\030\002 \001(\t\"\230\001\n!ListAuthori" + + "zedCertificatesRequest\022\016\n\006parent\030\001 \001(\t\022<" + + "\n\004view\030\004 \001(\0162..google.appengine.v1.Autho" + + "rizedCertificateView\022\021\n\tpage_size\030\002 \001(\005\022" + + "\022\n\npage_token\030\003 \001(\t\"\177\n\"ListAuthorizedCer" + + "tificatesResponse\022@\n\014certificates\030\001 \003(\0132" + + "*.google.appengine.v1.AuthorizedCertific" + + "ate\022\027\n\017next_page_token\030\002 \001(\t\"m\n\037GetAutho" + + "rizedCertificateRequest\022\014\n\004name\030\001 \001(\t\022<\n" + + "\004view\030\002 \001(\0162..google.appengine.v1.Author" + + "izedCertificateView\"u\n\"CreateAuthorizedC" + + "ertificateRequest\022\016\n\006parent\030\001 \001(\t\022?\n\013cer" + + "tificate\030\002 \001(\0132*.google.appengine.v1.Aut" + + "horizedCertificate\"\244\001\n\"UpdateAuthorizedC" + + "ertificateRequest\022\014\n\004name\030\001 \001(\t\022?\n\013certi" + + "ficate\030\002 \001(\0132*.google.appengine.v1.Autho" + + "rizedCertificate\022/\n\013update_mask\030\003 \001(\0132\032." + + "google.protobuf.FieldMask\"2\n\"DeleteAutho" + + "rizedCertificateRequest\022\014\n\004name\030\001 \001(\t\"R\n" + + "\031ListDomainMappingsRequest\022\016\n\006parent\030\001 \001" + + "(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(" + + "\t\"r\n\032ListDomainMappingsResponse\022;\n\017domai" + + "n_mappings\030\001 \003(\0132\".google.appengine.v1.D" + + "omainMapping\022\027\n\017next_page_token\030\002 \001(\t\"\'\n" + + "\027GetDomainMappingRequest\022\014\n\004name\030\001 \001(\t\"\260" + + "\001\n\032CreateDomainMappingRequest\022\016\n\006parent\030" + + "\001 \001(\t\022:\n\016domain_mapping\030\002 \001(\0132\".google.a" + + "ppengine.v1.DomainMapping\022F\n\021override_st" + + "rategy\030\004 \001(\0162+.google.appengine.v1.Domai" + + "nOverrideStrategy\"\227\001\n\032UpdateDomainMappin" + + "gRequest\022\014\n\004name\030\001 \001(\t\022:\n\016domain_mapping" + + "\030\002 \001(\0132\".google.appengine.v1.DomainMappi" + + "ng\022/\n\013update_mask\030\003 \001(\0132\032.google.protobu" + + "f.FieldMask\"*\n\032DeleteDomainMappingReques" + + "t\022\014\n\004name\030\001 \001(\t*\"\n\013VersionView\022\t\n\005BASIC\020" + + "\000\022\010\n\004FULL\020\001*H\n\031AuthorizedCertificateView" + + "\022\025\n\021BASIC_CERTIFICATE\020\000\022\024\n\020FULL_CERTIFIC" + + "ATE\020\001*\\\n\026DomainOverrideStrategy\022(\n$UNSPE" + + "CIFIED_DOMAIN_OVERRIDE_STRATEGY\020\000\022\n\n\006STR" + + "ICT\020\001\022\014\n\010OVERRIDE\020\0022\321\006\n\014Applications\022\200\001\n" + + "\016GetApplication\022*.google.appengine.v1.Ge" + + "tApplicationRequest\032 .google.appengine.v" + + "1.Application\" \202\323\344\223\002\023\022\021/v1/{name=apps/*}" + + "\332A\004name\022\245\001\n\021CreateApplication\022-.google.a" + + "ppengine.v1.CreateApplicationRequest\032\035.g" + + "oogle.longrunning.Operation\"B\202\323\344\223\002\027\"\010/v1" + + "/apps:\013application\312A\"\n\013Application\022\023Oper" + + "ationMetadataV1\022\256\001\n\021UpdateApplication\022-." + + "google.appengine.v1.UpdateApplicationReq" + + "uest\032\035.google.longrunning.Operation\"K\202\323\344" + + "\223\002 2\021/v1/{name=apps/*}:\013application\312A\"\n\013" + + "Application\022\023OperationMetadataV1\022\253\001\n\021Rep" + + "airApplication\022-.google.appengine.v1.Rep" + + "airApplicationRequest\032\035.google.longrunni" + + "ng.Operation\"H\202\323\344\223\002\035\"\030/v1/{name=apps/*}:" + + "repair:\001*\312A\"\n\013Application\022\023OperationMeta" + + "dataV1\032\266\001\312A\030appengine.googleapis.com\322A\227\001" + + "https://www.googleapis.com/auth/appengin" + + "e.admin,https://www.googleapis.com/auth/" + + "cloud-platform,https://www.googleapis.co" + + "m/auth/cloud-platform.read-only2\246\006\n\010Serv" + + "ices\022\211\001\n\014ListServices\022(.google.appengine" + + ".v1.ListServicesRequest\032).google.appengi" + + "ne.v1.ListServicesResponse\"$\202\323\344\223\002\036\022\034/v1/" + + "{parent=apps/*}/services\022x\n\nGetService\022&" + + ".google.appengine.v1.GetServiceRequest\032\034" + + ".google.appengine.v1.Service\"$\202\323\344\223\002\036\022\034/v" + + "1/{name=apps/*/services/*}\022\251\001\n\rUpdateSer" + + "vice\022).google.appengine.v1.UpdateService" + + "Request\032\035.google.longrunning.Operation\"N" + + "\202\323\344\223\002\'2\034/v1/{name=apps/*/services/*}:\007se" + + "rvice\312A\036\n\007Service\022\023OperationMetadataV1\022\256" + + "\001\n\rDeleteService\022).google.appengine.v1.D" + + "eleteServiceRequest\032\035.google.longrunning" + + ".Operation\"S\202\323\344\223\002\036*\034/v1/{name=apps/*/ser" + + "vices/*}\312A,\n\025google.protobuf.Empty\022\023Oper" + + "ationMetadataV1\032\266\001\312A\030appengine.googleapi" + + "s.com\322A\227\001https://www.googleapis.com/auth" + + "/appengine.admin,https://www.googleapis." + + "com/auth/cloud-platform,https://www.goog" + + "leapis.com/auth/cloud-platform.read-only" + + "2\216\010\n\010Versions\022\224\001\n\014ListVersions\022(.google." + + "appengine.v1.ListVersionsRequest\032).googl" + + "e.appengine.v1.ListVersionsResponse\"/\202\323\344" + + "\223\002)\022\'/v1/{parent=apps/*/services/*}/vers" + + "ions\022\203\001\n\nGetVersion\022&.google.appengine.v" + + "1.GetVersionRequest\032\034.google.appengine.v" + + "1.Version\"/\202\323\344\223\002)\022\'/v1/{name=apps/*/serv" + + "ices/*/versions/*}\022\270\001\n\rCreateVersion\022).g" + + "oogle.appengine.v1.CreateVersionRequest\032" + + "\035.google.longrunning.Operation\"]\202\323\344\223\0022\"\'" + + "/v1/{parent=apps/*/services/*}/versions:" + + "\007version\312A\"\n\007Version\022\027CreateVersionMetad" + + "ataV1\022\264\001\n\rUpdateVersion\022).google.appengi" + + "ne.v1.UpdateVersionRequest\032\035.google.long" + + "running.Operation\"Y\202\323\344\223\00222\'/v1/{name=app" + + "s/*/services/*/versions/*}:\007version\312A\036\n\007" + + "Version\022\023OperationMetadataV1\022\271\001\n\rDeleteV" + + "ersion\022).google.appengine.v1.DeleteVersi" + "onRequest\032\035.google.longrunning.Operation" - + "\"K\202\323\344\223\002 2\021/v1/{name=apps/*}:\013application" - + "\312A\"\n\013Application\022\023OperationMetadataV1\022\253\001" - + "\n\021RepairApplication\022-.google.appengine.v" - + "1.RepairApplicationRequest\032\035.google.long" - + "running.Operation\"H\202\323\344\223\002\035\"\030/v1/{name=app" - + "s/*}:repair:\001*\312A\"\n\013Application\022\023Operatio" - + "nMetadataV1\032\266\001\312A\030appengine.googleapis.co" - + "m\322A\227\001https://www.googleapis.com/auth/app" - + "engine.admin,https://www.googleapis.com/" - + "auth/cloud-platform,https://www.googleap" - + "is.com/auth/cloud-platform.read-only2\246\006\n" - + "\010Services\022\211\001\n\014ListServices\022(.google.appe" - + "ngine.v1.ListServicesRequest\032).google.ap" - + "pengine.v1.ListServicesResponse\"$\202\323\344\223\002\036\022" - + "\034/v1/{parent=apps/*}/services\022x\n\nGetServ" - + "ice\022&.google.appengine.v1.GetServiceRequ" - + "est\032\034.google.appengine.v1.Service\"$\202\323\344\223\002" - + "\036\022\034/v1/{name=apps/*/services/*}\022\251\001\n\rUpda" - + "teService\022).google.appengine.v1.UpdateSe" - + "rviceRequest\032\035.google.longrunning.Operat" - + "ion\"N\202\323\344\223\002\'2\034/v1/{name=apps/*/services/*" - + "}:\007service\312A\036\n\007Service\022\023OperationMetadat" - + "aV1\022\256\001\n\rDeleteService\022).google.appengine" - + ".v1.DeleteServiceRequest\032\035.google.longru" - + "nning.Operation\"S\202\323\344\223\002\036*\034/v1/{name=apps/" - + "*/services/*}\312A,\n\025google.protobuf.Empty\022" - + "\023OperationMetadataV1\032\266\001\312A\030appengine.goog" - + "leapis.com\322A\227\001https://www.googleapis.com" - + "/auth/appengine.admin,https://www.google" - + "apis.com/auth/cloud-platform,https://www" - + ".googleapis.com/auth/cloud-platform.read" - + "-only2\216\010\n\010Versions\022\224\001\n\014ListVersions\022(.go" - + "ogle.appengine.v1.ListVersionsRequest\032)." - + "google.appengine.v1.ListVersionsResponse" - + "\"/\202\323\344\223\002)\022\'/v1/{parent=apps/*/services/*}" - + "/versions\022\203\001\n\nGetVersion\022&.google.appeng" - + "ine.v1.GetVersionRequest\032\034.google.appeng" - + "ine.v1.Version\"/\202\323\344\223\002)\022\'/v1/{name=apps/*" - + "/services/*/versions/*}\022\270\001\n\rCreateVersio" - + "n\022).google.appengine.v1.CreateVersionReq" - + "uest\032\035.google.longrunning.Operation\"]\202\323\344" - + "\223\0022\"\'/v1/{parent=apps/*/services/*}/vers" - + "ions:\007version\312A\"\n\007Version\022\027CreateVersion" - + "MetadataV1\022\264\001\n\rUpdateVersion\022).google.ap" - + "pengine.v1.UpdateVersionRequest\032\035.google" - + ".longrunning.Operation\"Y\202\323\344\223\00222\'/v1/{nam" - + "e=apps/*/services/*/versions/*}:\007version" - + "\312A\036\n\007Version\022\023OperationMetadataV1\022\271\001\n\rDe" - + "leteVersion\022).google.appengine.v1.Delete" - + "VersionRequest\032\035.google.longrunning.Oper" - + "ation\"^\202\323\344\223\002)*\'/v1/{name=apps/*/services" - + "/*/versions/*}\312A,\n\025google.protobuf.Empty" - + "\022\023OperationMetadataV1\032\266\001\312A\030appengine.goo" - + "gleapis.com\322A\227\001https://www.googleapis.co" - + "m/auth/appengine.admin,https://www.googl" - + "eapis.com/auth/cloud-platform,https://ww" - + "w.googleapis.com/auth/cloud-platform.rea" - + "d-only2\215\007\n\tInstances\022\243\001\n\rListInstances\022)" - + ".google.appengine.v1.ListInstancesReques" - + "t\032*.google.appengine.v1.ListInstancesRes" - + "ponse\";\202\323\344\223\0025\0223/v1/{parent=apps/*/servic" - + "es/*/versions/*}/instances\022\222\001\n\013GetInstan" - + "ce\022\'.google.appengine.v1.GetInstanceRequ" - + "est\032\035.google.appengine.v1.Instance\";\202\323\344\223" - + "\0025\0223/v1/{name=apps/*/services/*/versions" - + "/*/instances/*}\022\307\001\n\016DeleteInstance\022*.goo" - + "gle.appengine.v1.DeleteInstanceRequest\032\035" - + ".google.longrunning.Operation\"j\202\323\344\223\0025*3/" + + "\"^\202\323\344\223\002)*\'/v1/{name=apps/*/services/*/ve" + + "rsions/*}\312A,\n\025google.protobuf.Empty\022\023Ope" + + "rationMetadataV1\032\266\001\312A\030appengine.googleap" + + "is.com\322A\227\001https://www.googleapis.com/aut" + + "h/appengine.admin,https://www.googleapis" + + ".com/auth/cloud-platform,https://www.goo" + + "gleapis.com/auth/cloud-platform.read-onl" + + "y2\215\007\n\tInstances\022\243\001\n\rListInstances\022).goog" + + "le.appengine.v1.ListInstancesRequest\032*.g" + + "oogle.appengine.v1.ListInstancesResponse" + + "\";\202\323\344\223\0025\0223/v1/{parent=apps/*/services/*/" + + "versions/*}/instances\022\222\001\n\013GetInstance\022\'." + + "google.appengine.v1.GetInstanceRequest\032\035" + + ".google.appengine.v1.Instance\";\202\323\344\223\0025\0223/" + "v1/{name=apps/*/services/*/versions/*/in" - + "stances/*}\312A,\n\025google.protobuf.Empty\022\023Op" - + "erationMetadataV1\022\301\001\n\rDebugInstance\022).go" - + "ogle.appengine.v1.DebugInstanceRequest\032\035" - + ".google.longrunning.Operation\"f\202\323\344\223\002>\"9/" - + "v1/{name=apps/*/services/*/versions/*/in" - + "stances/*}:debug:\001*\312A\037\n\010Instance\022\023Operat" - + "ionMetadataV1\032\266\001\312A\030appengine.googleapis." - + "com\322A\227\001https://www.googleapis.com/auth/a" - + "ppengine.admin,https://www.googleapis.co" - + "m/auth/cloud-platform,https://www.google" - + "apis.com/auth/cloud-platform.read-only2\226" - + "\t\n\010Firewall\022\242\001\n\020ListIngressRules\022,.googl" - + "e.appengine.v1.ListIngressRulesRequest\032-" - + ".google.appengine.v1.ListIngressRulesRes" - + "ponse\"1\202\323\344\223\002+\022)/v1/{parent=apps/*}/firew" - + "all/ingressRules\022\304\001\n\027BatchUpdateIngressR" - + "ules\0223.google.appengine.v1.BatchUpdateIn" - + "gressRulesRequest\0324.google.appengine.v1." - + "BatchUpdateIngressRulesResponse\">\202\323\344\223\0028\"" - + "3/v1/{name=apps/*/firewall/ingressRules}" - + ":batchUpdate:\001*\022\236\001\n\021CreateIngressRule\022-." - + "google.appengine.v1.CreateIngressRuleReq" - + "uest\032!.google.appengine.v1.FirewallRule\"" - + "7\202\323\344\223\0021\")/v1/{parent=apps/*}/firewall/in" - + "gressRules:\004rule\022\222\001\n\016GetIngressRule\022*.go" - + "ogle.appengine.v1.GetIngressRuleRequest\032" - + "!.google.appengine.v1.FirewallRule\"1\202\323\344\223" - + "\002+\022)/v1/{name=apps/*/firewall/ingressRul" - + "es/*}\022\236\001\n\021UpdateIngressRule\022-.google.app" - + "engine.v1.UpdateIngressRuleRequest\032!.goo" - + "gle.appengine.v1.FirewallRule\"7\202\323\344\223\00212)/" + + "stances/*}\022\307\001\n\016DeleteInstance\022*.google.a" + + "ppengine.v1.DeleteInstanceRequest\032\035.goog" + + "le.longrunning.Operation\"j\202\323\344\223\0025*3/v1/{n" + + "ame=apps/*/services/*/versions/*/instanc" + + "es/*}\312A,\n\025google.protobuf.Empty\022\023Operati" + + "onMetadataV1\022\301\001\n\rDebugInstance\022).google." + + "appengine.v1.DebugInstanceRequest\032\035.goog" + + "le.longrunning.Operation\"f\202\323\344\223\002>\"9/v1/{n" + + "ame=apps/*/services/*/versions/*/instanc" + + "es/*}:debug:\001*\312A\037\n\010Instance\022\023OperationMe" + + "tadataV1\032\266\001\312A\030appengine.googleapis.com\322A" + + "\227\001https://www.googleapis.com/auth/appeng" + + "ine.admin,https://www.googleapis.com/aut" + + "h/cloud-platform,https://www.googleapis." + + "com/auth/cloud-platform.read-only2\226\t\n\010Fi" + + "rewall\022\242\001\n\020ListIngressRules\022,.google.app" + + "engine.v1.ListIngressRulesRequest\032-.goog" + + "le.appengine.v1.ListIngressRulesResponse" + + "\"1\202\323\344\223\002+\022)/v1/{parent=apps/*}/firewall/i" + + "ngressRules\022\304\001\n\027BatchUpdateIngressRules\022" + + "3.google.appengine.v1.BatchUpdateIngress" + + "RulesRequest\0324.google.appengine.v1.Batch" + + "UpdateIngressRulesResponse\">\202\323\344\223\0028\"3/v1/" + + "{name=apps/*/firewall/ingressRules}:batc" + + "hUpdate:\001*\022\236\001\n\021CreateIngressRule\022-.googl" + + "e.appengine.v1.CreateIngressRuleRequest\032" + + "!.google.appengine.v1.FirewallRule\"7\202\323\344\223" + + "\0021\")/v1/{parent=apps/*}/firewall/ingress" + + "Rules:\004rule\022\222\001\n\016GetIngressRule\022*.google." + + "appengine.v1.GetIngressRuleRequest\032!.goo" + + "gle.appengine.v1.FirewallRule\"1\202\323\344\223\002+\022)/" + "v1/{name=apps/*/firewall/ingressRules/*}" - + ":\004rule\022\215\001\n\021DeleteIngressRule\022-.google.ap" - + "pengine.v1.DeleteIngressRuleRequest\032\026.go" - + "ogle.protobuf.Empty\"1\202\323\344\223\002+*)/v1/{name=a" - + "pps/*/firewall/ingressRules/*}\032\266\001\312A\030appe" - + "ngine.googleapis.com\322A\227\001https://www.goog" - + "leapis.com/auth/appengine.admin,https://" - + "www.googleapis.com/auth/cloud-platform,h" - + "ttps://www.googleapis.com/auth/cloud-pla" - + "tform.read-only2\374\002\n\021AuthorizedDomains\022\255\001" - + "\n\025ListAuthorizedDomains\0221.google.appengi" - + "ne.v1.ListAuthorizedDomainsRequest\0322.goo" - + "gle.appengine.v1.ListAuthorizedDomainsRe" - + "sponse\"-\202\323\344\223\002\'\022%/v1/{parent=apps/*}/auth" - + "orizedDomains\032\266\001\312A\030appengine.googleapis." - + "com\322A\227\001https://www.googleapis.com/auth/a" - + "ppengine.admin,https://www.googleapis.co" - + "m/auth/cloud-platform,https://www.google" - + "apis.com/auth/cloud-platform.read-only2\371" - + "\010\n\026AuthorizedCertificates\022\301\001\n\032ListAuthor" - + "izedCertificates\0226.google.appengine.v1.L" - + "istAuthorizedCertificatesRequest\0327.googl" - + "e.appengine.v1.ListAuthorizedCertificate" - + "sResponse\"2\202\323\344\223\002,\022*/v1/{parent=apps/*}/a" - + "uthorizedCertificates\022\260\001\n\030GetAuthorizedC" - + "ertificate\0224.google.appengine.v1.GetAuth" - + "orizedCertificateRequest\032*.google.appeng" - + "ine.v1.AuthorizedCertificate\"2\202\323\344\223\002,\022*/v" - + "1/{name=apps/*/authorizedCertificates/*}" - + "\022\303\001\n\033CreateAuthorizedCertificate\0227.googl" - + "e.appengine.v1.CreateAuthorizedCertifica" - + "teRequest\032*.google.appengine.v1.Authoriz" - + "edCertificate\"?\202\323\344\223\0029\"*/v1/{parent=apps/" - + "*}/authorizedCertificates:\013certificate\022\303" - + "\001\n\033UpdateAuthorizedCertificate\0227.google." - + "appengine.v1.UpdateAuthorizedCertificate" - + "Request\032*.google.appengine.v1.Authorized" - + "Certificate\"?\202\323\344\223\00292*/v1/{name=apps/*/au" - + "thorizedCertificates/*}:\013certificate\022\242\001\n" - + "\033DeleteAuthorizedCertificate\0227.google.ap" - + "pengine.v1.DeleteAuthorizedCertificateRe" - + "quest\032\026.google.protobuf.Empty\"2\202\323\344\223\002,**/" - + "v1/{name=apps/*/authorizedCertificates/*" - + "}\032\266\001\312A\030appengine.googleapis.com\322A\227\001https" - + "://www.googleapis.com/auth/appengine.adm" - + "in,https://www.googleapis.com/auth/cloud" - + "-platform,https://www.googleapis.com/aut" - + "h/cloud-platform.read-only2\331\010\n\016DomainMap" - + "pings\022\241\001\n\022ListDomainMappings\022..google.ap" - + "pengine.v1.ListDomainMappingsRequest\032/.g" - + "oogle.appengine.v1.ListDomainMappingsRes" - + "ponse\"*\202\323\344\223\002$\022\"/v1/{parent=apps/*}/domai" - + "nMappings\022\220\001\n\020GetDomainMapping\022,.google." - + "appengine.v1.GetDomainMappingRequest\032\".g" - + "oogle.appengine.v1.DomainMapping\"*\202\323\344\223\002$" - + "\022\"/v1/{name=apps/*/domainMappings/*}\022\310\001\n" - + "\023CreateDomainMapping\022/.google.appengine." - + "v1.CreateDomainMappingRequest\032\035.google.l" - + "ongrunning.Operation\"a\202\323\344\223\0024\"\"/v1/{paren" - + "t=apps/*}/domainMappings:\016domain_mapping" - + "\312A$\n\rDomainMapping\022\023OperationMetadataV1\022" - + "\310\001\n\023UpdateDomainMapping\022/.google.appengi" - + "ne.v1.UpdateDomainMappingRequest\032\035.googl" - + "e.longrunning.Operation\"a\202\323\344\223\00242\"/v1/{na" - + "me=apps/*/domainMappings/*}:\016domain_mapp" - + "ing\312A$\n\rDomainMapping\022\023OperationMetadata" - + "V1\022\300\001\n\023DeleteDomainMapping\022/.google.appe" - + "ngine.v1.DeleteDomainMappingRequest\032\035.go" - + "ogle.longrunning.Operation\"Y\202\323\344\223\002$*\"/v1/" - + "{name=apps/*/domainMappings/*}\312A,\n\025googl" - + "e.protobuf.Empty\022\023OperationMetadataV1\032\266\001" - + "\312A\030appengine.googleapis.com\322A\227\001https://w" - + "ww.googleapis.com/auth/appengine.admin,h" - + "ttps://www.googleapis.com/auth/cloud-pla" - + "tform,https://www.googleapis.com/auth/cl" - + "oud-platform.read-onlyB\300\001\n\027com.google.ap" - + "pengine.v1B\016AppengineProtoP\001Z + * The service account associated with the application. + * This is the app-level default identity. If no identity provided during + * create version, Admin API will fallback to this one. + *
    + * + * string service_account = 13; + * + * @return The serviceAccount. + */ + @java.lang.Override + public java.lang.String getServiceAccount() { + java.lang.Object ref = serviceAccount_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + serviceAccount_ = s; + return s; + } + } + /** + * + * + *
    +   * The service account associated with the application.
    +   * This is the app-level default identity. If no identity provided during
    +   * create version, Admin API will fallback to this one.
    +   * 
    + * + * string service_account = 13; + * + * @return The bytes for serviceAccount. + */ + @java.lang.Override + public com.google.protobuf.ByteString getServiceAccountBytes() { + java.lang.Object ref = serviceAccount_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + serviceAccount_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int IAP_FIELD_NUMBER = 14; private com.google.appengine.v1.Application.IdentityAwareProxy iap_; /** @@ -3255,6 +3322,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultBucket_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, defaultBucket_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 13, serviceAccount_); + } if (iap_ != null) { output.writeMessage(14, getIap()); } @@ -3309,6 +3379,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultBucket_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, defaultBucket_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, serviceAccount_); + } if (iap_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, getIap()); } @@ -3350,6 +3423,7 @@ public boolean equals(final java.lang.Object obj) { if (servingStatus_ != other.servingStatus_) return false; if (!getDefaultHostname().equals(other.getDefaultHostname())) return false; if (!getDefaultBucket().equals(other.getDefaultBucket())) return false; + if (!getServiceAccount().equals(other.getServiceAccount())) return false; if (hasIap() != other.hasIap()) return false; if (hasIap()) { if (!getIap().equals(other.getIap())) return false; @@ -3395,6 +3469,8 @@ public int hashCode() { hash = (53 * hash) + getDefaultHostname().hashCode(); hash = (37 * hash) + DEFAULT_BUCKET_FIELD_NUMBER; hash = (53 * hash) + getDefaultBucket().hashCode(); + hash = (37 * hash) + SERVICE_ACCOUNT_FIELD_NUMBER; + hash = (53 * hash) + getServiceAccount().hashCode(); if (hasIap()) { hash = (37 * hash) + IAP_FIELD_NUMBER; hash = (53 * hash) + getIap().hashCode(); @@ -3582,6 +3658,8 @@ public Builder clear() { defaultBucket_ = ""; + serviceAccount_ = ""; + if (iapBuilder_ == null) { iap_ = null; } else { @@ -3647,6 +3725,7 @@ public com.google.appengine.v1.Application buildPartial() { result.servingStatus_ = servingStatus_; result.defaultHostname_ = defaultHostname_; result.defaultBucket_ = defaultBucket_; + result.serviceAccount_ = serviceAccount_; if (iapBuilder_ == null) { result.iap_ = iap_; } else { @@ -3769,6 +3848,10 @@ public Builder mergeFrom(com.google.appengine.v1.Application other) { defaultBucket_ = other.defaultBucket_; onChanged(); } + if (!other.getServiceAccount().isEmpty()) { + serviceAccount_ = other.serviceAccount_; + onChanged(); + } if (other.hasIap()) { mergeIap(other.getIap()); } @@ -5314,6 +5397,122 @@ public Builder setDefaultBucketBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object serviceAccount_ = ""; + /** + * + * + *
    +     * The service account associated with the application.
    +     * This is the app-level default identity. If no identity provided during
    +     * create version, Admin API will fallback to this one.
    +     * 
    + * + * string service_account = 13; + * + * @return The serviceAccount. + */ + public java.lang.String getServiceAccount() { + java.lang.Object ref = serviceAccount_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + serviceAccount_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
    +     * The service account associated with the application.
    +     * This is the app-level default identity. If no identity provided during
    +     * create version, Admin API will fallback to this one.
    +     * 
    + * + * string service_account = 13; + * + * @return The bytes for serviceAccount. + */ + public com.google.protobuf.ByteString getServiceAccountBytes() { + java.lang.Object ref = serviceAccount_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + serviceAccount_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
    +     * The service account associated with the application.
    +     * This is the app-level default identity. If no identity provided during
    +     * create version, Admin API will fallback to this one.
    +     * 
    + * + * string service_account = 13; + * + * @param value The serviceAccount to set. + * @return This builder for chaining. + */ + public Builder setServiceAccount(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + serviceAccount_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * The service account associated with the application.
    +     * This is the app-level default identity. If no identity provided during
    +     * create version, Admin API will fallback to this one.
    +     * 
    + * + * string service_account = 13; + * + * @return This builder for chaining. + */ + public Builder clearServiceAccount() { + + serviceAccount_ = getDefaultInstance().getServiceAccount(); + onChanged(); + return this; + } + /** + * + * + *
    +     * The service account associated with the application.
    +     * This is the app-level default identity. If no identity provided during
    +     * create version, Admin API will fallback to this one.
    +     * 
    + * + * string service_account = 13; + * + * @param value The bytes for serviceAccount to set. + * @return This builder for chaining. + */ + public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + serviceAccount_ = value; + onChanged(); + return this; + } + private com.google.appengine.v1.Application.IdentityAwareProxy iap_; private com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.v1.Application.IdentityAwareProxy, diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ApplicationOrBuilder.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ApplicationOrBuilder.java index 08a73c61..96f6044b 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ApplicationOrBuilder.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ApplicationOrBuilder.java @@ -356,6 +356,35 @@ public interface ApplicationOrBuilder */ com.google.protobuf.ByteString getDefaultBucketBytes(); + /** + * + * + *
    +   * The service account associated with the application.
    +   * This is the app-level default identity. If no identity provided during
    +   * create version, Admin API will fallback to this one.
    +   * 
    + * + * string service_account = 13; + * + * @return The serviceAccount. + */ + java.lang.String getServiceAccount(); + /** + * + * + *
    +   * The service account associated with the application.
    +   * This is the app-level default identity. If no identity provided during
    +   * create version, Admin API will fallback to this one.
    +   * 
    + * + * string service_account = 13; + * + * @return The bytes for serviceAccount. + */ + com.google.protobuf.ByteString getServiceAccountBytes(); + /** * .google.appengine.v1.Application.IdentityAwareProxy iap = 14; * diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ApplicationProto.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ApplicationProto.java index 5c9a338e..6f4e2e4e 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ApplicationProto.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ApplicationProto.java @@ -54,7 +54,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n%google/appengine/v1/application.proto\022" + "\023google.appengine.v1\032\036google/protobuf/du" - + "ration.proto\"\360\007\n\013Application\022\014\n\004name\030\001 \001" + + "ration.proto\"\211\010\n\013Application\022\014\n\004name\030\001 \001" + "(\t\022\n\n\002id\030\002 \001(\t\022<\n\016dispatch_rules\030\003 \003(\0132$" + ".google.appengine.v1.UrlDispatchRule\022\023\n\013" + "auth_domain\030\006 \001(\t\022\023\n\013location_id\030\007 \001(\t\022\023" @@ -63,30 +63,30 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "n\022F\n\016serving_status\030\n \001(\0162..google.appen" + "gine.v1.Application.ServingStatus\022\030\n\020def" + "ault_hostname\030\013 \001(\t\022\026\n\016default_bucket\030\014 " - + "\001(\t\022@\n\003iap\030\016 \001(\01323.google.appengine.v1.A" - + "pplication.IdentityAwareProxy\022\022\n\ngcr_dom" - + "ain\030\020 \001(\t\022D\n\rdatabase_type\030\021 \001(\0162-.googl" - + "e.appengine.v1.Application.DatabaseType\022" - + "J\n\020feature_settings\030\022 \001(\01320.google.appen" - + "gine.v1.Application.FeatureSettings\032\202\001\n\022" - + "IdentityAwareProxy\022\017\n\007enabled\030\001 \001(\010\022\030\n\020o" - + "auth2_client_id\030\002 \001(\t\022\034\n\024oauth2_client_s" - + "ecret\030\003 \001(\t\022#\n\033oauth2_client_secret_sha2" - + "56\030\004 \001(\t\032R\n\017FeatureSettings\022\033\n\023split_hea" - + "lth_checks\030\001 \001(\010\022\"\n\032use_container_optimi" - + "zed_os\030\002 \001(\010\"U\n\rServingStatus\022\017\n\013UNSPECI" - + "FIED\020\000\022\013\n\007SERVING\020\001\022\021\n\rUSER_DISABLED\020\002\022\023" - + "\n\017SYSTEM_DISABLED\020\003\"z\n\014DatabaseType\022\035\n\031D" - + "ATABASE_TYPE_UNSPECIFIED\020\000\022\023\n\017CLOUD_DATA" - + "STORE\020\001\022\023\n\017CLOUD_FIRESTORE\020\002\022!\n\035CLOUD_DA" - + "TASTORE_COMPATIBILITY\020\003\"@\n\017UrlDispatchRu" - + "le\022\016\n\006domain\030\001 \001(\t\022\014\n\004path\030\002 \001(\t\022\017\n\007serv" - + "ice\030\003 \001(\tB\302\001\n\027com.google.appengine.v1B\020A" - + "pplicationProtoP\001Z getFile public com.google.appengine.v1.FileInfo getFilesOrDefault( java.lang.String key, com.google.appengine.v1.FileInfo defaultValue) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } java.util.Map map = internalGetFiles().getMap(); @@ -277,7 +279,7 @@ public com.google.appengine.v1.FileInfo getFilesOrDefault( @java.lang.Override public com.google.appengine.v1.FileInfo getFilesOrThrow(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } java.util.Map map = internalGetFiles().getMap(); @@ -906,7 +908,7 @@ public int getFilesCount() { @java.lang.Override public boolean containsFiles(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } return internalGetFiles().getMap().containsKey(key); } @@ -946,7 +948,7 @@ public java.util.Map getFile public com.google.appengine.v1.FileInfo getFilesOrDefault( java.lang.String key, com.google.appengine.v1.FileInfo defaultValue) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } java.util.Map map = internalGetFiles().getMap(); @@ -966,7 +968,7 @@ public com.google.appengine.v1.FileInfo getFilesOrDefault( @java.lang.Override public com.google.appengine.v1.FileInfo getFilesOrThrow(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } java.util.Map map = internalGetFiles().getMap(); @@ -993,7 +995,7 @@ public Builder clearFiles() { */ public Builder removeFiles(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } internalGetMutableFiles().getMutableMap().remove(key); return this; @@ -1016,11 +1018,12 @@ public java.util.Map getMuta */ public Builder putFiles(java.lang.String key, com.google.appengine.v1.FileInfo value) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } if (value == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map value"); } + internalGetMutableFiles().getMutableMap().put(key, value); return this; } diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/DeploymentOrBuilder.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/DeploymentOrBuilder.java index 4085d8f2..90a33244 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/DeploymentOrBuilder.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/DeploymentOrBuilder.java @@ -73,8 +73,12 @@ public interface DeploymentOrBuilder * * map<string, .google.appengine.v1.FileInfo> files = 1; */ + + /* nullable */ com.google.appengine.v1.FileInfo getFilesOrDefault( - java.lang.String key, com.google.appengine.v1.FileInfo defaultValue); + java.lang.String key, + /* nullable */ + com.google.appengine.v1.FileInfo defaultValue); /** * * diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/DiskUtilization.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/DiskUtilization.java index 5a1dbe52..2a76e9c9 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/DiskUtilization.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/DiskUtilization.java @@ -100,6 +100,8 @@ private DiskUtilization( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/DomainMapping.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/DomainMapping.java index 7e9288c2..b2f18971 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/DomainMapping.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/DomainMapping.java @@ -126,6 +126,8 @@ private DomainMapping( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/EndpointsApiService.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/EndpointsApiService.java index 45d5f13e..cd0b2515 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/EndpointsApiService.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/EndpointsApiService.java @@ -114,6 +114,8 @@ private EndpointsApiService( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/Entrypoint.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/Entrypoint.java index c782d120..fe1d0706 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/Entrypoint.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/Entrypoint.java @@ -86,6 +86,8 @@ private Entrypoint( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ErrorHandler.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ErrorHandler.java index 791b4d00..59b8d438 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ErrorHandler.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ErrorHandler.java @@ -104,6 +104,8 @@ private ErrorHandler( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/FileInfo.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/FileInfo.java index 890e4e52..41b9d547 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/FileInfo.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/FileInfo.java @@ -105,6 +105,8 @@ private FileInfo( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/GetApplicationRequest.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/GetApplicationRequest.java index e02f0fe9..71f474d6 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/GetApplicationRequest.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/GetApplicationRequest.java @@ -88,6 +88,8 @@ private GetApplicationRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/GetAuthorizedCertificateRequest.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/GetAuthorizedCertificateRequest.java index f1101b80..945e25f7 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/GetAuthorizedCertificateRequest.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/GetAuthorizedCertificateRequest.java @@ -97,6 +97,8 @@ private GetAuthorizedCertificateRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/GetDomainMappingRequest.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/GetDomainMappingRequest.java index 8c7f6dc7..7b1fb4b9 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/GetDomainMappingRequest.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/GetDomainMappingRequest.java @@ -88,6 +88,8 @@ private GetDomainMappingRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/GetIngressRuleRequest.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/GetIngressRuleRequest.java index 381330c6..cd471bb9 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/GetIngressRuleRequest.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/GetIngressRuleRequest.java @@ -88,6 +88,8 @@ private GetIngressRuleRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/GetInstanceRequest.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/GetInstanceRequest.java index c150217f..4e0f1c11 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/GetInstanceRequest.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/GetInstanceRequest.java @@ -88,6 +88,8 @@ private GetInstanceRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/GetServiceRequest.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/GetServiceRequest.java index 4b4c24df..457bff82 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/GetServiceRequest.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/GetServiceRequest.java @@ -88,6 +88,8 @@ private GetServiceRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/GetVersionRequest.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/GetVersionRequest.java index 49d8e239..b92d7aac 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/GetVersionRequest.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/GetVersionRequest.java @@ -96,6 +96,8 @@ private GetVersionRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/HealthCheck.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/HealthCheck.java index 006f5a12..6bc3f619 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/HealthCheck.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/HealthCheck.java @@ -140,6 +140,8 @@ private HealthCheck( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/Instance.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/Instance.java index 0416bcf4..f1a5c24a 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/Instance.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/Instance.java @@ -206,6 +206,8 @@ private Instance( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { @@ -402,6 +404,8 @@ private Liveness( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { @@ -1717,7 +1721,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (errors_ != 0) { output.writeInt32(10, errors_); } - if (qps_ != 0F) { + if (java.lang.Float.floatToRawIntBits(qps_) != 0) { output.writeFloat(11, qps_); } if (averageLatency_ != 0) { @@ -1779,7 +1783,7 @@ public int getSerializedSize() { if (errors_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(10, errors_); } - if (qps_ != 0F) { + if (java.lang.Float.floatToRawIntBits(qps_) != 0) { size += com.google.protobuf.CodedOutputStream.computeFloatSize(11, qps_); } if (averageLatency_ != 0) { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/Library.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/Library.java index 4ae9a700..7812b6d8 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/Library.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/Library.java @@ -96,6 +96,8 @@ private Library( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListAuthorizedCertificatesRequest.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListAuthorizedCertificatesRequest.java index eca5227a..af22e6d8 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListAuthorizedCertificatesRequest.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListAuthorizedCertificatesRequest.java @@ -110,6 +110,8 @@ private ListAuthorizedCertificatesRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListAuthorizedCertificatesResponse.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListAuthorizedCertificatesResponse.java index a3d9cb89..2c8b9334 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListAuthorizedCertificatesResponse.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListAuthorizedCertificatesResponse.java @@ -103,6 +103,8 @@ private ListAuthorizedCertificatesResponse( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListAuthorizedDomainsRequest.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListAuthorizedDomainsRequest.java index a2806383..9d60710b 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListAuthorizedDomainsRequest.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListAuthorizedDomainsRequest.java @@ -101,6 +101,8 @@ private ListAuthorizedDomainsRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListAuthorizedDomainsResponse.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListAuthorizedDomainsResponse.java index a6f7f21c..7b3afd1c 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListAuthorizedDomainsResponse.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListAuthorizedDomainsResponse.java @@ -101,6 +101,8 @@ private ListAuthorizedDomainsResponse( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListDomainMappingsRequest.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListDomainMappingsRequest.java index 2fe3b174..a7541ae9 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListDomainMappingsRequest.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListDomainMappingsRequest.java @@ -101,6 +101,8 @@ private ListDomainMappingsRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListDomainMappingsResponse.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListDomainMappingsResponse.java index aad37f92..41b0de6e 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListDomainMappingsResponse.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListDomainMappingsResponse.java @@ -101,6 +101,8 @@ private ListDomainMappingsResponse( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListIngressRulesRequest.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListIngressRulesRequest.java index 442d5f7c..e853a8c3 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListIngressRulesRequest.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListIngressRulesRequest.java @@ -109,6 +109,8 @@ private ListIngressRulesRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListIngressRulesResponse.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListIngressRulesResponse.java index 1912e937..db0003b3 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListIngressRulesResponse.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListIngressRulesResponse.java @@ -102,6 +102,8 @@ private ListIngressRulesResponse( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListInstancesRequest.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListInstancesRequest.java index 0c328221..95207284 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListInstancesRequest.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListInstancesRequest.java @@ -101,6 +101,8 @@ private ListInstancesRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListInstancesResponse.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListInstancesResponse.java index 9688e726..9776ab5f 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListInstancesResponse.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListInstancesResponse.java @@ -100,6 +100,8 @@ private ListInstancesResponse( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListServicesRequest.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListServicesRequest.java index f891e8fc..1fb63af8 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListServicesRequest.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListServicesRequest.java @@ -101,6 +101,8 @@ private ListServicesRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListServicesResponse.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListServicesResponse.java index 08baa9d3..7b4eb293 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListServicesResponse.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListServicesResponse.java @@ -100,6 +100,8 @@ private ListServicesResponse( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListVersionsRequest.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListVersionsRequest.java index d867d64f..a23ba34f 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListVersionsRequest.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListVersionsRequest.java @@ -109,6 +109,8 @@ private ListVersionsRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListVersionsResponse.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListVersionsResponse.java index a8180e3d..c33b27a9 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListVersionsResponse.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ListVersionsResponse.java @@ -100,6 +100,8 @@ private ListVersionsResponse( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/LivenessCheck.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/LivenessCheck.java index c20276f9..81d7a7a5 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/LivenessCheck.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/LivenessCheck.java @@ -152,6 +152,8 @@ private LivenessCheck( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/LocationMetadata.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/LocationMetadata.java index 3b0f6ca3..29d2e6bb 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/LocationMetadata.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/LocationMetadata.java @@ -94,6 +94,8 @@ private LocationMetadata( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ManagedCertificate.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ManagedCertificate.java index cb4babbc..a20ec883 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ManagedCertificate.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ManagedCertificate.java @@ -103,6 +103,8 @@ private ManagedCertificate( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ManualScaling.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ManualScaling.java index ff7d791d..34165881 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ManualScaling.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ManualScaling.java @@ -85,6 +85,8 @@ private ManualScaling( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/Network.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/Network.java index a462b841..07d46716 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/Network.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/Network.java @@ -122,6 +122,8 @@ private Network( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/NetworkSettings.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/NetworkSettings.java index bc512e93..ba08d27b 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/NetworkSettings.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/NetworkSettings.java @@ -89,6 +89,8 @@ private NetworkSettings( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/NetworkUtilization.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/NetworkUtilization.java index 6352c6bf..565362ca 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/NetworkUtilization.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/NetworkUtilization.java @@ -100,6 +100,8 @@ private NetworkUtilization( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/OperationMetadataV1.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/OperationMetadataV1.java index 437451d4..98455b2f 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/OperationMetadataV1.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/OperationMetadataV1.java @@ -172,6 +172,8 @@ private OperationMetadataV1( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { @@ -2249,8 +2251,9 @@ public Builder mergeCreateVersionMetadata( } else { if (methodMetadataCase_ == 8) { createVersionMetadataBuilder_.mergeFrom(value); + } else { + createVersionMetadataBuilder_.setMessage(value); } - createVersionMetadataBuilder_.setMessage(value); } methodMetadataCase_ = 8; return this; diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ReadinessCheck.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ReadinessCheck.java index b4ed039e..7ef3c875 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ReadinessCheck.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ReadinessCheck.java @@ -152,6 +152,8 @@ private ReadinessCheck( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/RepairApplicationRequest.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/RepairApplicationRequest.java index 8098f0c1..76e6328b 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/RepairApplicationRequest.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/RepairApplicationRequest.java @@ -88,6 +88,8 @@ private RepairApplicationRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/RequestUtilization.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/RequestUtilization.java index 6d977201..44e75911 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/RequestUtilization.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/RequestUtilization.java @@ -90,6 +90,8 @@ private RequestUtilization( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ResourceRecord.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ResourceRecord.java index 6d6eef6d..76545fe1 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ResourceRecord.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ResourceRecord.java @@ -104,6 +104,8 @@ private ResourceRecord( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/Resources.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/Resources.java index 278f592f..5005c982 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/Resources.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/Resources.java @@ -115,6 +115,8 @@ private Resources( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { @@ -329,13 +331,13 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (cpu_ != 0D) { + if (java.lang.Double.doubleToRawLongBits(cpu_) != 0) { output.writeDouble(1, cpu_); } - if (diskGb_ != 0D) { + if (java.lang.Double.doubleToRawLongBits(diskGb_) != 0) { output.writeDouble(2, diskGb_); } - if (memoryGb_ != 0D) { + if (java.lang.Double.doubleToRawLongBits(memoryGb_) != 0) { output.writeDouble(3, memoryGb_); } for (int i = 0; i < volumes_.size(); i++) { @@ -353,13 +355,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (cpu_ != 0D) { + if (java.lang.Double.doubleToRawLongBits(cpu_) != 0) { size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, cpu_); } - if (diskGb_ != 0D) { + if (java.lang.Double.doubleToRawLongBits(diskGb_) != 0) { size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, diskGb_); } - if (memoryGb_ != 0D) { + if (java.lang.Double.doubleToRawLongBits(memoryGb_) != 0) { size += com.google.protobuf.CodedOutputStream.computeDoubleSize(3, memoryGb_); } for (int i = 0; i < volumes_.size(); i++) { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ScriptHandler.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ScriptHandler.java index d3c54d48..214e2468 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ScriptHandler.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ScriptHandler.java @@ -88,6 +88,8 @@ private ScriptHandler( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/Service.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/Service.java index 9ea87f37..6bf889ca 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/Service.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/Service.java @@ -67,6 +67,7 @@ private Service( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } + int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -105,6 +106,19 @@ private Service( split_ = subBuilder.buildPartial(); } + break; + } + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = + com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); break; } case 50: @@ -134,6 +148,8 @@ private Service( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { @@ -147,6 +163,17 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { .internal_static_google_appengine_v1_Service_descriptor; } + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField(int number) { + switch (number) { + case 4: + return internalGetLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { @@ -311,6 +338,140 @@ public com.google.appengine.v1.TrafficSplitOrBuilder getSplitOrBuilder() { return getSplit(); } + public static final int LABELS_FIELD_NUMBER = 4; + + private static final class LabelsDefaultEntryHolder { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.appengine.v1.ServiceProto + .internal_static_google_appengine_v1_Service_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { + if (labels_ == null) { + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + } + return labels_; + } + + public int getLabelsCount() { + return internalGetLabels().getMap().size(); + } + /** + * + * + *
    +   * A set of labels to apply to this service. Labels are key/value pairs that
    +   * describe the service and all resources that belong to it (e.g.,
    +   * versions). The labels can be used to search and group resources, and are
    +   * propagated to the usage and billing reports, enabling fine-grain analysis
    +   * of costs. An example of using labels is to tag resources belonging to
    +   * different environments (e.g., "env=prod", "env=qa").
    +   * <p>Label keys and values can be no longer than 63 characters and can only
    +   * contain lowercase letters, numeric characters, underscores, dashes, and
    +   * international characters. Label keys must start with a lowercase letter
    +   * or an international character. Each service can have at most 32 labels.
    +   * 
    + * + * map<string, string> labels = 4; + */ + @java.lang.Override + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetLabels().getMap().containsKey(key); + } + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getLabels() { + return getLabelsMap(); + } + /** + * + * + *
    +   * A set of labels to apply to this service. Labels are key/value pairs that
    +   * describe the service and all resources that belong to it (e.g.,
    +   * versions). The labels can be used to search and group resources, and are
    +   * propagated to the usage and billing reports, enabling fine-grain analysis
    +   * of costs. An example of using labels is to tag resources belonging to
    +   * different environments (e.g., "env=prod", "env=qa").
    +   * <p>Label keys and values can be no longer than 63 characters and can only
    +   * contain lowercase letters, numeric characters, underscores, dashes, and
    +   * international characters. Label keys must start with a lowercase letter
    +   * or an international character. Each service can have at most 32 labels.
    +   * 
    + * + * map<string, string> labels = 4; + */ + @java.lang.Override + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + /** + * + * + *
    +   * A set of labels to apply to this service. Labels are key/value pairs that
    +   * describe the service and all resources that belong to it (e.g.,
    +   * versions). The labels can be used to search and group resources, and are
    +   * propagated to the usage and billing reports, enabling fine-grain analysis
    +   * of costs. An example of using labels is to tag resources belonging to
    +   * different environments (e.g., "env=prod", "env=qa").
    +   * <p>Label keys and values can be no longer than 63 characters and can only
    +   * contain lowercase letters, numeric characters, underscores, dashes, and
    +   * international characters. Label keys must start with a lowercase letter
    +   * or an international character. Each service can have at most 32 labels.
    +   * 
    + * + * map<string, string> labels = 4; + */ + @java.lang.Override + public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
    +   * A set of labels to apply to this service. Labels are key/value pairs that
    +   * describe the service and all resources that belong to it (e.g.,
    +   * versions). The labels can be used to search and group resources, and are
    +   * propagated to the usage and billing reports, enabling fine-grain analysis
    +   * of costs. An example of using labels is to tag resources belonging to
    +   * different environments (e.g., "env=prod", "env=qa").
    +   * <p>Label keys and values can be no longer than 63 characters and can only
    +   * contain lowercase letters, numeric characters, underscores, dashes, and
    +   * international characters. Label keys must start with a lowercase letter
    +   * or an international character. Each service can have at most 32 labels.
    +   * 
    + * + * map<string, string> labels = 4; + */ + @java.lang.Override + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + public static final int NETWORK_SETTINGS_FIELD_NUMBER = 6; private com.google.appengine.v1.NetworkSettings networkSettings_; /** @@ -382,6 +543,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (split_ != null) { output.writeMessage(3, getSplit()); } + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); if (networkSettings_ != null) { output.writeMessage(6, getNetworkSettings()); } @@ -403,6 +566,16 @@ public int getSerializedSize() { if (split_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getSplit()); } + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels__); + } if (networkSettings_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getNetworkSettings()); } @@ -427,6 +600,7 @@ public boolean equals(final java.lang.Object obj) { if (hasSplit()) { if (!getSplit().equals(other.getSplit())) return false; } + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (hasNetworkSettings() != other.hasNetworkSettings()) return false; if (hasNetworkSettings()) { if (!getNetworkSettings().equals(other.getNetworkSettings())) return false; @@ -450,6 +624,10 @@ public int hashCode() { hash = (37 * hash) + SPLIT_FIELD_NUMBER; hash = (53 * hash) + getSplit().hashCode(); } + if (!internalGetLabels().getMap().isEmpty()) { + hash = (37 * hash) + LABELS_FIELD_NUMBER; + hash = (53 * hash) + internalGetLabels().hashCode(); + } if (hasNetworkSettings()) { hash = (37 * hash) + NETWORK_SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getNetworkSettings().hashCode(); @@ -577,6 +755,26 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { .internal_static_google_appengine_v1_Service_descriptor; } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField(int number) { + switch (number) { + case 4: + return internalGetLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + switch (number) { + case 4: + return internalGetMutableLabels(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { @@ -613,6 +811,7 @@ public Builder clear() { split_ = null; splitBuilder_ = null; } + internalGetMutableLabels().clear(); if (networkSettingsBuilder_ == null) { networkSettings_ = null; } else { @@ -645,6 +844,7 @@ public com.google.appengine.v1.Service build() { @java.lang.Override public com.google.appengine.v1.Service buildPartial() { com.google.appengine.v1.Service result = new com.google.appengine.v1.Service(this); + int from_bitField0_ = bitField0_; result.name_ = name_; result.id_ = id_; if (splitBuilder_ == null) { @@ -652,6 +852,8 @@ public com.google.appengine.v1.Service buildPartial() { } else { result.split_ = splitBuilder_.build(); } + result.labels_ = internalGetLabels(); + result.labels_.makeImmutable(); if (networkSettingsBuilder_ == null) { result.networkSettings_ = networkSettings_; } else { @@ -717,6 +919,7 @@ public Builder mergeFrom(com.google.appengine.v1.Service other) { if (other.hasSplit()) { mergeSplit(other.getSplit()); } + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); if (other.hasNetworkSettings()) { mergeNetworkSettings(other.getNetworkSettings()); } @@ -749,6 +952,8 @@ public Builder mergeFrom( return this; } + private int bitField0_; + private java.lang.Object name_ = ""; /** * @@ -1171,6 +1376,227 @@ public com.google.appengine.v1.TrafficSplitOrBuilder getSplitOrBuilder() { return splitBuilder_; } + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { + if (labels_ == null) { + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + } + return labels_; + } + + private com.google.protobuf.MapField + internalGetMutableLabels() { + onChanged(); + ; + if (labels_ == null) { + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + } + if (!labels_.isMutable()) { + labels_ = labels_.copy(); + } + return labels_; + } + + public int getLabelsCount() { + return internalGetLabels().getMap().size(); + } + /** + * + * + *
    +     * A set of labels to apply to this service. Labels are key/value pairs that
    +     * describe the service and all resources that belong to it (e.g.,
    +     * versions). The labels can be used to search and group resources, and are
    +     * propagated to the usage and billing reports, enabling fine-grain analysis
    +     * of costs. An example of using labels is to tag resources belonging to
    +     * different environments (e.g., "env=prod", "env=qa").
    +     * <p>Label keys and values can be no longer than 63 characters and can only
    +     * contain lowercase letters, numeric characters, underscores, dashes, and
    +     * international characters. Label keys must start with a lowercase letter
    +     * or an international character. Each service can have at most 32 labels.
    +     * 
    + * + * map<string, string> labels = 4; + */ + @java.lang.Override + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + return internalGetLabels().getMap().containsKey(key); + } + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getLabels() { + return getLabelsMap(); + } + /** + * + * + *
    +     * A set of labels to apply to this service. Labels are key/value pairs that
    +     * describe the service and all resources that belong to it (e.g.,
    +     * versions). The labels can be used to search and group resources, and are
    +     * propagated to the usage and billing reports, enabling fine-grain analysis
    +     * of costs. An example of using labels is to tag resources belonging to
    +     * different environments (e.g., "env=prod", "env=qa").
    +     * <p>Label keys and values can be no longer than 63 characters and can only
    +     * contain lowercase letters, numeric characters, underscores, dashes, and
    +     * international characters. Label keys must start with a lowercase letter
    +     * or an international character. Each service can have at most 32 labels.
    +     * 
    + * + * map<string, string> labels = 4; + */ + @java.lang.Override + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + /** + * + * + *
    +     * A set of labels to apply to this service. Labels are key/value pairs that
    +     * describe the service and all resources that belong to it (e.g.,
    +     * versions). The labels can be used to search and group resources, and are
    +     * propagated to the usage and billing reports, enabling fine-grain analysis
    +     * of costs. An example of using labels is to tag resources belonging to
    +     * different environments (e.g., "env=prod", "env=qa").
    +     * <p>Label keys and values can be no longer than 63 characters and can only
    +     * contain lowercase letters, numeric characters, underscores, dashes, and
    +     * international characters. Label keys must start with a lowercase letter
    +     * or an international character. Each service can have at most 32 labels.
    +     * 
    + * + * map<string, string> labels = 4; + */ + @java.lang.Override + public java.lang.String getLabelsOrDefault( + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
    +     * A set of labels to apply to this service. Labels are key/value pairs that
    +     * describe the service and all resources that belong to it (e.g.,
    +     * versions). The labels can be used to search and group resources, and are
    +     * propagated to the usage and billing reports, enabling fine-grain analysis
    +     * of costs. An example of using labels is to tag resources belonging to
    +     * different environments (e.g., "env=prod", "env=qa").
    +     * <p>Label keys and values can be no longer than 63 characters and can only
    +     * contain lowercase letters, numeric characters, underscores, dashes, and
    +     * international characters. Label keys must start with a lowercase letter
    +     * or an international character. Each service can have at most 32 labels.
    +     * 
    + * + * map<string, string> labels = 4; + */ + @java.lang.Override + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearLabels() { + internalGetMutableLabels().getMutableMap().clear(); + return this; + } + /** + * + * + *
    +     * A set of labels to apply to this service. Labels are key/value pairs that
    +     * describe the service and all resources that belong to it (e.g.,
    +     * versions). The labels can be used to search and group resources, and are
    +     * propagated to the usage and billing reports, enabling fine-grain analysis
    +     * of costs. An example of using labels is to tag resources belonging to
    +     * different environments (e.g., "env=prod", "env=qa").
    +     * <p>Label keys and values can be no longer than 63 characters and can only
    +     * contain lowercase letters, numeric characters, underscores, dashes, and
    +     * international characters. Label keys must start with a lowercase letter
    +     * or an international character. Each service can have at most 32 labels.
    +     * 
    + * + * map<string, string> labels = 4; + */ + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); + return this; + } + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map getMutableLabels() { + return internalGetMutableLabels().getMutableMap(); + } + /** + * + * + *
    +     * A set of labels to apply to this service. Labels are key/value pairs that
    +     * describe the service and all resources that belong to it (e.g.,
    +     * versions). The labels can be used to search and group resources, and are
    +     * propagated to the usage and billing reports, enabling fine-grain analysis
    +     * of costs. An example of using labels is to tag resources belonging to
    +     * different environments (e.g., "env=prod", "env=qa").
    +     * <p>Label keys and values can be no longer than 63 characters and can only
    +     * contain lowercase letters, numeric characters, underscores, dashes, and
    +     * international characters. Label keys must start with a lowercase letter
    +     * or an international character. Each service can have at most 32 labels.
    +     * 
    + * + * map<string, string> labels = 4; + */ + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + + internalGetMutableLabels().getMutableMap().put(key, value); + return this; + } + /** + * + * + *
    +     * A set of labels to apply to this service. Labels are key/value pairs that
    +     * describe the service and all resources that belong to it (e.g.,
    +     * versions). The labels can be used to search and group resources, and are
    +     * propagated to the usage and billing reports, enabling fine-grain analysis
    +     * of costs. An example of using labels is to tag resources belonging to
    +     * different environments (e.g., "env=prod", "env=qa").
    +     * <p>Label keys and values can be no longer than 63 characters and can only
    +     * contain lowercase letters, numeric characters, underscores, dashes, and
    +     * international characters. Label keys must start with a lowercase letter
    +     * or an international character. Each service can have at most 32 labels.
    +     * 
    + * + * map<string, string> labels = 4; + */ + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); + return this; + } + private com.google.appengine.v1.NetworkSettings networkSettings_; private com.google.protobuf.SingleFieldBuilderV3< com.google.appengine.v1.NetworkSettings, diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ServiceOrBuilder.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ServiceOrBuilder.java index d98db4ae..80cad87b 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ServiceOrBuilder.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ServiceOrBuilder.java @@ -119,6 +119,110 @@ public interface ServiceOrBuilder */ com.google.appengine.v1.TrafficSplitOrBuilder getSplitOrBuilder(); + /** + * + * + *
    +   * A set of labels to apply to this service. Labels are key/value pairs that
    +   * describe the service and all resources that belong to it (e.g.,
    +   * versions). The labels can be used to search and group resources, and are
    +   * propagated to the usage and billing reports, enabling fine-grain analysis
    +   * of costs. An example of using labels is to tag resources belonging to
    +   * different environments (e.g., "env=prod", "env=qa").
    +   * <p>Label keys and values can be no longer than 63 characters and can only
    +   * contain lowercase letters, numeric characters, underscores, dashes, and
    +   * international characters. Label keys must start with a lowercase letter
    +   * or an international character. Each service can have at most 32 labels.
    +   * 
    + * + * map<string, string> labels = 4; + */ + int getLabelsCount(); + /** + * + * + *
    +   * A set of labels to apply to this service. Labels are key/value pairs that
    +   * describe the service and all resources that belong to it (e.g.,
    +   * versions). The labels can be used to search and group resources, and are
    +   * propagated to the usage and billing reports, enabling fine-grain analysis
    +   * of costs. An example of using labels is to tag resources belonging to
    +   * different environments (e.g., "env=prod", "env=qa").
    +   * <p>Label keys and values can be no longer than 63 characters and can only
    +   * contain lowercase letters, numeric characters, underscores, dashes, and
    +   * international characters. Label keys must start with a lowercase letter
    +   * or an international character. Each service can have at most 32 labels.
    +   * 
    + * + * map<string, string> labels = 4; + */ + boolean containsLabels(java.lang.String key); + /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Deprecated + java.util.Map getLabels(); + /** + * + * + *
    +   * A set of labels to apply to this service. Labels are key/value pairs that
    +   * describe the service and all resources that belong to it (e.g.,
    +   * versions). The labels can be used to search and group resources, and are
    +   * propagated to the usage and billing reports, enabling fine-grain analysis
    +   * of costs. An example of using labels is to tag resources belonging to
    +   * different environments (e.g., "env=prod", "env=qa").
    +   * <p>Label keys and values can be no longer than 63 characters and can only
    +   * contain lowercase letters, numeric characters, underscores, dashes, and
    +   * international characters. Label keys must start with a lowercase letter
    +   * or an international character. Each service can have at most 32 labels.
    +   * 
    + * + * map<string, string> labels = 4; + */ + java.util.Map getLabelsMap(); + /** + * + * + *
    +   * A set of labels to apply to this service. Labels are key/value pairs that
    +   * describe the service and all resources that belong to it (e.g.,
    +   * versions). The labels can be used to search and group resources, and are
    +   * propagated to the usage and billing reports, enabling fine-grain analysis
    +   * of costs. An example of using labels is to tag resources belonging to
    +   * different environments (e.g., "env=prod", "env=qa").
    +   * <p>Label keys and values can be no longer than 63 characters and can only
    +   * contain lowercase letters, numeric characters, underscores, dashes, and
    +   * international characters. Label keys must start with a lowercase letter
    +   * or an international character. Each service can have at most 32 labels.
    +   * 
    + * + * map<string, string> labels = 4; + */ + + /* nullable */ + java.lang.String getLabelsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue); + /** + * + * + *
    +   * A set of labels to apply to this service. Labels are key/value pairs that
    +   * describe the service and all resources that belong to it (e.g.,
    +   * versions). The labels can be used to search and group resources, and are
    +   * propagated to the usage and billing reports, enabling fine-grain analysis
    +   * of costs. An example of using labels is to tag resources belonging to
    +   * different environments (e.g., "env=prod", "env=qa").
    +   * <p>Label keys and values can be no longer than 63 characters and can only
    +   * contain lowercase letters, numeric characters, underscores, dashes, and
    +   * international characters. Label keys must start with a lowercase letter
    +   * or an international character. Each service can have at most 32 labels.
    +   * 
    + * + * map<string, string> labels = 4; + */ + java.lang.String getLabelsOrThrow(java.lang.String key); + /** * * diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ServiceProto.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ServiceProto.java index 07bcd064..a4df5437 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ServiceProto.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ServiceProto.java @@ -31,6 +31,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_appengine_v1_Service_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_appengine_v1_Service_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_appengine_v1_Service_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_appengine_v1_Service_LabelsEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_appengine_v1_TrafficSplit_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -50,22 +54,25 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n!google/appengine/v1/service.proto\022\023goo" + "gle.appengine.v1\032*google/appengine/v1/ne" - + "twork_settings.proto\"\225\001\n\007Service\022\014\n\004name" + + "twork_settings.proto\"\376\001\n\007Service\022\014\n\004name" + "\030\001 \001(\t\022\n\n\002id\030\002 \001(\t\0220\n\005split\030\003 \001(\0132!.goog" - + "le.appengine.v1.TrafficSplit\022>\n\020network_" - + "settings\030\006 \001(\0132$.google.appengine.v1.Net" - + "workSettings\"\204\002\n\014TrafficSplit\022;\n\010shard_b" - + "y\030\001 \001(\0162).google.appengine.v1.TrafficSpl" - + "it.ShardBy\022G\n\013allocations\030\002 \003(\01322.google" - + ".appengine.v1.TrafficSplit.AllocationsEn" - + "try\0322\n\020AllocationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" - + "value\030\002 \001(\001:\0028\001\":\n\007ShardBy\022\017\n\013UNSPECIFIE" - + "D\020\000\022\n\n\006COOKIE\020\001\022\006\n\002IP\020\002\022\n\n\006RANDOM\020\003B\276\001\n\027" - + "com.google.appengine.v1B\014ServiceProtoP\001Z" - + "\n\020network_settings\030\006 \001(\0132$.googl" + + "e.appengine.v1.NetworkSettings\032-\n\013Labels" + + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\204\002" + + "\n\014TrafficSplit\022;\n\010shard_by\030\001 \001(\0162).googl" + + "e.appengine.v1.TrafficSplit.ShardBy\022G\n\013a" + + "llocations\030\002 \003(\01322.google.appengine.v1.T" + + "rafficSplit.AllocationsEntry\0322\n\020Allocati" + + "onsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\001:\0028\001" + + "\":\n\007ShardBy\022\017\n\013UNSPECIFIED\020\000\022\n\n\006COOKIE\020\001" + + "\022\006\n\002IP\020\002\022\n\n\006RANDOM\020\003B\276\001\n\027com.google.appe" + + "ngine.v1B\014ServiceProtoP\001Z getHttpHeadersMap() { public java.lang.String getHttpHeadersOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } java.util.Map map = internalGetHttpHeaders().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; @@ -377,7 +379,7 @@ public java.lang.String getHttpHeadersOrDefault( @java.lang.Override public java.lang.String getHttpHeadersOrThrow(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } java.util.Map map = internalGetHttpHeaders().getMap(); if (!map.containsKey(key)) { @@ -1249,7 +1251,7 @@ public int getHttpHeadersCount() { @java.lang.Override public boolean containsHttpHeaders(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } return internalGetHttpHeaders().getMap().containsKey(key); } @@ -1285,7 +1287,7 @@ public java.util.Map getHttpHeadersMap() { public java.lang.String getHttpHeadersOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } java.util.Map map = internalGetHttpHeaders().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; @@ -1302,7 +1304,7 @@ public java.lang.String getHttpHeadersOrDefault( @java.lang.Override public java.lang.String getHttpHeadersOrThrow(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } java.util.Map map = internalGetHttpHeaders().getMap(); if (!map.containsKey(key)) { @@ -1326,7 +1328,7 @@ public Builder clearHttpHeaders() { */ public Builder removeHttpHeaders(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } internalGetMutableHttpHeaders().getMutableMap().remove(key); return this; @@ -1347,11 +1349,12 @@ public java.util.Map getMutableHttpHeaders() */ public Builder putHttpHeaders(java.lang.String key, java.lang.String value) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } if (value == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map value"); } + internalGetMutableHttpHeaders().getMutableMap().put(key, value); return this; } diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/StaticFilesHandlerOrBuilder.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/StaticFilesHandlerOrBuilder.java index dc752c32..cd9ede10 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/StaticFilesHandlerOrBuilder.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/StaticFilesHandlerOrBuilder.java @@ -121,7 +121,12 @@ public interface StaticFilesHandlerOrBuilder * * map<string, string> http_headers = 3; */ - java.lang.String getHttpHeadersOrDefault(java.lang.String key, java.lang.String defaultValue); + + /* nullable */ + java.lang.String getHttpHeadersOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue); /** * * diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/TrafficSplit.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/TrafficSplit.java index cdc5dd07..7d7e0d29 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/TrafficSplit.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/TrafficSplit.java @@ -105,6 +105,8 @@ private TrafficSplit( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { @@ -411,7 +413,7 @@ public int getAllocationsCount() { @java.lang.Override public boolean containsAllocations(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } return internalGetAllocations().getMap().containsKey(key); } @@ -460,7 +462,7 @@ public java.util.Map getAllocationsMap() { @java.lang.Override public double getAllocationsOrDefault(java.lang.String key, double defaultValue) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } java.util.Map map = internalGetAllocations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; @@ -484,7 +486,7 @@ public double getAllocationsOrDefault(java.lang.String key, double defaultValue) @java.lang.Override public double getAllocationsOrThrow(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } java.util.Map map = internalGetAllocations().getMap(); if (!map.containsKey(key)) { @@ -998,7 +1000,7 @@ public int getAllocationsCount() { @java.lang.Override public boolean containsAllocations(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } return internalGetAllocations().getMap().containsKey(key); } @@ -1047,7 +1049,7 @@ public java.util.Map getAllocationsMap() { @java.lang.Override public double getAllocationsOrDefault(java.lang.String key, double defaultValue) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } java.util.Map map = internalGetAllocations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; @@ -1071,7 +1073,7 @@ public double getAllocationsOrDefault(java.lang.String key, double defaultValue) @java.lang.Override public double getAllocationsOrThrow(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } java.util.Map map = internalGetAllocations().getMap(); if (!map.containsKey(key)) { @@ -1102,7 +1104,7 @@ public Builder clearAllocations() { */ public Builder removeAllocations(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } internalGetMutableAllocations().getMutableMap().remove(key); return this; @@ -1130,7 +1132,7 @@ public java.util.Map getMutableAllocations() */ public Builder putAllocations(java.lang.String key, double value) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } internalGetMutableAllocations().getMutableMap().put(key, value); diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateApplicationRequest.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateApplicationRequest.java index bebce2cd..103a8a2e 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateApplicationRequest.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateApplicationRequest.java @@ -119,6 +119,8 @@ private UpdateApplicationRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { @@ -245,7 +247,7 @@ public com.google.appengine.v1.ApplicationOrBuilder getApplicationOrBuilder() { * * *
    -   * Standard field mask for the set of fields to be updated.
    +   * Required. Standard field mask for the set of fields to be updated.
        * 
    * * .google.protobuf.FieldMask update_mask = 3; @@ -260,7 +262,7 @@ public boolean hasUpdateMask() { * * *
    -   * Standard field mask for the set of fields to be updated.
    +   * Required. Standard field mask for the set of fields to be updated.
        * 
    * * .google.protobuf.FieldMask update_mask = 3; @@ -275,7 +277,7 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
    -   * Standard field mask for the set of fields to be updated.
    +   * Required. Standard field mask for the set of fields to be updated.
        * 
    * * .google.protobuf.FieldMask update_mask = 3; @@ -959,7 +961,7 @@ public com.google.appengine.v1.ApplicationOrBuilder getApplicationOrBuilder() { * * *
    -     * Standard field mask for the set of fields to be updated.
    +     * Required. Standard field mask for the set of fields to be updated.
          * 
    * * .google.protobuf.FieldMask update_mask = 3; @@ -973,7 +975,7 @@ public boolean hasUpdateMask() { * * *
    -     * Standard field mask for the set of fields to be updated.
    +     * Required. Standard field mask for the set of fields to be updated.
          * 
    * * .google.protobuf.FieldMask update_mask = 3; @@ -993,7 +995,7 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
    -     * Standard field mask for the set of fields to be updated.
    +     * Required. Standard field mask for the set of fields to be updated.
          * 
    * * .google.protobuf.FieldMask update_mask = 3; @@ -1015,7 +1017,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * * *
    -     * Standard field mask for the set of fields to be updated.
    +     * Required. Standard field mask for the set of fields to be updated.
          * 
    * * .google.protobuf.FieldMask update_mask = 3; @@ -1034,7 +1036,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * * *
    -     * Standard field mask for the set of fields to be updated.
    +     * Required. Standard field mask for the set of fields to be updated.
          * 
    * * .google.protobuf.FieldMask update_mask = 3; @@ -1058,7 +1060,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * * *
    -     * Standard field mask for the set of fields to be updated.
    +     * Required. Standard field mask for the set of fields to be updated.
          * 
    * * .google.protobuf.FieldMask update_mask = 3; @@ -1078,7 +1080,7 @@ public Builder clearUpdateMask() { * * *
    -     * Standard field mask for the set of fields to be updated.
    +     * Required. Standard field mask for the set of fields to be updated.
          * 
    * * .google.protobuf.FieldMask update_mask = 3; @@ -1092,7 +1094,7 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * * *
    -     * Standard field mask for the set of fields to be updated.
    +     * Required. Standard field mask for the set of fields to be updated.
          * 
    * * .google.protobuf.FieldMask update_mask = 3; @@ -1110,7 +1112,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * * *
    -     * Standard field mask for the set of fields to be updated.
    +     * Required. Standard field mask for the set of fields to be updated.
          * 
    * * .google.protobuf.FieldMask update_mask = 3; diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateApplicationRequestOrBuilder.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateApplicationRequestOrBuilder.java index b7f65984..6ff1979d 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateApplicationRequestOrBuilder.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateApplicationRequestOrBuilder.java @@ -87,7 +87,7 @@ public interface UpdateApplicationRequestOrBuilder * * *
    -   * Standard field mask for the set of fields to be updated.
    +   * Required. Standard field mask for the set of fields to be updated.
        * 
    * * .google.protobuf.FieldMask update_mask = 3; @@ -99,7 +99,7 @@ public interface UpdateApplicationRequestOrBuilder * * *
    -   * Standard field mask for the set of fields to be updated.
    +   * Required. Standard field mask for the set of fields to be updated.
        * 
    * * .google.protobuf.FieldMask update_mask = 3; @@ -111,7 +111,7 @@ public interface UpdateApplicationRequestOrBuilder * * *
    -   * Standard field mask for the set of fields to be updated.
    +   * Required. Standard field mask for the set of fields to be updated.
        * 
    * * .google.protobuf.FieldMask update_mask = 3; diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateAuthorizedCertificateRequest.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateAuthorizedCertificateRequest.java index 31a94e13..b195af3d 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateAuthorizedCertificateRequest.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateAuthorizedCertificateRequest.java @@ -120,6 +120,8 @@ private UpdateAuthorizedCertificateRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateDomainMappingRequest.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateDomainMappingRequest.java index ad93a9ab..c9ddf05f 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateDomainMappingRequest.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateDomainMappingRequest.java @@ -119,6 +119,8 @@ private UpdateDomainMappingRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { @@ -250,7 +252,7 @@ public com.google.appengine.v1.DomainMappingOrBuilder getDomainMappingOrBuilder( * * *
    -   * Standard field mask for the set of fields to be updated.
    +   * Required. Standard field mask for the set of fields to be updated.
        * 
    * * .google.protobuf.FieldMask update_mask = 3; @@ -265,7 +267,7 @@ public boolean hasUpdateMask() { * * *
    -   * Standard field mask for the set of fields to be updated.
    +   * Required. Standard field mask for the set of fields to be updated.
        * 
    * * .google.protobuf.FieldMask update_mask = 3; @@ -280,7 +282,7 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
    -   * Standard field mask for the set of fields to be updated.
    +   * Required. Standard field mask for the set of fields to be updated.
        * 
    * * .google.protobuf.FieldMask update_mask = 3; @@ -979,7 +981,7 @@ public com.google.appengine.v1.DomainMappingOrBuilder getDomainMappingOrBuilder( * * *
    -     * Standard field mask for the set of fields to be updated.
    +     * Required. Standard field mask for the set of fields to be updated.
          * 
    * * .google.protobuf.FieldMask update_mask = 3; @@ -993,7 +995,7 @@ public boolean hasUpdateMask() { * * *
    -     * Standard field mask for the set of fields to be updated.
    +     * Required. Standard field mask for the set of fields to be updated.
          * 
    * * .google.protobuf.FieldMask update_mask = 3; @@ -1013,7 +1015,7 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
    -     * Standard field mask for the set of fields to be updated.
    +     * Required. Standard field mask for the set of fields to be updated.
          * 
    * * .google.protobuf.FieldMask update_mask = 3; @@ -1035,7 +1037,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * * *
    -     * Standard field mask for the set of fields to be updated.
    +     * Required. Standard field mask for the set of fields to be updated.
          * 
    * * .google.protobuf.FieldMask update_mask = 3; @@ -1054,7 +1056,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * * *
    -     * Standard field mask for the set of fields to be updated.
    +     * Required. Standard field mask for the set of fields to be updated.
          * 
    * * .google.protobuf.FieldMask update_mask = 3; @@ -1078,7 +1080,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * * *
    -     * Standard field mask for the set of fields to be updated.
    +     * Required. Standard field mask for the set of fields to be updated.
          * 
    * * .google.protobuf.FieldMask update_mask = 3; @@ -1098,7 +1100,7 @@ public Builder clearUpdateMask() { * * *
    -     * Standard field mask for the set of fields to be updated.
    +     * Required. Standard field mask for the set of fields to be updated.
          * 
    * * .google.protobuf.FieldMask update_mask = 3; @@ -1112,7 +1114,7 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * * *
    -     * Standard field mask for the set of fields to be updated.
    +     * Required. Standard field mask for the set of fields to be updated.
          * 
    * * .google.protobuf.FieldMask update_mask = 3; @@ -1130,7 +1132,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * * *
    -     * Standard field mask for the set of fields to be updated.
    +     * Required. Standard field mask for the set of fields to be updated.
          * 
    * * .google.protobuf.FieldMask update_mask = 3; diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateDomainMappingRequestOrBuilder.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateDomainMappingRequestOrBuilder.java index e11ecbaa..b1c3fe8a 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateDomainMappingRequestOrBuilder.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateDomainMappingRequestOrBuilder.java @@ -92,7 +92,7 @@ public interface UpdateDomainMappingRequestOrBuilder * * *
    -   * Standard field mask for the set of fields to be updated.
    +   * Required. Standard field mask for the set of fields to be updated.
        * 
    * * .google.protobuf.FieldMask update_mask = 3; @@ -104,7 +104,7 @@ public interface UpdateDomainMappingRequestOrBuilder * * *
    -   * Standard field mask for the set of fields to be updated.
    +   * Required. Standard field mask for the set of fields to be updated.
        * 
    * * .google.protobuf.FieldMask update_mask = 3; @@ -116,7 +116,7 @@ public interface UpdateDomainMappingRequestOrBuilder * * *
    -   * Standard field mask for the set of fields to be updated.
    +   * Required. Standard field mask for the set of fields to be updated.
        * 
    * * .google.protobuf.FieldMask update_mask = 3; diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateIngressRuleRequest.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateIngressRuleRequest.java index 7de088cc..4ab55204 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateIngressRuleRequest.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateIngressRuleRequest.java @@ -119,6 +119,8 @@ private UpdateIngressRuleRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateServiceMethod.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateServiceMethod.java index 9c333795..b98f413c 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateServiceMethod.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateServiceMethod.java @@ -95,6 +95,8 @@ private UpdateServiceMethod( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateServiceRequest.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateServiceRequest.java index bee4b928..a8b325d8 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateServiceRequest.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateServiceRequest.java @@ -123,6 +123,8 @@ private UpdateServiceRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { @@ -250,7 +252,7 @@ public com.google.appengine.v1.ServiceOrBuilder getServiceOrBuilder() { * * *
    -   * Standard field mask for the set of fields to be updated.
    +   * Required. Standard field mask for the set of fields to be updated.
        * 
    * * .google.protobuf.FieldMask update_mask = 3; @@ -265,7 +267,7 @@ public boolean hasUpdateMask() { * * *
    -   * Standard field mask for the set of fields to be updated.
    +   * Required. Standard field mask for the set of fields to be updated.
        * 
    * * .google.protobuf.FieldMask update_mask = 3; @@ -280,7 +282,7 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
    -   * Standard field mask for the set of fields to be updated.
    +   * Required. Standard field mask for the set of fields to be updated.
        * 
    * * .google.protobuf.FieldMask update_mask = 3; @@ -1010,7 +1012,7 @@ public com.google.appengine.v1.ServiceOrBuilder getServiceOrBuilder() { * * *
    -     * Standard field mask for the set of fields to be updated.
    +     * Required. Standard field mask for the set of fields to be updated.
          * 
    * * .google.protobuf.FieldMask update_mask = 3; @@ -1024,7 +1026,7 @@ public boolean hasUpdateMask() { * * *
    -     * Standard field mask for the set of fields to be updated.
    +     * Required. Standard field mask for the set of fields to be updated.
          * 
    * * .google.protobuf.FieldMask update_mask = 3; @@ -1044,7 +1046,7 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
    -     * Standard field mask for the set of fields to be updated.
    +     * Required. Standard field mask for the set of fields to be updated.
          * 
    * * .google.protobuf.FieldMask update_mask = 3; @@ -1066,7 +1068,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * * *
    -     * Standard field mask for the set of fields to be updated.
    +     * Required. Standard field mask for the set of fields to be updated.
          * 
    * * .google.protobuf.FieldMask update_mask = 3; @@ -1085,7 +1087,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * * *
    -     * Standard field mask for the set of fields to be updated.
    +     * Required. Standard field mask for the set of fields to be updated.
          * 
    * * .google.protobuf.FieldMask update_mask = 3; @@ -1109,7 +1111,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * * *
    -     * Standard field mask for the set of fields to be updated.
    +     * Required. Standard field mask for the set of fields to be updated.
          * 
    * * .google.protobuf.FieldMask update_mask = 3; @@ -1129,7 +1131,7 @@ public Builder clearUpdateMask() { * * *
    -     * Standard field mask for the set of fields to be updated.
    +     * Required. Standard field mask for the set of fields to be updated.
          * 
    * * .google.protobuf.FieldMask update_mask = 3; @@ -1143,7 +1145,7 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * * *
    -     * Standard field mask for the set of fields to be updated.
    +     * Required. Standard field mask for the set of fields to be updated.
          * 
    * * .google.protobuf.FieldMask update_mask = 3; @@ -1161,7 +1163,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * * *
    -     * Standard field mask for the set of fields to be updated.
    +     * Required. Standard field mask for the set of fields to be updated.
          * 
    * * .google.protobuf.FieldMask update_mask = 3; diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateServiceRequestOrBuilder.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateServiceRequestOrBuilder.java index 5d68aed7..7ddebc52 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateServiceRequestOrBuilder.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateServiceRequestOrBuilder.java @@ -90,7 +90,7 @@ public interface UpdateServiceRequestOrBuilder * * *
    -   * Standard field mask for the set of fields to be updated.
    +   * Required. Standard field mask for the set of fields to be updated.
        * 
    * * .google.protobuf.FieldMask update_mask = 3; @@ -102,7 +102,7 @@ public interface UpdateServiceRequestOrBuilder * * *
    -   * Standard field mask for the set of fields to be updated.
    +   * Required. Standard field mask for the set of fields to be updated.
        * 
    * * .google.protobuf.FieldMask update_mask = 3; @@ -114,7 +114,7 @@ public interface UpdateServiceRequestOrBuilder * * *
    -   * Standard field mask for the set of fields to be updated.
    +   * Required. Standard field mask for the set of fields to be updated.
        * 
    * * .google.protobuf.FieldMask update_mask = 3; diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateVersionRequest.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateVersionRequest.java index a9bb3a3f..56626ef3 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateVersionRequest.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UpdateVersionRequest.java @@ -118,6 +118,8 @@ private UpdateVersionRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UrlDispatchRule.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UrlDispatchRule.java index c0132a69..454ba5dd 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UrlDispatchRule.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UrlDispatchRule.java @@ -104,6 +104,8 @@ private UrlDispatchRule( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UrlMap.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UrlMap.java index e1a7300e..5ae589aa 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UrlMap.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/UrlMap.java @@ -172,6 +172,8 @@ private UrlMap( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { @@ -1544,8 +1546,9 @@ public Builder mergeStaticFiles(com.google.appengine.v1.StaticFilesHandler value } else { if (handlerTypeCase_ == 2) { staticFilesBuilder_.mergeFrom(value); + } else { + staticFilesBuilder_.setMessage(value); } - staticFilesBuilder_.setMessage(value); } handlerTypeCase_ = 2; return this; @@ -1762,8 +1765,9 @@ public Builder mergeScript(com.google.appengine.v1.ScriptHandler value) { } else { if (handlerTypeCase_ == 3) { scriptBuilder_.mergeFrom(value); + } else { + scriptBuilder_.setMessage(value); } - scriptBuilder_.setMessage(value); } handlerTypeCase_ = 3; return this; @@ -1979,8 +1983,9 @@ public Builder mergeApiEndpoint(com.google.appengine.v1.ApiEndpointHandler value } else { if (handlerTypeCase_ == 4) { apiEndpointBuilder_.mergeFrom(value); + } else { + apiEndpointBuilder_.setMessage(value); } - apiEndpointBuilder_.setMessage(value); } handlerTypeCase_ = 4; return this; diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/Version.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/Version.java index 20f289e5..0b9ec761 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/Version.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/Version.java @@ -542,6 +542,11 @@ private Version( serviceAccount_ = s; break; } + case 1024: + { + appEngineApis_ = input.readBool(); + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -553,6 +558,8 @@ private Version( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { @@ -1394,6 +1401,25 @@ public boolean getVm() { return vm_; } + public static final int APP_ENGINE_APIS_FIELD_NUMBER = 128; + private boolean appEngineApis_; + /** + * + * + *
    +   * Allows App Engine second generation runtimes to access the legacy bundled
    +   * services.
    +   * 
    + * + * bool app_engine_apis = 128; + * + * @return The appEngineApis. + */ + @java.lang.Override + public boolean getAppEngineApis() { + return appEngineApis_; + } + public static final int BETA_SETTINGS_FIELD_NUMBER = 13; private static final class BetaSettingsDefaultEntryHolder { @@ -1434,7 +1460,7 @@ public int getBetaSettingsCount() { @java.lang.Override public boolean containsBetaSettings(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } return internalGetBetaSettings().getMap().containsKey(key); } @@ -1472,7 +1498,7 @@ public java.util.Map getBetaSettingsMap() { public java.lang.String getBetaSettingsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } java.util.Map map = internalGetBetaSettings().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; @@ -1490,7 +1516,7 @@ public java.lang.String getBetaSettingsOrDefault( @java.lang.Override public java.lang.String getBetaSettingsOrThrow(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } java.util.Map map = internalGetBetaSettings().getMap(); if (!map.containsKey(key)) { @@ -2196,7 +2222,7 @@ public int getEnvVariablesCount() { @java.lang.Override public boolean containsEnvVariables(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } return internalGetEnvVariables().getMap().containsKey(key); } @@ -2234,7 +2260,7 @@ public java.util.Map getEnvVariablesMap() { public java.lang.String getEnvVariablesOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } java.util.Map map = internalGetEnvVariables().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; @@ -2252,7 +2278,7 @@ public java.lang.String getEnvVariablesOrDefault( @java.lang.Override public java.lang.String getEnvVariablesOrThrow(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } java.util.Map map = internalGetEnvVariables().getMap(); if (!map.containsKey(key)) { @@ -2301,7 +2327,7 @@ public int getBuildEnvVariablesCount() { @java.lang.Override public boolean containsBuildEnvVariables(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } return internalGetBuildEnvVariables().getMap().containsKey(key); } @@ -2339,7 +2365,7 @@ public java.util.Map getBuildEnvVariablesMap public java.lang.String getBuildEnvVariablesOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } java.util.Map map = internalGetBuildEnvVariables().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; @@ -2357,7 +2383,7 @@ public java.lang.String getBuildEnvVariablesOrDefault( @java.lang.Override public java.lang.String getBuildEnvVariablesOrThrow(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } java.util.Map map = internalGetBuildEnvVariables().getMap(); if (!map.containsKey(key)) { @@ -3035,6 +3061,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 127, serviceAccount_); } + if (appEngineApis_ != false) { + output.writeBool(128, appEngineApis_); + } unknownFields.writeTo(output); } @@ -3207,6 +3236,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(127, serviceAccount_); } + if (appEngineApis_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(128, appEngineApis_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -3239,6 +3271,7 @@ public boolean equals(final java.lang.Object obj) { if (!getRuntimeChannel().equals(other.getRuntimeChannel())) return false; if (getThreadsafe() != other.getThreadsafe()) return false; if (getVm() != other.getVm()) return false; + if (getAppEngineApis() != other.getAppEngineApis()) return false; if (!internalGetBetaSettings().equals(other.internalGetBetaSettings())) return false; if (!getEnv().equals(other.getEnv())) return false; if (servingStatus_ != other.servingStatus_) return false; @@ -3349,6 +3382,8 @@ public int hashCode() { hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getThreadsafe()); hash = (37 * hash) + VM_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getVm()); + hash = (37 * hash) + APP_ENGINE_APIS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAppEngineApis()); if (!internalGetBetaSettings().getMap().isEmpty()) { hash = (37 * hash) + BETA_SETTINGS_FIELD_NUMBER; hash = (53 * hash) + internalGetBetaSettings().hashCode(); @@ -3653,6 +3688,8 @@ public Builder clear() { vm_ = false; + appEngineApis_ = false; + internalGetMutableBetaSettings().clear(); env_ = ""; @@ -3829,6 +3866,7 @@ public com.google.appengine.v1.Version buildPartial() { result.runtimeChannel_ = runtimeChannel_; result.threadsafe_ = threadsafe_; result.vm_ = vm_; + result.appEngineApis_ = appEngineApis_; result.betaSettings_ = internalGetBetaSettings(); result.betaSettings_.makeImmutable(); result.env_ = env_; @@ -4023,6 +4061,9 @@ public Builder mergeFrom(com.google.appengine.v1.Version other) { if (other.getVm() != false) { setVm(other.getVm()); } + if (other.getAppEngineApis() != false) { + setAppEngineApis(other.getAppEngineApis()); + } internalGetMutableBetaSettings().mergeFrom(other.internalGetBetaSettings()); if (!other.getEnv().isEmpty()) { env_ = other.env_; @@ -4591,8 +4632,9 @@ public Builder mergeAutomaticScaling(com.google.appengine.v1.AutomaticScaling va } else { if (scalingCase_ == 3) { automaticScalingBuilder_.mergeFrom(value); + } else { + automaticScalingBuilder_.setMessage(value); } - automaticScalingBuilder_.setMessage(value); } scalingCase_ = 3; return this; @@ -4822,8 +4864,9 @@ public Builder mergeBasicScaling(com.google.appengine.v1.BasicScaling value) { } else { if (scalingCase_ == 4) { basicScalingBuilder_.mergeFrom(value); + } else { + basicScalingBuilder_.setMessage(value); } - basicScalingBuilder_.setMessage(value); } scalingCase_ = 4; return this; @@ -5050,8 +5093,9 @@ public Builder mergeManualScaling(com.google.appengine.v1.ManualScaling value) { } else { if (scalingCase_ == 5) { manualScalingBuilder_.mergeFrom(value); + } else { + manualScalingBuilder_.setMessage(value); } - manualScalingBuilder_.setMessage(value); } scalingCase_ = 5; return this; @@ -6394,6 +6438,61 @@ public Builder clearVm() { return this; } + private boolean appEngineApis_; + /** + * + * + *
    +     * Allows App Engine second generation runtimes to access the legacy bundled
    +     * services.
    +     * 
    + * + * bool app_engine_apis = 128; + * + * @return The appEngineApis. + */ + @java.lang.Override + public boolean getAppEngineApis() { + return appEngineApis_; + } + /** + * + * + *
    +     * Allows App Engine second generation runtimes to access the legacy bundled
    +     * services.
    +     * 
    + * + * bool app_engine_apis = 128; + * + * @param value The appEngineApis to set. + * @return This builder for chaining. + */ + public Builder setAppEngineApis(boolean value) { + + appEngineApis_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * Allows App Engine second generation runtimes to access the legacy bundled
    +     * services.
    +     * 
    + * + * bool app_engine_apis = 128; + * + * @return This builder for chaining. + */ + public Builder clearAppEngineApis() { + + appEngineApis_ = false; + onChanged(); + return this; + } + private com.google.protobuf.MapField betaSettings_; private com.google.protobuf.MapField @@ -6435,7 +6534,7 @@ public int getBetaSettingsCount() { @java.lang.Override public boolean containsBetaSettings(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } return internalGetBetaSettings().getMap().containsKey(key); } @@ -6473,7 +6572,7 @@ public java.util.Map getBetaSettingsMap() { public java.lang.String getBetaSettingsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } java.util.Map map = internalGetBetaSettings().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; @@ -6491,7 +6590,7 @@ public java.lang.String getBetaSettingsOrDefault( @java.lang.Override public java.lang.String getBetaSettingsOrThrow(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } java.util.Map map = internalGetBetaSettings().getMap(); if (!map.containsKey(key)) { @@ -6516,7 +6615,7 @@ public Builder clearBetaSettings() { */ public Builder removeBetaSettings(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } internalGetMutableBetaSettings().getMutableMap().remove(key); return this; @@ -6538,11 +6637,12 @@ public java.util.Map getMutableBetaSettings( */ public Builder putBetaSettings(java.lang.String key, java.lang.String value) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } if (value == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map value"); } + internalGetMutableBetaSettings().getMutableMap().put(key, value); return this; } @@ -8871,7 +8971,7 @@ public int getEnvVariablesCount() { @java.lang.Override public boolean containsEnvVariables(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } return internalGetEnvVariables().getMap().containsKey(key); } @@ -8909,7 +9009,7 @@ public java.util.Map getEnvVariablesMap() { public java.lang.String getEnvVariablesOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } java.util.Map map = internalGetEnvVariables().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; @@ -8927,7 +9027,7 @@ public java.lang.String getEnvVariablesOrDefault( @java.lang.Override public java.lang.String getEnvVariablesOrThrow(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } java.util.Map map = internalGetEnvVariables().getMap(); if (!map.containsKey(key)) { @@ -8952,7 +9052,7 @@ public Builder clearEnvVariables() { */ public Builder removeEnvVariables(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } internalGetMutableEnvVariables().getMutableMap().remove(key); return this; @@ -8974,11 +9074,12 @@ public java.util.Map getMutableEnvVariables( */ public Builder putEnvVariables(java.lang.String key, java.lang.String value) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } if (value == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map value"); } + internalGetMutableEnvVariables().getMutableMap().put(key, value); return this; } @@ -9039,7 +9140,7 @@ public int getBuildEnvVariablesCount() { @java.lang.Override public boolean containsBuildEnvVariables(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } return internalGetBuildEnvVariables().getMap().containsKey(key); } @@ -9077,7 +9178,7 @@ public java.util.Map getBuildEnvVariablesMap public java.lang.String getBuildEnvVariablesOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } java.util.Map map = internalGetBuildEnvVariables().getMap(); @@ -9096,7 +9197,7 @@ public java.lang.String getBuildEnvVariablesOrDefault( @java.lang.Override public java.lang.String getBuildEnvVariablesOrThrow(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } java.util.Map map = internalGetBuildEnvVariables().getMap(); @@ -9122,7 +9223,7 @@ public Builder clearBuildEnvVariables() { */ public Builder removeBuildEnvVariables(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } internalGetMutableBuildEnvVariables().getMutableMap().remove(key); return this; @@ -9144,11 +9245,12 @@ public java.util.Map getMutableBuildEnvVaria */ public Builder putBuildEnvVariables(java.lang.String key, java.lang.String value) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } if (value == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map value"); } + internalGetMutableBuildEnvVariables().getMutableMap().put(key, value); return this; } diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/VersionOrBuilder.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/VersionOrBuilder.java index 0f3e8b80..ebd40597 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/VersionOrBuilder.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/VersionOrBuilder.java @@ -517,6 +517,20 @@ public interface VersionOrBuilder */ boolean getVm(); + /** + * + * + *
    +   * Allows App Engine second generation runtimes to access the legacy bundled
    +   * services.
    +   * 
    + * + * bool app_engine_apis = 128; + * + * @return The appEngineApis. + */ + boolean getAppEngineApis(); + /** * * @@ -563,7 +577,12 @@ public interface VersionOrBuilder * * map<string, string> beta_settings = 13; */ - java.lang.String getBetaSettingsOrDefault(java.lang.String key, java.lang.String defaultValue); + + /* nullable */ + java.lang.String getBetaSettingsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue); /** * * @@ -1066,7 +1085,12 @@ public interface VersionOrBuilder * * map<string, string> env_variables = 104; */ - java.lang.String getEnvVariablesOrDefault(java.lang.String key, java.lang.String defaultValue); + + /* nullable */ + java.lang.String getEnvVariablesOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue); /** * * @@ -1125,8 +1149,12 @@ public interface VersionOrBuilder * * map<string, string> build_env_variables = 125; */ + + /* nullable */ java.lang.String getBuildEnvVariablesOrDefault( - java.lang.String key, java.lang.String defaultValue); + java.lang.String key, + /* nullable */ + java.lang.String defaultValue); /** * * diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/VersionProto.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/VersionProto.java index c2b79ded..89062996 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/VersionProto.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/VersionProto.java @@ -112,7 +112,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "gle.appengine.v1\032\"google/appengine/v1/ap" + "p_yaml.proto\032 google/appengine/v1/deploy" + ".proto\032\036google/protobuf/duration.proto\032\037" - + "google/protobuf/timestamp.proto\"\365\016\n\007Vers" + + "google/protobuf/timestamp.proto\"\217\017\n\007Vers" + "ion\022\014\n\004name\030\001 \001(\t\022\n\n\002id\030\002 \001(\t\022B\n\021automat" + "ic_scaling\030\003 \001(\0132%.google.appengine.v1.A" + "utomaticScalingH\000\022:\n\rbasic_scaling\030\004 \001(\013" @@ -125,111 +125,116 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005zones\030v \003(\t\0221\n\tresources\030\t \001(\0132\036.google" + ".appengine.v1.Resources\022\017\n\007runtime\030\n \001(\t" + "\022\027\n\017runtime_channel\030u \001(\t\022\022\n\nthreadsafe\030" - + "\013 \001(\010\022\n\n\002vm\030\014 \001(\010\022E\n\rbeta_settings\030\r \003(\013" - + "2..google.appengine.v1.Version.BetaSetti" - + "ngsEntry\022\013\n\003env\030\016 \001(\t\022:\n\016serving_status\030" - + "\017 \001(\0162\".google.appengine.v1.ServingStatu" - + "s\022\022\n\ncreated_by\030\020 \001(\t\022/\n\013create_time\030\021 \001" - + "(\0132\032.google.protobuf.Timestamp\022\030\n\020disk_u" - + "sage_bytes\030\022 \001(\003\022\033\n\023runtime_api_version\030" - + "\025 \001(\t\022$\n\034runtime_main_executable_path\030\026 " - + "\001(\t\022\027\n\017service_account\030\177 \001(\t\022-\n\010handlers" - + "\030d \003(\0132\033.google.appengine.v1.UrlMap\0229\n\016e" - + "rror_handlers\030e \003(\0132!.google.appengine.v" - + "1.ErrorHandler\022/\n\tlibraries\030f \003(\0132\034.goog" - + "le.appengine.v1.Library\0229\n\napi_config\030g " - + "\001(\0132%.google.appengine.v1.ApiConfigHandl" - + "er\022E\n\renv_variables\030h \003(\0132..google.appen" - + "gine.v1.Version.EnvVariablesEntry\022P\n\023bui" - + "ld_env_variables\030} \003(\01323.google.appengin" - + "e.v1.Version.BuildEnvVariablesEntry\0225\n\022d" - + "efault_expiration\030i \001(\0132\031.google.protobu" - + "f.Duration\0226\n\014health_check\030j \001(\0132 .googl" - + "e.appengine.v1.HealthCheck\022<\n\017readiness_" - + "check\030p \001(\0132#.google.appengine.v1.Readin" - + "essCheck\022:\n\016liveness_check\030q \001(\0132\".googl" - + "e.appengine.v1.LivenessCheck\022\033\n\023nobuild_" - + "files_regex\030k \001(\t\0223\n\ndeployment\030l \001(\0132\037." - + "google.appengine.v1.Deployment\022\023\n\013versio" - + "n_url\030m \001(\t\022G\n\025endpoints_api_service\030n \001" - + "(\0132(.google.appengine.v1.EndpointsApiSer" - + "vice\0223\n\nentrypoint\030z \001(\0132\037.google.appeng" - + "ine.v1.Entrypoint\022E\n\024vpc_access_connecto" - + "r\030y \001(\0132\'.google.appengine.v1.VpcAccessC" - + "onnector\0323\n\021BetaSettingsEntry\022\013\n\003key\030\001 \001" - + "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0323\n\021EnvVariablesEnt" - + "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0328\n\026Bu" - + "ildEnvVariablesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val" - + "ue\030\002 \001(\t:\0028\001B\t\n\007scaling\"\367\001\n\023EndpointsApi" - + "Service\022\014\n\004name\030\001 \001(\t\022\021\n\tconfig_id\030\002 \001(\t" - + "\022R\n\020rollout_strategy\030\003 \001(\01628.google.appe" - + "ngine.v1.EndpointsApiService.RolloutStra" - + "tegy\022\036\n\026disable_trace_sampling\030\004 \001(\010\"K\n\017" - + "RolloutStrategy\022 \n\034UNSPECIFIED_ROLLOUT_S" - + "TRATEGY\020\000\022\t\n\005FIXED\020\001\022\013\n\007MANAGED\020\002\"\251\005\n\020Au" - + "tomaticScaling\0223\n\020cool_down_period\030\001 \001(\013" - + "2\031.google.protobuf.Duration\022<\n\017cpu_utili" - + "zation\030\002 \001(\0132#.google.appengine.v1.CpuUt" - + "ilization\022\037\n\027max_concurrent_requests\030\003 \001" - + "(\005\022\032\n\022max_idle_instances\030\004 \001(\005\022\033\n\023max_to" - + "tal_instances\030\005 \001(\005\0226\n\023max_pending_laten" - + "cy\030\006 \001(\0132\031.google.protobuf.Duration\022\032\n\022m" - + "in_idle_instances\030\007 \001(\005\022\033\n\023min_total_ins" - + "tances\030\010 \001(\005\0226\n\023min_pending_latency\030\t \001(" - + "\0132\031.google.protobuf.Duration\022D\n\023request_" - + "utilization\030\n \001(\0132\'.google.appengine.v1." - + "RequestUtilization\022>\n\020disk_utilization\030\013" - + " \001(\0132$.google.appengine.v1.DiskUtilizati" - + "on\022D\n\023network_utilization\030\014 \001(\0132\'.google" - + ".appengine.v1.NetworkUtilization\022S\n\033stan" - + "dard_scheduler_settings\030\024 \001(\0132..google.a" - + "ppengine.v1.StandardSchedulerSettings\"V\n" - + "\014BasicScaling\022/\n\014idle_timeout\030\001 \001(\0132\031.go" - + "ogle.protobuf.Duration\022\025\n\rmax_instances\030" - + "\002 \001(\005\"\"\n\rManualScaling\022\021\n\tinstances\030\001 \001(" - + "\005\"j\n\016CpuUtilization\022<\n\031aggregation_windo" - + "w_length\030\001 \001(\0132\031.google.protobuf.Duratio" - + "n\022\032\n\022target_utilization\030\002 \001(\001\"a\n\022Request" - + "Utilization\022\'\n\037target_request_count_per_" - + "second\030\001 \001(\005\022\"\n\032target_concurrent_reques" - + "ts\030\002 \001(\005\"\247\001\n\017DiskUtilization\022%\n\035target_w" - + "rite_bytes_per_second\030\016 \001(\005\022#\n\033target_wr" - + "ite_ops_per_second\030\017 \001(\005\022$\n\034target_read_" - + "bytes_per_second\030\020 \001(\005\022\"\n\032target_read_op" - + "s_per_second\030\021 \001(\005\"\270\001\n\022NetworkUtilizatio" - + "n\022$\n\034target_sent_bytes_per_second\030\001 \001(\005\022" - + "&\n\036target_sent_packets_per_second\030\013 \001(\005\022" - + "(\n target_received_bytes_per_second\030\014 \001(" - + "\005\022*\n\"target_received_packets_per_second\030" - + "\r \001(\005\"\220\001\n\031StandardSchedulerSettings\022\036\n\026t" - + "arget_cpu_utilization\030\001 \001(\001\022%\n\035target_th" - + "roughput_utilization\030\002 \001(\001\022\025\n\rmin_instan" - + "ces\030\003 \001(\005\022\025\n\rmax_instances\030\004 \001(\005\"y\n\007Netw" - + "ork\022\027\n\017forwarded_ports\030\001 \003(\t\022\024\n\014instance" - + "_tag\030\002 \001(\t\022\014\n\004name\030\003 \001(\t\022\027\n\017subnetwork_n" - + "ame\030\004 \001(\t\022\030\n\020session_affinity\030\005 \001(\010\"<\n\006V" - + "olume\022\014\n\004name\030\001 \001(\t\022\023\n\013volume_type\030\002 \001(\t" - + "\022\017\n\007size_gb\030\003 \001(\001\"\205\001\n\tResources\022\013\n\003cpu\030\001" - + " \001(\001\022\017\n\007disk_gb\030\002 \001(\001\022\021\n\tmemory_gb\030\003 \001(\001" - + "\022,\n\007volumes\030\004 \003(\0132\033.google.appengine.v1." - + "Volume\022\031\n\021kms_key_reference\030\005 \001(\t\"\"\n\022Vpc" - + "AccessConnector\022\014\n\004name\030\001 \001(\t\"(\n\nEntrypo" - + "int\022\017\n\005shell\030\001 \001(\tH\000B\t\n\007command*\273\002\n\022Inbo" - + "undServiceType\022\037\n\033INBOUND_SERVICE_UNSPEC" - + "IFIED\020\000\022\030\n\024INBOUND_SERVICE_MAIL\020\001\022\037\n\033INB" - + "OUND_SERVICE_MAIL_BOUNCE\020\002\022\036\n\032INBOUND_SE" - + "RVICE_XMPP_ERROR\020\003\022 \n\034INBOUND_SERVICE_XM" - + "PP_MESSAGE\020\004\022\"\n\036INBOUND_SERVICE_XMPP_SUB" - + "SCRIBE\020\005\022!\n\035INBOUND_SERVICE_XMPP_PRESENC" - + "E\020\006\022$\n INBOUND_SERVICE_CHANNEL_PRESENCE\020" - + "\007\022\032\n\026INBOUND_SERVICE_WARMUP\020\t*I\n\rServing" - + "Status\022\036\n\032SERVING_STATUS_UNSPECIFIED\020\000\022\013" - + "\n\007SERVING\020\001\022\013\n\007STOPPED\020\002B\276\001\n\027com.google." - + "appengine.v1B\014VersionProtoP\001Z\n\020disk_utilization\030\013 \001(\0132$.google." + + "appengine.v1.DiskUtilization\022D\n\023network_" + + "utilization\030\014 \001(\0132\'.google.appengine.v1." + + "NetworkUtilization\022S\n\033standard_scheduler" + + "_settings\030\024 \001(\0132..google.appengine.v1.St" + + "andardSchedulerSettings\"V\n\014BasicScaling\022" + + "/\n\014idle_timeout\030\001 \001(\0132\031.google.protobuf." + + "Duration\022\025\n\rmax_instances\030\002 \001(\005\"\"\n\rManua" + + "lScaling\022\021\n\tinstances\030\001 \001(\005\"j\n\016CpuUtiliz" + + "ation\022<\n\031aggregation_window_length\030\001 \001(\013" + + "2\031.google.protobuf.Duration\022\032\n\022target_ut" + + "ilization\030\002 \001(\001\"a\n\022RequestUtilization\022\'\n" + + "\037target_request_count_per_second\030\001 \001(\005\022\"" + + "\n\032target_concurrent_requests\030\002 \001(\005\"\247\001\n\017D" + + "iskUtilization\022%\n\035target_write_bytes_per" + + "_second\030\016 \001(\005\022#\n\033target_write_ops_per_se" + + "cond\030\017 \001(\005\022$\n\034target_read_bytes_per_seco" + + "nd\030\020 \001(\005\022\"\n\032target_read_ops_per_second\030\021" + + " \001(\005\"\270\001\n\022NetworkUtilization\022$\n\034target_se" + + "nt_bytes_per_second\030\001 \001(\005\022&\n\036target_sent" + + "_packets_per_second\030\013 \001(\005\022(\n target_rece" + + "ived_bytes_per_second\030\014 \001(\005\022*\n\"target_re" + + "ceived_packets_per_second\030\r \001(\005\"\220\001\n\031Stan" + + "dardSchedulerSettings\022\036\n\026target_cpu_util" + + "ization\030\001 \001(\001\022%\n\035target_throughput_utili" + + "zation\030\002 \001(\001\022\025\n\rmin_instances\030\003 \001(\005\022\025\n\rm" + + "ax_instances\030\004 \001(\005\"y\n\007Network\022\027\n\017forward" + + "ed_ports\030\001 \003(\t\022\024\n\014instance_tag\030\002 \001(\t\022\014\n\004" + + "name\030\003 \001(\t\022\027\n\017subnetwork_name\030\004 \001(\t\022\030\n\020s" + + "ession_affinity\030\005 \001(\010\"<\n\006Volume\022\014\n\004name\030" + + "\001 \001(\t\022\023\n\013volume_type\030\002 \001(\t\022\017\n\007size_gb\030\003 " + + "\001(\001\"\205\001\n\tResources\022\013\n\003cpu\030\001 \001(\001\022\017\n\007disk_g" + + "b\030\002 \001(\001\022\021\n\tmemory_gb\030\003 \001(\001\022,\n\007volumes\030\004 " + + "\003(\0132\033.google.appengine.v1.Volume\022\031\n\021kms_" + + "key_reference\030\005 \001(\t\"\312\001\n\022VpcAccessConnect" + + "or\022\014\n\004name\030\001 \001(\t\022M\n\016egress_setting\030\002 \001(\016" + + "25.google.appengine.v1.VpcAccessConnecto" + + "r.EgressSetting\"W\n\rEgressSetting\022\036\n\032EGRE" + + "SS_SETTING_UNSPECIFIED\020\000\022\017\n\013ALL_TRAFFIC\020" + + "\001\022\025\n\021PRIVATE_IP_RANGES\020\002\"(\n\nEntrypoint\022\017" + + "\n\005shell\030\001 \001(\tH\000B\t\n\007command*\273\002\n\022InboundSe" + + "rviceType\022\037\n\033INBOUND_SERVICE_UNSPECIFIED" + + "\020\000\022\030\n\024INBOUND_SERVICE_MAIL\020\001\022\037\n\033INBOUND_" + + "SERVICE_MAIL_BOUNCE\020\002\022\036\n\032INBOUND_SERVICE" + + "_XMPP_ERROR\020\003\022 \n\034INBOUND_SERVICE_XMPP_ME" + + "SSAGE\020\004\022\"\n\036INBOUND_SERVICE_XMPP_SUBSCRIB" + + "E\020\005\022!\n\035INBOUND_SERVICE_XMPP_PRESENCE\020\006\022$" + + "\n INBOUND_SERVICE_CHANNEL_PRESENCE\020\007\022\032\n\026" + + "INBOUND_SERVICE_WARMUP\020\t*I\n\rServingStatu" + + "s\022\036\n\032SERVING_STATUS_UNSPECIFIED\020\000\022\013\n\007SER" + + "VING\020\001\022\013\n\007STOPPED\020\002B\276\001\n\027com.google.appen" + + "gine.v1B\014VersionProtoP\001Z bui private VpcAccessConnector() { name_ = ""; + egressSetting_ = 0; } @java.lang.Override @@ -77,6 +78,13 @@ private VpcAccessConnector( name_ = s; break; } + case 16: + { + int rawValue = input.readEnum(); + + egressSetting_ = rawValue; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -88,6 +96,8 @@ private VpcAccessConnector( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { @@ -111,6 +121,149 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.appengine.v1.VpcAccessConnector.Builder.class); } + /** + * + * + *
    +   * Available egress settings.
    +   * This controls what traffic is diverted through the VPC Access Connector
    +   * resource. By default PRIVATE_IP_RANGES will be used.
    +   * 
    + * + * Protobuf enum {@code google.appengine.v1.VpcAccessConnector.EgressSetting} + */ + public enum EgressSetting implements com.google.protobuf.ProtocolMessageEnum { + /** EGRESS_SETTING_UNSPECIFIED = 0; */ + EGRESS_SETTING_UNSPECIFIED(0), + /** + * + * + *
    +     * Force the use of VPC Access for all egress traffic from the function.
    +     * 
    + * + * ALL_TRAFFIC = 1; + */ + ALL_TRAFFIC(1), + /** + * + * + *
    +     * Use the VPC Access Connector for private IP space from RFC1918.
    +     * 
    + * + * PRIVATE_IP_RANGES = 2; + */ + PRIVATE_IP_RANGES(2), + UNRECOGNIZED(-1), + ; + + /** EGRESS_SETTING_UNSPECIFIED = 0; */ + public static final int EGRESS_SETTING_UNSPECIFIED_VALUE = 0; + /** + * + * + *
    +     * Force the use of VPC Access for all egress traffic from the function.
    +     * 
    + * + * ALL_TRAFFIC = 1; + */ + public static final int ALL_TRAFFIC_VALUE = 1; + /** + * + * + *
    +     * Use the VPC Access Connector for private IP space from RFC1918.
    +     * 
    + * + * PRIVATE_IP_RANGES = 2; + */ + public static final int PRIVATE_IP_RANGES_VALUE = 2; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static EgressSetting valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static EgressSetting forNumber(int value) { + switch (value) { + case 0: + return EGRESS_SETTING_UNSPECIFIED; + case 1: + return ALL_TRAFFIC; + case 2: + return PRIVATE_IP_RANGES; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public EgressSetting findValueByNumber(int number) { + return EgressSetting.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() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.appengine.v1.VpcAccessConnector.getDescriptor().getEnumTypes().get(0); + } + + private static final EgressSetting[] VALUES = values(); + + public static EgressSetting valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private EgressSetting(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.appengine.v1.VpcAccessConnector.EgressSetting) + } + public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** @@ -162,6 +315,46 @@ public com.google.protobuf.ByteString getNameBytes() { } } + public static final int EGRESS_SETTING_FIELD_NUMBER = 2; + private int egressSetting_; + /** + * + * + *
    +   * The egress setting for the connector, controlling what traffic is diverted
    +   * through it.
    +   * 
    + * + * .google.appengine.v1.VpcAccessConnector.EgressSetting egress_setting = 2; + * + * @return The enum numeric value on the wire for egressSetting. + */ + @java.lang.Override + public int getEgressSettingValue() { + return egressSetting_; + } + /** + * + * + *
    +   * The egress setting for the connector, controlling what traffic is diverted
    +   * through it.
    +   * 
    + * + * .google.appengine.v1.VpcAccessConnector.EgressSetting egress_setting = 2; + * + * @return The egressSetting. + */ + @java.lang.Override + public com.google.appengine.v1.VpcAccessConnector.EgressSetting getEgressSetting() { + @SuppressWarnings("deprecation") + com.google.appengine.v1.VpcAccessConnector.EgressSetting result = + com.google.appengine.v1.VpcAccessConnector.EgressSetting.valueOf(egressSetting_); + return result == null + ? com.google.appengine.v1.VpcAccessConnector.EgressSetting.UNRECOGNIZED + : result; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -179,6 +372,11 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } + if (egressSetting_ + != com.google.appengine.v1.VpcAccessConnector.EgressSetting.EGRESS_SETTING_UNSPECIFIED + .getNumber()) { + output.writeEnum(2, egressSetting_); + } unknownFields.writeTo(output); } @@ -191,6 +389,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } + if (egressSetting_ + != com.google.appengine.v1.VpcAccessConnector.EgressSetting.EGRESS_SETTING_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, egressSetting_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -208,6 +411,7 @@ public boolean equals(final java.lang.Object obj) { (com.google.appengine.v1.VpcAccessConnector) obj; if (!getName().equals(other.getName())) return false; + if (egressSetting_ != other.egressSetting_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -221,6 +425,8 @@ public int hashCode() { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + EGRESS_SETTING_FIELD_NUMBER; + hash = (53 * hash) + egressSetting_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -368,6 +574,8 @@ public Builder clear() { super.clear(); name_ = ""; + egressSetting_ = 0; + return this; } @@ -396,6 +604,7 @@ public com.google.appengine.v1.VpcAccessConnector buildPartial() { com.google.appengine.v1.VpcAccessConnector result = new com.google.appengine.v1.VpcAccessConnector(this); result.name_ = name_; + result.egressSetting_ = egressSetting_; onBuilt(); return result; } @@ -449,6 +658,9 @@ public Builder mergeFrom(com.google.appengine.v1.VpcAccessConnector other) { name_ = other.name_; onChanged(); } + if (other.egressSetting_ != 0) { + setEgressSettingValue(other.getEgressSettingValue()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -589,6 +801,105 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } + private int egressSetting_ = 0; + /** + * + * + *
    +     * The egress setting for the connector, controlling what traffic is diverted
    +     * through it.
    +     * 
    + * + * .google.appengine.v1.VpcAccessConnector.EgressSetting egress_setting = 2; + * + * @return The enum numeric value on the wire for egressSetting. + */ + @java.lang.Override + public int getEgressSettingValue() { + return egressSetting_; + } + /** + * + * + *
    +     * The egress setting for the connector, controlling what traffic is diverted
    +     * through it.
    +     * 
    + * + * .google.appengine.v1.VpcAccessConnector.EgressSetting egress_setting = 2; + * + * @param value The enum numeric value on the wire for egressSetting to set. + * @return This builder for chaining. + */ + public Builder setEgressSettingValue(int value) { + + egressSetting_ = value; + onChanged(); + return this; + } + /** + * + * + *
    +     * The egress setting for the connector, controlling what traffic is diverted
    +     * through it.
    +     * 
    + * + * .google.appengine.v1.VpcAccessConnector.EgressSetting egress_setting = 2; + * + * @return The egressSetting. + */ + @java.lang.Override + public com.google.appengine.v1.VpcAccessConnector.EgressSetting getEgressSetting() { + @SuppressWarnings("deprecation") + com.google.appengine.v1.VpcAccessConnector.EgressSetting result = + com.google.appengine.v1.VpcAccessConnector.EgressSetting.valueOf(egressSetting_); + return result == null + ? com.google.appengine.v1.VpcAccessConnector.EgressSetting.UNRECOGNIZED + : result; + } + /** + * + * + *
    +     * The egress setting for the connector, controlling what traffic is diverted
    +     * through it.
    +     * 
    + * + * .google.appengine.v1.VpcAccessConnector.EgressSetting egress_setting = 2; + * + * @param value The egressSetting to set. + * @return This builder for chaining. + */ + public Builder setEgressSetting( + com.google.appengine.v1.VpcAccessConnector.EgressSetting value) { + if (value == null) { + throw new NullPointerException(); + } + + egressSetting_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
    +     * The egress setting for the connector, controlling what traffic is diverted
    +     * through it.
    +     * 
    + * + * .google.appengine.v1.VpcAccessConnector.EgressSetting egress_setting = 2; + * + * @return This builder for chaining. + */ + public Builder clearEgressSetting() { + + egressSetting_ = 0; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/VpcAccessConnectorOrBuilder.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/VpcAccessConnectorOrBuilder.java index 7585e02e..69494264 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/VpcAccessConnectorOrBuilder.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/VpcAccessConnectorOrBuilder.java @@ -49,4 +49,31 @@ public interface VpcAccessConnectorOrBuilder * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
    +   * The egress setting for the connector, controlling what traffic is diverted
    +   * through it.
    +   * 
    + * + * .google.appengine.v1.VpcAccessConnector.EgressSetting egress_setting = 2; + * + * @return The enum numeric value on the wire for egressSetting. + */ + int getEgressSettingValue(); + /** + * + * + *
    +   * The egress setting for the connector, controlling what traffic is diverted
    +   * through it.
    +   * 
    + * + * .google.appengine.v1.VpcAccessConnector.EgressSetting egress_setting = 2; + * + * @return The egressSetting. + */ + com.google.appengine.v1.VpcAccessConnector.EgressSetting getEgressSetting(); } diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ZipInfo.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ZipInfo.java index 466d5a23..3c972f4c 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ZipInfo.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/ZipInfo.java @@ -93,6 +93,8 @@ private ZipInfo( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/firewall/FirewallRule.java b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/firewall/FirewallRule.java index fc266620..8a18e54b 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/firewall/FirewallRule.java +++ b/proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/firewall/FirewallRule.java @@ -110,6 +110,8 @@ private FirewallRule( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } 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); } finally { diff --git a/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/app_yaml.proto b/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/app_yaml.proto index af5168c3..88218533 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/app_yaml.proto +++ b/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/app_yaml.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// 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. diff --git a/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/appengine.proto b/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/appengine.proto index 76c6d687..250eccf8 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/appengine.proto +++ b/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/appengine.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// 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. @@ -16,19 +16,20 @@ syntax = "proto3"; package google.appengine.v1; +import "google/api/annotations.proto"; +import "google/api/client.proto"; +import "google/api/resource.proto"; import "google/appengine/v1/application.proto"; import "google/appengine/v1/certificate.proto"; import "google/appengine/v1/domain.proto"; import "google/appengine/v1/domain_mapping.proto"; import "google/appengine/v1/firewall.proto"; import "google/appengine/v1/instance.proto"; -import "google/appengine/v1/version.proto"; import "google/appengine/v1/service.proto"; -import "google/api/annotations.proto"; +import "google/appengine/v1/version.proto"; import "google/longrunning/operations.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; -import "google/api/client.proto"; option csharp_namespace = "Google.Cloud.AppEngine.V1"; option go_package = "google.golang.org/genproto/googleapis/appengine/v1;appengine"; @@ -51,6 +52,7 @@ service Applications { option (google.api.http) = { get: "/v1/{name=apps/*}" }; + option (google.api.method_signature) = "name"; } // Creates an App Engine application for a Google Cloud Platform project. @@ -76,6 +78,7 @@ service Applications { // // * `auth_domain` - Google authentication domain for controlling user access to the application. // * `default_cookie_expiration` - Cookie expiration policy for the application. + // * `iap` - Identity-Aware Proxy properties for the application. rpc UpdateApplication(UpdateApplicationRequest) returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1/{name=apps/*}" @@ -129,7 +132,7 @@ message UpdateApplicationRequest { // An Application containing the updated resource. Application application = 2; - // Standard field mask for the set of fields to be updated. + // Required. Standard field mask for the set of fields to be updated. google.protobuf.FieldMask update_mask = 3; } @@ -221,7 +224,7 @@ message UpdateServiceRequest { // field mask will be updated. Service service = 2; - // Standard field mask for the set of fields to be updated. + // Required. Standard field mask for the set of fields to be updated. google.protobuf.FieldMask update_mask = 3; // Set to `true` to gradually shift traffic to one or more versions that you @@ -365,6 +368,19 @@ message ListVersionsResponse { string next_page_token = 2; } +// Fields that should be returned when [Version][google.appengine.v1.Version] resources +// are retrieved. +enum VersionView { + // Basic version information including scaling and inbound services, + // but not detailed deployment information. + BASIC = 0; + + // The information from `BASIC`, plus detailed information about the + // deployment. This format is required when creating resources, but + // is not returned in `Get` or `List` by default. + FULL = 1; +} + // Request message for `Versions.GetVersion`. message GetVersionRequest { // Name of the resource requested. Example: @@ -399,19 +415,6 @@ message UpdateVersionRequest { google.protobuf.FieldMask update_mask = 3; } -// Fields that should be returned when [Version][google.appengine.v1.Version] resources -// are retrieved. -enum VersionView { - // Basic version information including scaling and inbound services, - // but not detailed deployment information. - BASIC = 0; - - // The information from `BASIC`, plus detailed information about the - // deployment. This format is required when creating resources, but - // is not returned in `Get` or `List` by default. - FULL = 1; -} - // Request message for `Versions.DeleteVersion`. message DeleteVersionRequest { // Name of the resource requested. Example: @@ -419,6 +422,73 @@ message DeleteVersionRequest { string name = 1; } +// Manages instances of a version. +service Instances { + option (google.api.default_host) = "appengine.googleapis.com"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/appengine.admin," + "https://www.googleapis.com/auth/cloud-platform," + "https://www.googleapis.com/auth/cloud-platform.read-only"; + + // Lists the instances of a version. + // + // Tip: To aggregate details about instances over time, see the + // [Stackdriver Monitoring API](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). + rpc ListInstances(ListInstancesRequest) returns (ListInstancesResponse) { + option (google.api.http) = { + get: "/v1/{parent=apps/*/services/*/versions/*}/instances" + }; + } + + // Gets instance information. + rpc GetInstance(GetInstanceRequest) returns (Instance) { + option (google.api.http) = { + get: "/v1/{name=apps/*/services/*/versions/*/instances/*}" + }; + } + + // Stops a running instance. + // + // The instance might be automatically recreated based on the scaling settings + // of the version. For more information, see "How Instances are Managed" + // ([standard environment](https://cloud.google.com/appengine/docs/standard/python/how-instances-are-managed) | + // [flexible environment](https://cloud.google.com/appengine/docs/flexible/python/how-instances-are-managed)). + // + // To ensure that instances are not re-created and avoid getting billed, you + // can stop all instances within the target version by changing the serving + // status of the version to `STOPPED` with the + // [`apps.services.versions.patch`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions/patch) + // method. + rpc DeleteInstance(DeleteInstanceRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + delete: "/v1/{name=apps/*/services/*/versions/*/instances/*}" + }; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "OperationMetadataV1" + }; + } + + // Enables debugging on a VM instance. This allows you to use the SSH + // command to connect to the virtual machine where the instance lives. + // While in "debug mode", the instance continues to serve live traffic. + // You should delete the instance when you are done debugging and then + // allow the system to take over and determine if another instance + // should be started. + // + // Only applicable for instances in App Engine flexible environment. + rpc DebugInstance(DebugInstanceRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{name=apps/*/services/*/versions/*/instances/*}:debug" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "Instance" + metadata_type: "OperationMetadataV1" + }; + } +} + // Request message for `Instances.ListInstances`. message ListInstancesRequest { // Name of the parent Version resource. Example: @@ -471,91 +541,91 @@ message DebugInstanceRequest { string ssh_key = 2; } -// Request message for `Firewall.ListIngressRules`. -message ListIngressRulesRequest { - // Name of the Firewall collection to retrieve. - // Example: `apps/myapp/firewall/ingressRules`. - string parent = 1; - - // Maximum results to return per page. - int32 page_size = 2; - - // Continuation token for fetching the next page of results. - string page_token = 3; - - // A valid IP Address. If set, only rules matching this address will be - // returned. The first returned rule will be the rule that fires on requests - // from this IP. - string matching_address = 4; -} - -// Manages instances of a version. -service Instances { +// Firewall resources are used to define a collection of access control rules +// for an Application. Each rule is defined with a position which specifies +// the rule's order in the sequence of rules, an IP range to be matched against +// requests, and an action to take upon matching requests. +// +// Every request is evaluated against the Firewall rules in priority order. +// Processesing stops at the first rule which matches the request's IP address. +// A final rule always specifies an action that applies to all remaining +// IP addresses. The default final rule for a newly-created application will be +// set to "allow" if not otherwise specified by the user. +service Firewall { option (google.api.default_host) = "appengine.googleapis.com"; option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/appengine.admin," "https://www.googleapis.com/auth/cloud-platform," "https://www.googleapis.com/auth/cloud-platform.read-only"; - // Lists the instances of a version. - // - // Tip: To aggregate details about instances over time, see the - // [Stackdriver Monitoring API](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). - rpc ListInstances(ListInstancesRequest) returns (ListInstancesResponse) { + // Lists the firewall rules of an application. + rpc ListIngressRules(ListIngressRulesRequest) returns (ListIngressRulesResponse) { option (google.api.http) = { - get: "/v1/{parent=apps/*/services/*/versions/*}/instances" + get: "/v1/{parent=apps/*}/firewall/ingressRules" }; } - // Gets instance information. - rpc GetInstance(GetInstanceRequest) returns (Instance) { + // Replaces the entire firewall ruleset in one bulk operation. This overrides + // and replaces the rules of an existing firewall with the new rules. + // + // If the final rule does not match traffic with the '*' wildcard IP range, + // then an "allow all" rule is explicitly added to the end of the list. + rpc BatchUpdateIngressRules(BatchUpdateIngressRulesRequest) returns (BatchUpdateIngressRulesResponse) { option (google.api.http) = { - get: "/v1/{name=apps/*/services/*/versions/*/instances/*}" + post: "/v1/{name=apps/*/firewall/ingressRules}:batchUpdate" + body: "*" }; } - // Stops a running instance. - // - // The instance might be automatically recreated based on the scaling settings - // of the version. For more information, see "How Instances are Managed" - // ([standard environment](https://cloud.google.com/appengine/docs/standard/python/how-instances-are-managed) | - // [flexible environment](https://cloud.google.com/appengine/docs/flexible/python/how-instances-are-managed)). - // - // To ensure that instances are not re-created and avoid getting billed, you - // can stop all instances within the target version by changing the serving - // status of the version to `STOPPED` with the - // [`apps.services.versions.patch`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions/patch) - // method. - rpc DeleteInstance(DeleteInstanceRequest) returns (google.longrunning.Operation) { + // Creates a firewall rule for the application. + rpc CreateIngressRule(CreateIngressRuleRequest) returns (google.appengine.v1.FirewallRule) { option (google.api.http) = { - delete: "/v1/{name=apps/*/services/*/versions/*/instances/*}" + post: "/v1/{parent=apps/*}/firewall/ingressRules" + body: "rule" }; - option (google.longrunning.operation_info) = { - response_type: "google.protobuf.Empty" - metadata_type: "OperationMetadataV1" + } + + // Gets the specified firewall rule. + rpc GetIngressRule(GetIngressRuleRequest) returns (google.appengine.v1.FirewallRule) { + option (google.api.http) = { + get: "/v1/{name=apps/*/firewall/ingressRules/*}" }; } - // Enables debugging on a VM instance. This allows you to use the SSH - // command to connect to the virtual machine where the instance lives. - // While in "debug mode", the instance continues to serve live traffic. - // You should delete the instance when you are done debugging and then - // allow the system to take over and determine if another instance - // should be started. - // - // Only applicable for instances in App Engine flexible environment. - rpc DebugInstance(DebugInstanceRequest) returns (google.longrunning.Operation) { + // Updates the specified firewall rule. + rpc UpdateIngressRule(UpdateIngressRuleRequest) returns (google.appengine.v1.FirewallRule) { option (google.api.http) = { - post: "/v1/{name=apps/*/services/*/versions/*/instances/*}:debug" - body: "*" + patch: "/v1/{name=apps/*/firewall/ingressRules/*}" + body: "rule" }; - option (google.longrunning.operation_info) = { - response_type: "Instance" - metadata_type: "OperationMetadataV1" + } + + // Deletes the specified firewall rule. + rpc DeleteIngressRule(DeleteIngressRuleRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1/{name=apps/*/firewall/ingressRules/*}" }; } } +// Request message for `Firewall.ListIngressRules`. +message ListIngressRulesRequest { + // Name of the Firewall collection to retrieve. + // Example: `apps/myapp/firewall/ingressRules`. + string parent = 1; + + // Maximum results to return per page. + int32 page_size = 2; + + // Continuation token for fetching the next page of results. + string page_token = 3; + + // A valid IP Address. If set, only rules matching this address will be + // returned. The first returned rule will be the rule that fires on requests + // from this IP. + string matching_address = 4; +} + // Response message for `Firewall.ListIngressRules`. message ListIngressRulesResponse { // The ingress FirewallRules for this application. @@ -627,6 +697,24 @@ message DeleteIngressRuleRequest { string name = 1; } +// Manages domains a user is authorized to administer. To authorize use of a +// domain, verify ownership via +// [Webmaster Central](https://www.google.com/webmasters/verification/home). +service AuthorizedDomains { + option (google.api.default_host) = "appengine.googleapis.com"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/appengine.admin," + "https://www.googleapis.com/auth/cloud-platform," + "https://www.googleapis.com/auth/cloud-platform.read-only"; + + // Lists all domains the user is authorized to administer. + rpc ListAuthorizedDomains(ListAuthorizedDomainsRequest) returns (ListAuthorizedDomainsResponse) { + option (google.api.http) = { + get: "/v1/{parent=apps/*}/authorizedDomains" + }; + } +} + // Request message for `AuthorizedDomains.ListAuthorizedDomains`. message ListAuthorizedDomainsRequest { // Name of the parent Application resource. Example: `apps/myapp`. @@ -648,95 +736,79 @@ message ListAuthorizedDomainsResponse { string next_page_token = 2; } -// Request message for `AuthorizedCertificates.ListAuthorizedCertificates`. -message ListAuthorizedCertificatesRequest { - // Name of the parent `Application` resource. Example: `apps/myapp`. - string parent = 1; - - // Controls the set of fields returned in the `LIST` response. - AuthorizedCertificateView view = 4; +// Manages SSL certificates a user is authorized to administer. A user can +// administer any SSL certificates applicable to their authorized domains. +service AuthorizedCertificates { + option (google.api.default_host) = "appengine.googleapis.com"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/appengine.admin," + "https://www.googleapis.com/auth/cloud-platform," + "https://www.googleapis.com/auth/cloud-platform.read-only"; - // Maximum results to return per page. - int32 page_size = 2; - - // Continuation token for fetching the next page of results. - string page_token = 3; -} - -// Response message for `AuthorizedCertificates.ListAuthorizedCertificates`. -message ListAuthorizedCertificatesResponse { - // The SSL certificates the user is authorized to administer. - repeated google.appengine.v1.AuthorizedCertificate certificates = 1; - - // Continuation token for fetching the next page of results. - string next_page_token = 2; -} - -// Firewall resources are used to define a collection of access control rules -// for an Application. Each rule is defined with a position which specifies -// the rule's order in the sequence of rules, an IP range to be matched against -// requests, and an action to take upon matching requests. -// -// Every request is evaluated against the Firewall rules in priority order. -// Processesing stops at the first rule which matches the request's IP address. -// A final rule always specifies an action that applies to all remaining -// IP addresses. The default final rule for a newly-created application will be -// set to "allow" if not otherwise specified by the user. -service Firewall { - option (google.api.default_host) = "appengine.googleapis.com"; - option (google.api.oauth_scopes) = - "https://www.googleapis.com/auth/appengine.admin," - "https://www.googleapis.com/auth/cloud-platform," - "https://www.googleapis.com/auth/cloud-platform.read-only"; - - // Lists the firewall rules of an application. - rpc ListIngressRules(ListIngressRulesRequest) returns (ListIngressRulesResponse) { + // Lists all SSL certificates the user is authorized to administer. + rpc ListAuthorizedCertificates(ListAuthorizedCertificatesRequest) returns (ListAuthorizedCertificatesResponse) { option (google.api.http) = { - get: "/v1/{parent=apps/*}/firewall/ingressRules" + get: "/v1/{parent=apps/*}/authorizedCertificates" }; } - // Replaces the entire firewall ruleset in one bulk operation. This overrides - // and replaces the rules of an existing firewall with the new rules. - // - // If the final rule does not match traffic with the '*' wildcard IP range, - // then an "allow all" rule is explicitly added to the end of the list. - rpc BatchUpdateIngressRules(BatchUpdateIngressRulesRequest) returns (BatchUpdateIngressRulesResponse) { + // Gets the specified SSL certificate. + rpc GetAuthorizedCertificate(GetAuthorizedCertificateRequest) returns (google.appengine.v1.AuthorizedCertificate) { option (google.api.http) = { - post: "/v1/{name=apps/*/firewall/ingressRules}:batchUpdate" - body: "*" + get: "/v1/{name=apps/*/authorizedCertificates/*}" }; } - // Creates a firewall rule for the application. - rpc CreateIngressRule(CreateIngressRuleRequest) returns (google.appengine.v1.FirewallRule) { + // Uploads the specified SSL certificate. + rpc CreateAuthorizedCertificate(CreateAuthorizedCertificateRequest) returns (google.appengine.v1.AuthorizedCertificate) { option (google.api.http) = { - post: "/v1/{parent=apps/*}/firewall/ingressRules" - body: "rule" + post: "/v1/{parent=apps/*}/authorizedCertificates" + body: "certificate" }; } - // Gets the specified firewall rule. - rpc GetIngressRule(GetIngressRuleRequest) returns (google.appengine.v1.FirewallRule) { + // Updates the specified SSL certificate. To renew a certificate and maintain + // its existing domain mappings, update `certificate_data` with a new + // certificate. The new certificate must be applicable to the same domains as + // the original certificate. The certificate `display_name` may also be + // updated. + rpc UpdateAuthorizedCertificate(UpdateAuthorizedCertificateRequest) returns (google.appengine.v1.AuthorizedCertificate) { option (google.api.http) = { - get: "/v1/{name=apps/*/firewall/ingressRules/*}" + patch: "/v1/{name=apps/*/authorizedCertificates/*}" + body: "certificate" }; } - // Updates the specified firewall rule. - rpc UpdateIngressRule(UpdateIngressRuleRequest) returns (google.appengine.v1.FirewallRule) { + // Deletes the specified SSL certificate. + rpc DeleteAuthorizedCertificate(DeleteAuthorizedCertificateRequest) returns (google.protobuf.Empty) { option (google.api.http) = { - patch: "/v1/{name=apps/*/firewall/ingressRules/*}" - body: "rule" + delete: "/v1/{name=apps/*/authorizedCertificates/*}" }; } +} - // Deletes the specified firewall rule. - rpc DeleteIngressRule(DeleteIngressRuleRequest) returns (google.protobuf.Empty) { - option (google.api.http) = { - delete: "/v1/{name=apps/*/firewall/ingressRules/*}" - }; - } +// Request message for `AuthorizedCertificates.ListAuthorizedCertificates`. +message ListAuthorizedCertificatesRequest { + // Name of the parent `Application` resource. Example: `apps/myapp`. + string parent = 1; + + // Controls the set of fields returned in the `LIST` response. + AuthorizedCertificateView view = 4; + + // Maximum results to return per page. + int32 page_size = 2; + + // Continuation token for fetching the next page of results. + string page_token = 3; +} + +// Response message for `AuthorizedCertificates.ListAuthorizedCertificates`. +message ListAuthorizedCertificatesResponse { + // The SSL certificates the user is authorized to administer. + repeated google.appengine.v1.AuthorizedCertificate certificates = 1; + + // Continuation token for fetching the next page of results. + string next_page_token = 2; } // Request message for `AuthorizedCertificates.GetAuthorizedCertificate`. @@ -749,6 +821,18 @@ message GetAuthorizedCertificateRequest { AuthorizedCertificateView view = 2; } +// Fields that should be returned when an AuthorizedCertificate resource is +// retrieved. +enum AuthorizedCertificateView { + // Basic certificate information, including applicable domains and expiration + // date. + BASIC_CERTIFICATE = 0; + + // The information from `BASIC_CERTIFICATE`, plus detailed information on the + // domain mappings that have this certificate mapped. + FULL_CERTIFICATE = 1; +} + // Request message for `AuthorizedCertificates.CreateAuthorizedCertificate`. message CreateAuthorizedCertificateRequest { // Name of the parent `Application` resource. Example: `apps/myapp`. @@ -780,166 +864,6 @@ message DeleteAuthorizedCertificateRequest { string name = 1; } -// Request message for `DomainMappings.ListDomainMappings`. -message ListDomainMappingsRequest { - // Name of the parent Application resource. Example: `apps/myapp`. - string parent = 1; - - // Maximum results to return per page. - int32 page_size = 2; - - // Continuation token for fetching the next page of results. - string page_token = 3; -} - -// Response message for `DomainMappings.ListDomainMappings`. -message ListDomainMappingsResponse { - // The domain mappings for the application. - repeated google.appengine.v1.DomainMapping domain_mappings = 1; - - // Continuation token for fetching the next page of results. - string next_page_token = 2; -} - -// Request message for `DomainMappings.GetDomainMapping`. -message GetDomainMappingRequest { - // Name of the resource requested. Example: - // `apps/myapp/domainMappings/example.com`. - string name = 1; -} - -// Request message for `DomainMappings.CreateDomainMapping`. -message CreateDomainMappingRequest { - // Name of the parent Application resource. Example: `apps/myapp`. - string parent = 1; - - // Domain mapping configuration. - google.appengine.v1.DomainMapping domain_mapping = 2; - - // Whether the domain creation should override any existing mappings for this - // domain. By default, overrides are rejected. - DomainOverrideStrategy override_strategy = 4; -} - -// Manages domains a user is authorized to administer. To authorize use of a -// domain, verify ownership via -// [Webmaster Central](https://www.google.com/webmasters/verification/home). -service AuthorizedDomains { - option (google.api.default_host) = "appengine.googleapis.com"; - option (google.api.oauth_scopes) = - "https://www.googleapis.com/auth/appengine.admin," - "https://www.googleapis.com/auth/cloud-platform," - "https://www.googleapis.com/auth/cloud-platform.read-only"; - - // Lists all domains the user is authorized to administer. - rpc ListAuthorizedDomains(ListAuthorizedDomainsRequest) returns (ListAuthorizedDomainsResponse) { - option (google.api.http) = { - get: "/v1/{parent=apps/*}/authorizedDomains" - }; - } -} - -// Request message for `DomainMappings.UpdateDomainMapping`. -message UpdateDomainMappingRequest { - // Name of the resource to update. Example: - // `apps/myapp/domainMappings/example.com`. - string name = 1; - - // A domain mapping containing the updated resource. Only fields set - // in the field mask will be updated. - google.appengine.v1.DomainMapping domain_mapping = 2; - - // Standard field mask for the set of fields to be updated. - google.protobuf.FieldMask update_mask = 3; -} - -// Request message for `DomainMappings.DeleteDomainMapping`. -message DeleteDomainMappingRequest { - // Name of the resource to delete. Example: - // `apps/myapp/domainMappings/example.com`. - string name = 1; -} - -// Manages SSL certificates a user is authorized to administer. A user can -// administer any SSL certificates applicable to their authorized domains. -service AuthorizedCertificates { - option (google.api.default_host) = "appengine.googleapis.com"; - option (google.api.oauth_scopes) = - "https://www.googleapis.com/auth/appengine.admin," - "https://www.googleapis.com/auth/cloud-platform," - "https://www.googleapis.com/auth/cloud-platform.read-only"; - - // Lists all SSL certificates the user is authorized to administer. - rpc ListAuthorizedCertificates(ListAuthorizedCertificatesRequest) returns (ListAuthorizedCertificatesResponse) { - option (google.api.http) = { - get: "/v1/{parent=apps/*}/authorizedCertificates" - }; - } - - // Gets the specified SSL certificate. - rpc GetAuthorizedCertificate(GetAuthorizedCertificateRequest) returns (google.appengine.v1.AuthorizedCertificate) { - option (google.api.http) = { - get: "/v1/{name=apps/*/authorizedCertificates/*}" - }; - } - - // Uploads the specified SSL certificate. - rpc CreateAuthorizedCertificate(CreateAuthorizedCertificateRequest) returns (google.appengine.v1.AuthorizedCertificate) { - option (google.api.http) = { - post: "/v1/{parent=apps/*}/authorizedCertificates" - body: "certificate" - }; - } - - // Updates the specified SSL certificate. To renew a certificate and maintain - // its existing domain mappings, update `certificate_data` with a new - // certificate. The new certificate must be applicable to the same domains as - // the original certificate. The certificate `display_name` may also be - // updated. - rpc UpdateAuthorizedCertificate(UpdateAuthorizedCertificateRequest) returns (google.appengine.v1.AuthorizedCertificate) { - option (google.api.http) = { - patch: "/v1/{name=apps/*/authorizedCertificates/*}" - body: "certificate" - }; - } - - // Deletes the specified SSL certificate. - rpc DeleteAuthorizedCertificate(DeleteAuthorizedCertificateRequest) returns (google.protobuf.Empty) { - option (google.api.http) = { - delete: "/v1/{name=apps/*/authorizedCertificates/*}" - }; - } -} - -// Fields that should be returned when an AuthorizedCertificate resource is -// retrieved. -enum AuthorizedCertificateView { - // Basic certificate information, including applicable domains and expiration - // date. - BASIC_CERTIFICATE = 0; - - // The information from `BASIC_CERTIFICATE`, plus detailed information on the - // domain mappings that have this certificate mapped. - FULL_CERTIFICATE = 1; -} - -// Override strategy for mutating an existing mapping. -enum DomainOverrideStrategy { - // Strategy unspecified. Defaults to `STRICT`. - UNSPECIFIED_DOMAIN_OVERRIDE_STRATEGY = 0; - - // Overrides not allowed. If a mapping already exists for the - // specified domain, the request will return an ALREADY_EXISTS (409). - STRICT = 1; - - // Overrides allowed. If a mapping already exists for the specified domain, - // the request will overwrite it. Note that this might stop another - // Google product from serving. For example, if the domain is - // mapped to another App Engine application, that app will no - // longer serve from that domain. - OVERRIDE = 2; -} - // Manages domains serving an application. service DomainMappings { option (google.api.default_host) = "appengine.googleapis.com"; @@ -1004,3 +928,82 @@ service DomainMappings { }; } } + +// Request message for `DomainMappings.ListDomainMappings`. +message ListDomainMappingsRequest { + // Name of the parent Application resource. Example: `apps/myapp`. + string parent = 1; + + // Maximum results to return per page. + int32 page_size = 2; + + // Continuation token for fetching the next page of results. + string page_token = 3; +} + +// Response message for `DomainMappings.ListDomainMappings`. +message ListDomainMappingsResponse { + // The domain mappings for the application. + repeated google.appengine.v1.DomainMapping domain_mappings = 1; + + // Continuation token for fetching the next page of results. + string next_page_token = 2; +} + +// Request message for `DomainMappings.GetDomainMapping`. +message GetDomainMappingRequest { + // Name of the resource requested. Example: + // `apps/myapp/domainMappings/example.com`. + string name = 1; +} + +// Override strategy for mutating an existing mapping. +enum DomainOverrideStrategy { + // Strategy unspecified. Defaults to `STRICT`. + UNSPECIFIED_DOMAIN_OVERRIDE_STRATEGY = 0; + + // Overrides not allowed. If a mapping already exists for the + // specified domain, the request will return an ALREADY_EXISTS (409). + STRICT = 1; + + // Overrides allowed. If a mapping already exists for the specified domain, + // the request will overwrite it. Note that this might stop another + // Google product from serving. For example, if the domain is + // mapped to another App Engine application, that app will no + // longer serve from that domain. + OVERRIDE = 2; +} + +// Request message for `DomainMappings.CreateDomainMapping`. +message CreateDomainMappingRequest { + // Name of the parent Application resource. Example: `apps/myapp`. + string parent = 1; + + // Domain mapping configuration. + google.appengine.v1.DomainMapping domain_mapping = 2; + + // Whether the domain creation should override any existing mappings for this + // domain. By default, overrides are rejected. + DomainOverrideStrategy override_strategy = 4; +} + +// Request message for `DomainMappings.UpdateDomainMapping`. +message UpdateDomainMappingRequest { + // Name of the resource to update. Example: + // `apps/myapp/domainMappings/example.com`. + string name = 1; + + // A domain mapping containing the updated resource. Only fields set + // in the field mask will be updated. + google.appengine.v1.DomainMapping domain_mapping = 2; + + // Required. Standard field mask for the set of fields to be updated. + google.protobuf.FieldMask update_mask = 3; +} + +// Request message for `DomainMappings.DeleteDomainMapping`. +message DeleteDomainMappingRequest { + // Name of the resource to delete. Example: + // `apps/myapp/domainMappings/example.com`. + string name = 1; +} diff --git a/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/application.proto b/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/application.proto index f05e8e61..bc9c3f5d 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/application.proto +++ b/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/application.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// 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. @@ -29,6 +29,20 @@ option ruby_package = "Google::Cloud::AppEngine::V1"; // An Application resource contains the top-level configuration of an App // Engine application. message Application { + enum ServingStatus { + // Serving status is unspecified. + UNSPECIFIED = 0; + + // Application is serving. + SERVING = 1; + + // Application has been disabled by the user. + USER_DISABLED = 2; + + // Application has been disabled by the system. + SYSTEM_DISABLED = 3; + } + // Identity-Aware Proxy message IdentityAwareProxy { // Whether the serving infrastructure will authenticate and @@ -56,6 +70,20 @@ message Application { string oauth2_client_secret_sha256 = 4; } + enum DatabaseType { + // Database type is unspecified. + DATABASE_TYPE_UNSPECIFIED = 0; + + // Cloud Datastore + CLOUD_DATASTORE = 1; + + // Cloud Firestore Native + CLOUD_FIRESTORE = 2; + + // Cloud Firestore in Datastore Mode + CLOUD_DATASTORE_COMPATIBILITY = 3; + } + // The feature specific settings to be used in the application. These define // behaviors that are user configurable. message FeatureSettings { @@ -72,34 +100,6 @@ message Application { bool use_container_optimized_os = 2; } - enum ServingStatus { - // Serving status is unspecified. - UNSPECIFIED = 0; - - // Application is serving. - SERVING = 1; - - // Application has been disabled by the user. - USER_DISABLED = 2; - - // Application has been disabled by the system. - SYSTEM_DISABLED = 3; - } - - enum DatabaseType { - // Database type is unspecified. - DATABASE_TYPE_UNSPECIFIED = 0; - - // Cloud Datastore - CLOUD_DATASTORE = 1; - - // Cloud Firestore Native - CLOUD_FIRESTORE = 2; - - // Cloud Firestore in Datastore Mode - CLOUD_DATASTORE_COMPATIBILITY = 3; - } - // Full path to the Application resource in the API. // Example: `apps/myapp`. // @@ -157,6 +157,11 @@ message Application { // @OutputOnly string default_bucket = 12; + // The service account associated with the application. + // This is the app-level default identity. If no identity provided during + // create version, Admin API will fallback to this one. + string service_account = 13; + IdentityAwareProxy iap = 14; // The Google Container Registry domain used for storing managed build docker diff --git a/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/deploy.proto b/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/deploy.proto index f1dcccc0..8796ec1f 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/deploy.proto +++ b/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/deploy.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// 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. diff --git a/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/instance.proto b/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/instance.proto index cc7369b0..59b2e5c9 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/instance.proto +++ b/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/instance.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// 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. @@ -36,6 +36,15 @@ message Instance { pattern: "apps/{app}/services/{service}/versions/{version}/instances/{instance}" }; + // Availability of the instance. + enum Availability { + UNSPECIFIED = 0; + + RESIDENT = 1; + + DYNAMIC = 2; + } + // Wrapper for LivenessState enum. message Liveness { // Liveness health check status for Flex instances. @@ -70,15 +79,6 @@ message Instance { } - // Availability of the instance. - enum Availability { - UNSPECIFIED = 0; - - RESIDENT = 1; - - DYNAMIC = 2; - } - // Output only. Full path to the Instance resource in the API. // Example: `apps/myapp/services/default/versions/v1/instances/instance-1`. string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/location.proto b/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/location.proto index b866f76d..995a5ff6 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/location.proto +++ b/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/location.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// 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. diff --git a/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/network_settings.proto b/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/network_settings.proto index 7cf70c00..2645e8c8 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/network_settings.proto +++ b/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/network_settings.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// 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. diff --git a/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/operation.proto b/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/operation.proto index 8609b17b..a2636cb7 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/operation.proto +++ b/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/operation.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// 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. diff --git a/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/service.proto b/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/service.proto index 284d880f..b3ed6def 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/service.proto +++ b/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/service.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// 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. @@ -50,6 +50,19 @@ message Service { // different versions within the service. TrafficSplit split = 3; + // A set of labels to apply to this service. Labels are key/value pairs that + // describe the service and all resources that belong to it (e.g., + // versions). The labels can be used to search and group resources, and are + // propagated to the usage and billing reports, enabling fine-grain analysis + // of costs. An example of using labels is to tag resources belonging to + // different environments (e.g., "env=prod", "env=qa"). + // + //

    Label keys and values can be no longer than 63 characters and can only + // contain lowercase letters, numeric characters, underscores, dashes, and + // international characters. Label keys must start with a lowercase letter + // or an international character. Each service can have at most 32 labels. + map labels = 4; + // Ingress settings for this service. Will apply to all versions. NetworkSettings network_settings = 6; } diff --git a/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/version.proto b/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/version.proto index 38cfd11e..2caab513 100644 --- a/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/version.proto +++ b/proto-google-cloud-appengine-admin-v1/src/main/proto/google/appengine/v1/version.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// 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. @@ -102,6 +102,10 @@ message Version { // Whether to deploy this version in a container on a virtual machine. bool vm = 12; + // Allows App Engine second generation runtimes to access the legacy bundled + // services. + bool app_engine_apis = 128; + // Metadata settings that are supplied to this version to enable // beta runtime features. map beta_settings = 13; @@ -509,22 +513,6 @@ message Resources { string kms_key_reference = 5; } -// VPC access connector specification. -message VpcAccessConnector { - // Full Serverless VPC Access Connector name e.g. - // /projects/my-project/locations/us-central1/connectors/c1. - string name = 1; -} - -// The entrypoint for the application. -message Entrypoint { - // The command to run. - oneof command { - // The format should be a shell command that can be fed to `bash -c`. - string shell = 1; - } -} - // Available inbound services. enum InboundServiceType { // Not specified. @@ -570,3 +558,37 @@ enum ServingStatus { // to `SERVING`. STOPPED = 2; } + +// VPC access connector specification. +message VpcAccessConnector { + // Available egress settings. + // + // This controls what traffic is diverted through the VPC Access Connector + // resource. By default PRIVATE_IP_RANGES will be used. + enum EgressSetting { + EGRESS_SETTING_UNSPECIFIED = 0; + + // Force the use of VPC Access for all egress traffic from the function. + ALL_TRAFFIC = 1; + + // Use the VPC Access Connector for private IP space from RFC1918. + PRIVATE_IP_RANGES = 2; + } + + // Full Serverless VPC Access Connector name e.g. + // /projects/my-project/locations/us-central1/connectors/c1. + string name = 1; + + // The egress setting for the connector, controlling what traffic is diverted + // through it. + EgressSetting egress_setting = 2; +} + +// The entrypoint for the application. +message Entrypoint { + // The command to run. + oneof command { + // The format should be a shell command that can be fed to `bash -c`. + string shell = 1; + } +}